From 408af7b500963f39b91d868647aceaaadccff347 Mon Sep 17 00:00:00 2001 From: Xavier Lau Date: Mon, 22 May 2023 15:01:38 +0800 Subject: [PATCH 01/27] Remove `account` --- Cargo.toml | 1 - 1 file changed, 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 051db5708..52e9dec8d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -104,7 +104,6 @@ pallet-evm-precompile-modexp = { git = "https://github.com/paritytech/frontier pallet-evm-precompile-simple = { git = "https://github.com/paritytech/frontier", branch = "polkadot-v0.9.38", default-features = false } # moonbeam -account = { git = "https://github.com/darwinia-network/moonbeam", branch = "update-0.9.38", default-features = false } pallet-ethereum-xcm = { git = "https://github.com/darwinia-network/moonbeam", branch = "update-0.9.38", default-features = false } moonbeam-evm-tracer = { git = "https://github.com/darwinia-network/moonbeam", branch = "update-0.9.38", default-features = false } moonbeam-primitives-ext = { git = "https://github.com/darwinia-network/moonbeam", branch = "update-0.9.38", default-features = false } From b382acdaa45600871f2fc1a1a1ea09f830fb7bff Mon Sep 17 00:00:00 2001 From: Xavier Lau Date: Mon, 22 May 2023 17:41:30 +0800 Subject: [PATCH 02/27] Update and companions --- Cargo.lock | 3009 ++++++++++------- Cargo.toml | 277 +- core/primitives/Cargo.toml | 6 +- core/primitives/src/lib.rs | 2 +- pallet/deposit/src/lib.rs | 1 - pallet/staking/src/lib.rs | 1 - runtime/common/Cargo.toml | 10 +- runtime/common/src/gov_origin.rs | 2 +- runtime/crab/src/bridges_message/darwinia.rs | 13 +- runtime/crab/src/lib.rs | 16 +- runtime/darwinia/src/bridges_message/crab.rs | 12 +- runtime/darwinia/src/lib.rs | 16 +- .../pangolin/src/bridges_message/pangoro.rs | 8 +- runtime/pangolin/src/lib.rs | 16 +- .../pangoro/src/bridges_message/pangolin.rs | 13 +- runtime/pangoro/src/lib.rs | 16 +- 16 files changed, 1906 insertions(+), 1512 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 56d463a92..18d675f0b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -12,27 +12,6 @@ dependencies = [ "regex", ] -[[package]] -name = "account" -version = "0.1.1" -source = "git+https://github.com/darwinia-network/moonbeam?branch=update-0.9.38#abca6696c3731dd781d7badfb7cd797e36e39bf5" -dependencies = [ - "blake2-rfc", - "hex", - "impl-serde 0.3.2", - "libsecp256k1", - "log", - "parity-scale-codec", - "scale-info", - "serde", - "sha3", - "sp-core", - "sp-io", - "sp-runtime", - "sp-runtime-interface", - "sp-std", -] - [[package]] name = "addr2line" version = "0.17.0" @@ -136,9 +115,9 @@ dependencies = [ [[package]] name = "aes-gcm" -version = "0.10.1" +version = "0.10.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "82e1366e0c69c9f927b1fa5ce2c7bf9eafc8f9268c0b9800729e8b267612447c" +checksum = "209b47e8954a928e1d72e86eca7000ebb6655fe1436d33eefc2201cad027e237" dependencies = [ "aead 0.5.2", "aes 0.8.2", @@ -352,7 +331,7 @@ dependencies = [ "ark-serialize", "ark-std", "derivative", - "digest 0.10.6", + "digest 0.10.7", "itertools", "num-bigint", "num-traits", @@ -405,7 +384,7 @@ checksum = "adb7b85a02b83d2f22f89bd5cac66c9c89474240cb6207cb1efc16d098e822a5" dependencies = [ "ark-serialize-derive", "ark-std", - "digest 0.10.6", + "digest 0.10.7", "num-bigint", ] @@ -448,15 +427,6 @@ version = "0.3.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6b4930d2cb77ce62f89ee5d5289b4ac049559b1c45539271f5ed4fdc7db34545" -[[package]] -name = "arrayvec" -version = "0.4.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cd9fd44efafa8690358b7408d253adf110036b88f55672a933f01d616ad9b1b9" -dependencies = [ - "nodrop", -] - [[package]] name = "arrayvec" version = "0.5.2" @@ -548,6 +518,17 @@ version = "1.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9b34d609dfbaf33d6889b2b7106d3ca345eacad44200913df5ba02bfd31d2ba9" +[[package]] +name = "async-channel" +version = "1.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cf46fee83e5ccffc220104713af3292ff9bc7c64c7de289f66dae8e38d826833" +dependencies = [ + "concurrent-queue", + "event-listener", + "futures-core", +] + [[package]] name = "async-io" version = "1.13.0" @@ -585,7 +566,7 @@ checksum = "b9ccdd8f2a161be9bd5c023df56f1b2a0bd1d83872ae53b71a84a12c9bf6e842" dependencies = [ "proc-macro2", "quote", - "syn 2.0.15", + "syn 2.0.16", ] [[package]] @@ -677,9 +658,9 @@ checksum = "9e1b586273c5702936fe7b7d6896644d8be71e6314cfe09d3167c95f712589e8" [[package]] name = "base64" -version = "0.21.0" +version = "0.21.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a4a4ddaa51a5bc52a6948f74c06d20aaaddb71924eab79b8c97a8c556e942d6a" +checksum = "3f1e31e207a6b8fb791a38ea3105e6cb541f55e4d029902d3039a4ad07cc4105" [[package]] name = "base64ct" @@ -697,66 +678,12 @@ dependencies = [ ] [[package]] -name = "beefy-gadget" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" -dependencies = [ - "array-bytes 4.2.0", - "async-trait", - "fnv", - "futures 0.3.28", - "log", - "parity-scale-codec", - "parking_lot 0.12.1", - "sc-client-api", - "sc-consensus", - "sc-keystore", - "sc-network", - "sc-network-common", - "sc-network-gossip", - "sc-utils", - "sp-api", - "sp-application-crypto", - "sp-arithmetic", - "sp-beefy", - "sp-blockchain", - "sp-consensus", - "sp-core", - "sp-keystore", - "sp-mmr-primitives", - "sp-runtime", - "substrate-prometheus-endpoint", - "thiserror", - "wasm-timer", -] - -[[package]] -name = "beefy-gadget-rpc" +name = "binary-merkle-tree" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ - "beefy-gadget", - "futures 0.3.28", - "jsonrpsee", + "hash-db 0.16.0", "log", - "parity-scale-codec", - "parking_lot 0.12.1", - "sc-rpc", - "serde", - "sp-beefy", - "sp-core", - "sp-runtime", - "thiserror", -] - -[[package]] -name = "beefy-merkle-tree" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" -dependencies = [ - "sp-api", - "sp-beefy", - "sp-runtime", ] [[package]] @@ -812,17 +739,7 @@ version = "0.10.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "46502ad458c9a52b69d4d4d32775c788b7a1b85e8bc9d482d92250fc0e3f8efe" dependencies = [ - "digest 0.10.6", -] - -[[package]] -name = "blake2-rfc" -version = "0.2.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5d6d530bdd2d52966a6d03b7a964add7ae1a288d25214066fd4b600f0f796400" -dependencies = [ - "arrayvec 0.4.12", - "constant_time_eq 0.1.5", + "digest 0.10.7", ] [[package]] @@ -833,7 +750,7 @@ checksum = "3c2f0dc9a68c6317d884f97cc36cf5a3d20ba14ce404227df55e1af708ab04bc" dependencies = [ "arrayref", "arrayvec 0.7.2", - "constant_time_eq 0.2.5", + "constant_time_eq", ] [[package]] @@ -844,7 +761,7 @@ checksum = "6637f448b9e61dfadbdcbae9a885fadee1f3eaffb1f8d3c1965d3ade8bdfd44f" dependencies = [ "arrayref", "arrayvec 0.7.2", - "constant_time_eq 0.2.5", + "constant_time_eq", ] [[package]] @@ -857,8 +774,8 @@ dependencies = [ "arrayvec 0.7.2", "cc", "cfg-if", - "constant_time_eq 0.2.5", - "digest 0.10.6", + "constant_time_eq", + "digest 0.10.7", ] [[package]] @@ -916,11 +833,23 @@ version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8d696c370c750c948ada61c69a0ee2cbbb9c50b1019ddb86d9317157a99c2cae" +[[package]] +name = "bounded-collections" +version = "0.1.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "07fbd1d11282a1eb134d3c3b7cf8ce213b5161c6e5f73fb1b98618482c606b64" +dependencies = [ + "log", + "parity-scale-codec", + "scale-info", + "serde", +] + [[package]] name = "bounded-vec" -version = "0.6.0" +version = "0.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3372be4090bf9d4da36bd8ba7ce6ca1669503d0cf6e667236c6df7f053153eb6" +checksum = "68534a48cbf63a4b1323c433cf21238c9ec23711e0df13b08c33e5c2082663ce" dependencies = [ "thiserror", ] @@ -928,24 +857,24 @@ dependencies = [ [[package]] name = "bp-darwinia-core" version = "0.1.0" -source = "git+https://github.com/darwinia-network/darwinia-messages-substrate?branch=polkadot-v0.9.38#5e5d637438a90f8f3eb1eee5c442f51916acb7ba" +source = "git+https://github.com/darwinia-network/darwinia-messages-substrate?branch=polkadot-v0.9.40#b332097ec8d704c569dc045746ef39134c08d3a7" dependencies = [ - "account", "bp-messages", "bp-runtime", + "fp-account", "frame-support", "frame-system", "parity-scale-codec", "scale-info", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-runtime", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", ] [[package]] name = "bp-header-chain" version = "0.1.0" -source = "git+https://github.com/darwinia-network/darwinia-messages-substrate?branch=polkadot-v0.9.38#5e5d637438a90f8f3eb1eee5c442f51916acb7ba" +source = "git+https://github.com/darwinia-network/darwinia-messages-substrate?branch=polkadot-v0.9.40#b332097ec8d704c569dc045746ef39134c08d3a7" dependencies = [ "bp-runtime", "finality-grandpa", @@ -953,29 +882,29 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-core", - "sp-finality-grandpa", + "sp-consensus-grandpa", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-runtime", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", ] [[package]] name = "bp-message-dispatch" version = "0.1.0" -source = "git+https://github.com/darwinia-network/darwinia-messages-substrate?branch=polkadot-v0.9.38#5e5d637438a90f8f3eb1eee5c442f51916acb7ba" +source = "git+https://github.com/darwinia-network/darwinia-messages-substrate?branch=polkadot-v0.9.40#b332097ec8d704c569dc045746ef39134c08d3a7" dependencies = [ "bp-runtime", "frame-support", "parity-scale-codec", "scale-info", "sp-runtime", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", ] [[package]] name = "bp-messages" version = "0.1.0" -source = "git+https://github.com/darwinia-network/darwinia-messages-substrate?branch=polkadot-v0.9.38#5e5d637438a90f8f3eb1eee5c442f51916acb7ba" +source = "git+https://github.com/darwinia-network/darwinia-messages-substrate?branch=polkadot-v0.9.40#b332097ec8d704c569dc045746ef39134c08d3a7" dependencies = [ "bitvec", "bp-runtime", @@ -985,27 +914,27 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-core", - "sp-std", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", ] [[package]] name = "bp-parachains" version = "0.1.0" -source = "git+https://github.com/darwinia-network/darwinia-messages-substrate?branch=polkadot-v0.9.38#5e5d637438a90f8f3eb1eee5c442f51916acb7ba" +source = "git+https://github.com/darwinia-network/darwinia-messages-substrate?branch=polkadot-v0.9.40#b332097ec8d704c569dc045746ef39134c08d3a7" dependencies = [ "bp-polkadot-core", "bp-runtime", "frame-support", "parity-scale-codec", "scale-info", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", ] [[package]] name = "bp-polkadot-core" version = "0.1.0" -source = "git+https://github.com/darwinia-network/darwinia-messages-substrate?branch=polkadot-v0.9.38#5e5d637438a90f8f3eb1eee5c442f51916acb7ba" +source = "git+https://github.com/darwinia-network/darwinia-messages-substrate?branch=polkadot-v0.9.40#b332097ec8d704c569dc045746ef39134c08d3a7" dependencies = [ "bp-messages", "bp-runtime", @@ -1015,29 +944,29 @@ dependencies = [ "scale-info", "serde", "sp-api", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-runtime", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-version", ] [[package]] name = "bp-runtime" version = "0.1.0" -source = "git+https://github.com/darwinia-network/darwinia-messages-substrate?branch=polkadot-v0.9.38#5e5d637438a90f8f3eb1eee5c442f51916acb7ba" +source = "git+https://github.com/darwinia-network/darwinia-messages-substrate?branch=polkadot-v0.9.40#b332097ec8d704c569dc045746ef39134c08d3a7" dependencies = [ "frame-support", "frame-system", - "hash-db", + "hash-db 0.16.0", "num-traits", "parity-scale-codec", "scale-info", "serde", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-io", "sp-runtime", "sp-state-machine", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-trie", "trie-db", ] @@ -1045,22 +974,22 @@ dependencies = [ [[package]] name = "bp-test-utils" version = "0.1.0" -source = "git+https://github.com/darwinia-network/darwinia-messages-substrate?branch=polkadot-v0.9.38#5e5d637438a90f8f3eb1eee5c442f51916acb7ba" +source = "git+https://github.com/darwinia-network/darwinia-messages-substrate?branch=polkadot-v0.9.40#b332097ec8d704c569dc045746ef39134c08d3a7" dependencies = [ "bp-header-chain", "ed25519-dalek", "finality-grandpa", "parity-scale-codec", "sp-application-crypto", - "sp-finality-grandpa", + "sp-consensus-grandpa", "sp-runtime", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", ] [[package]] name = "bridge-runtime-common" version = "0.1.0" -source = "git+https://github.com/darwinia-network/darwinia-messages-substrate?branch=polkadot-v0.9.38#5e5d637438a90f8f3eb1eee5c442f51916acb7ba" +source = "git+https://github.com/darwinia-network/darwinia-messages-substrate?branch=polkadot-v0.9.40#b332097ec8d704c569dc045746ef39134c08d3a7" dependencies = [ "bp-header-chain", "bp-message-dispatch", @@ -1070,7 +999,7 @@ dependencies = [ "bp-runtime", "frame-support", "frame-system", - "hash-db", + "hash-db 0.16.0", "num-traits", "pallet-balances", "pallet-bridge-dispatch", @@ -1082,11 +1011,11 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-api", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-io", "sp-runtime", "sp-state-machine", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-trie", ] @@ -1109,9 +1038,9 @@ dependencies = [ [[package]] name = "bstr" -version = "1.4.0" +version = "1.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c3d4260bcc2e8fc9df1eac4919a720effeb63a3f0952f5bf4944adfa18897f09" +checksum = "a246e68bb43f6cd9db24bea052a53e40405417c5fb372e3d1a8a7f770a564ef5" dependencies = [ "memchr", "serde", @@ -1144,6 +1073,12 @@ version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e3b5ca7a04898ad4bcd41c90c5285445ff5b791899bb1b0abdd2a2aa791211d7" +[[package]] +name = "bytemuck" +version = "1.13.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "17febce684fd15d89027105661fec94afb475cb995fbc59d2865198446ba2eea" + [[package]] name = "byteorder" version = "1.4.3" @@ -1187,15 +1122,16 @@ dependencies = [ [[package]] name = "cargo_metadata" -version = "0.14.2" +version = "0.15.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4acbb09d9ee8e23699b9634375c72795d095bf268439da88562cf9b501f181fa" +checksum = "eee4243f1f26fc7a42710e7439c149e2b10b05472f88090acce52632f231a73a" dependencies = [ "camino", "cargo-platform", "semver 1.0.17", "serde", "serde_json", + "thiserror", ] [[package]] @@ -1357,9 +1293,9 @@ dependencies = [ [[package]] name = "clap" -version = "4.2.7" +version = "4.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "34d21f9bf1b425d2968943631ec91202fe5e837264063503708b83013f8fc938" +checksum = "93aae7a4192245f70fe75dd9157fc7b4a5bf53e88d30bd4396f7d8f9284d5acc" dependencies = [ "clap_builder", "clap_derive", @@ -1368,9 +1304,9 @@ dependencies = [ [[package]] name = "clap_builder" -version = "4.2.7" +version = "4.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "914c8c79fb560f238ef6429439a30023c862f7a28e688c58f7203f12b29970bd" +checksum = "4f423e341edefb78c9caba2d9c7f7687d0e72e89df3ce3394554754393ac3990" dependencies = [ "anstream", "anstyle", @@ -1381,21 +1317,21 @@ dependencies = [ [[package]] name = "clap_derive" -version = "4.2.0" +version = "4.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3f9644cd56d6b87dbe899ef8b053e331c0637664e9e21a33dfcdc36093f5c5c4" +checksum = "191d9573962933b4027f932c600cd252ce27a8ad5979418fe78e43c07996f27b" dependencies = [ "heck", "proc-macro2", "quote", - "syn 2.0.15", + "syn 2.0.16", ] [[package]] name = "clap_lex" -version = "0.4.1" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a2dd5a6fe8c6e3502f568a6353e5273bbb15193ad9a89e457b9970798efbea1" +checksum = "2da6da31387c7e4ef160ffab6d5e7f00c42626fe39aea70a7b0f1773f7dd6c1b" [[package]] name = "coarsetime" @@ -1447,15 +1383,15 @@ dependencies = [ [[package]] name = "console" -version = "0.15.5" +version = "0.15.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c3d79fbe8970a77e3e34151cc13d3b3e248aa0faaecb9f6091fa07ebefe5ad60" +checksum = "c926e00cc70edefdc64d3a5ff31cc65bb97a3460097762bd23afb4d8145fccf8" dependencies = [ "encode_unicode", "lazy_static", "libc", "unicode-width", - "windows-sys 0.42.0", + "windows-sys 0.45.0", ] [[package]] @@ -1464,12 +1400,6 @@ version = "0.9.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "520fbf3c07483f94e3e3ca9d0cfd913d7718ef2483d2cfd91c0d9e91474ab913" -[[package]] -name = "constant_time_eq" -version = "0.1.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "245097e9a4535ee1e3e3931fcfcd55a796a44c643e8596ff6566d68f09b87bbc" - [[package]] name = "constant_time_eq" version = "0.2.5" @@ -1630,14 +1560,14 @@ dependencies = [ "sp-api", "sp-block-builder", "sp-consensus-aura", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-inherents", "sp-io", "sp-keyring", "sp-offchain", "sp-runtime", "sp-session", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-transaction-pool", "sp-version", "static_assertions", @@ -1650,27 +1580,28 @@ dependencies = [ [[package]] name = "cranelift-bforest" -version = "0.88.2" +version = "0.93.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "52056f6d0584484b57fa6c1a65c1fcb15f3780d8b6a758426d9e3084169b2ddd" +checksum = "2bc42ba2e232e5b20ff7dc299a812d53337dadce9a7e39a238e6a5cb82d2e57b" dependencies = [ - "cranelift-entity", + "cranelift-entity 0.93.2", ] [[package]] name = "cranelift-codegen" -version = "0.88.2" +version = "0.93.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "18fed94c8770dc25d01154c3ffa64ed0b3ba9d583736f305fed7beebe5d9cf74" +checksum = "253531aca9b6f56103c9420369db3263e784df39aa1c90685a1f69cfbba0623e" dependencies = [ "arrayvec 0.7.2", "bumpalo", "cranelift-bforest", "cranelift-codegen-meta", "cranelift-codegen-shared", - "cranelift-entity", + "cranelift-entity 0.93.2", "cranelift-isle", "gimli 0.26.2", + "hashbrown 0.12.3", "log", "regalloc2", "smallvec", @@ -1679,18 +1610,18 @@ dependencies = [ [[package]] name = "cranelift-codegen-meta" -version = "0.88.2" +version = "0.93.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1c451b81faf237d11c7e4f3165eeb6bac61112762c5cfe7b4c0fb7241474358f" +checksum = "72f2154365e2bff1b1b8537a7181591fdff50d8e27fa6e40d5c69c3bad0ca7c8" dependencies = [ "cranelift-codegen-shared", ] [[package]] name = "cranelift-codegen-shared" -version = "0.88.2" +version = "0.93.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e7c940133198426d26128f08be2b40b0bd117b84771fd36798969c4d712d81fc" +checksum = "687e14e3f5775248930e0d5a84195abef8b829958e9794bf8d525104993612b4" [[package]] name = "cranelift-entity" @@ -1701,11 +1632,20 @@ dependencies = [ "serde", ] +[[package]] +name = "cranelift-entity" +version = "0.93.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f42ea692c7b450ad18b8c9889661505d51c09ec4380cf1c2d278dbb2da22cae1" +dependencies = [ + "serde", +] + [[package]] name = "cranelift-frontend" -version = "0.88.2" +version = "0.93.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "34897538b36b216cc8dd324e73263596d51b8cf610da6498322838b2546baf8a" +checksum = "8483c2db6f45fe9ace984e5adc5d058102227e4c62e5aa2054e16b0275fd3a6e" dependencies = [ "cranelift-codegen", "log", @@ -1715,15 +1655,15 @@ dependencies = [ [[package]] name = "cranelift-isle" -version = "0.88.2" +version = "0.93.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1b2629a569fae540f16a76b70afcc87ad7decb38dc28fa6c648ac73b51e78470" +checksum = "e9793158837678902446c411741d87b43f57dadfb944f2440db4287cda8cbd59" [[package]] name = "cranelift-native" -version = "0.88.2" +version = "0.93.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "20937dab4e14d3e225c5adfc9c7106bafd4ac669bdb43027b911ff794c6fb318" +checksum = "72668c7755f2b880665cb422c8ad2d56db58a88b9bebfef0b73edc2277c13c49" dependencies = [ "cranelift-codegen", "libc", @@ -1732,18 +1672,18 @@ dependencies = [ [[package]] name = "cranelift-wasm" -version = "0.88.2" +version = "0.93.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "80fc2288957a94fd342a015811479de1837850924166d1f1856d8406e6f3609b" +checksum = "3852ce4b088b44ac4e29459573943009a70d1b192c8d77ef949b4e814f656fc1" dependencies = [ "cranelift-codegen", - "cranelift-entity", + "cranelift-entity 0.93.2", "cranelift-frontend", "itertools", "log", "smallvec", - "wasmparser", - "wasmtime-types", + "wasmparser 0.100.0", + "wasmtime-types 6.0.2", ] [[package]] @@ -1893,14 +1833,14 @@ dependencies = [ [[package]] name = "cumulus-client-cli" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.38#9b4e0247137f158d1a35118197d34adfa58858b7" +source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.40#e05c8d7f71734ed71188337c6cb0d30715f6320f" dependencies = [ "clap", "parity-scale-codec", "sc-chain-spec", "sc-cli", "sc-service", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-runtime", "url", ] @@ -1908,7 +1848,7 @@ dependencies = [ [[package]] name = "cumulus-client-collator" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.38#9b4e0247137f158d1a35118197d34adfa58858b7" +source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.40#e05c8d7f71734ed71188337c6cb0d30715f6320f" dependencies = [ "cumulus-client-consensus-common", "cumulus-client-network", @@ -1923,7 +1863,7 @@ dependencies = [ "sc-client-api", "sp-api", "sp-consensus", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-runtime", "tracing", ] @@ -1931,7 +1871,7 @@ dependencies = [ [[package]] name = "cumulus-client-consensus-aura" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.38#9b4e0247137f158d1a35118197d34adfa58858b7" +source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.40#e05c8d7f71734ed71188337c6cb0d30715f6320f" dependencies = [ "async-trait", "cumulus-client-consensus-common", @@ -1949,7 +1889,7 @@ dependencies = [ "sp-blockchain", "sp-consensus", "sp-consensus-aura", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-inherents", "sp-keystore", "sp-runtime", @@ -1960,7 +1900,7 @@ dependencies = [ [[package]] name = "cumulus-client-consensus-common" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.38#9b4e0247137f158d1a35118197d34adfa58858b7" +source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.40#e05c8d7f71734ed71188337c6cb0d30715f6320f" dependencies = [ "async-trait", "cumulus-client-pov-recovery", @@ -1973,6 +1913,7 @@ dependencies = [ "polkadot-primitives", "sc-client-api", "sc-consensus", + "schnellru", "sp-blockchain", "sp-consensus", "sp-runtime", @@ -1983,7 +1924,7 @@ dependencies = [ [[package]] name = "cumulus-client-network" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.38#9b4e0247137f158d1a35118197d34adfa58858b7" +source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.40#e05c8d7f71734ed71188337c6cb0d30715f6320f" dependencies = [ "async-trait", "cumulus-relay-chain-interface", @@ -1997,7 +1938,7 @@ dependencies = [ "sc-client-api", "sp-blockchain", "sp-consensus", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-runtime", "sp-state-machine", "tracing", @@ -2006,8 +1947,9 @@ dependencies = [ [[package]] name = "cumulus-client-pov-recovery" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.38#9b4e0247137f158d1a35118197d34adfa58858b7" +source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.40#e05c8d7f71734ed71188337c6cb0d30715f6320f" dependencies = [ + "async-trait", "cumulus-primitives-core", "cumulus-relay-chain-interface", "futures 0.3.28", @@ -2029,35 +1971,42 @@ dependencies = [ [[package]] name = "cumulus-client-service" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.38#9b4e0247137f158d1a35118197d34adfa58858b7" +source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.40#e05c8d7f71734ed71188337c6cb0d30715f6320f" dependencies = [ "cumulus-client-cli", "cumulus-client-collator", "cumulus-client-consensus-common", + "cumulus-client-network", "cumulus-client-pov-recovery", "cumulus-primitives-core", "cumulus-relay-chain-inprocess-interface", "cumulus-relay-chain-interface", "cumulus-relay-chain-minimal-node", "futures 0.3.28", - "parking_lot 0.12.1", "polkadot-primitives", "sc-client-api", "sc-consensus", + "sc-network", + "sc-network-sync", + "sc-network-transactions", + "sc-rpc", "sc-service", "sc-sysinfo", "sc-telemetry", + "sc-transaction-pool", + "sc-utils", "sp-api", "sp-blockchain", "sp-consensus", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-runtime", + "sp-transaction-pool", ] [[package]] name = "cumulus-pallet-aura-ext" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.38#9b4e0247137f158d1a35118197d34adfa58858b7" +source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.40#e05c8d7f71734ed71188337c6cb0d30715f6320f" dependencies = [ "frame-support", "frame-system", @@ -2067,13 +2016,13 @@ dependencies = [ "sp-application-crypto", "sp-consensus-aura", "sp-runtime", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", ] [[package]] name = "cumulus-pallet-dmp-queue" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.38#9b4e0247137f158d1a35118197d34adfa58858b7" +source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.40#e05c8d7f71734ed71188337c6cb0d30715f6320f" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -2083,14 +2032,14 @@ dependencies = [ "scale-info", "sp-io", "sp-runtime", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "xcm", ] [[package]] name = "cumulus-pallet-parachain-system" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.38#9b4e0247137f158d1a35118197d34adfa58858b7" +source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.40#e05c8d7f71734ed71188337c6cb0d30715f6320f" dependencies = [ "bytes", "cumulus-pallet-parachain-system-proc-macro", @@ -2104,13 +2053,13 @@ dependencies = [ "parity-scale-codec", "polkadot-parachain", "scale-info", - "sp-core", - "sp-externalities", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-externalities 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-inherents", "sp-io", "sp-runtime", "sp-state-machine", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-trie", "sp-version", "xcm", @@ -2119,7 +2068,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.38#9b4e0247137f158d1a35118197d34adfa58858b7" +source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.40#e05c8d7f71734ed71188337c6cb0d30715f6320f" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -2130,7 +2079,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-session-benchmarking" version = "3.0.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.38#9b4e0247137f158d1a35118197d34adfa58858b7" +source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.40#e05c8d7f71734ed71188337c6cb0d30715f6320f" dependencies = [ "frame-benchmarking", "frame-support", @@ -2138,13 +2087,13 @@ dependencies = [ "pallet-session", "parity-scale-codec", "sp-runtime", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", ] [[package]] name = "cumulus-pallet-xcm" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.38#9b4e0247137f158d1a35118197d34adfa58858b7" +source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.40#e05c8d7f71734ed71188337c6cb0d30715f6320f" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -2153,14 +2102,14 @@ dependencies = [ "scale-info", "sp-io", "sp-runtime", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "xcm", ] [[package]] name = "cumulus-pallet-xcmp-queue" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.38#9b4e0247137f158d1a35118197d34adfa58858b7" +source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.40#e05c8d7f71734ed71188337c6cb0d30715f6320f" dependencies = [ "cumulus-primitives-core", "frame-benchmarking", @@ -2173,7 +2122,7 @@ dependencies = [ "scale-info", "sp-io", "sp-runtime", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "xcm", "xcm-executor", ] @@ -2181,7 +2130,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-core" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.38#9b4e0247137f158d1a35118197d34adfa58858b7" +source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.40#e05c8d7f71734ed71188337c6cb0d30715f6320f" dependencies = [ "parity-scale-codec", "polkadot-core-primitives", @@ -2189,7 +2138,7 @@ dependencies = [ "polkadot-primitives", "sp-api", "sp-runtime", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-trie", "xcm", ] @@ -2197,7 +2146,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-parachain-inherent" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.38#9b4e0247137f158d1a35118197d34adfa58858b7" +source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.40#e05c8d7f71734ed71188337c6cb0d30715f6320f" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -2207,12 +2156,12 @@ dependencies = [ "sc-client-api", "scale-info", "sp-api", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-inherents", "sp-runtime", "sp-state-machine", - "sp-std", - "sp-storage", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-storage 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-trie", "tracing", ] @@ -2220,20 +2169,20 @@ dependencies = [ [[package]] name = "cumulus-primitives-timestamp" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.38#9b4e0247137f158d1a35118197d34adfa58858b7" +source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.40#e05c8d7f71734ed71188337c6cb0d30715f6320f" dependencies = [ "cumulus-primitives-core", "futures 0.3.28", "parity-scale-codec", "sp-inherents", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-timestamp", ] [[package]] name = "cumulus-primitives-utility" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.38#9b4e0247137f158d1a35118197d34adfa58858b7" +source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.40#e05c8d7f71734ed71188337c6cb0d30715f6320f" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -2242,7 +2191,7 @@ dependencies = [ "polkadot-runtime-common", "sp-io", "sp-runtime", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "xcm", "xcm-builder", "xcm-executor", @@ -2251,7 +2200,7 @@ dependencies = [ [[package]] name = "cumulus-relay-chain-inprocess-interface" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.38#9b4e0247137f158d1a35118197d34adfa58858b7" +source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.40#e05c8d7f71734ed71188337c6cb0d30715f6320f" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -2268,7 +2217,7 @@ dependencies = [ "sc-tracing", "sp-api", "sp-consensus", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-runtime", "sp-state-machine", ] @@ -2276,7 +2225,7 @@ dependencies = [ [[package]] name = "cumulus-relay-chain-interface" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.38#9b4e0247137f158d1a35118197d34adfa58858b7" +source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.40#e05c8d7f71734ed71188337c6cb0d30715f6320f" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -2289,13 +2238,12 @@ dependencies = [ "sp-blockchain", "sp-state-machine", "thiserror", - "tokio", ] [[package]] name = "cumulus-relay-chain-minimal-node" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.38#9b4e0247137f158d1a35118197d34adfa58858b7" +source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.40#e05c8d7f71734ed71188337c6cb0d30715f6320f" dependencies = [ "array-bytes 6.1.0", "async-trait", @@ -2313,15 +2261,10 @@ dependencies = [ "polkadot-service", "sc-authority-discovery", "sc-client-api", - "sc-consensus", - "sc-keystore", "sc-network", "sc-network-common", "sc-service", - "sc-telemetry", "sc-tracing", - "sc-transaction-pool", - "sc-transaction-pool-api", "sp-api", "sp-blockchain", "sp-consensus", @@ -2329,13 +2272,12 @@ dependencies = [ "sp-runtime", "tokio", "tracing", - "url", ] [[package]] name = "cumulus-relay-chain-rpc-interface" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.38#9b4e0247137f158d1a35118197d34adfa58858b7" +source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.40#e05c8d7f71734ed71188337c6cb0d30715f6320f" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -2345,17 +2287,18 @@ dependencies = [ "jsonrpsee", "lru 0.9.0", "parity-scale-codec", - "polkadot-service", + "polkadot-overseer", "sc-client-api", "sc-rpc-api", + "sc-service", "serde", "serde_json", "sp-api", "sp-authority-discovery", "sp-consensus-babe", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-state-machine", - "sp-storage", + "sp-storage 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "tokio", "tracing", "url", @@ -2364,14 +2307,14 @@ dependencies = [ [[package]] name = "cumulus-test-relay-sproof-builder" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.38#9b4e0247137f158d1a35118197d34adfa58858b7" +source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.40#e05c8d7f71734ed71188337c6cb0d30715f6320f" dependencies = [ "cumulus-primitives-core", "parity-scale-codec", "polkadot-primitives", "sp-runtime", "sp-state-machine", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", ] [[package]] @@ -2438,7 +2381,7 @@ dependencies = [ "proc-macro2", "quote", "scratch", - "syn 2.0.15", + "syn 2.0.16", ] [[package]] @@ -2455,7 +2398,7 @@ checksum = "2345488264226bf682893e25de0769f3360aac9957980ec49361b083ddaa5bc5" dependencies = [ "proc-macro2", "quote", - "syn 2.0.15", + "syn 2.0.16", ] [[package]] @@ -2557,7 +2500,7 @@ dependencies = [ "sp-blockchain", "sp-consensus", "sp-consensus-aura", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-io", "sp-keystore", "sp-offchain", @@ -2592,11 +2535,11 @@ dependencies = [ "pallet-vesting", "parity-scale-codec", "scale-info", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-io", "sp-keyring", "sp-runtime", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-version", ] @@ -2604,10 +2547,10 @@ dependencies = [ name = "darwinia-common-runtime" version = "6.3.0" dependencies = [ - "account", "bp-darwinia-core", "darwinia-precompile-assets", "dc-primitives", + "fp-account", "frame-support", "frame-system", "pallet-assets", @@ -2617,10 +2560,10 @@ dependencies = [ "pallet-treasury", "parity-scale-codec", "smallvec", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-io", "sp-runtime", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "xcm", "xcm-builder", "xcm-executor", @@ -2641,10 +2584,10 @@ dependencies = [ "pallet-timestamp", "parity-scale-codec", "scale-info", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-io", "sp-runtime", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", ] [[package]] @@ -2660,10 +2603,10 @@ dependencies = [ "libsecp256k1", "parity-scale-codec", "scale-info", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-io", "sp-runtime", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-version", ] @@ -2679,10 +2622,10 @@ dependencies = [ "pallet-timestamp", "parity-scale-codec", "scale-info", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-io", "sp-runtime", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", ] [[package]] @@ -2708,10 +2651,10 @@ dependencies = [ "rlp", "scale-info", "sha3", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-io", "sp-runtime", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", ] [[package]] @@ -2729,10 +2672,10 @@ dependencies = [ "precompile-utils", "scale-info", "sha3", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-io", "sp-runtime", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", ] [[package]] @@ -2750,7 +2693,7 @@ dependencies = [ "precompile-utils", "rand 0.8.5", "sha2 0.10.6", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", ] [[package]] @@ -2767,10 +2710,10 @@ dependencies = [ "parity-scale-codec", "precompile-utils", "scale-info", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-io", "sp-runtime", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", ] [[package]] @@ -2788,10 +2731,10 @@ dependencies = [ "parity-scale-codec", "precompile-utils", "scale-info", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-io", "sp-runtime", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", ] [[package]] @@ -2807,10 +2750,10 @@ dependencies = [ "parity-scale-codec", "precompile-utils", "scale-info", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-io", "sp-runtime", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", ] [[package]] @@ -2903,14 +2846,14 @@ dependencies = [ "sp-api", "sp-block-builder", "sp-consensus-aura", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-inherents", "sp-io", "sp-keyring", "sp-offchain", "sp-runtime", "sp-session", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-transaction-pool", "sp-version", "static_assertions", @@ -2940,10 +2883,10 @@ dependencies = [ "parity-scale-codec", "pretty_env_logger", "scale-info", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-io", "sp-runtime", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "substrate-test-utils", ] @@ -2971,15 +2914,15 @@ dependencies = [ [[package]] name = "data-encoding" -version = "2.3.3" +version = "2.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "23d8666cb01533c39dde32bcbab8e227b4ed6679b2c925eba05feabea39508fb" +checksum = "c2e66c9d817f1720209181c316d28635c050fa304f9c79e47a520882661b7308" [[package]] name = "data-encoding-macro" -version = "0.1.12" +version = "0.1.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "86927b7cd2fe88fa698b87404b287ab98d1a0063a34071d92e575b72d3029aca" +checksum = "c904b33cc60130e1aeea4956ab803d08a3f4a0ca82d64ed757afac3891f2bb99" dependencies = [ "data-encoding", "data-encoding-macro-internal", @@ -2987,9 +2930,9 @@ dependencies = [ [[package]] name = "data-encoding-macro-internal" -version = "0.1.10" +version = "0.1.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a5bbed42daaa95e780b60a50546aa345b8413a1e46f9a40a12907d3598f038db" +checksum = "8fdf3fce3ce863539ec1d7fd1b6dcc3c645663376b43ed376bbf887733e4f772" dependencies = [ "data-encoding", "syn 1.0.109", @@ -3009,9 +2952,9 @@ dependencies = [ name = "dc-primitives" version = "6.3.0" dependencies = [ - "account", "dc-types", - "sp-core", + "fp-account", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-runtime", ] @@ -3150,9 +3093,9 @@ dependencies = [ [[package]] name = "digest" -version = "0.10.6" +version = "0.10.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8168378f4e5023e7218c89c891c0fd8ecdb5e5e4f18cb78f38cf245dd021e76f" +checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292" dependencies = [ "block-buffer 0.10.4", "crypto-common", @@ -3208,7 +3151,7 @@ checksum = "487585f4d0c6655fe74905e2504d8ad6908e4db67f744eb140876906c2f3175d" dependencies = [ "proc-macro2", "quote", - "syn 2.0.15", + "syn 2.0.16", ] [[package]] @@ -3320,7 +3263,7 @@ dependencies = [ "base16ct", "crypto-bigint", "der", - "digest 0.10.6", + "digest 0.10.7", "ff", "generic-array 0.14.7", "group", @@ -3377,7 +3320,7 @@ checksum = "5e9a1f9f7d83e59740248a6e14ecf93929ade55027844dfcea78beafccc15745" dependencies = [ "proc-macro2", "quote", - "syn 2.0.15", + "syn 2.0.16", ] [[package]] @@ -3388,7 +3331,7 @@ checksum = "48016319042fb7c87b78d2993084a831793a897a5cd1a2a67cab9d1eeb4b7d76" dependencies = [ "proc-macro2", "quote", - "syn 2.0.15", + "syn 2.0.16", ] [[package]] @@ -3502,7 +3445,7 @@ dependencies = [ "fixed-hash 0.8.0", "impl-codec", "impl-rlp", - "impl-serde 0.4.0", + "impl-serde", "scale-info", "tiny-keccak", ] @@ -3515,7 +3458,7 @@ checksum = "6a89fb87a9e103f71b903b80b670200b54cc67a07578f070681f1fffb7396fb7" dependencies = [ "bytes", "ethereum-types 0.14.1", - "hash-db", + "hash-db 0.15.2", "hash256-std-hasher", "parity-scale-codec", "rlp", @@ -3547,7 +3490,7 @@ dependencies = [ "fixed-hash 0.8.0", "impl-codec", "impl-rlp", - "impl-serde 0.4.0", + "impl-serde", "primitive-types 0.12.1", "scale-info", "uint", @@ -3620,7 +3563,7 @@ dependencies = [ [[package]] name = "evm-tracing-events" version = "0.1.0" -source = "git+https://github.com/darwinia-network/moonbeam?branch=update-0.9.38#abca6696c3731dd781d7badfb7cd797e36e39bf5" +source = "git+https://github.com/darwinia-network/moonbeam?branch=polkadot-v0.9.40#14597e44456b8798ab4da464150cc50cafcd731b" dependencies = [ "environmental", "ethereum", @@ -3629,7 +3572,7 @@ dependencies = [ "evm-gasometer", "evm-runtime", "parity-scale-codec", - "sp-runtime-interface", + "sp-runtime-interface 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", ] [[package]] @@ -3666,6 +3609,19 @@ dependencies = [ "syn 1.0.109", ] +[[package]] +name = "expander" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f360349150728553f92e4c997a16af8915f418d3a0f21b440d34c5632f16ed84" +dependencies = [ + "blake2", + "fs-err", + "proc-macro2", + "quote", + "syn 1.0.109", +] + [[package]] name = "fake-simd" version = "0.1.2" @@ -3715,7 +3671,7 @@ dependencies = [ [[package]] name = "fc-cli" version = "1.0.0-dev" -source = "git+https://github.com/paritytech/frontier?branch=polkadot-v0.9.38#5644279da588baab7caa9f3a4eb69363e1606461" +source = "git+https://github.com/darwinia-network/frontier?branch=polkadot-v0.9.40#2e4442aad4b1ff0e64b0605b29689d0848d9dc9f" dependencies = [ "clap", "ethereum-types 0.14.1", @@ -3733,7 +3689,7 @@ dependencies = [ [[package]] name = "fc-consensus" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/frontier?branch=polkadot-v0.9.38#5644279da588baab7caa9f3a4eb69363e1606461" +source = "git+https://github.com/darwinia-network/frontier?branch=polkadot-v0.9.40#2e4442aad4b1ff0e64b0605b29689d0848d9dc9f" dependencies = [ "async-trait", "fc-db", @@ -3742,7 +3698,6 @@ dependencies = [ "sc-consensus", "sp-api", "sp-block-builder", - "sp-blockchain", "sp-consensus", "sp-runtime", "thiserror", @@ -3751,7 +3706,7 @@ dependencies = [ [[package]] name = "fc-db" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/frontier?branch=polkadot-v0.9.38#5644279da588baab7caa9f3a4eb69363e1606461" +source = "git+https://github.com/darwinia-network/frontier?branch=polkadot-v0.9.40#2e4442aad4b1ff0e64b0605b29689d0848d9dc9f" dependencies = [ "fp-storage", "kvdb-rocksdb", @@ -3762,7 +3717,7 @@ dependencies = [ "sc-client-db", "smallvec", "sp-blockchain", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-database", "sp-runtime", ] @@ -3770,7 +3725,7 @@ dependencies = [ [[package]] name = "fc-mapping-sync" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/frontier?branch=polkadot-v0.9.38#5644279da588baab7caa9f3a4eb69363e1606461" +source = "git+https://github.com/darwinia-network/frontier?branch=polkadot-v0.9.40#2e4442aad4b1ff0e64b0605b29689d0848d9dc9f" dependencies = [ "fc-db", "fc-storage", @@ -3779,24 +3734,29 @@ dependencies = [ "futures 0.3.28", "futures-timer", "log", + "parking_lot 0.12.1", "sc-client-api", + "sc-utils", "sp-api", "sp-blockchain", + "sp-consensus", "sp-runtime", ] [[package]] name = "fc-rpc" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/frontier?branch=polkadot-v0.9.38#5644279da588baab7caa9f3a4eb69363e1606461" +source = "git+https://github.com/darwinia-network/frontier?branch=polkadot-v0.9.40#2e4442aad4b1ff0e64b0605b29689d0848d9dc9f" dependencies = [ "ethereum", "ethereum-types 0.14.1", "evm", "fc-db", + "fc-mapping-sync", "fc-rpc-core", "fc-storage", "fp-ethereum", + "fp-evm", "fp-rpc", "fp-storage", "futures 0.3.28", @@ -3805,6 +3765,7 @@ dependencies = [ "libsecp256k1", "log", "lru 0.8.1", + "pallet-evm", "parity-scale-codec", "prometheus", "rand 0.8.5", @@ -3812,17 +3773,21 @@ dependencies = [ "sc-client-api", "sc-network", "sc-network-common", + "sc-network-sync", "sc-rpc", "sc-service", "sc-transaction-pool", "sc-transaction-pool-api", + "sc-utils", "sp-api", "sp-block-builder", "sp-blockchain", "sp-consensus", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-io", "sp-runtime", + "sp-state-machine", + "sp-storage 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "substrate-prometheus-endpoint", "tokio", ] @@ -3830,7 +3795,7 @@ dependencies = [ [[package]] name = "fc-rpc-core" version = "1.1.0-dev" -source = "git+https://github.com/paritytech/frontier?branch=polkadot-v0.9.38#5644279da588baab7caa9f3a4eb69363e1606461" +source = "git+https://github.com/darwinia-network/frontier?branch=polkadot-v0.9.40#2e4442aad4b1ff0e64b0605b29689d0848d9dc9f" dependencies = [ "ethereum", "ethereum-types 0.14.1", @@ -3843,7 +3808,7 @@ dependencies = [ [[package]] name = "fc-storage" version = "1.0.0-dev" -source = "git+https://github.com/paritytech/frontier?branch=polkadot-v0.9.38#5644279da588baab7caa9f3a4eb69363e1606461" +source = "git+https://github.com/darwinia-network/frontier?branch=polkadot-v0.9.40#2e4442aad4b1ff0e64b0605b29689d0848d9dc9f" dependencies = [ "ethereum", "ethereum-types 0.14.1", @@ -3855,7 +3820,7 @@ dependencies = [ "sp-blockchain", "sp-io", "sp-runtime", - "sp-storage", + "sp-storage 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", ] [[package]] @@ -3995,7 +3960,7 @@ checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" [[package]] name = "fork-tree" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ "parity-scale-codec", ] @@ -4009,22 +3974,41 @@ dependencies = [ "percent-encoding", ] +[[package]] +name = "fp-account" +version = "1.0.0-dev" +source = "git+https://github.com/darwinia-network/frontier?branch=polkadot-v0.9.40#2e4442aad4b1ff0e64b0605b29689d0848d9dc9f" +dependencies = [ + "hex", + "impl-serde", + "libsecp256k1", + "log", + "parity-scale-codec", + "scale-info", + "serde", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-io", + "sp-runtime", + "sp-runtime-interface 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", +] + [[package]] name = "fp-consensus" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/frontier?branch=polkadot-v0.9.38#5644279da588baab7caa9f3a4eb69363e1606461" +source = "git+https://github.com/darwinia-network/frontier?branch=polkadot-v0.9.40#2e4442aad4b1ff0e64b0605b29689d0848d9dc9f" dependencies = [ "ethereum", "parity-scale-codec", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-runtime", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", ] [[package]] name = "fp-ethereum" version = "1.0.0-dev" -source = "git+https://github.com/paritytech/frontier?branch=polkadot-v0.9.38#5644279da588baab7caa9f3a4eb69363e1606461" +source = "git+https://github.com/darwinia-network/frontier?branch=polkadot-v0.9.40#2e4442aad4b1ff0e64b0605b29689d0848d9dc9f" dependencies = [ "ethereum", "ethereum-types 0.14.1", @@ -4032,27 +4016,27 @@ dependencies = [ "frame-support", "num_enum", "parity-scale-codec", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", ] [[package]] name = "fp-evm" version = "3.0.0-dev" -source = "git+https://github.com/paritytech/frontier?branch=polkadot-v0.9.38#5644279da588baab7caa9f3a4eb69363e1606461" +source = "git+https://github.com/darwinia-network/frontier?branch=polkadot-v0.9.40#2e4442aad4b1ff0e64b0605b29689d0848d9dc9f" dependencies = [ "evm", "frame-support", "parity-scale-codec", "serde", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-runtime", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", ] [[package]] name = "fp-rpc" version = "3.0.0-dev" -source = "git+https://github.com/paritytech/frontier?branch=polkadot-v0.9.38#5644279da588baab7caa9f3a4eb69363e1606461" +source = "git+https://github.com/darwinia-network/frontier?branch=polkadot-v0.9.40#2e4442aad4b1ff0e64b0605b29689d0848d9dc9f" dependencies = [ "ethereum", "ethereum-types 0.14.1", @@ -4060,15 +4044,16 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-api", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-runtime", - "sp-std", + "sp-state-machine", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", ] [[package]] name = "fp-self-contained" version = "1.0.0-dev" -source = "git+https://github.com/paritytech/frontier?branch=polkadot-v0.9.38#5644279da588baab7caa9f3a4eb69363e1606461" +source = "git+https://github.com/darwinia-network/frontier?branch=polkadot-v0.9.40#2e4442aad4b1ff0e64b0605b29689d0848d9dc9f" dependencies = [ "frame-support", "parity-scale-codec", @@ -4080,7 +4065,7 @@ dependencies = [ [[package]] name = "fp-storage" version = "2.0.0" -source = "git+https://github.com/paritytech/frontier?branch=polkadot-v0.9.38#5644279da588baab7caa9f3a4eb69363e1606461" +source = "git+https://github.com/darwinia-network/frontier?branch=polkadot-v0.9.40#2e4442aad4b1ff0e64b0605b29689d0848d9dc9f" dependencies = [ "parity-scale-codec", "serde", @@ -4095,7 +4080,7 @@ checksum = "6c2141d6d6c8512188a7891b4b01590a45f6dac67afb4f255c4124dbb86d4eaa" [[package]] name = "frame-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ "frame-support", "frame-support-procedural", @@ -4108,19 +4093,19 @@ dependencies = [ "serde", "sp-api", "sp-application-crypto", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-io", "sp-runtime", - "sp-runtime-interface", - "sp-std", - "sp-storage", + "sp-runtime-interface 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-storage 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "static_assertions", ] [[package]] name = "frame-benchmarking-cli" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ "Inflector", "array-bytes 4.2.0", @@ -4150,15 +4135,15 @@ dependencies = [ "serde_json", "sp-api", "sp-blockchain", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-database", - "sp-externalities", + "sp-externalities 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-inherents", "sp-keystore", "sp-runtime", "sp-state-machine", - "sp-std", - "sp-storage", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-storage 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-trie", "thiserror", "thousands", @@ -4167,7 +4152,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.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -4178,7 +4163,7 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ "frame-election-provider-solution-type", "frame-support", @@ -4186,27 +4171,27 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-arithmetic", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-npos-elections", "sp-runtime", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", ] [[package]] name = "frame-executive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ "frame-support", "frame-system", "frame-try-runtime", "parity-scale-codec", "scale-info", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-io", "sp-runtime", - "sp-std", - "sp-tracing", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-tracing 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", ] [[package]] @@ -4224,13 +4209,13 @@ dependencies = [ [[package]] name = "frame-remote-externalities" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ "futures 0.3.28", "log", "parity-scale-codec", "serde", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-io", "sp-runtime", "substrate-rpc-client", @@ -4240,9 +4225,10 @@ dependencies = [ [[package]] name = "frame-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ "bitflags", + "environmental", "frame-metadata", "frame-support-procedural", "impl-trait-for-tuples", @@ -4256,15 +4242,15 @@ dependencies = [ "smallvec", "sp-api", "sp-arithmetic", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-core-hashing-proc-macro", "sp-inherents", "sp-io", "sp-runtime", "sp-staking", "sp-state-machine", - "sp-std", - "sp-tracing", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-tracing 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-weights", "tt-call", ] @@ -4272,7 +4258,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ "Inflector", "cfg-expr", @@ -4287,7 +4273,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate", @@ -4299,7 +4285,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ "proc-macro2", "quote", @@ -4309,17 +4295,17 @@ dependencies = [ [[package]] name = "frame-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ "frame-support", "log", "parity-scale-codec", "scale-info", "serde", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-io", "sp-runtime", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-version", "sp-weights", ] @@ -4327,22 +4313,22 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ "frame-benchmarking", "frame-support", "frame-system", "parity-scale-codec", "scale-info", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-runtime", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", ] [[package]] name = "frame-system-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ "parity-scale-codec", "sp-api", @@ -4351,13 +4337,13 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ "frame-support", "parity-scale-codec", "sp-api", "sp-runtime", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", ] [[package]] @@ -4376,6 +4362,16 @@ dependencies = [ "winapi", ] +[[package]] +name = "fs4" +version = "0.6.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a7f5b6908aecca5812a4569056285e58c666588c9573ee59765bf1d3692699e2" +dependencies = [ + "rustix 0.37.19", + "windows-sys 0.48.0", +] + [[package]] name = "funty" version = "2.0.0" @@ -4460,7 +4456,7 @@ checksum = "89ca545a94061b6365f2c7355b4b32bd20df3ff95f02da9329b34ccc3bd6ee72" dependencies = [ "proc-macro2", "quote", - "syn 2.0.15", + "syn 2.0.16", ] [[package]] @@ -4623,7 +4619,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "029d74589adefde59de1a0c4f4732695c32805624aec7b68d91503d4dba79afc" dependencies = [ "aho-corasick 0.7.20", - "bstr 1.4.0", + "bstr 1.5.0", "fnv", "log", "regex", @@ -4642,9 +4638,9 @@ dependencies = [ [[package]] name = "h2" -version = "0.3.18" +version = "0.3.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "17f8a914c2987b688368b5138aa05321db91f4090cf26118185672ad588bce21" +checksum = "d357c7ae988e7d2182f7d7871d0b963962420b0678b0997ce7de72001aeab782" dependencies = [ "bytes", "fnv", @@ -4679,6 +4675,12 @@ version = "0.15.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d23bd4e7b5eda0d0f3a307e8b381fdc8ba9000f26fbe912250c0a4cc3956364a" +[[package]] +name = "hash-db" +version = "0.16.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8e7d7786361d7425ae2fe4f9e407eb0efaa0840f5212d109cc018c40c35c6ab4" + [[package]] name = "hash256-std-hasher" version = "0.15.2" @@ -4786,7 +4788,7 @@ version = "0.12.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6c49c37c09c17a53d937dfbb742eb3a961d65a994e6bcdcf37e7399d0cc8ab5e" dependencies = [ - "digest 0.10.6", + "digest 0.10.7", ] [[package]] @@ -4934,12 +4936,11 @@ dependencies = [ [[package]] name = "iana-time-zone-haiku" -version = "0.1.1" +version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0703ae284fc167426161c2e3f1da3ea71d94b21bedbcc9494e92b28e334e3dca" +checksum = "f31827a206f56af32e590ba56d5d2d085f558508192593743f16b2306495269f" dependencies = [ - "cxx", - "cxx-build", + "cc", ] [[package]] @@ -5016,15 +5017,6 @@ dependencies = [ "rlp", ] -[[package]] -name = "impl-serde" -version = "0.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4551f042f3438e64dbd6226b20527fc84a6e1fe65688b58746a2f53623f25f5c" -dependencies = [ - "serde", -] - [[package]] name = "impl-serde" version = "0.4.0" @@ -5202,9 +5194,9 @@ dependencies = [ [[package]] name = "js-sys" -version = "0.3.62" +version = "0.3.63" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "68c16e1bfd491478ab155fd8b4896b86f9ede344949b641e61501e07c2b8b4d5" +checksum = "2f37a4a5928311ac501dee68b3c7613a1037d0edb30c8e5427bd832d55d1b790" dependencies = [ "wasm-bindgen", ] @@ -5356,8 +5348,8 @@ dependencies = [ [[package]] name = "kusama-runtime" -version = "0.9.38" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.38#097ffd245c42aeff28cf80f8a3568e1bee2e7da7" +version = "0.9.40" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" dependencies = [ "bitvec", "frame-benchmarking", @@ -5407,6 +5399,7 @@ dependencies = [ "pallet-session-benchmarking", "pallet-society", "pallet-staking", + "pallet-staking-runtime-api", "pallet-timestamp", "pallet-tips", "pallet-transaction-payment", @@ -5429,10 +5422,10 @@ dependencies = [ "sp-api", "sp-arithmetic", "sp-authority-discovery", - "sp-beefy", "sp-block-builder", "sp-consensus-babe", - "sp-core", + "sp-consensus-beefy", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-inherents", "sp-io", "sp-mmr-primitives", @@ -5441,7 +5434,7 @@ dependencies = [ "sp-runtime", "sp-session", "sp-staking", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-transaction-pool", "sp-version", "static_assertions", @@ -5453,14 +5446,14 @@ dependencies = [ [[package]] name = "kusama-runtime-constants" -version = "0.9.38" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.38#097ffd245c42aeff28cf80f8a3568e1bee2e7da7" +version = "0.9.40" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" dependencies = [ "frame-support", "polkadot-primitives", "polkadot-runtime-common", "smallvec", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-runtime", "sp-weights", ] @@ -5537,9 +5530,9 @@ checksum = "7fc7aa29613bd6a620df431842069224d8bc9011086b1db4c0e0cd47fa03ec9a" [[package]] name = "libm" -version = "0.2.6" +version = "0.2.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "348108ab3fba42ec82ff6e9564fc4ca0247bdccdc68dd8af9764bbc79c3c8ffb" +checksum = "f7012b1bbb0719e1097c47611d3898568c546d597c2e74d66f6087edd5233ff4" [[package]] name = "libp2p" @@ -6094,12 +6087,11 @@ dependencies = [ [[package]] name = "linregress" -version = "0.4.4" +version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d6c601a85f5ecd1aba625247bca0031585fb1c446461b142878a16f8245ddeb8" +checksum = "475015a7f8f017edb28d2e69813be23500ad4b32cfe3421c4148efc97324ee52" dependencies = [ "nalgebra", - "statrs", ] [[package]] @@ -6110,9 +6102,15 @@ checksum = "d4d2456c373231a208ad294c33dc5bff30051eafd954cd4caae83a712b12854d" [[package]] name = "linux-raw-sys" -version = "0.3.7" +version = "0.1.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f051f77a7c8e6957c0696eac88f26b0117e54f52d3fc682ab19397a8812846a4" + +[[package]] +name = "linux-raw-sys" +version = "0.3.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ece97ea872ece730aed82664c424eb4c8291e1ff2480247ccf7409044bc6479f" +checksum = "ef53942eb7bf7ff43a617b3e2c1c4a5ecf5944a7c1bc12d7ee39bbb15e5c1519" [[package]] name = "lock_api" @@ -6210,6 +6208,12 @@ version = "0.1.10" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2532096657941c2fea9c289d370a250971c689d4f143798ff67113ec042024a5" +[[package]] +name = "matchit" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b87248edafb776e59e6ee64a79086f65890d3510f2c656c000bf2a7e8a0aea40" + [[package]] name = "matrixmultiply" version = "0.3.7" @@ -6226,7 +6230,7 @@ version = "0.10.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6365506850d44bff6e2fbcb5176cf63650e48bd45ef2fe2665ae1570e0f4b9ca" dependencies = [ - "digest 0.10.6", + "digest 0.10.7", ] [[package]] @@ -6262,15 +6266,6 @@ dependencies = [ "autocfg", ] -[[package]] -name = "memoffset" -version = "0.7.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5de893c32cde5f383baa4c04c5d6dbdd735cfd4a794b0debdb2bb1b421da5ff4" -dependencies = [ - "autocfg", -] - [[package]] name = "memoffset" version = "0.8.0" @@ -6282,12 +6277,11 @@ dependencies = [ [[package]] name = "memory-db" -version = "0.31.0" +version = "0.32.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5e0c7cba9ce19ac7ffd2053ac9f49843bbd3f4318feedfd74e85c19d5fb0ba66" +checksum = "808b50db46293432a45e63bc15ea51e0ab4c0a1647b8eb114e31a3e698dd6fbe" dependencies = [ - "hash-db", - "hashbrown 0.12.3", + "hash-db 0.16.0", ] [[package]] @@ -6374,7 +6368,7 @@ dependencies = [ [[package]] name = "mmr-gadget" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ "futures 0.3.28", "log", @@ -6382,10 +6376,10 @@ dependencies = [ "sc-client-api", "sc-offchain", "sp-api", - "sp-beefy", "sp-blockchain", "sp-consensus", - "sp-core", + "sp-consensus-beefy", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-mmr-primitives", "sp-runtime", ] @@ -6393,7 +6387,7 @@ dependencies = [ [[package]] name = "mmr-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ "anyhow", "jsonrpsee", @@ -6401,7 +6395,7 @@ dependencies = [ "serde", "sp-api", "sp-blockchain", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-mmr-primitives", "sp-runtime", ] @@ -6436,7 +6430,7 @@ dependencies = [ [[package]] name = "moonbeam-client-evm-tracing" version = "0.1.0" -source = "git+https://github.com/darwinia-network/moonbeam?branch=update-0.9.38#abca6696c3731dd781d7badfb7cd797e36e39bf5" +source = "git+https://github.com/darwinia-network/moonbeam?branch=polkadot-v0.9.40#14597e44456b8798ab4da464150cc50cafcd731b" dependencies = [ "ethereum-types 0.14.1", "evm-tracing-events", @@ -6445,13 +6439,13 @@ dependencies = [ "parity-scale-codec", "serde", "serde_json", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", ] [[package]] name = "moonbeam-evm-tracer" version = "0.1.0" -source = "git+https://github.com/darwinia-network/moonbeam?branch=update-0.9.38#abca6696c3731dd781d7badfb7cd797e36e39bf5" +source = "git+https://github.com/darwinia-network/moonbeam?branch=polkadot-v0.9.40#14597e44456b8798ab4da464150cc50cafcd731b" dependencies = [ "ethereum-types 0.14.1", "evm", @@ -6462,29 +6456,29 @@ dependencies = [ "moonbeam-primitives-ext", "pallet-evm", "parity-scale-codec", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-io", "sp-runtime", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", ] [[package]] name = "moonbeam-primitives-ext" version = "0.1.0" -source = "git+https://github.com/darwinia-network/moonbeam?branch=update-0.9.38#abca6696c3731dd781d7badfb7cd797e36e39bf5" +source = "git+https://github.com/darwinia-network/moonbeam?branch=polkadot-v0.9.40#14597e44456b8798ab4da464150cc50cafcd731b" dependencies = [ "ethereum-types 0.14.1", "evm-tracing-events", "parity-scale-codec", - "sp-externalities", - "sp-runtime-interface", - "sp-std", + "sp-externalities 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-runtime-interface 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", ] [[package]] name = "moonbeam-rpc-core-debug" version = "0.1.0" -source = "git+https://github.com/darwinia-network/moonbeam?branch=update-0.9.38#abca6696c3731dd781d7badfb7cd797e36e39bf5" +source = "git+https://github.com/darwinia-network/moonbeam?branch=polkadot-v0.9.40#14597e44456b8798ab4da464150cc50cafcd731b" dependencies = [ "ethereum-types 0.14.1", "futures 0.3.28", @@ -6493,13 +6487,13 @@ dependencies = [ "moonbeam-rpc-core-types", "serde", "serde_json", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.37)", ] [[package]] name = "moonbeam-rpc-core-trace" version = "0.6.0" -source = "git+https://github.com/darwinia-network/moonbeam?branch=update-0.9.38#abca6696c3731dd781d7badfb7cd797e36e39bf5" +source = "git+https://github.com/darwinia-network/moonbeam?branch=polkadot-v0.9.40#14597e44456b8798ab4da464150cc50cafcd731b" dependencies = [ "ethereum-types 0.14.1", "futures 0.3.28", @@ -6513,7 +6507,7 @@ dependencies = [ [[package]] name = "moonbeam-rpc-core-types" version = "0.1.0" -source = "git+https://github.com/darwinia-network/moonbeam?branch=update-0.9.38#abca6696c3731dd781d7badfb7cd797e36e39bf5" +source = "git+https://github.com/darwinia-network/moonbeam?branch=polkadot-v0.9.40#14597e44456b8798ab4da464150cc50cafcd731b" dependencies = [ "ethereum-types 0.14.1", "serde", @@ -6523,7 +6517,7 @@ dependencies = [ [[package]] name = "moonbeam-rpc-debug" version = "0.1.0" -source = "git+https://github.com/darwinia-network/moonbeam?branch=update-0.9.38#abca6696c3731dd781d7badfb7cd797e36e39bf5" +source = "git+https://github.com/darwinia-network/moonbeam?branch=polkadot-v0.9.40#14597e44456b8798ab4da464150cc50cafcd731b" dependencies = [ "ethereum", "ethereum-types 0.14.1", @@ -6544,7 +6538,7 @@ dependencies = [ "sp-api", "sp-block-builder", "sp-blockchain", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-io", "sp-runtime", "tokio", @@ -6553,7 +6547,7 @@ dependencies = [ [[package]] name = "moonbeam-rpc-primitives-debug" version = "0.1.0" -source = "git+https://github.com/darwinia-network/moonbeam?branch=update-0.9.38#abca6696c3731dd781d7badfb7cd797e36e39bf5" +source = "git+https://github.com/darwinia-network/moonbeam?branch=polkadot-v0.9.40#14597e44456b8798ab4da464150cc50cafcd731b" dependencies = [ "environmental", "ethereum", @@ -6562,16 +6556,16 @@ dependencies = [ "parity-scale-codec", "serde", "sp-api", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-io", "sp-runtime", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", ] [[package]] name = "moonbeam-rpc-trace" version = "0.6.0" -source = "git+https://github.com/darwinia-network/moonbeam?branch=update-0.9.38#abca6696c3731dd781d7badfb7cd797e36e39bf5" +source = "git+https://github.com/darwinia-network/moonbeam?branch=polkadot-v0.9.40#14597e44456b8798ab4da464150cc50cafcd731b" dependencies = [ "ethereum", "ethereum-types 0.14.1", @@ -6596,7 +6590,7 @@ dependencies = [ "sp-blockchain", "sp-io", "sp-runtime", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-transaction-pool", "tokio", "tracing", @@ -6660,7 +6654,7 @@ dependencies = [ "blake2s_simd", "blake3", "core2", - "digest 0.10.6", + "digest 0.10.7", "multihash-derive", "sha2 0.10.6", "sha3", @@ -6714,9 +6708,9 @@ dependencies = [ [[package]] name = "nalgebra" -version = "0.27.1" +version = "0.32.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "462fffe4002f4f2e1f6a9dcf12cc1a6fc0e15989014efc02a941d3e0f5dc2120" +checksum = "d68d47bba83f9e2006d117a9a33af1524e655516b8919caac694427a6fb1e511" dependencies = [ "approx", "matrixmultiply", @@ -6724,17 +6718,15 @@ dependencies = [ "num-complex", "num-rational", "num-traits", - "rand 0.8.5", - "rand_distr", "simba", "typenum 1.16.0 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "nalgebra-macros" -version = "0.1.0" +version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "01fcc0b8149b4632adc89ac3b7b31a12fb6099a0317a4eb2ebff574ef7de7218" +checksum = "d232c68884c0c99810a5a4d333ef7e47689cfd0edc85efc9e54e1e6bf5212766" dependencies = [ "proc-macro2", "quote", @@ -6853,34 +6845,14 @@ dependencies = [ ] [[package]] -name = "nix" -version = "0.26.2" +name = "nohash-hasher" +version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bfdda3d196821d6af13126e40375cdf7da646a96114af134d5f417a9a1dc8e1a" -dependencies = [ - "bitflags", - "cfg-if", - "libc", - "memoffset 0.7.1", - "pin-utils", - "static_assertions", -] +checksum = "2bf50223579dc7cdcfb3bfcacf7069ff68243f8c363f62ffa99cf000a6b9c451" [[package]] -name = "nodrop" -version = "0.1.14" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "72ef4a56884ca558e5ddb05a1d1e7e1bfd9a68d9ed024c21704cc98872dae1bb" - -[[package]] -name = "nohash-hasher" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2bf50223579dc7cdcfb3bfcacf7069ff68243f8c363f62ffa99cf000a6b9c451" - -[[package]] -name = "nom" -version = "7.1.3" +name = "nom" +version = "7.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d273983c5a657a70a3e8f2a01329822f3b8c8172b73826411a55751e404a0a4a" dependencies = [ @@ -6988,7 +6960,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "578ede34cf02f8924ab9447f50c28075b4d3e5b269972345e7e0372b38c6cdcd" dependencies = [ "autocfg", - "libm 0.2.6", ] [[package]] @@ -7108,7 +7079,7 @@ checksum = "a948666b637a0f465e8564c73e89d4dde00d72d4d473cc972f390fc3dcee7d9c" dependencies = [ "proc-macro2", "quote", - "syn 2.0.15", + "syn 2.0.16", ] [[package]] @@ -7196,9 +7167,9 @@ dependencies = [ [[package]] name = "orchestra" -version = "0.0.4" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "17e7d5b6bb115db09390bed8842c94180893dd83df3dfce7354f2a2aa090a4ee" +checksum = "2b0766f60d83cac01c6e3f3bc36aaa9056e48bea0deddb98a8c74de6021f3061" dependencies = [ "async-trait", "dyn-clonable", @@ -7213,11 +7184,12 @@ dependencies = [ [[package]] name = "orchestra-proc-macro" -version = "0.0.4" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c2af4dabb2286b0be0e9711d2d24e25f6217048b71210cffd3daddc3b5c84e1f" +checksum = "3c8e83dbd049009426b445424a1104c78e6172a4c13e3614e52a38262785a5d7" dependencies = [ - "expander 0.0.6", + "expander 1.0.0", + "indexmap", "itertools", "petgraph", "proc-macro-crate", @@ -7238,7 +7210,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.38#241d5cdc98cca53b8cf990853943c9ae1193a70e" +source = "git+https://github.com/open-web3-stack/open-runtime-module-library?branch=polkadot-v0.9.40#19afb58a300faac6ceb0e6e4e341859282897c53" dependencies = [ "frame-support", "impl-trait-for-tuples", @@ -7246,24 +7218,24 @@ dependencies = [ "orml-utilities", "parity-scale-codec", "scale-info", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-io", "sp-runtime", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "xcm", ] [[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.38#241d5cdc98cca53b8cf990853943c9ae1193a70e" +source = "git+https://github.com/open-web3-stack/open-runtime-module-library?branch=polkadot-v0.9.40#19afb58a300faac6ceb0e6e4e341859282897c53" dependencies = [ "frame-support", "parity-scale-codec", "scale-info", "sp-io", "sp-runtime", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", ] [[package]] @@ -7307,22 +7279,22 @@ dependencies = [ [[package]] name = "pallet-assets" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ "frame-benchmarking", "frame-support", "frame-system", "parity-scale-codec", "scale-info", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-runtime", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", ] [[package]] name = "pallet-aura" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ "frame-support", "frame-system", @@ -7332,13 +7304,13 @@ dependencies = [ "sp-application-crypto", "sp-consensus-aura", "sp-runtime", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", ] [[package]] name = "pallet-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ "frame-support", "frame-system", @@ -7348,13 +7320,13 @@ dependencies = [ "sp-application-crypto", "sp-authority-discovery", "sp-runtime", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", ] [[package]] name = "pallet-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ "frame-support", "frame-system", @@ -7362,13 +7334,13 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-runtime", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", ] [[package]] name = "pallet-babe" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ "frame-benchmarking", "frame-support", @@ -7386,13 +7358,13 @@ dependencies = [ "sp-runtime", "sp-session", "sp-staking", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", ] [[package]] name = "pallet-bags-list" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -7402,17 +7374,17 @@ dependencies = [ "pallet-balances", "parity-scale-codec", "scale-info", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-io", "sp-runtime", - "sp-std", - "sp-tracing", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-tracing 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", ] [[package]] name = "pallet-balances" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ "frame-benchmarking", "frame-support", @@ -7421,32 +7393,35 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-runtime", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", ] [[package]] name = "pallet-beefy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ "frame-support", "frame-system", + "pallet-authorship", "pallet-session", "parity-scale-codec", "scale-info", "serde", - "sp-beefy", + "sp-consensus-beefy", "sp-runtime", - "sp-std", + "sp-session", + "sp-staking", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", ] [[package]] name = "pallet-beefy-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ "array-bytes 4.2.0", - "beefy-merkle-tree", + "binary-merkle-tree", "frame-support", "frame-system", "log", @@ -7456,17 +7431,18 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-beefy", - "sp-core", + "sp-api", + "sp-consensus-beefy", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-io", "sp-runtime", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", ] [[package]] name = "pallet-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ "frame-benchmarking", "frame-support", @@ -7475,16 +7451,16 @@ dependencies = [ "pallet-treasury", "parity-scale-codec", "scale-info", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-io", "sp-runtime", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", ] [[package]] name = "pallet-bridge-dispatch" version = "0.1.0" -source = "git+https://github.com/darwinia-network/darwinia-messages-substrate?branch=polkadot-v0.9.38#5e5d637438a90f8f3eb1eee5c442f51916acb7ba" +source = "git+https://github.com/darwinia-network/darwinia-messages-substrate?branch=polkadot-v0.9.40#b332097ec8d704c569dc045746ef39134c08d3a7" dependencies = [ "bp-message-dispatch", "bp-runtime", @@ -7492,15 +7468,15 @@ dependencies = [ "frame-system", "parity-scale-codec", "scale-info", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-runtime", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", ] [[package]] name = "pallet-bridge-grandpa" version = "0.1.0" -source = "git+https://github.com/darwinia-network/darwinia-messages-substrate?branch=polkadot-v0.9.38#5e5d637438a90f8f3eb1eee5c442f51916acb7ba" +source = "git+https://github.com/darwinia-network/darwinia-messages-substrate?branch=polkadot-v0.9.40#b332097ec8d704c569dc045746ef39134c08d3a7" dependencies = [ "bp-header-chain", "bp-runtime", @@ -7513,16 +7489,16 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-finality-grandpa", + "sp-consensus-grandpa", "sp-runtime", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-trie", ] [[package]] name = "pallet-bridge-messages" version = "0.1.0" -source = "git+https://github.com/darwinia-network/darwinia-messages-substrate?branch=polkadot-v0.9.38#5e5d637438a90f8f3eb1eee5c442f51916acb7ba" +source = "git+https://github.com/darwinia-network/darwinia-messages-substrate?branch=polkadot-v0.9.40#b332097ec8d704c569dc045746ef39134c08d3a7" dependencies = [ "bitvec", "bp-message-dispatch", @@ -7535,15 +7511,15 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-runtime", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", ] [[package]] name = "pallet-bridge-parachains" version = "0.1.0" -source = "git+https://github.com/darwinia-network/darwinia-messages-substrate?branch=polkadot-v0.9.38#5e5d637438a90f8f3eb1eee5c442f51916acb7ba" +source = "git+https://github.com/darwinia-network/darwinia-messages-substrate?branch=polkadot-v0.9.40#b332097ec8d704c569dc045746ef39134c08d3a7" dependencies = [ "bp-parachains", "bp-polkadot-core", @@ -7555,16 +7531,16 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-runtime", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-trie", ] [[package]] name = "pallet-child-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ "frame-benchmarking", "frame-support", @@ -7574,16 +7550,16 @@ dependencies = [ "pallet-treasury", "parity-scale-codec", "scale-info", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-io", "sp-runtime", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", ] [[package]] name = "pallet-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ "frame-benchmarking", "frame-support", @@ -7591,16 +7567,16 @@ dependencies = [ "log", "parity-scale-codec", "scale-info", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-io", "sp-runtime", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", ] [[package]] name = "pallet-conviction-voting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ "assert_matches", "frame-benchmarking", @@ -7611,13 +7587,13 @@ dependencies = [ "serde", "sp-io", "sp-runtime", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", ] [[package]] name = "pallet-democracy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ "frame-benchmarking", "frame-support", @@ -7626,16 +7602,16 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-io", "sp-runtime", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", ] [[package]] name = "pallet-election-provider-multi-phase" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -7647,18 +7623,18 @@ dependencies = [ "rand 0.8.5", "scale-info", "sp-arithmetic", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-io", "sp-npos-elections", "sp-runtime", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "strum", ] [[package]] name = "pallet-election-provider-support-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -7671,7 +7647,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ "frame-benchmarking", "frame-support", @@ -7679,17 +7655,17 @@ dependencies = [ "log", "parity-scale-codec", "scale-info", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-io", "sp-npos-elections", "sp-runtime", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", ] [[package]] name = "pallet-ethereum" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/frontier?branch=polkadot-v0.9.38#5644279da588baab7caa9f3a4eb69363e1606461" +source = "git+https://github.com/darwinia-network/frontier?branch=polkadot-v0.9.40#2e4442aad4b1ff0e64b0605b29689d0848d9dc9f" dependencies = [ "ethereum", "ethereum-types 0.14.1", @@ -7698,24 +7674,21 @@ dependencies = [ "fp-ethereum", "fp-evm", "fp-rpc", - "fp-self-contained", "fp-storage", "frame-support", "frame-system", "pallet-evm", - "pallet-timestamp", "parity-scale-codec", - "rlp", "scale-info", "sp-io", "sp-runtime", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", ] [[package]] name = "pallet-ethereum-xcm" version = "1.0.0-dev" -source = "git+https://github.com/darwinia-network/moonbeam?branch=update-0.9.38#abca6696c3731dd781d7badfb7cd797e36e39bf5" +source = "git+https://github.com/darwinia-network/moonbeam?branch=polkadot-v0.9.40#14597e44456b8798ab4da464150cc50cafcd731b" dependencies = [ "ethereum", "ethereum-types 0.14.1", @@ -7723,7 +7696,6 @@ dependencies = [ "fp-evm", "fp-rpc", "fp-self-contained", - "frame-benchmarking", "frame-support", "frame-system", "pallet-evm", @@ -7734,17 +7706,18 @@ dependencies = [ "serde", "sp-io", "sp-runtime", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "xcm-primitives", ] [[package]] name = "pallet-evm" version = "6.0.0-dev" -source = "git+https://github.com/paritytech/frontier?branch=polkadot-v0.9.38#5644279da588baab7caa9f3a4eb69363e1606461" +source = "git+https://github.com/darwinia-network/frontier?branch=polkadot-v0.9.40#2e4442aad4b1ff0e64b0605b29689d0848d9dc9f" dependencies = [ "environmental", "evm", + "fp-account", "fp-evm", "frame-benchmarking", "frame-support", @@ -7752,20 +7725,19 @@ dependencies = [ "hex", "impl-trait-for-tuples", "log", - "pallet-timestamp", "parity-scale-codec", "rlp", "scale-info", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-io", "sp-runtime", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", ] [[package]] name = "pallet-evm-precompile-blake2" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/frontier?branch=polkadot-v0.9.38#5644279da588baab7caa9f3a4eb69363e1606461" +source = "git+https://github.com/darwinia-network/frontier?branch=polkadot-v0.9.40#2e4442aad4b1ff0e64b0605b29689d0848d9dc9f" dependencies = [ "fp-evm", ] @@ -7773,17 +7745,17 @@ dependencies = [ [[package]] name = "pallet-evm-precompile-bn128" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/frontier?branch=polkadot-v0.9.38#5644279da588baab7caa9f3a4eb69363e1606461" +source = "git+https://github.com/darwinia-network/frontier?branch=polkadot-v0.9.40#2e4442aad4b1ff0e64b0605b29689d0848d9dc9f" dependencies = [ "fp-evm", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "substrate-bn", ] [[package]] name = "pallet-evm-precompile-dispatch" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/frontier?branch=polkadot-v0.9.38#5644279da588baab7caa9f3a4eb69363e1606461" +source = "git+https://github.com/darwinia-network/frontier?branch=polkadot-v0.9.40#2e4442aad4b1ff0e64b0605b29689d0848d9dc9f" dependencies = [ "fp-evm", "frame-support", @@ -7793,7 +7765,7 @@ dependencies = [ [[package]] name = "pallet-evm-precompile-modexp" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/frontier?branch=polkadot-v0.9.38#5644279da588baab7caa9f3a4eb69363e1606461" +source = "git+https://github.com/darwinia-network/frontier?branch=polkadot-v0.9.40#2e4442aad4b1ff0e64b0605b29689d0848d9dc9f" dependencies = [ "fp-evm", "num", @@ -7802,7 +7774,7 @@ dependencies = [ [[package]] name = "pallet-evm-precompile-simple" version = "2.0.0-dev" -source = "git+https://github.com/paritytech/frontier?branch=polkadot-v0.9.38#5644279da588baab7caa9f3a4eb69363e1606461" +source = "git+https://github.com/darwinia-network/frontier?branch=polkadot-v0.9.40#2e4442aad4b1ff0e64b0605b29689d0848d9dc9f" dependencies = [ "fp-evm", "ripemd", @@ -7812,7 +7784,7 @@ dependencies = [ [[package]] name = "pallet-fast-unstake" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -7824,13 +7796,13 @@ dependencies = [ "sp-io", "sp-runtime", "sp-staking", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", ] [[package]] name = "pallet-fee-market" version = "0.1.0" -source = "git+https://github.com/darwinia-network/darwinia-messages-substrate?branch=polkadot-v0.9.38#5e5d637438a90f8f3eb1eee5c442f51916acb7ba" +source = "git+https://github.com/darwinia-network/darwinia-messages-substrate?branch=polkadot-v0.9.40#b332097ec8d704c569dc045746ef39134c08d3a7" dependencies = [ "bp-messages", "bp-runtime", @@ -7840,16 +7812,16 @@ dependencies = [ "pallet-timestamp", "parity-scale-codec", "scale-info", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-io", "sp-runtime", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", ] [[package]] name = "pallet-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ "frame-benchmarking", "frame-support", @@ -7860,19 +7832,19 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-application-crypto", - "sp-core", - "sp-finality-grandpa", + "sp-consensus-grandpa", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-io", "sp-runtime", "sp-session", "sp-staking", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", ] [[package]] name = "pallet-identity" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ "enumflags2", "frame-benchmarking", @@ -7882,13 +7854,13 @@ dependencies = [ "scale-info", "sp-io", "sp-runtime", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", ] [[package]] name = "pallet-im-online" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ "frame-benchmarking", "frame-support", @@ -7898,34 +7870,34 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-application-crypto", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-io", "sp-runtime", "sp-staking", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", ] [[package]] name = "pallet-indices" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ "frame-benchmarking", "frame-support", "frame-system", "parity-scale-codec", "scale-info", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-io", "sp-keyring", "sp-runtime", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", ] [[package]] name = "pallet-membership" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ "frame-benchmarking", "frame-support", @@ -7933,33 +7905,33 @@ dependencies = [ "log", "parity-scale-codec", "scale-info", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-io", "sp-runtime", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", ] [[package]] name = "pallet-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ "frame-benchmarking", "frame-support", "frame-system", "parity-scale-codec", "scale-info", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-io", "sp-mmr-primitives", "sp-runtime", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", ] [[package]] name = "pallet-multisig" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ "frame-benchmarking", "frame-support", @@ -7969,13 +7941,13 @@ dependencies = [ "scale-info", "sp-io", "sp-runtime", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", ] [[package]] name = "pallet-nis" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ "frame-benchmarking", "frame-support", @@ -7983,32 +7955,32 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-arithmetic", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-runtime", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", ] [[package]] name = "pallet-nomination-pools" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ "frame-support", "frame-system", "log", "parity-scale-codec", "scale-info", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-io", "sp-runtime", "sp-staking", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", ] [[package]] name = "pallet-nomination-pools-benchmarking" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -8020,25 +7992,26 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-runtime", - "sp-runtime-interface", + "sp-runtime-interface 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-staking", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", ] [[package]] name = "pallet-nomination-pools-runtime-api" version = "1.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ + "pallet-nomination-pools", "parity-scale-codec", "sp-api", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", ] [[package]] name = "pallet-offences" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ "frame-support", "frame-system", @@ -8049,13 +8022,13 @@ dependencies = [ "serde", "sp-runtime", "sp-staking", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", ] [[package]] name = "pallet-offences-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -8073,13 +8046,13 @@ dependencies = [ "scale-info", "sp-runtime", "sp-staking", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", ] [[package]] name = "pallet-preimage" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ "frame-benchmarking", "frame-support", @@ -8087,16 +8060,16 @@ dependencies = [ "log", "parity-scale-codec", "scale-info", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-io", "sp-runtime", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", ] [[package]] name = "pallet-proxy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ "frame-benchmarking", "frame-support", @@ -8105,13 +8078,13 @@ dependencies = [ "scale-info", "sp-io", "sp-runtime", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", ] [[package]] name = "pallet-ranked-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ "frame-benchmarking", "frame-support", @@ -8120,16 +8093,16 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-arithmetic", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-io", "sp-runtime", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", ] [[package]] name = "pallet-recovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ "frame-benchmarking", "frame-support", @@ -8138,13 +8111,13 @@ dependencies = [ "scale-info", "sp-io", "sp-runtime", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", ] [[package]] name = "pallet-referenda" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ "assert_matches", "frame-benchmarking", @@ -8157,13 +8130,13 @@ dependencies = [ "sp-arithmetic", "sp-io", "sp-runtime", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", ] [[package]] name = "pallet-scheduler" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ "frame-benchmarking", "frame-support", @@ -8173,14 +8146,14 @@ dependencies = [ "scale-info", "sp-io", "sp-runtime", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-weights", ] [[package]] name = "pallet-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ "frame-support", "frame-system", @@ -8189,19 +8162,19 @@ dependencies = [ "pallet-timestamp", "parity-scale-codec", "scale-info", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-io", "sp-runtime", "sp-session", "sp-staking", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-trie", ] [[package]] name = "pallet-session-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ "frame-benchmarking", "frame-support", @@ -8211,13 +8184,13 @@ dependencies = [ "rand 0.8.5", "sp-runtime", "sp-session", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", ] [[package]] name = "pallet-society" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ "frame-support", "frame-system", @@ -8225,13 +8198,13 @@ dependencies = [ "rand_chacha 0.2.2", "scale-info", "sp-runtime", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", ] [[package]] name = "pallet-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -8248,13 +8221,13 @@ dependencies = [ "sp-io", "sp-runtime", "sp-staking", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", ] [[package]] name = "pallet-staking-reward-curve" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -8265,16 +8238,25 @@ dependencies = [ [[package]] name = "pallet-staking-reward-fn" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ "log", "sp-arithmetic", ] +[[package]] +name = "pallet-staking-runtime-api" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +dependencies = [ + "parity-scale-codec", + "sp-api", +] + [[package]] name = "pallet-state-trie-migration" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ "frame-benchmarking", "frame-support", @@ -8282,16 +8264,16 @@ dependencies = [ "log", "parity-scale-codec", "scale-info", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-io", "sp-runtime", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", ] [[package]] name = "pallet-sudo" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ "frame-support", "frame-system", @@ -8299,13 +8281,13 @@ dependencies = [ "scale-info", "sp-io", "sp-runtime", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", ] [[package]] name = "pallet-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ "frame-benchmarking", "frame-support", @@ -8316,14 +8298,14 @@ dependencies = [ "sp-inherents", "sp-io", "sp-runtime", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-timestamp", ] [[package]] name = "pallet-tips" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ "frame-benchmarking", "frame-support", @@ -8333,39 +8315,39 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-io", "sp-runtime", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", ] [[package]] name = "pallet-transaction-payment" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ "frame-support", "frame-system", "parity-scale-codec", "scale-info", "serde", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-io", "sp-runtime", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", ] [[package]] name = "pallet-transaction-payment-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ "jsonrpsee", "pallet-transaction-payment-rpc-runtime-api", "parity-scale-codec", "sp-api", "sp-blockchain", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-rpc", "sp-runtime", "sp-weights", @@ -8374,7 +8356,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.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -8386,7 +8368,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ "frame-benchmarking", "frame-support", @@ -8397,29 +8379,29 @@ dependencies = [ "scale-info", "serde", "sp-runtime", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", ] [[package]] name = "pallet-utility" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ "frame-benchmarking", "frame-support", "frame-system", "parity-scale-codec", "scale-info", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-io", "sp-runtime", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", ] [[package]] name = "pallet-vesting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ "frame-benchmarking", "frame-support", @@ -8428,13 +8410,13 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-runtime", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", ] [[package]] name = "pallet-whitelist" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ "frame-benchmarking", "frame-support", @@ -8443,14 +8425,15 @@ dependencies = [ "scale-info", "sp-api", "sp-runtime", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", ] [[package]] name = "pallet-xcm" -version = "0.9.38" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.38#097ffd245c42aeff28cf80f8a3568e1bee2e7da7" +version = "0.9.40" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" dependencies = [ + "bounded-collections", "frame-benchmarking", "frame-support", "frame-system", @@ -8458,18 +8441,18 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-io", "sp-runtime", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "xcm", "xcm-executor", ] [[package]] name = "pallet-xcm-benchmarks" -version = "0.9.38" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.38#097ffd245c42aeff28cf80f8a3568e1bee2e7da7" +version = "0.9.40" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" dependencies = [ "frame-benchmarking", "frame-support", @@ -8479,7 +8462,7 @@ dependencies = [ "scale-info", "sp-io", "sp-runtime", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "xcm", "xcm-builder", "xcm-executor", @@ -8575,14 +8558,14 @@ dependencies = [ "sp-api", "sp-block-builder", "sp-consensus-aura", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-inherents", "sp-io", "sp-keyring", "sp-offchain", "sp-runtime", "sp-session", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-transaction-pool", "sp-version", "static_assertions", @@ -8683,14 +8666,14 @@ dependencies = [ "sp-api", "sp-block-builder", "sp-consensus-aura", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-inherents", "sp-io", "sp-keyring", "sp-offchain", "sp-runtime", "sp-session", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-transaction-pool", "sp-version", "static_assertions", @@ -8704,7 +8687,7 @@ dependencies = [ [[package]] name = "parachain-info" version = "0.1.0" -source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.38#9b4e0247137f158d1a35118197d34adfa58858b7" +source = "git+https://github.com/paritytech/cumulus?branch=polkadot-v0.9.40#e05c8d7f71734ed71188337c6cb0d30715f6320f" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -8715,9 +8698,9 @@ dependencies = [ [[package]] name = "parity-db" -version = "0.4.7" +version = "0.4.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bd4572a52711e2ccff02b4973ec7e4a5b5c23387ebbfbd6cd42b34755714cefc" +checksum = "4890dcb9556136a4ec2b0c51fa4a08c8b733b829506af8fff2e853f3a065985b" dependencies = [ "blake2", "crc32fast", @@ -8847,7 +8830,7 @@ version = "0.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "83a0692ec44e4cf1ef28ca317f14f8f07da2d95ec3fa01f86e4467b725e60917" dependencies = [ - "digest 0.10.6", + "digest 0.10.7", ] [[package]] @@ -8910,7 +8893,7 @@ dependencies = [ "pest_meta", "proc-macro2", "quote", - "syn 2.0.15", + "syn 2.0.16", ] [[package]] @@ -8936,22 +8919,22 @@ dependencies = [ [[package]] name = "pin-project" -version = "1.0.12" +version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ad29a609b6bcd67fee905812e544992d216af9d755757c05ed2d0e15a74c6ecc" +checksum = "c95a7476719eab1e366eaf73d0260af3021184f18177925b07f54b30089ceead" dependencies = [ "pin-project-internal", ] [[package]] name = "pin-project-internal" -version = "1.0.12" +version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "069bdb1e05adc7a8990dce9cc75370895fbe4e3d58b9b73bf1aee56359344a55" +checksum = "39407670928234ebc5e6e580247dd567ad73a3578460c5990f9503df207e8f07" dependencies = [ "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.16", ] [[package]] @@ -9002,8 +8985,8 @@ checksum = "e3d7ddaed09e0eb771a79ab0fd64609ba0afb0a8366421957936ad14cbd13630" [[package]] name = "polkadot-approval-distribution" -version = "0.9.38" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.38#097ffd245c42aeff28cf80f8a3568e1bee2e7da7" +version = "0.9.40" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" dependencies = [ "futures 0.3.28", "polkadot-node-metrics", @@ -9017,8 +9000,8 @@ dependencies = [ [[package]] name = "polkadot-availability-bitfield-distribution" -version = "0.9.38" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.38#097ffd245c42aeff28cf80f8a3568e1bee2e7da7" +version = "0.9.40" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" dependencies = [ "futures 0.3.28", "polkadot-node-network-protocol", @@ -9031,8 +9014,8 @@ dependencies = [ [[package]] name = "polkadot-availability-distribution" -version = "0.9.38" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.38#097ffd245c42aeff28cf80f8a3568e1bee2e7da7" +version = "0.9.40" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" dependencies = [ "derive_more", "fatality", @@ -9046,7 +9029,7 @@ dependencies = [ "polkadot-node-subsystem-util", "polkadot-primitives", "rand 0.8.5", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-keystore", "thiserror", "tracing-gum", @@ -9054,8 +9037,8 @@ dependencies = [ [[package]] name = "polkadot-availability-recovery" -version = "0.9.38" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.38#097ffd245c42aeff28cf80f8a3568e1bee2e7da7" +version = "0.9.40" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" dependencies = [ "fatality", "futures 0.3.28", @@ -9075,8 +9058,8 @@ dependencies = [ [[package]] name = "polkadot-cli" -version = "0.9.38" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.38#097ffd245c42aeff28cf80f8a3568e1bee2e7da7" +version = "0.9.40" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" dependencies = [ "clap", "frame-benchmarking-cli", @@ -9093,7 +9076,7 @@ dependencies = [ "sc-storage-monitor", "sc-sysinfo", "sc-tracing", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-io", "sp-keyring", "substrate-build-script-utils", @@ -9103,8 +9086,8 @@ dependencies = [ [[package]] name = "polkadot-client" -version = "0.9.38" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.38#097ffd245c42aeff28cf80f8a3568e1bee2e7da7" +version = "0.9.40" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" dependencies = [ "async-trait", "frame-benchmarking", @@ -9127,20 +9110,20 @@ dependencies = [ "sc-service", "sp-api", "sp-authority-discovery", - "sp-beefy", "sp-block-builder", "sp-blockchain", "sp-consensus", "sp-consensus-babe", - "sp-core", - "sp-finality-grandpa", + "sp-consensus-beefy", + "sp-consensus-grandpa", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-inherents", "sp-keyring", "sp-mmr-primitives", "sp-offchain", "sp-runtime", "sp-session", - "sp-storage", + "sp-storage 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-timestamp", "sp-transaction-pool", "westend-runtime", @@ -9148,8 +9131,8 @@ dependencies = [ [[package]] name = "polkadot-collator-protocol" -version = "0.9.38" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.38#097ffd245c42aeff28cf80f8a3568e1bee2e7da7" +version = "0.9.40" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" dependencies = [ "always-assert", "bitvec", @@ -9161,7 +9144,7 @@ dependencies = [ "polkadot-node-subsystem", "polkadot-node-subsystem-util", "polkadot-primitives", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-keystore", "sp-runtime", "thiserror", @@ -9170,20 +9153,20 @@ dependencies = [ [[package]] name = "polkadot-core-primitives" -version = "0.9.38" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.38#097ffd245c42aeff28cf80f8a3568e1bee2e7da7" +version = "0.9.40" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" dependencies = [ "parity-scale-codec", "scale-info", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-runtime", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", ] [[package]] name = "polkadot-dispute-distribution" -version = "0.9.38" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.38#097ffd245c42aeff28cf80f8a3568e1bee2e7da7" +version = "0.9.40" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" dependencies = [ "derive_more", "fatality", @@ -9207,22 +9190,22 @@ dependencies = [ [[package]] name = "polkadot-erasure-coding" -version = "0.9.38" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.38#097ffd245c42aeff28cf80f8a3568e1bee2e7da7" +version = "0.9.40" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" dependencies = [ "parity-scale-codec", "polkadot-node-primitives", "polkadot-primitives", "reed-solomon-novelpoly", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-trie", "thiserror", ] [[package]] name = "polkadot-gossip-support" -version = "0.9.38" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.38#097ffd245c42aeff28cf80f8a3568e1bee2e7da7" +version = "0.9.40" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" dependencies = [ "futures 0.3.28", "futures-timer", @@ -9234,15 +9217,15 @@ dependencies = [ "rand_chacha 0.3.1", "sc-network", "sp-application-crypto", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-keystore", "tracing-gum", ] [[package]] name = "polkadot-network-bridge" -version = "0.9.38" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.38#097ffd245c42aeff28cf80f8a3568e1bee2e7da7" +version = "0.9.40" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" dependencies = [ "always-assert", "async-trait", @@ -9257,7 +9240,6 @@ dependencies = [ "polkadot-overseer", "polkadot-primitives", "sc-network", - "sc-network-common", "sp-consensus", "thiserror", "tracing-gum", @@ -9265,8 +9247,8 @@ dependencies = [ [[package]] name = "polkadot-node-collation-generation" -version = "0.9.38" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.38#097ffd245c42aeff28cf80f8a3568e1bee2e7da7" +version = "0.9.40" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" dependencies = [ "futures 0.3.28", "parity-scale-codec", @@ -9275,7 +9257,7 @@ dependencies = [ "polkadot-node-subsystem", "polkadot-node-subsystem-util", "polkadot-primitives", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-maybe-compressed-blob", "thiserror", "tracing-gum", @@ -9283,8 +9265,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-approval-voting" -version = "0.9.38" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.38#097ffd245c42aeff28cf80f8a3568e1bee2e7da7" +version = "0.9.40" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" dependencies = [ "bitvec", "derive_more", @@ -9312,8 +9294,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-av-store" -version = "0.9.38" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.38#097ffd245c42aeff28cf80f8a3568e1bee2e7da7" +version = "0.9.40" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" dependencies = [ "bitvec", "futures 0.3.28", @@ -9326,14 +9308,15 @@ dependencies = [ "polkadot-node-subsystem-util", "polkadot-overseer", "polkadot-primitives", + "sp-consensus", "thiserror", "tracing-gum", ] [[package]] name = "polkadot-node-core-backing" -version = "0.9.38" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.38#097ffd245c42aeff28cf80f8a3568e1bee2e7da7" +version = "0.9.40" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" dependencies = [ "bitvec", "fatality", @@ -9351,8 +9334,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-bitfield-signing" -version = "0.9.38" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.38#097ffd245c42aeff28cf80f8a3568e1bee2e7da7" +version = "0.9.40" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" dependencies = [ "futures 0.3.28", "polkadot-node-subsystem", @@ -9366,8 +9349,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-candidate-validation" -version = "0.9.38" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.38#097ffd245c42aeff28cf80f8a3568e1bee2e7da7" +version = "0.9.40" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" dependencies = [ "async-trait", "futures 0.3.28", @@ -9377,6 +9360,7 @@ dependencies = [ "polkadot-node-metrics", "polkadot-node-primitives", "polkadot-node-subsystem", + "polkadot-node-subsystem-util", "polkadot-parachain", "polkadot-primitives", "sp-maybe-compressed-blob", @@ -9385,8 +9369,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-chain-api" -version = "0.9.38" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.38#097ffd245c42aeff28cf80f8a3568e1bee2e7da7" +version = "0.9.40" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" dependencies = [ "futures 0.3.28", "polkadot-node-metrics", @@ -9400,8 +9384,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-chain-selection" -version = "0.9.38" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.38#097ffd245c42aeff28cf80f8a3568e1bee2e7da7" +version = "0.9.40" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" dependencies = [ "futures 0.3.28", "futures-timer", @@ -9417,8 +9401,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-dispute-coordinator" -version = "0.9.38" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.38#097ffd245c42aeff28cf80f8a3568e1bee2e7da7" +version = "0.9.40" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" dependencies = [ "fatality", "futures 0.3.28", @@ -9436,8 +9420,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-parachains-inherent" -version = "0.9.38" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.38#097ffd245c42aeff28cf80f8a3568e1bee2e7da7" +version = "0.9.40" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" dependencies = [ "async-trait", "futures 0.3.28", @@ -9453,8 +9437,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-provisioner" -version = "0.9.38" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.38#097ffd245c42aeff28cf80f8a3568e1bee2e7da7" +version = "0.9.40" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" dependencies = [ "bitvec", "fatality", @@ -9471,40 +9455,44 @@ dependencies = [ [[package]] name = "polkadot-node-core-pvf" -version = "0.9.38" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.38#097ffd245c42aeff28cf80f8a3568e1bee2e7da7" +version = "0.9.40" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" dependencies = [ "always-assert", "assert_matches", "cpu-time", "futures 0.3.28", "futures-timer", + "libc", "parity-scale-codec", "pin-project", "polkadot-core-primitives", "polkadot-node-metrics", + "polkadot-node-primitives", "polkadot-parachain", + "polkadot-primitives", "rand 0.8.5", "rayon", "sc-executor", "sc-executor-common", "sc-executor-wasmtime", "slotmap", - "sp-core", - "sp-externalities", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-externalities 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-io", "sp-maybe-compressed-blob", - "sp-tracing", - "sp-wasm-interface", + "sp-tracing 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-wasm-interface 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "tempfile", + "tikv-jemalloc-ctl", "tokio", "tracing-gum", ] [[package]] name = "polkadot-node-core-pvf-checker" -version = "0.9.38" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.38#097ffd245c42aeff28cf80f8a3568e1bee2e7da7" +version = "0.9.40" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" dependencies = [ "futures 0.3.28", "polkadot-node-primitives", @@ -9519,8 +9507,8 @@ dependencies = [ [[package]] name = "polkadot-node-core-runtime-api" -version = "0.9.38" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.38#097ffd245c42aeff28cf80f8a3568e1bee2e7da7" +version = "0.9.40" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" dependencies = [ "futures 0.3.28", "lru 0.9.0", @@ -9534,8 +9522,8 @@ dependencies = [ [[package]] name = "polkadot-node-jaeger" -version = "0.9.38" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.38#097ffd245c42aeff28cf80f8a3568e1bee2e7da7" +version = "0.9.40" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" dependencies = [ "lazy_static", "log", @@ -9545,15 +9533,15 @@ dependencies = [ "polkadot-node-primitives", "polkadot-primitives", "sc-network", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "thiserror", "tokio", ] [[package]] name = "polkadot-node-metrics" -version = "0.9.38" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.38#097ffd245c42aeff28cf80f8a3568e1bee2e7da7" +version = "0.9.40" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" dependencies = [ "bs58", "futures 0.3.28", @@ -9571,8 +9559,8 @@ dependencies = [ [[package]] name = "polkadot-node-network-protocol" -version = "0.9.38" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.38#097ffd245c42aeff28cf80f8a3568e1bee2e7da7" +version = "0.9.40" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" dependencies = [ "async-trait", "derive_more", @@ -9586,7 +9574,6 @@ dependencies = [ "rand 0.8.5", "sc-authority-discovery", "sc-network", - "sc-network-common", "strum", "thiserror", "tracing-gum", @@ -9594,8 +9581,8 @@ dependencies = [ [[package]] name = "polkadot-node-primitives" -version = "0.9.38" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.38#097ffd245c42aeff28cf80f8a3568e1bee2e7da7" +version = "0.9.40" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" dependencies = [ "bounded-vec", "futures 0.3.28", @@ -9607,17 +9594,18 @@ dependencies = [ "sp-application-crypto", "sp-consensus-babe", "sp-consensus-vrf", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-keystore", "sp-maybe-compressed-blob", + "sp-runtime", "thiserror", "zstd", ] [[package]] name = "polkadot-node-subsystem" -version = "0.9.38" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.38#097ffd245c42aeff28cf80f8a3568e1bee2e7da7" +version = "0.9.40" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" dependencies = [ "polkadot-node-jaeger", "polkadot-node-subsystem-types", @@ -9626,8 +9614,8 @@ dependencies = [ [[package]] name = "polkadot-node-subsystem-types" -version = "0.9.38" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.38#097ffd245c42aeff28cf80f8a3568e1bee2e7da7" +version = "0.9.40" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" dependencies = [ "async-trait", "derive_more", @@ -9649,8 +9637,8 @@ dependencies = [ [[package]] name = "polkadot-node-subsystem-util" -version = "0.9.38" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.38#097ffd245c42aeff28cf80f8a3568e1bee2e7da7" +version = "0.9.40" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" dependencies = [ "async-trait", "derive_more", @@ -9674,7 +9662,7 @@ dependencies = [ "prioritized-metered-channel", "rand 0.8.5", "sp-application-crypto", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-keystore", "thiserror", "tracing-gum", @@ -9682,8 +9670,8 @@ dependencies = [ [[package]] name = "polkadot-overseer" -version = "0.9.38" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.38#097ffd245c42aeff28cf80f8a3568e1bee2e7da7" +version = "0.9.40" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" dependencies = [ "async-trait", "futures 0.3.28", @@ -9698,31 +9686,32 @@ dependencies = [ "polkadot-primitives", "sc-client-api", "sp-api", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "tikv-jemalloc-ctl", "tracing-gum", ] [[package]] name = "polkadot-parachain" -version = "0.9.38" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.38#097ffd245c42aeff28cf80f8a3568e1bee2e7da7" +version = "0.9.40" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" dependencies = [ + "bounded-collections", "derive_more", "frame-support", "parity-scale-codec", "polkadot-core-primitives", "scale-info", "serde", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-runtime", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", ] [[package]] name = "polkadot-performance-test" -version = "0.9.38" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.38#097ffd245c42aeff28cf80f8a3568e1bee2e7da7" +version = "0.9.40" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" dependencies = [ "env_logger 0.9.3", "kusama-runtime", @@ -9730,14 +9719,15 @@ dependencies = [ "polkadot-erasure-coding", "polkadot-node-core-pvf", "polkadot-node-primitives", + "polkadot-primitives", "quote", "thiserror", ] [[package]] name = "polkadot-primitives" -version = "0.9.38" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.38#097ffd245c42aeff28cf80f8a3568e1bee2e7da7" +version = "0.9.40" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" dependencies = [ "bitvec", "hex-literal", @@ -9751,22 +9741,20 @@ dependencies = [ "sp-arithmetic", "sp-authority-discovery", "sp-consensus-slots", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-inherents", "sp-io", "sp-keystore", "sp-runtime", "sp-staking", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", ] [[package]] name = "polkadot-rpc" -version = "0.9.38" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.38#097ffd245c42aeff28cf80f8a3568e1bee2e7da7" +version = "0.9.40" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" dependencies = [ - "beefy-gadget", - "beefy-gadget-rpc", "jsonrpsee", "mmr-rpc", "pallet-transaction-payment-rpc", @@ -9775,9 +9763,11 @@ dependencies = [ "sc-client-api", "sc-consensus-babe", "sc-consensus-babe-rpc", + "sc-consensus-beefy", + "sc-consensus-beefy-rpc", "sc-consensus-epochs", - "sc-finality-grandpa", - "sc-finality-grandpa-rpc", + "sc-consensus-grandpa", + "sc-consensus-grandpa-rpc", "sc-rpc", "sc-sync-state-rpc", "sc-transaction-pool-api", @@ -9794,8 +9784,8 @@ dependencies = [ [[package]] name = "polkadot-runtime" -version = "0.9.38" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.38#097ffd245c42aeff28cf80f8a3568e1bee2e7da7" +version = "0.9.40" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" dependencies = [ "bitvec", "frame-benchmarking", @@ -9839,6 +9829,7 @@ dependencies = [ "pallet-session-benchmarking", "pallet-staking", "pallet-staking-reward-curve", + "pallet-staking-runtime-api", "pallet-timestamp", "pallet-tips", "pallet-transaction-payment", @@ -9859,10 +9850,10 @@ dependencies = [ "smallvec", "sp-api", "sp-authority-discovery", - "sp-beefy", "sp-block-builder", "sp-consensus-babe", - "sp-core", + "sp-consensus-beefy", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-inherents", "sp-io", "sp-mmr-primitives", @@ -9871,7 +9862,7 @@ dependencies = [ "sp-runtime", "sp-session", "sp-staking", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-transaction-pool", "sp-version", "static_assertions", @@ -9883,8 +9874,8 @@ dependencies = [ [[package]] name = "polkadot-runtime-common" -version = "0.9.38" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.38#097ffd245c42aeff28cf80f8a3568e1bee2e7da7" +version = "0.9.40" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" dependencies = [ "bitvec", "frame-benchmarking", @@ -9896,9 +9887,7 @@ dependencies = [ "log", "pallet-authorship", "pallet-babe", - "pallet-bags-list", "pallet-balances", - "pallet-beefy-mmr", "pallet-election-provider-multi-phase", "pallet-fast-unstake", "pallet-session", @@ -9917,49 +9906,48 @@ dependencies = [ "serde_derive", "slot-range-helper", "sp-api", - "sp-beefy", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-inherents", "sp-io", "sp-npos-elections", "sp-runtime", "sp-session", "sp-staking", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "static_assertions", "xcm", ] [[package]] name = "polkadot-runtime-constants" -version = "0.9.38" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.38#097ffd245c42aeff28cf80f8a3568e1bee2e7da7" +version = "0.9.40" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" dependencies = [ "frame-support", "polkadot-primitives", "polkadot-runtime-common", "smallvec", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-runtime", "sp-weights", ] [[package]] name = "polkadot-runtime-metrics" -version = "0.9.38" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.38#097ffd245c42aeff28cf80f8a3568e1bee2e7da7" +version = "0.9.40" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" dependencies = [ "bs58", "parity-scale-codec", "polkadot-primitives", - "sp-std", - "sp-tracing", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-tracing 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", ] [[package]] name = "polkadot-runtime-parachains" -version = "0.9.38" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.38#097ffd245c42aeff28cf80f8a3568e1bee2e7da7" +version = "0.9.40" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" dependencies = [ "bitflags", "bitvec", @@ -9977,6 +9965,7 @@ dependencies = [ "pallet-timestamp", "pallet-vesting", "parity-scale-codec", + "polkadot-parachain", "polkadot-primitives", "polkadot-runtime-metrics", "rand 0.8.5", @@ -9986,14 +9975,14 @@ dependencies = [ "serde", "sp-api", "sp-application-crypto", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-inherents", "sp-io", "sp-keystore", "sp-runtime", "sp-session", "sp-staking", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "static_assertions", "xcm", "xcm-executor", @@ -10001,11 +9990,10 @@ dependencies = [ [[package]] name = "polkadot-service" -version = "0.9.38" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.38#097ffd245c42aeff28cf80f8a3568e1bee2e7da7" +version = "0.9.40" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" dependencies = [ "async-trait", - "beefy-gadget", "frame-benchmarking-cli", "frame-support", "frame-system-rpc-runtime-api", @@ -10068,12 +10056,14 @@ dependencies = [ "sc-client-db", "sc-consensus", "sc-consensus-babe", + "sc-consensus-beefy", + "sc-consensus-grandpa", "sc-consensus-slots", "sc-executor", - "sc-finality-grandpa", "sc-keystore", "sc-network", "sc-network-common", + "sc-network-sync", "sc-offchain", "sc-service", "sc-sync-state-rpc", @@ -10084,13 +10074,13 @@ dependencies = [ "serde_json", "sp-api", "sp-authority-discovery", - "sp-beefy", "sp-block-builder", "sp-blockchain", "sp-consensus", "sp-consensus-babe", - "sp-core", - "sp-finality-grandpa", + "sp-consensus-beefy", + "sp-consensus-grandpa", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-inherents", "sp-io", "sp-keystore", @@ -10099,7 +10089,7 @@ dependencies = [ "sp-runtime", "sp-session", "sp-state-machine", - "sp-storage", + "sp-storage 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-timestamp", "sp-transaction-pool", "sp-trie", @@ -10112,8 +10102,8 @@ dependencies = [ [[package]] name = "polkadot-statement-distribution" -version = "0.9.38" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.38#097ffd245c42aeff28cf80f8a3568e1bee2e7da7" +version = "0.9.40" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" dependencies = [ "arrayvec 0.5.2", "fatality", @@ -10133,12 +10123,12 @@ dependencies = [ [[package]] name = "polkadot-statement-table" -version = "0.9.38" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.38#097ffd245c42aeff28cf80f8a3568e1bee2e7da7" +version = "0.9.40" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" dependencies = [ "parity-scale-codec", "polkadot-primitives", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", ] [[package]] @@ -10189,7 +10179,7 @@ dependencies = [ "cfg-if", "cpufeatures", "opaque-debug 0.3.0", - "universal-hash 0.5.0", + "universal-hash 0.5.1", ] [[package]] @@ -10216,7 +10206,7 @@ checksum = "5b40af805b3121feab8a3c29f04d8ad262fa8e0561883e7653e024ae4479e6de" [[package]] name = "precompile-utils" version = "0.1.0" -source = "git+https://github.com/darwinia-network/moonbeam?branch=update-0.9.38#abca6696c3731dd781d7badfb7cd797e36e39bf5" +source = "git+https://github.com/darwinia-network/moonbeam?branch=polkadot-v0.9.40#14597e44456b8798ab4da464150cc50cafcd731b" dependencies = [ "affix", "derive_more", @@ -10238,16 +10228,16 @@ dependencies = [ "serde", "sha3", "similar-asserts", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-io", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "xcm", ] [[package]] name = "precompile-utils-macro" version = "0.1.0" -source = "git+https://github.com/darwinia-network/moonbeam?branch=update-0.9.38#abca6696c3731dd781d7badfb7cd797e36e39bf5" +source = "git+https://github.com/darwinia-network/moonbeam?branch=polkadot-v0.9.40#14597e44456b8798ab4da464150cc50cafcd731b" dependencies = [ "case", "num_enum", @@ -10328,17 +10318,18 @@ dependencies = [ "fixed-hash 0.8.0", "impl-codec", "impl-rlp", - "impl-serde 0.4.0", + "impl-serde", "scale-info", "uint", ] [[package]] name = "prioritized-metered-channel" -version = "0.2.0" +version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "382698e48a268c832d0b181ed438374a6bb708a82a8ca273bb0f61c74cf209c4" +checksum = "a3caef72a78ca8e77cbdfa87dd516ebb79d4cbe5b42e3b8435b463a8261339ff" dependencies = [ + "async-channel", "coarsetime", "crossbeam-queue", "derive_more", @@ -10385,9 +10376,9 @@ dependencies = [ [[package]] name = "proc-macro2" -version = "1.0.56" +version = "1.0.58" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2b63bdb0cd06f1f4dedf69b254734f9b45af66e4a031e42a7480257d9898b435" +checksum = "fa1fb82fc0c281dd9671101b66b771ebbe1eaf967b96ac8740dcba4b70005ca8" dependencies = [ "unicode-ident", ] @@ -10626,16 +10617,6 @@ dependencies = [ "getrandom 0.2.9", ] -[[package]] -name = "rand_distr" -version = "0.4.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "32cb0b9bc82b0a0876c2dd994a7e7a2683d3e7390ca40e6886785ef0c7e3ee31" -dependencies = [ - "num-traits", - "rand 0.8.5", -] - [[package]] name = "rand_hc" version = "0.2.0" @@ -10766,14 +10747,14 @@ checksum = "8d2275aab483050ab2a7364c1a46604865ee7d6906684e08db0f090acf74f9e7" dependencies = [ "proc-macro2", "quote", - "syn 2.0.15", + "syn 2.0.16", ] [[package]] name = "regalloc2" -version = "0.3.2" +version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d43a209257d978ef079f3d446331d0f1794f5e0fc19b306a199983857833a779" +checksum = "300d4fbfb40c1c66a78ba3ddd41c1110247cf52f97b87d0f2fc9209bd49b030c" dependencies = [ "fxhash", "log", @@ -10813,13 +10794,25 @@ version = "0.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a5996294f19bd3aae0453a862ad728f60e6600695733dd5df01da90c54363a3c" +[[package]] +name = "region" +version = "3.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "76e189c2369884dce920945e2ddf79b3dff49e071a167dd1817fa9c4c00d512e" +dependencies = [ + "bitflags", + "libc", + "mach", + "winapi", +] + [[package]] name = "reqwest" -version = "0.11.17" +version = "0.11.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "13293b639a097af28fc8a90f22add145a9c954e49d77da06263d58cf44d5fb91" +checksum = "cde824a14b7c14f85caff81225f411faacc04a2013f41670f41443742b1c1c55" dependencies = [ - "base64 0.21.0", + "base64 0.21.1", "bytes", "encoding_rs", "futures-core", @@ -10894,12 +10887,14 @@ dependencies = [ [[package]] name = "reqwest-tracing" -version = "0.4.1" +version = "0.4.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a71d77945a1c5ae9604f0504901e77a1e2e71f2932b1cb8103078179ca62ff8" +checksum = "783e8130d2427ddd7897dd3f814d4a3aea31b05deb42a4fdf8c18258fe5aefd1" dependencies = [ + "anyhow", "async-trait", "getrandom 0.2.9", + "matchit", "opentelemetry 0.17.0", "reqwest", "reqwest-middleware", @@ -10961,7 +10956,7 @@ version = "0.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bd124222d17ad93a644ed9d011a40f4fb64aa54275c08cc216524a9ea82fb09f" dependencies = [ - "digest 0.10.6", + "digest 0.10.7", ] [[package]] @@ -10998,10 +10993,10 @@ dependencies = [ [[package]] name = "rococo-runtime" -version = "0.9.38" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.38#097ffd245c42aeff28cf80f8a3568e1bee2e7da7" +version = "0.9.40" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" dependencies = [ - "beefy-merkle-tree", + "binary-merkle-tree", "frame-benchmarking", "frame-executive", "frame-support", @@ -11061,10 +11056,10 @@ dependencies = [ "smallvec", "sp-api", "sp-authority-discovery", - "sp-beefy", "sp-block-builder", "sp-consensus-babe", - "sp-core", + "sp-consensus-beefy", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-inherents", "sp-io", "sp-mmr-primitives", @@ -11072,7 +11067,7 @@ dependencies = [ "sp-runtime", "sp-session", "sp-staking", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-transaction-pool", "sp-version", "static_assertions", @@ -11084,14 +11079,14 @@ dependencies = [ [[package]] name = "rococo-runtime-constants" -version = "0.9.38" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.38#097ffd245c42aeff28cf80f8a3568e1bee2e7da7" +version = "0.9.40" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" dependencies = [ "frame-support", "polkadot-primitives", "polkadot-runtime-common", "smallvec", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-runtime", "sp-weights", ] @@ -11128,7 +11123,7 @@ dependencies = [ "log", "netlink-packet-route", "netlink-proto", - "nix 0.24.3", + "nix", "thiserror", "tokio", ] @@ -11207,6 +11202,20 @@ dependencies = [ "windows-sys 0.42.0", ] +[[package]] +name = "rustix" +version = "0.36.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "14e4d67015953998ad0eb82887a0eb0129e18a7e2f3b7b0f6c422fddcd503d62" +dependencies = [ + "bitflags", + "errno 0.3.1", + "io-lifetimes 1.0.10", + "libc", + "linux-raw-sys 0.1.4", + "windows-sys 0.45.0", +] + [[package]] name = "rustix" version = "0.37.19" @@ -11217,7 +11226,7 @@ dependencies = [ "errno 0.3.1", "io-lifetimes 1.0.10", "libc", - "linux-raw-sys 0.3.7", + "linux-raw-sys 0.3.8", "windows-sys 0.48.0", ] @@ -11264,7 +11273,7 @@ version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d194b56d58803a43635bdc398cd17e383d6f71f9182b9a192c127ca42494a59b" dependencies = [ - "base64 0.21.0", + "base64 0.21.1", ] [[package]] @@ -11290,6 +11299,15 @@ version = "1.0.13" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f91339c0467de62360649f8d3e185ca8de4224ff281f66000de5eb2a77a79041" +[[package]] +name = "safe_arch" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "794821e4ccb0d9f979512f9c1973480123f9bd62a90d74ab0f9426fcf8f4a529" +dependencies = [ + "bytemuck", +] + [[package]] name = "same-file" version = "1.0.6" @@ -11302,18 +11320,18 @@ dependencies = [ [[package]] name = "sc-allocator" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ "log", - "sp-core", - "sp-wasm-interface", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-wasm-interface 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "thiserror", ] [[package]] name = "sc-authority-discovery" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ "async-trait", "futures 0.3.28", @@ -11326,11 +11344,12 @@ dependencies = [ "prost-build", "rand 0.8.5", "sc-client-api", + "sc-network", "sc-network-common", "sp-api", "sp-authority-discovery", "sp-blockchain", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-keystore", "sp-runtime", "substrate-prometheus-endpoint", @@ -11340,7 +11359,7 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ "futures 0.3.28", "futures-timer", @@ -11354,7 +11373,7 @@ dependencies = [ "sp-api", "sp-blockchain", "sp-consensus", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-inherents", "sp-runtime", "substrate-prometheus-endpoint", @@ -11363,38 +11382,41 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ "parity-scale-codec", "sc-client-api", "sp-api", "sp-block-builder", "sp-blockchain", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-inherents", "sp-runtime", - "sp-state-machine", ] [[package]] name = "sc-chain-spec" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ "memmap2", "sc-chain-spec-derive", - "sc-network-common", + "sc-client-api", + "sc-executor", + "sc-network", "sc-telemetry", "serde", "serde_json", - "sp-core", + "sp-blockchain", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-runtime", + "sp-state-machine", ] [[package]] name = "sc-chain-spec-derive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -11405,7 +11427,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ "array-bytes 4.2.0", "chrono", @@ -11431,7 +11453,7 @@ dependencies = [ "serde", "serde_json", "sp-blockchain", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-keyring", "sp-keystore", "sp-panic-handler", @@ -11445,7 +11467,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ "fnv", "futures 0.3.28", @@ -11458,22 +11480,22 @@ dependencies = [ "sp-api", "sp-blockchain", "sp-consensus", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-database", - "sp-externalities", + "sp-externalities 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-keystore", "sp-runtime", "sp-state-machine", - "sp-storage", + "sp-storage 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "substrate-prometheus-endpoint", ] [[package]] name = "sc-client-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ - "hash-db", + "hash-db 0.16.0", "kvdb", "kvdb-memorydb", "kvdb-rocksdb", @@ -11487,7 +11509,7 @@ dependencies = [ "schnellru", "sp-arithmetic", "sp-blockchain", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-database", "sp-runtime", "sp-state-machine", @@ -11497,7 +11519,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ "async-trait", "futures 0.3.28", @@ -11512,7 +11534,7 @@ dependencies = [ "sp-api", "sp-blockchain", "sp-consensus", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-runtime", "sp-state-machine", "substrate-prometheus-endpoint", @@ -11522,7 +11544,7 @@ dependencies = [ [[package]] name = "sc-consensus-aura" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ "async-trait", "futures 0.3.28", @@ -11540,7 +11562,7 @@ dependencies = [ "sp-consensus", "sp-consensus-aura", "sp-consensus-slots", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-inherents", "sp-keystore", "sp-runtime", @@ -11551,7 +11573,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ "async-trait", "fork-tree", @@ -11569,6 +11591,7 @@ dependencies = [ "sc-consensus-slots", "sc-keystore", "sc-telemetry", + "scale-info", "schnorrkel", "sp-api", "sp-application-crypto", @@ -11578,7 +11601,7 @@ dependencies = [ "sp-consensus-babe", "sp-consensus-slots", "sp-consensus-vrf", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-inherents", "sp-keystore", "sp-runtime", @@ -11589,7 +11612,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ "futures 0.3.28", "jsonrpsee", @@ -11602,8 +11625,62 @@ dependencies = [ "sp-blockchain", "sp-consensus", "sp-consensus-babe", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-keystore", + "sp-runtime", + "thiserror", +] + +[[package]] +name = "sc-consensus-beefy" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +dependencies = [ + "array-bytes 4.2.0", + "async-trait", + "fnv", + "futures 0.3.28", + "log", + "parity-scale-codec", + "parking_lot 0.12.1", + "sc-client-api", + "sc-consensus", + "sc-keystore", + "sc-network", + "sc-network-common", + "sc-network-gossip", + "sc-network-sync", + "sc-utils", + "sp-api", + "sp-application-crypto", + "sp-arithmetic", + "sp-blockchain", + "sp-consensus", + "sp-consensus-beefy", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-keystore", + "sp-mmr-primitives", + "sp-runtime", + "substrate-prometheus-endpoint", + "thiserror", + "wasm-timer", +] + +[[package]] +name = "sc-consensus-beefy-rpc" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +dependencies = [ + "futures 0.3.28", + "jsonrpsee", + "log", + "parity-scale-codec", + "parking_lot 0.12.1", + "sc-consensus-beefy", + "sc-rpc", + "serde", + "sp-consensus-beefy", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-runtime", "thiserror", ] @@ -11611,20 +11688,80 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +dependencies = [ + "fork-tree", + "parity-scale-codec", + "sc-client-api", + "sc-consensus", + "sp-blockchain", + "sp-runtime", +] + +[[package]] +name = "sc-consensus-grandpa" +version = "0.10.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ + "ahash 0.8.3", + "array-bytes 4.2.0", + "async-trait", + "dyn-clone", + "finality-grandpa", "fork-tree", + "futures 0.3.28", + "futures-timer", + "log", "parity-scale-codec", + "parking_lot 0.12.1", + "rand 0.8.5", + "sc-block-builder", + "sc-chain-spec", "sc-client-api", "sc-consensus", + "sc-network", + "sc-network-common", + "sc-network-gossip", + "sc-telemetry", + "sc-utils", + "serde_json", + "sp-api", + "sp-application-crypto", + "sp-arithmetic", + "sp-blockchain", + "sp-consensus", + "sp-consensus-grandpa", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-keystore", + "sp-runtime", + "substrate-prometheus-endpoint", + "thiserror", +] + +[[package]] +name = "sc-consensus-grandpa-rpc" +version = "0.10.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +dependencies = [ + "finality-grandpa", + "futures 0.3.28", + "jsonrpsee", + "log", + "parity-scale-codec", + "sc-client-api", + "sc-consensus-grandpa", + "sc-rpc", + "serde", "sp-blockchain", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-runtime", + "thiserror", ] [[package]] name = "sc-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ "async-trait", "futures 0.3.28", @@ -11638,7 +11775,7 @@ dependencies = [ "sp-blockchain", "sp-consensus", "sp-consensus-slots", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-inherents", "sp-runtime", "sp-state-machine", @@ -11647,7 +11784,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ "lru 0.8.1", "parity-scale-codec", @@ -11656,14 +11793,14 @@ dependencies = [ "sc-executor-wasmi", "sc-executor-wasmtime", "sp-api", - "sp-core", - "sp-externalities", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-externalities 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-io", "sp-panic-handler", - "sp-runtime-interface", + "sp-runtime-interface 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-trie", "sp-version", - "sp-wasm-interface", + "sp-wasm-interface 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "tracing", "wasmi", ] @@ -11671,11 +11808,11 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ "sc-allocator", "sp-maybe-compressed-blob", - "sp-wasm-interface", + "sp-wasm-interface 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "thiserror", "wasm-instrument", "wasmi", @@ -11684,132 +11821,74 @@ dependencies = [ [[package]] name = "sc-executor-wasmi" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ "log", "sc-allocator", "sc-executor-common", - "sp-runtime-interface", - "sp-wasm-interface", + "sp-runtime-interface 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-wasm-interface 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "wasmi", ] [[package]] name = "sc-executor-wasmtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ + "anyhow", "cfg-if", "libc", "log", "once_cell", - "rustix 0.35.13", + "rustix 0.36.14", "sc-allocator", "sc-executor-common", - "sp-runtime-interface", - "sp-wasm-interface", - "wasmtime", + "sp-runtime-interface 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-wasm-interface 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "wasmtime 6.0.2", ] [[package]] -name = "sc-finality-grandpa" +name = "sc-informant" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ - "ahash 0.8.3", - "array-bytes 4.2.0", - "async-trait", - "dyn-clone", - "finality-grandpa", - "fork-tree", + "ansi_term", "futures 0.3.28", "futures-timer", "log", - "parity-scale-codec", - "parking_lot 0.12.1", - "rand 0.8.5", - "sc-block-builder", - "sc-chain-spec", "sc-client-api", - "sc-consensus", "sc-network", "sc-network-common", - "sc-network-gossip", - "sc-telemetry", - "sc-utils", - "serde_json", - "sp-api", - "sp-application-crypto", - "sp-arithmetic", "sp-blockchain", - "sp-consensus", - "sp-core", - "sp-finality-grandpa", - "sp-keystore", "sp-runtime", - "substrate-prometheus-endpoint", - "thiserror", ] [[package]] -name = "sc-finality-grandpa-rpc" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +name = "sc-keystore" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ - "finality-grandpa", - "futures 0.3.28", - "jsonrpsee", - "log", - "parity-scale-codec", - "sc-client-api", - "sc-finality-grandpa", - "sc-rpc", - "serde", - "sp-blockchain", - "sp-core", - "sp-runtime", + "array-bytes 4.2.0", + "async-trait", + "parking_lot 0.12.1", + "serde_json", + "sp-application-crypto", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-keystore", "thiserror", ] [[package]] -name = "sc-informant" +name = "sc-network" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" -dependencies = [ - "ansi_term", - "futures 0.3.28", - "futures-timer", - "log", - "sc-client-api", - "sc-network-common", - "sp-blockchain", - "sp-runtime", -] - -[[package]] -name = "sc-keystore" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" -dependencies = [ - "array-bytes 4.2.0", - "async-trait", - "parking_lot 0.12.1", - "serde_json", - "sp-application-crypto", - "sp-core", - "sp-keystore", - "thiserror", -] - -[[package]] -name = "sc-network" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ "array-bytes 4.2.0", + "async-channel", "async-trait", "asynchronous-codec", - "backtrace", "bytes", "either", "fnv", @@ -11817,8 +11896,10 @@ dependencies = [ "futures-timer", "ip_network", "libp2p", + "linked_hash_set", "log", "lru 0.8.1", + "mockall", "parity-scale-codec", "parking_lot 0.12.1", "pin-project", @@ -11835,7 +11916,7 @@ dependencies = [ "sp-arithmetic", "sp-blockchain", "sp-consensus", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-runtime", "substrate-prometheus-endpoint", "thiserror", @@ -11846,7 +11927,7 @@ dependencies = [ [[package]] name = "sc-network-bitswap" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ "cid", "futures 0.3.28", @@ -11855,6 +11936,7 @@ dependencies = [ "prost", "prost-build", "sc-client-api", + "sc-network", "sc-network-common", "sp-blockchain", "sp-runtime", @@ -11865,33 +11947,35 @@ dependencies = [ [[package]] name = "sc-network-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ + "array-bytes 4.2.0", "async-trait", "bitflags", "bytes", "futures 0.3.28", "futures-timer", "libp2p", - "linked_hash_set", "parity-scale-codec", "prost-build", "sc-consensus", "sc-peerset", + "sc-utils", "serde", "smallvec", "sp-blockchain", "sp-consensus", - "sp-finality-grandpa", + "sp-consensus-grandpa", "sp-runtime", "substrate-prometheus-endpoint", "thiserror", + "zeroize", ] [[package]] name = "sc-network-gossip" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ "ahash 0.8.3", "futures 0.3.28", @@ -11899,6 +11983,7 @@ dependencies = [ "libp2p", "log", "lru 0.8.1", + "sc-network", "sc-network-common", "sc-peerset", "sp-runtime", @@ -11909,7 +11994,7 @@ dependencies = [ [[package]] name = "sc-network-light" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ "array-bytes 4.2.0", "futures 0.3.28", @@ -11919,10 +12004,11 @@ dependencies = [ "prost", "prost-build", "sc-client-api", + "sc-network", "sc-network-common", "sc-peerset", "sp-blockchain", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-runtime", "thiserror", ] @@ -11930,12 +12016,13 @@ dependencies = [ [[package]] name = "sc-network-sync" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ "array-bytes 4.2.0", "async-trait", "fork-tree", "futures 0.3.28", + "futures-timer", "libp2p", "log", "lru 0.8.1", @@ -11945,6 +12032,7 @@ dependencies = [ "prost-build", "sc-client-api", "sc-consensus", + "sc-network", "sc-network-common", "sc-peerset", "sc-utils", @@ -11952,8 +12040,8 @@ dependencies = [ "sp-arithmetic", "sp-blockchain", "sp-consensus", - "sp-core", - "sp-finality-grandpa", + "sp-consensus-grandpa", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-runtime", "substrate-prometheus-endpoint", "thiserror", @@ -11962,7 +12050,7 @@ dependencies = [ [[package]] name = "sc-network-transactions" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ "array-bytes 4.2.0", "futures 0.3.28", @@ -11970,6 +12058,7 @@ dependencies = [ "log", "parity-scale-codec", "pin-project", + "sc-network", "sc-network-common", "sc-peerset", "sc-utils", @@ -11981,7 +12070,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ "array-bytes 4.2.0", "bytes", @@ -11997,11 +12086,12 @@ dependencies = [ "parking_lot 0.12.1", "rand 0.8.5", "sc-client-api", + "sc-network", "sc-network-common", "sc-peerset", "sc-utils", "sp-api", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-offchain", "sp-runtime", "threadpool", @@ -12011,7 +12101,7 @@ dependencies = [ [[package]] name = "sc-peerset" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ "futures 0.3.28", "libp2p", @@ -12024,7 +12114,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -12033,7 +12123,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ "futures 0.3.28", "jsonrpsee", @@ -12050,7 +12140,7 @@ dependencies = [ "serde_json", "sp-api", "sp-blockchain", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-keystore", "sp-offchain", "sp-rpc", @@ -12063,7 +12153,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -12072,7 +12162,7 @@ dependencies = [ "scale-info", "serde", "serde_json", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-rpc", "sp-runtime", "sp-version", @@ -12082,7 +12172,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ "http", "jsonrpsee", @@ -12097,7 +12187,7 @@ dependencies = [ [[package]] name = "sc-rpc-spec-v2" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ "array-bytes 4.2.0", "futures 0.3.28", @@ -12113,7 +12203,7 @@ dependencies = [ "serde", "sp-api", "sp-blockchain", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-runtime", "sp-version", "thiserror", @@ -12123,7 +12213,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ "async-trait", "directories", @@ -12166,13 +12256,13 @@ dependencies = [ "sp-api", "sp-blockchain", "sp-consensus", - "sp-core", - "sp-externalities", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-externalities 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-keystore", "sp-runtime", "sp-session", "sp-state-machine", - "sp-storage", + "sp-storage 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-transaction-pool", "sp-transaction-storage-proof", "sp-trie", @@ -12189,26 +12279,26 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ "log", "parity-scale-codec", "parking_lot 0.12.1", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", ] [[package]] name = "sc-storage-monitor" version = "0.1.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ "clap", + "fs4", "futures 0.3.28", "log", - "nix 0.26.2", "sc-client-db", "sc-utils", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "thiserror", "tokio", ] @@ -12216,7 +12306,7 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -12224,7 +12314,7 @@ dependencies = [ "sc-client-api", "sc-consensus-babe", "sc-consensus-epochs", - "sc-finality-grandpa", + "sc-consensus-grandpa", "serde", "serde_json", "sp-blockchain", @@ -12235,7 +12325,7 @@ dependencies = [ [[package]] name = "sc-sysinfo" version = "6.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ "futures 0.3.28", "libc", @@ -12246,15 +12336,15 @@ dependencies = [ "sc-telemetry", "serde", "serde_json", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-io", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", ] [[package]] name = "sc-telemetry" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ "chrono", "futures 0.3.28", @@ -12273,7 +12363,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ "ansi_term", "atty", @@ -12291,10 +12381,10 @@ dependencies = [ "serde", "sp-api", "sp-blockchain", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-rpc", "sp-runtime", - "sp-tracing", + "sp-tracing 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "thiserror", "tracing", "tracing-log", @@ -12304,7 +12394,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -12315,7 +12405,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ "async-trait", "futures 0.3.28", @@ -12331,9 +12421,9 @@ dependencies = [ "serde", "sp-api", "sp-blockchain", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-runtime", - "sp-tracing", + "sp-tracing 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-transaction-pool", "substrate-prometheus-endpoint", "thiserror", @@ -12342,7 +12432,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ "async-trait", "futures 0.3.28", @@ -12356,22 +12446,23 @@ dependencies = [ [[package]] name = "sc-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ - "backtrace", + "async-channel", "futures 0.3.28", "futures-timer", "lazy_static", "log", "parking_lot 0.12.1", "prometheus", + "sp-arithmetic", ] [[package]] name = "scale-info" -version = "2.6.0" +version = "2.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dfdef77228a4c05dc94211441595746732131ad7f6530c6c18f045da7b7ab937" +checksum = "b569c32c806ec3abdf3b5869fb8bf1e0d275a7c1c9b0b05603d9464632649edf" dependencies = [ "bitvec", "cfg-if", @@ -12518,9 +12609,9 @@ dependencies = [ [[package]] name = "security-framework" -version = "2.8.2" +version = "2.9.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a332be01508d814fed64bf28f798a146d73792121129962fdf335bb3c49a4254" +checksum = "1fc758eb7bffce5b308734e9b0c1468893cae9ff70ebf13e7090be8dcbcc83a8" dependencies = [ "bitflags", "core-foundation", @@ -12531,9 +12622,9 @@ dependencies = [ [[package]] name = "security-framework-sys" -version = "2.8.0" +version = "2.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "31c9bb296072e961fcbd8853511dd39c2d8be2deb1e17c6860b1d30732b323b4" +checksum = "f51d0c0d83bec45f16480d0ce0058397a69e48fcdc52d1dc8855fb68acbd31a7" dependencies = [ "core-foundation-sys", "libc", @@ -12580,7 +12671,7 @@ checksum = "8c805777e3930c8883389c602315a24224bcc738b63905ef87cd1420353ea93e" dependencies = [ "proc-macro2", "quote", - "syn 2.0.15", + "syn 2.0.16", ] [[package]] @@ -12627,7 +12718,7 @@ checksum = "f04293dc80c3993519f2d7f6f511707ee7094fe0c6d3406feb330cdb3540eba3" dependencies = [ "cfg-if", "cpufeatures", - "digest 0.10.6", + "digest 0.10.7", ] [[package]] @@ -12663,7 +12754,7 @@ checksum = "82e6b795fe2e3b1e845bafcb27aa35405c4d47cdfc92af5fc8d3002f76cebdc0" dependencies = [ "cfg-if", "cpufeatures", - "digest 0.10.6", + "digest 0.10.7", ] [[package]] @@ -12672,7 +12763,7 @@ version = "0.10.8" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "75872d278a8f37ef87fa0ddbda7802605cb18344497949862c0d4dcb291eba60" dependencies = [ - "digest 0.10.6", + "digest 0.10.7", "keccak", ] @@ -12706,20 +12797,21 @@ version = "1.6.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "74233d3b3b2f6d4b006dc19dee745e73e2a6bfb6f93607cd3b02bd5b00797d7c" dependencies = [ - "digest 0.10.6", + "digest 0.10.7", "rand_core 0.6.4", ] [[package]] name = "simba" -version = "0.5.1" +version = "0.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8e82063457853d00243beda9952e910b82593e4b07ae9f721b9278a99a0d3d5c" +checksum = "061507c94fc6ab4ba1c9a0305018408e312e17c041eb63bef8aa726fa33aceae" dependencies = [ "approx", "num-complex", "num-traits", "paste", + "wide", ] [[package]] @@ -12765,14 +12857,14 @@ checksum = "826167069c09b99d56f31e9ae5c99049e932a98c9dc2dac47645b08dbbf76ba7" [[package]] name = "slot-range-helper" -version = "0.9.38" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.38#097ffd245c42aeff28cf80f8a3568e1bee2e7da7" +version = "0.9.40" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" dependencies = [ "enumn", "parity-scale-codec", "paste", "sp-runtime", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", ] [[package]] @@ -12843,16 +12935,16 @@ dependencies = [ [[package]] name = "sp-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ - "hash-db", + "hash-db 0.16.0", "log", "parity-scale-codec", "sp-api-proc-macro", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-runtime", "sp-state-machine", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-trie", "sp-version", "thiserror", @@ -12861,9 +12953,11 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ + "Inflector", "blake2", + "expander 1.0.0", "proc-macro-crate", "proc-macro2", "quote", @@ -12873,76 +12967,59 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-io", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", ] [[package]] name = "sp-arithmetic" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ "integer-sqrt", "num-traits", "parity-scale-codec", "scale-info", "serde", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "static_assertions", ] [[package]] name = "sp-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" -dependencies = [ - "parity-scale-codec", - "scale-info", - "sp-api", - "sp-application-crypto", - "sp-runtime", - "sp-std", -] - -[[package]] -name = "sp-beefy" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ "parity-scale-codec", "scale-info", - "serde", "sp-api", "sp-application-crypto", - "sp-core", - "sp-io", - "sp-mmr-primitives", "sp-runtime", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", ] [[package]] name = "sp-block-builder" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ "parity-scale-codec", "sp-api", "sp-inherents", "sp-runtime", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", ] [[package]] name = "sp-blockchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ "futures 0.3.28", "log", @@ -12960,25 +13037,22 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ "async-trait", "futures 0.3.28", "log", - "parity-scale-codec", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-inherents", "sp-runtime", "sp-state-machine", - "sp-std", - "sp-version", "thiserror", ] [[package]] name = "sp-consensus-aura" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ "async-trait", "parity-scale-codec", @@ -12989,14 +13063,14 @@ dependencies = [ "sp-consensus-slots", "sp-inherents", "sp-runtime", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-timestamp", ] [[package]] name = "sp-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ "async-trait", "merlin", @@ -13008,43 +13082,80 @@ dependencies = [ "sp-consensus", "sp-consensus-slots", "sp-consensus-vrf", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-inherents", "sp-keystore", "sp-runtime", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-timestamp", ] +[[package]] +name = "sp-consensus-beefy" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +dependencies = [ + "lazy_static", + "parity-scale-codec", + "scale-info", + "serde", + "sp-api", + "sp-application-crypto", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-io", + "sp-mmr-primitives", + "sp-runtime", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "strum", +] + +[[package]] +name = "sp-consensus-grandpa" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +dependencies = [ + "finality-grandpa", + "log", + "parity-scale-codec", + "scale-info", + "serde", + "sp-api", + "sp-application-crypto", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-keystore", + "sp-runtime", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", +] + [[package]] name = "sp-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-timestamp", ] [[package]] name = "sp-consensus-vrf" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ "parity-scale-codec", "scale-info", "schnorrkel", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-runtime", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", ] [[package]] name = "sp-core" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.37#e66537fcb5bfbf804202b397195fd4fc23db008e" dependencies = [ "array-bytes 4.2.0", "base58", @@ -13053,9 +13164,9 @@ dependencies = [ "dyn-clonable", "ed25519-zebra", "futures 0.3.28", - "hash-db", + "hash-db 0.15.2", "hash256-std-hasher", - "impl-serde 0.4.0", + "impl-serde", "lazy_static", "libsecp256k1", "log", @@ -13070,12 +13181,55 @@ dependencies = [ "secp256k1", "secrecy", "serde", - "sp-core-hashing", - "sp-debug-derive", - "sp-externalities", - "sp-runtime-interface", - "sp-std", - "sp-storage", + "sp-core-hashing 5.0.0 (git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.37)", + "sp-debug-derive 5.0.0 (git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.37)", + "sp-externalities 0.13.0 (git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.37)", + "sp-runtime-interface 7.0.0 (git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.37)", + "sp-std 5.0.0 (git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.37)", + "sp-storage 7.0.0 (git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.37)", + "ss58-registry", + "substrate-bip39", + "thiserror", + "tiny-bip39", + "zeroize", +] + +[[package]] +name = "sp-core" +version = "7.0.0" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +dependencies = [ + "array-bytes 4.2.0", + "base58", + "bitflags", + "blake2", + "bounded-collections", + "dyn-clonable", + "ed25519-zebra", + "futures 0.3.28", + "hash-db 0.16.0", + "hash256-std-hasher", + "impl-serde", + "lazy_static", + "libsecp256k1", + "log", + "merlin", + "parity-scale-codec", + "parking_lot 0.12.1", + "primitive-types 0.12.1", + "rand 0.8.5", + "regex", + "scale-info", + "schnorrkel", + "secp256k1", + "secrecy", + "serde", + "sp-core-hashing 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-debug-derive 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-externalities 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-runtime-interface 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-storage 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "ss58-registry", "substrate-bip39", "thiserror", @@ -13086,32 +13240,46 @@ dependencies = [ [[package]] name = "sp-core-hashing" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.37#e66537fcb5bfbf804202b397195fd4fc23db008e" dependencies = [ "blake2", "byteorder", - "digest 0.10.6", + "digest 0.10.7", "sha2 0.10.6", "sha3", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.37)", + "twox-hash", +] + +[[package]] +name = "sp-core-hashing" +version = "5.0.0" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +dependencies = [ + "blake2b_simd", + "byteorder", + "digest 0.10.7", + "sha2 0.10.6", + "sha3", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "twox-hash", ] [[package]] name = "sp-core-hashing-proc-macro" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ "proc-macro2", "quote", - "sp-core-hashing", + "sp-core-hashing 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "syn 1.0.109", ] [[package]] name = "sp-database" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ "kvdb", "parking_lot 0.12.1", @@ -13120,7 +13288,17 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.37#e66537fcb5bfbf804202b397195fd4fc23db008e" +dependencies = [ + "proc-macro2", + "quote", + "syn 1.0.109", +] + +[[package]] +name = "sp-debug-derive" +version = "5.0.0" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ "proc-macro2", "quote", @@ -13130,50 +13308,44 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.13.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.37#e66537fcb5bfbf804202b397195fd4fc23db008e" dependencies = [ "environmental", "parity-scale-codec", - "sp-std", - "sp-storage", + "sp-std 5.0.0 (git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.37)", + "sp-storage 7.0.0 (git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.37)", ] [[package]] -name = "sp-finality-grandpa" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +name = "sp-externalities" +version = "0.13.0" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ - "finality-grandpa", - "log", + "environmental", "parity-scale-codec", - "scale-info", - "serde", - "sp-api", - "sp-application-crypto", - "sp-core", - "sp-keystore", - "sp-runtime", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-storage 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", ] [[package]] name = "sp-inherents" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ "async-trait", "impl-trait-for-tuples", "parity-scale-codec", - "sp-core", + "scale-info", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-runtime", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "thiserror", ] [[package]] name = "sp-io" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ "bytes", "ed25519", @@ -13183,13 +13355,13 @@ dependencies = [ "log", "parity-scale-codec", "secp256k1", - "sp-core", - "sp-externalities", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-externalities 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-keystore", - "sp-runtime-interface", + "sp-runtime-interface 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-state-machine", - "sp-std", - "sp-tracing", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-tracing 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-trie", "tracing", "tracing-core", @@ -13198,10 +13370,10 @@ dependencies = [ [[package]] name = "sp-keyring" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ "lazy_static", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-runtime", "strum", ] @@ -13209,7 +13381,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.13.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ "async-trait", "futures 0.3.28", @@ -13218,15 +13390,15 @@ dependencies = [ "parking_lot 0.12.1", "schnorrkel", "serde", - "sp-core", - "sp-externalities", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-externalities 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "thiserror", ] [[package]] name = "sp-maybe-compressed-blob" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ "thiserror", "zstd", @@ -13235,7 +13407,7 @@ dependencies = [ [[package]] name = "sp-mmr-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ "ckb-merkle-mountain-range", "log", @@ -13243,41 +13415,41 @@ dependencies = [ "scale-info", "serde", "sp-api", - "sp-core", - "sp-debug-derive", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-debug-derive 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-runtime", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "thiserror", ] [[package]] name = "sp-npos-elections" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ "parity-scale-codec", "scale-info", "serde", "sp-arithmetic", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-runtime", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", ] [[package]] name = "sp-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ "sp-api", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-runtime", ] [[package]] name = "sp-panic-handler" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ "backtrace", "lazy_static", @@ -13287,17 +13459,17 @@ dependencies = [ [[package]] name = "sp-rpc" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ "rustc-hash", "serde", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", ] [[package]] name = "sp-runtime" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ "either", "hash256-std-hasher", @@ -13310,34 +13482,64 @@ dependencies = [ "serde", "sp-application-crypto", "sp-arithmetic", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-io", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-weights", ] [[package]] name = "sp-runtime-interface" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.37#e66537fcb5bfbf804202b397195fd4fc23db008e" dependencies = [ "bytes", "impl-trait-for-tuples", "parity-scale-codec", "primitive-types 0.12.1", - "sp-externalities", - "sp-runtime-interface-proc-macro", - "sp-std", - "sp-storage", - "sp-tracing", - "sp-wasm-interface", + "sp-externalities 0.13.0 (git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.37)", + "sp-runtime-interface-proc-macro 6.0.0 (git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.37)", + "sp-std 5.0.0 (git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.37)", + "sp-storage 7.0.0 (git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.37)", + "sp-tracing 6.0.0 (git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.37)", + "sp-wasm-interface 7.0.0 (git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.37)", "static_assertions", ] +[[package]] +name = "sp-runtime-interface" +version = "7.0.0" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +dependencies = [ + "bytes", + "impl-trait-for-tuples", + "parity-scale-codec", + "primitive-types 0.12.1", + "sp-externalities 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-runtime-interface-proc-macro 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-storage 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-tracing 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-wasm-interface 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "static_assertions", +] + +[[package]] +name = "sp-runtime-interface-proc-macro" +version = "6.0.0" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.37#e66537fcb5bfbf804202b397195fd4fc23db008e" +dependencies = [ + "Inflector", + "proc-macro-crate", + "proc-macro2", + "quote", + "syn 1.0.109", +] + [[package]] name = "sp-runtime-interface-proc-macro" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ "Inflector", "proc-macro-crate", @@ -13349,44 +13551,44 @@ dependencies = [ [[package]] name = "sp-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ "parity-scale-codec", "scale-info", "sp-api", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-runtime", "sp-staking", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", ] [[package]] name = "sp-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ "parity-scale-codec", "scale-info", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-runtime", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", ] [[package]] name = "sp-state-machine" version = "0.13.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ - "hash-db", + "hash-db 0.16.0", "log", "parity-scale-codec", "parking_lot 0.12.1", "rand 0.8.5", "smallvec", - "sp-core", - "sp-externalities", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-externalities 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-panic-handler", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-trie", "thiserror", "tracing", @@ -13395,25 +13597,43 @@ dependencies = [ [[package]] name = "sp-std" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.37#e66537fcb5bfbf804202b397195fd4fc23db008e" + +[[package]] +name = "sp-std" +version = "5.0.0" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" [[package]] name = "sp-storage" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.37#e66537fcb5bfbf804202b397195fd4fc23db008e" dependencies = [ - "impl-serde 0.4.0", + "impl-serde", "parity-scale-codec", "ref-cast", "serde", - "sp-debug-derive", - "sp-std", + "sp-debug-derive 5.0.0 (git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.37)", + "sp-std 5.0.0 (git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.37)", +] + +[[package]] +name = "sp-storage" +version = "7.0.0" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +dependencies = [ + "impl-serde", + "parity-scale-codec", + "ref-cast", + "serde", + "sp-debug-derive 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", ] [[package]] name = "sp-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ "async-trait", "futures-timer", @@ -13421,17 +13641,29 @@ dependencies = [ "parity-scale-codec", "sp-inherents", "sp-runtime", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "thiserror", ] [[package]] name = "sp-tracing" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.37#e66537fcb5bfbf804202b397195fd4fc23db008e" dependencies = [ "parity-scale-codec", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.37)", + "tracing", + "tracing-core", + "tracing-subscriber 0.2.25", +] + +[[package]] +name = "sp-tracing" +version = "6.0.0" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" +dependencies = [ + "parity-scale-codec", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "tracing", "tracing-core", "tracing-subscriber 0.2.25", @@ -13440,7 +13672,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ "sp-api", "sp-runtime", @@ -13449,26 +13681,26 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ "async-trait", "log", "parity-scale-codec", "scale-info", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-inherents", "sp-runtime", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-trie", ] [[package]] name = "sp-trie" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ "ahash 0.8.3", - "hash-db", + "hash-db 0.16.0", "hashbrown 0.12.3", "lazy_static", "memory-db", @@ -13477,8 +13709,8 @@ dependencies = [ "parking_lot 0.12.1", "scale-info", "schnellru", - "sp-core", - "sp-std", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "thiserror", "tracing", "trie-db", @@ -13488,16 +13720,16 @@ dependencies = [ [[package]] name = "sp-version" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ - "impl-serde 0.4.0", + "impl-serde", "parity-scale-codec", "parity-wasm", "scale-info", "serde", "sp-core-hashing-proc-macro", "sp-runtime", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-version-proc-macro", "thiserror", ] @@ -13505,7 +13737,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ "parity-scale-codec", "proc-macro2", @@ -13516,29 +13748,43 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.37#e66537fcb5bfbf804202b397195fd4fc23db008e" +dependencies = [ + "impl-trait-for-tuples", + "log", + "parity-scale-codec", + "sp-std 5.0.0 (git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.37)", + "wasmi", + "wasmtime 1.0.2", +] + +[[package]] +name = "sp-wasm-interface" +version = "7.0.0" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ + "anyhow", "impl-trait-for-tuples", "log", "parity-scale-codec", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "wasmi", - "wasmtime", + "wasmtime 6.0.2", ] [[package]] name = "sp-weights" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ "parity-scale-codec", "scale-info", "serde", "smallvec", "sp-arithmetic", - "sp-core", - "sp-debug-derive", - "sp-std", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-debug-derive 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", ] [[package]] @@ -13637,19 +13883,6 @@ dependencies = [ "syn 1.0.109", ] -[[package]] -name = "statrs" -version = "0.15.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "05bdbb8e4e78216a85785a85d3ec3183144f98d0097b9281802c019bb07a6f05" -dependencies = [ - "approx", - "lazy_static", - "nalgebra", - "num-traits", - "rand 0.8.5", -] - [[package]] name = "strsim" version = "0.10.0" @@ -13726,7 +13959,7 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ "platforms 2.0.0", ] @@ -13745,7 +13978,7 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ "frame-system-rpc-runtime-api", "futures 0.3.28", @@ -13757,14 +13990,14 @@ dependencies = [ "sp-api", "sp-block-builder", "sp-blockchain", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-runtime", ] [[package]] name = "substrate-prometheus-endpoint" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ "hyper", "log", @@ -13776,7 +14009,7 @@ dependencies = [ [[package]] name = "substrate-rpc-client" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ "async-trait", "jsonrpsee", @@ -13789,7 +14022,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.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ "jsonrpsee", "log", @@ -13798,7 +14031,7 @@ dependencies = [ "sc-rpc-api", "scale-info", "serde", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-runtime", "sp-state-machine", "sp-trie", @@ -13808,7 +14041,7 @@ dependencies = [ [[package]] name = "substrate-test-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ "futures 0.3.28", "substrate-test-utils-derive", @@ -13818,7 +14051,7 @@ dependencies = [ [[package]] name = "substrate-test-utils-derive" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -13829,7 +14062,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ "ansi_term", "build-helper", @@ -13871,9 +14104,9 @@ dependencies = [ [[package]] name = "syn" -version = "2.0.15" +version = "2.0.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a34fcf3e8b60f57e6a14301a2e916d323af98b0ea63c599441eec8558660c822" +checksum = "a6f671d4b5ffdb8eadec19c0ae67fe2639df8684bd7bc4b83d986b8db549cf01" dependencies = [ "proc-macro2", "quote", @@ -13894,9 +14127,9 @@ dependencies = [ [[package]] name = "system-configuration" -version = "0.5.0" +version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d75182f12f490e953596550b65ee31bda7c8e043d9386174b353bda50838c3fd" +checksum = "ba3a3adc5c275d719af8cb4272ea1c4a6d668a777f37e115f6d11ddbc1c8e0e7" dependencies = [ "bitflags", "core-foundation", @@ -13979,7 +14212,7 @@ checksum = "f9456a42c5b0d803c8cd86e73dd7cc9edd429499f37a3550d286d5e86720569f" dependencies = [ "proc-macro2", "quote", - "syn 2.0.15", + "syn 2.0.16", ] [[package]] @@ -14159,7 +14392,7 @@ checksum = "630bdcf245f78637c13ec01ffae6187cca34625e8c63150d424b59e55af2675e" dependencies = [ "proc-macro2", "quote", - "syn 2.0.15", + "syn 2.0.16", ] [[package]] @@ -14233,15 +14466,15 @@ dependencies = [ [[package]] name = "toml_datetime" -version = "0.6.1" +version = "0.6.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3ab8ed2edee10b50132aed5f331333428b011c99402b5a534154ed15746f9622" +checksum = "5a76a9312f5ba4c2dec6b9161fdf25d87ad8a09256ccea5a556fef03c706a10f" [[package]] name = "toml_edit" -version = "0.19.8" +version = "0.19.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "239410c8609e8125456927e6707163a3b1fdb40561e4b803bc041f466ccfdc13" +checksum = "92d964908cec0d030b812013af25a0e57fddfadb1e066ecc6681d86253129d4f" dependencies = [ "indexmap", "toml_datetime", @@ -14310,7 +14543,7 @@ checksum = "0f57e3ca2a01450b1a921183a9c9cbfda207fd822cef4ccb00a65402cbba7a74" dependencies = [ "proc-macro2", "quote", - "syn 2.0.15", + "syn 2.0.16", ] [[package]] @@ -14335,8 +14568,8 @@ dependencies = [ [[package]] name = "tracing-gum" -version = "0.9.38" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.38#097ffd245c42aeff28cf80f8a3568e1bee2e7da7" +version = "0.9.40" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" dependencies = [ "polkadot-node-jaeger", "polkadot-primitives", @@ -14346,8 +14579,8 @@ dependencies = [ [[package]] name = "tracing-gum-proc-macro" -version = "0.9.38" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.38#097ffd245c42aeff28cf80f8a3568e1bee2e7da7" +version = "0.9.40" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" dependencies = [ "expander 0.0.6", "proc-macro-crate", @@ -14444,9 +14677,9 @@ dependencies = [ [[package]] name = "trauma" -version = "2.2.2" +version = "2.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7fd9e348ab3e384b535df4f4bf55dc0f3b46a3183f692dc76b550cca227f4b36" +checksum = "b547a86e710030487e12fad9aea0cdd26983c9736b17b600dd224e64e7bcae4b" dependencies = [ "form_urlencoded", "futures 0.3.28", @@ -14465,12 +14698,12 @@ dependencies = [ [[package]] name = "trie-db" -version = "0.24.0" +version = "0.27.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "004e1e8f92535694b4cb1444dc5a8073ecf0815e3357f729638b9f8fc4062908" +checksum = "767abe6ffed88a1889671a102c2861ae742726f52e0a5a425b92c9fbfa7e9c85" dependencies = [ - "hash-db", - "hashbrown 0.12.3", + "hash-db 0.16.0", + "hashbrown 0.13.2", "log", "rustc-hex", "smallvec", @@ -14478,11 +14711,11 @@ dependencies = [ [[package]] name = "trie-root" -version = "0.17.0" +version = "0.18.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9a36c5ca3911ed3c9a5416ee6c679042064b93fc637ded67e25f92e68d783891" +checksum = "d4ed310ef5ab98f5fa467900ed906cb9232dd5376597e00fd4cba2a449d06c0b" dependencies = [ - "hash-db", + "hash-db 0.16.0", ] [[package]] @@ -14491,7 +14724,7 @@ version = "0.8.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a1631b201eb031b563d2e85ca18ec8092508e262a3196ce9bd10a67ec87b9f5c" dependencies = [ - "hash-db", + "hash-db 0.15.2", "rlp", ] @@ -14550,8 +14783,9 @@ checksum = "3528ecfd12c466c6f163363caf2d02a71161dd5e1cc6ae7b34207ea2d42d81ed" [[package]] name = "try-runtime-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.38#bcff60a227d455d95b4712b6cb356ce56b1ff672" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ + "async-trait", "clap", "frame-remote-externalities", "frame-try-runtime", @@ -14564,14 +14798,19 @@ dependencies = [ "serde", "serde_json", "sp-api", - "sp-core", - "sp-debug-derive", - "sp-externalities", + "sp-consensus-aura", + "sp-consensus-babe", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-debug-derive 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-externalities 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-inherents", "sp-io", "sp-keystore", "sp-rpc", "sp-runtime", "sp-state-machine", + "sp-timestamp", + "sp-transaction-storage-proof", "sp-version", "sp-weights", "substrate-rpc-client", @@ -14610,7 +14849,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "97fee6b57c6a41524a810daee9286c02d7752c4253064d0b05472833a438f675" dependencies = [ "cfg-if", - "digest 0.10.6", + "digest 0.10.7", "rand 0.8.5", "static_assertions", ] @@ -14708,9 +14947,9 @@ dependencies = [ [[package]] name = "universal-hash" -version = "0.5.0" +version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7d3160b73c9a19f7e2939a2fdad446c57c1bbbbf4d919d3213ff1267a580d8b5" +checksum = "fc1de2c688dc15305988b563c3854064043356019f97a4b46276fe734c4f07ea" dependencies = [ "crypto-common", "subtle", @@ -14753,9 +14992,9 @@ checksum = "711b9620af191e0cdc7468a8d14e709c3dcdb115b36f838e601583af800a370a" [[package]] name = "uuid" -version = "1.3.2" +version = "1.3.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4dad5567ad0cf5b760e5665964bec1b47dfd077ba8a2544b513f3556d3d239a2" +checksum = "345444e32442451b267fc254ae85a209c64be56d2890e601a0c37ff0c3c5ecd2" dependencies = [ "getrandom 0.2.9", ] @@ -14839,9 +15078,9 @@ checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" [[package]] name = "wasm-bindgen" -version = "0.2.85" +version = "0.2.86" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5b6cb788c4e39112fbe1822277ef6fb3c55cd86b95cb3d3c4c1c9597e4ac74b4" +checksum = "5bba0e8cb82ba49ff4e229459ff22a191bbe9a1cb3a341610c9c33efc27ddf73" dependencies = [ "cfg-if", "wasm-bindgen-macro", @@ -14849,24 +15088,24 @@ dependencies = [ [[package]] name = "wasm-bindgen-backend" -version = "0.2.85" +version = "0.2.86" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "35e522ed4105a9d626d885b35d62501b30d9666283a5c8be12c14a8bdafe7822" +checksum = "19b04bc93f9d6bdee709f6bd2118f57dd6679cf1176a1af464fca3ab0d66d8fb" dependencies = [ "bumpalo", "log", "once_cell", "proc-macro2", "quote", - "syn 2.0.15", + "syn 2.0.16", "wasm-bindgen-shared", ] [[package]] name = "wasm-bindgen-futures" -version = "0.4.35" +version = "0.4.36" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "083abe15c5d88556b77bdf7aef403625be9e327ad37c62c4e4129af740168163" +checksum = "2d1985d03709c53167ce907ff394f5316aa22cb4e12761295c5dc57dacb6297e" dependencies = [ "cfg-if", "js-sys", @@ -14876,9 +15115,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro" -version = "0.2.85" +version = "0.2.86" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "358a79a0cb89d21db8120cbfb91392335913e4890665b1a7981d9e956903b434" +checksum = "14d6b024f1a526bb0234f52840389927257beb670610081360e5a03c5df9c258" dependencies = [ "quote", "wasm-bindgen-macro-support", @@ -14886,22 +15125,22 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro-support" -version = "0.2.85" +version = "0.2.86" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4783ce29f09b9d93134d41297aded3a712b7b979e9c6f28c32cb88c973a94869" +checksum = "e128beba882dd1eb6200e1dc92ae6c5dbaa4311aa7bb211ca035779e5efc39f8" dependencies = [ "proc-macro2", "quote", - "syn 2.0.15", + "syn 2.0.16", "wasm-bindgen-backend", "wasm-bindgen-shared", ] [[package]] name = "wasm-bindgen-shared" -version = "0.2.85" +version = "0.2.86" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a901d592cafaa4d711bc324edfaff879ac700b19c3dfd60058d2b445be2691eb" +checksum = "ed9d5b4305409d1fc9482fee2d7f9bcbf24b3972bf59817ef757e23982242a93" [[package]] name = "wasm-instrument" @@ -15008,10 +15247,11 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "57d20cb3c59b788653d99541c646c561c9dd26506f25c0cebfe810659c54c6d7" dependencies = [ "downcast-rs", - "libm 0.2.6", + "libm 0.2.7", "memory_units", "num-rational", "num-traits", + "region", ] [[package]] @@ -15023,11 +15263,46 @@ dependencies = [ "indexmap", ] +[[package]] +name = "wasmparser" +version = "0.100.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "64b20236ab624147dfbb62cf12a19aaf66af0e41b8398838b66e997d07d269d4" +dependencies = [ + "indexmap", + "url", +] + [[package]] name = "wasmtime" version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4ad5af6ba38311282f2a21670d96e78266e8c8e2f38cbcd52c254df6ccbc7731" +dependencies = [ + "anyhow", + "bincode", + "cfg-if", + "indexmap", + "libc", + "log", + "object 0.29.0", + "once_cell", + "paste", + "psm", + "serde", + "target-lexicon", + "wasmparser 0.89.1", + "wasmtime-environ 1.0.2", + "wasmtime-jit 1.0.2", + "wasmtime-runtime 1.0.2", + "windows-sys 0.36.1", +] + +[[package]] +name = "wasmtime" +version = "6.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "76a222f5fa1e14b2cefc286f1b68494d7a965f4bf57ec04c59bb62673d639af6" dependencies = [ "anyhow", "bincode", @@ -15042,13 +15317,13 @@ dependencies = [ "rayon", "serde", "target-lexicon", - "wasmparser", + "wasmparser 0.100.0", "wasmtime-cache", "wasmtime-cranelift", - "wasmtime-environ", - "wasmtime-jit", - "wasmtime-runtime", - "windows-sys 0.36.1", + "wasmtime-environ 6.0.2", + "wasmtime-jit 6.0.2", + "wasmtime-runtime 6.0.2", + "windows-sys 0.42.0", ] [[package]] @@ -15060,11 +15335,20 @@ dependencies = [ "cfg-if", ] +[[package]] +name = "wasmtime-asm-macros" +version = "6.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4407a7246e7d2f3d8fb1cf0c72fda8dbafdb6dd34d555ae8bea0e5ae031089cc" +dependencies = [ + "cfg-if", +] + [[package]] name = "wasmtime-cache" -version = "1.0.2" +version = "6.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bcd849399d17d2270141cfe47fa0d91ee52d5f8ea9b98cf7ddde0d53e5f79882" +checksum = "5ceb3adf61d654be0be67fffdce42447b0880481348785be5fe40b5dd7663a4c" dependencies = [ "anyhow", "base64 0.13.1", @@ -15072,23 +15356,23 @@ dependencies = [ "directories-next", "file-per-thread-logger", "log", - "rustix 0.35.13", + "rustix 0.36.14", "serde", - "sha2 0.9.9", + "sha2 0.10.6", "toml", - "windows-sys 0.36.1", + "windows-sys 0.42.0", "zstd", ] [[package]] name = "wasmtime-cranelift" -version = "1.0.2" +version = "6.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4bd91339b742ff20bfed4532a27b73c86b5bcbfedd6bea2dcdf2d64471e1b5c6" +checksum = "3c366bb8647e01fd08cb5589976284b00abfded5529b33d7e7f3f086c68304a4" dependencies = [ "anyhow", "cranelift-codegen", - "cranelift-entity", + "cranelift-entity 0.93.2", "cranelift-frontend", "cranelift-native", "cranelift-wasm", @@ -15097,8 +15381,8 @@ dependencies = [ "object 0.29.0", "target-lexicon", "thiserror", - "wasmparser", - "wasmtime-environ", + "wasmparser 0.100.0", + "wasmtime-environ 6.0.2", ] [[package]] @@ -15108,7 +15392,26 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ebb881c61f4f627b5d45c54e629724974f8a8890d455bcbe634330cc27309644" dependencies = [ "anyhow", - "cranelift-entity", + "cranelift-entity 0.88.2", + "gimli 0.26.2", + "indexmap", + "log", + "object 0.29.0", + "serde", + "target-lexicon", + "thiserror", + "wasmparser 0.89.1", + "wasmtime-types 1.0.2", +] + +[[package]] +name = "wasmtime-environ" +version = "6.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "47b8b50962eae38ee319f7b24900b7cf371f03eebdc17400c1dc8575fc10c9a7" +dependencies = [ + "anyhow", + "cranelift-entity 0.93.2", "gimli 0.26.2", "indexmap", "log", @@ -15116,8 +15419,8 @@ dependencies = [ "serde", "target-lexicon", "thiserror", - "wasmparser", - "wasmtime-types", + "wasmparser 0.100.0", + "wasmtime-types 6.0.2", ] [[package]] @@ -15139,21 +15442,64 @@ dependencies = [ "serde", "target-lexicon", "thiserror", - "wasmtime-environ", - "wasmtime-jit-debug", - "wasmtime-runtime", + "wasmtime-environ 1.0.2", + "wasmtime-runtime 1.0.2", "windows-sys 0.36.1", ] +[[package]] +name = "wasmtime-jit" +version = "6.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ffaed4f9a234ba5225d8e64eac7b4a5d13b994aeb37353cde2cbeb3febda9eaa" +dependencies = [ + "addr2line 0.17.0", + "anyhow", + "bincode", + "cfg-if", + "cpp_demangle", + "gimli 0.26.2", + "log", + "object 0.29.0", + "rustc-demangle", + "serde", + "target-lexicon", + "wasmtime-environ 6.0.2", + "wasmtime-jit-debug 6.0.2", + "wasmtime-jit-icache-coherence", + "wasmtime-runtime 6.0.2", + "windows-sys 0.42.0", +] + [[package]] name = "wasmtime-jit-debug" version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f671b588486f5ccec8c5a3dba6b4c07eac2e66ab8c60e6f4e53717c77f709731" +dependencies = [ + "once_cell", +] + +[[package]] +name = "wasmtime-jit-debug" +version = "6.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "eed41cbcbf74ce3ff6f1d07d1b707888166dc408d1a880f651268f4f7c9194b2" dependencies = [ "object 0.29.0", "once_cell", - "rustix 0.35.13", + "rustix 0.36.14", +] + +[[package]] +name = "wasmtime-jit-icache-coherence" +version = "6.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "43a28ae1e648461bfdbb79db3efdaee1bca5b940872e4175390f465593a2e54c" +dependencies = [ + "cfg-if", + "libc", + "windows-sys 0.42.0", ] [[package]] @@ -15169,35 +15515,70 @@ dependencies = [ "libc", "log", "mach", - "memfd", "memoffset 0.6.5", "paste", "rand 0.8.5", "rustix 0.35.13", "thiserror", - "wasmtime-asm-macros", - "wasmtime-environ", - "wasmtime-jit-debug", + "wasmtime-asm-macros 1.0.2", + "wasmtime-environ 1.0.2", + "wasmtime-jit-debug 1.0.2", "windows-sys 0.36.1", ] +[[package]] +name = "wasmtime-runtime" +version = "6.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e704b126e4252788ccfc3526d4d4511d4b23c521bf123e447ac726c14545217b" +dependencies = [ + "anyhow", + "cc", + "cfg-if", + "indexmap", + "libc", + "log", + "mach", + "memfd", + "memoffset 0.6.5", + "paste", + "rand 0.8.5", + "rustix 0.36.14", + "wasmtime-asm-macros 6.0.2", + "wasmtime-environ 6.0.2", + "wasmtime-jit-debug 6.0.2", + "windows-sys 0.42.0", +] + [[package]] name = "wasmtime-types" version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d23d61cb4c46e837b431196dd06abb11731541021916d03476a178b54dc07aeb" dependencies = [ - "cranelift-entity", + "cranelift-entity 0.88.2", + "serde", + "thiserror", + "wasmparser 0.89.1", +] + +[[package]] +name = "wasmtime-types" +version = "6.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "83e5572c5727c1ee7e8f28717aaa8400e4d22dcbd714ea5457d85b5005206568" +dependencies = [ + "cranelift-entity 0.93.2", "serde", "thiserror", - "wasmparser", + "wasmparser 0.100.0", ] [[package]] name = "web-sys" -version = "0.3.62" +version = "0.3.63" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "16b5f940c7edfdc6d12126d98c9ef4d1b3d470011c47c76a6581df47ad9ba721" +checksum = "3bdd9ef4e984da1187bf8110c5cf5b845fbc87a23602cdf912386a76fcd3a7c2" dependencies = [ "js-sys", "wasm-bindgen", @@ -15295,7 +15676,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "942be5bd85f072c3128396f6e5a9bfb93ca8c1939ded735d177b7bcba9a13d05" dependencies = [ "aes 0.6.0", - "aes-gcm 0.10.1", + "aes-gcm 0.10.2", "async-trait", "bincode", "block-modes", @@ -15434,7 +15815,7 @@ dependencies = [ "lazy_static", "libc", "log", - "nix 0.24.3", + "nix", "rand 0.8.5", "thiserror", "tokio", @@ -15443,8 +15824,8 @@ dependencies = [ [[package]] name = "westend-runtime" -version = "0.9.38" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.38#097ffd245c42aeff28cf80f8a3568e1bee2e7da7" +version = "0.9.40" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" dependencies = [ "bitvec", "frame-benchmarking", @@ -15488,6 +15869,7 @@ dependencies = [ "pallet-society", "pallet-staking", "pallet-staking-reward-curve", + "pallet-staking-runtime-api", "pallet-state-trie-migration", "pallet-sudo", "pallet-timestamp", @@ -15510,10 +15892,10 @@ dependencies = [ "smallvec", "sp-api", "sp-authority-discovery", - "sp-beefy", "sp-block-builder", "sp-consensus-babe", - "sp-core", + "sp-consensus-beefy", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-inherents", "sp-io", "sp-mmr-primitives", @@ -15522,7 +15904,7 @@ dependencies = [ "sp-runtime", "sp-session", "sp-staking", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-transaction-pool", "sp-version", "substrate-wasm-builder", @@ -15534,14 +15916,14 @@ dependencies = [ [[package]] name = "westend-runtime-constants" -version = "0.9.38" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.38#097ffd245c42aeff28cf80f8a3568e1bee2e7da7" +version = "0.9.40" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" dependencies = [ "frame-support", "polkadot-primitives", "polkadot-runtime-common", "smallvec", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-runtime", "sp-weights", ] @@ -15557,6 +15939,16 @@ dependencies = [ "once_cell", ] +[[package]] +name = "wide" +version = "0.7.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5cd0496a71f3cc6bc4bf0ed91346426a5099e93d89807e663162dc5a1069ff65" +dependencies = [ + "bytemuck", + "safe_arch", +] + [[package]] name = "widestring" version = "0.5.1" @@ -15924,24 +16316,24 @@ dependencies = [ [[package]] name = "xcm" -version = "0.9.38" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.38#097ffd245c42aeff28cf80f8a3568e1bee2e7da7" +version = "0.9.40" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" dependencies = [ + "bounded-collections", "derivative", "impl-trait-for-tuples", "log", "parity-scale-codec", "scale-info", "serde", - "sp-core", "sp-weights", "xcm-procedural", ] [[package]] name = "xcm-builder" -version = "0.9.38" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.38#097ffd245c42aeff28cf80f8a3568e1bee2e7da7" +version = "0.9.40" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" dependencies = [ "frame-support", "frame-system", @@ -15954,15 +16346,15 @@ dependencies = [ "sp-arithmetic", "sp-io", "sp-runtime", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "xcm", "xcm-executor", ] [[package]] name = "xcm-executor" -version = "0.9.38" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.38#097ffd245c42aeff28cf80f8a3568e1bee2e7da7" +version = "0.9.40" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" dependencies = [ "environmental", "frame-benchmarking", @@ -15971,10 +16363,10 @@ dependencies = [ "log", "parity-scale-codec", "sp-arithmetic", - "sp-core", + "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-io", "sp-runtime", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-weights", "xcm", ] @@ -15982,12 +16374,11 @@ dependencies = [ [[package]] name = "xcm-primitives" version = "0.1.0" -source = "git+https://github.com/darwinia-network/moonbeam?branch=update-0.9.38#abca6696c3731dd781d7badfb7cd797e36e39bf5" +source = "git+https://github.com/darwinia-network/moonbeam?branch=polkadot-v0.9.40#14597e44456b8798ab4da464150cc50cafcd731b" dependencies = [ "cumulus-primitives-core", "ethereum", "ethereum-types 0.14.1", - "frame-benchmarking", "frame-support", "frame-system", "hex", @@ -16000,7 +16391,7 @@ dependencies = [ "sha3", "sp-io", "sp-runtime", - "sp-std", + "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "xcm", "xcm-builder", "xcm-executor", @@ -16008,8 +16399,8 @@ dependencies = [ [[package]] name = "xcm-procedural" -version = "0.9.38" -source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.38#097ffd245c42aeff28cf80f8a3568e1bee2e7da7" +version = "0.9.40" +source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe4c8862810bffd68343231a517e62689c05c0" dependencies = [ "Inflector", "proc-macro2", @@ -16057,7 +16448,7 @@ checksum = "ce36e65b0d2999d2aafac989fb249189a141aee1f53c612c1f37d72631959f69" dependencies = [ "proc-macro2", "quote", - "syn 2.0.15", + "syn 2.0.16", ] [[package]] diff --git a/Cargo.toml b/Cargo.toml index 52e9dec8d..c1691c37c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -24,29 +24,29 @@ version = "6.3.0" array-bytes = { version = "6.1" } codec = { package = "parity-scale-codec", version = "3.5", default-features = false } libsecp256k1 = { version = "0.7" } -scale-info = { version = "2.6", default-features = false } +scale-info = { version = "2.7", default-features = false } sha3 = { version = "0.10" } static_assertions = { version = "1.1" } # cumulus -cumulus-client-cli = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.38" } -cumulus-client-collator = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.38" } -cumulus-client-consensus-aura = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.38" } -cumulus-client-consensus-common = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.38" } -cumulus-client-network = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.38" } -cumulus-client-service = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.38" } -cumulus-pallet-aura-ext = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.38", default-features = false } -cumulus-pallet-dmp-queue = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.38", default-features = false } -cumulus-pallet-parachain-system = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.38", default-features = false } -cumulus-pallet-session-benchmarking = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.38", default-features = false } -cumulus-pallet-xcm = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.38", default-features = false } -cumulus-pallet-xcmp-queue = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.38", default-features = false } -cumulus-primitives-core = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.38", default-features = false } -cumulus-primitives-parachain-inherent = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.38", default-features = false } -cumulus-primitives-timestamp = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.38", default-features = false } -cumulus-primitives-utility = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.38", default-features = false } -cumulus-relay-chain-interface = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.38" } -parachain-info = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.38", default-features = false } +cumulus-client-cli = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.40" } +cumulus-client-collator = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.40" } +cumulus-client-consensus-aura = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.40" } +cumulus-client-consensus-common = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.40" } +cumulus-client-network = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.40" } +cumulus-client-service = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.40" } +cumulus-pallet-aura-ext = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.40", default-features = false } +cumulus-pallet-dmp-queue = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.40", default-features = false } +cumulus-pallet-parachain-system = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.40", default-features = false } +cumulus-pallet-session-benchmarking = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.40", default-features = false } +cumulus-pallet-xcm = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.40", default-features = false } +cumulus-pallet-xcmp-queue = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.40", default-features = false } +cumulus-primitives-core = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.40", default-features = false } +cumulus-primitives-parachain-inherent = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.40", default-features = false } +cumulus-primitives-timestamp = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.40", default-features = false } +cumulus-primitives-utility = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.40", default-features = false } +cumulus-relay-chain-interface = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.40" } +parachain-info = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.40", default-features = false } # darwinia crab-runtime = { path = "runtime/crab" } @@ -71,130 +71,131 @@ pangolin-runtime = { path = "runtime/pangolin" } pangoro-runtime = { path = "runtime/pangoro" } # darwinia-messages-substrate -bp-darwinia-core = { git = "https://github.com/darwinia-network/darwinia-messages-substrate", branch = "polkadot-v0.9.38", default-features = false } -bp-message-dispatch = { git = "https://github.com/darwinia-network/darwinia-messages-substrate", branch = "polkadot-v0.9.38", default-features = false } -bp-messages = { git = "https://github.com/darwinia-network/darwinia-messages-substrate", branch = "polkadot-v0.9.38", default-features = false } -bp-polkadot-core = { git = "https://github.com/darwinia-network/darwinia-messages-substrate", branch = "polkadot-v0.9.38", default-features = false } -bp-runtime = { git = "https://github.com/darwinia-network/darwinia-messages-substrate", branch = "polkadot-v0.9.38", default-features = false } -bridge-runtime-common = { git = "https://github.com/darwinia-network/darwinia-messages-substrate", branch = "polkadot-v0.9.38", default-features = false } -pallet-bridge-dispatch = { git = "https://github.com/darwinia-network/darwinia-messages-substrate", branch = "polkadot-v0.9.38", default-features = false } -pallet-bridge-grandpa = { git = "https://github.com/darwinia-network/darwinia-messages-substrate", branch = "polkadot-v0.9.38", default-features = false } -pallet-bridge-messages = { git = "https://github.com/darwinia-network/darwinia-messages-substrate", branch = "polkadot-v0.9.38", default-features = false } -pallet-bridge-parachains = { git = "https://github.com/darwinia-network/darwinia-messages-substrate", branch = "polkadot-v0.9.38", default-features = false } -pallet-fee-market = { git = "https://github.com/darwinia-network/darwinia-messages-substrate", branch = "polkadot-v0.9.38", default-features = false } +bp-darwinia-core = { git = "https://github.com/darwinia-network/darwinia-messages-substrate", branch = "polkadot-v0.9.40", default-features = false } +bp-message-dispatch = { git = "https://github.com/darwinia-network/darwinia-messages-substrate", branch = "polkadot-v0.9.40", default-features = false } +bp-messages = { git = "https://github.com/darwinia-network/darwinia-messages-substrate", branch = "polkadot-v0.9.40", default-features = false } +bp-polkadot-core = { git = "https://github.com/darwinia-network/darwinia-messages-substrate", branch = "polkadot-v0.9.40", default-features = false } +bp-runtime = { git = "https://github.com/darwinia-network/darwinia-messages-substrate", branch = "polkadot-v0.9.40", default-features = false } +bridge-runtime-common = { git = "https://github.com/darwinia-network/darwinia-messages-substrate", branch = "polkadot-v0.9.40", default-features = false } +pallet-bridge-dispatch = { git = "https://github.com/darwinia-network/darwinia-messages-substrate", branch = "polkadot-v0.9.40", default-features = false } +pallet-bridge-grandpa = { git = "https://github.com/darwinia-network/darwinia-messages-substrate", branch = "polkadot-v0.9.40", default-features = false } +pallet-bridge-messages = { git = "https://github.com/darwinia-network/darwinia-messages-substrate", branch = "polkadot-v0.9.40", default-features = false } +pallet-bridge-parachains = { git = "https://github.com/darwinia-network/darwinia-messages-substrate", branch = "polkadot-v0.9.40", default-features = false } +pallet-fee-market = { git = "https://github.com/darwinia-network/darwinia-messages-substrate", branch = "polkadot-v0.9.40", default-features = false } # frontier -fc-cli = { git = "https://github.com/paritytech/frontier", branch = "polkadot-v0.9.38" } -fc-consensus = { git = "https://github.com/paritytech/frontier", branch = "polkadot-v0.9.38" } -fc-db = { git = "https://github.com/paritytech/frontier", branch = "polkadot-v0.9.38" } -fc-mapping-sync = { git = "https://github.com/paritytech/frontier", branch = "polkadot-v0.9.38" } -fc-rpc = { git = "https://github.com/paritytech/frontier", branch = "polkadot-v0.9.38", features = ["rpc-binary-search-estimate"] } -fc-rpc-core = { git = "https://github.com/paritytech/frontier", branch = "polkadot-v0.9.38" } -fc-storage = { git = "https://github.com/paritytech/frontier", branch = "polkadot-v0.9.38" } -fp-ethereum = { git = "https://github.com/paritytech/frontier", branch = "polkadot-v0.9.38", default-features = false } -fp-evm = { git = "https://github.com/paritytech/frontier", branch = "polkadot-v0.9.38", default-features = false } -fp-rpc = { git = "https://github.com/paritytech/frontier", branch = "polkadot-v0.9.38", default-features = false } -fp-self-contained = { git = "https://github.com/paritytech/frontier", branch = "polkadot-v0.9.38", default-features = false } -pallet-ethereum = { git = "https://github.com/paritytech/frontier", branch = "polkadot-v0.9.38", default-features = false, features = ["forbid-evm-reentrancy"] } -pallet-evm = { git = "https://github.com/paritytech/frontier", branch = "polkadot-v0.9.38", default-features = false, features = ["forbid-evm-reentrancy"] } -pallet-evm-precompile-blake2 = { git = "https://github.com/paritytech/frontier", branch = "polkadot-v0.9.38", default-features = false } -pallet-evm-precompile-bn128 = { git = "https://github.com/paritytech/frontier", branch = "polkadot-v0.9.38", default-features = false } -pallet-evm-precompile-dispatch = { git = "https://github.com/paritytech/frontier", branch = "polkadot-v0.9.38", default-features = false } -pallet-evm-precompile-modexp = { git = "https://github.com/paritytech/frontier", branch = "polkadot-v0.9.38", default-features = false } -pallet-evm-precompile-simple = { git = "https://github.com/paritytech/frontier", branch = "polkadot-v0.9.38", default-features = false } +fc-cli = { git = "https://github.com/darwinia-network/frontier", branch = "polkadot-v0.9.40" } +fc-consensus = { git = "https://github.com/darwinia-network/frontier", branch = "polkadot-v0.9.40" } +fc-db = { git = "https://github.com/darwinia-network/frontier", branch = "polkadot-v0.9.40" } +fc-mapping-sync = { git = "https://github.com/darwinia-network/frontier", branch = "polkadot-v0.9.40" } +fc-rpc = { git = "https://github.com/darwinia-network/frontier", branch = "polkadot-v0.9.40", features = ["rpc-binary-search-estimate"] } +fc-rpc-core = { git = "https://github.com/darwinia-network/frontier", branch = "polkadot-v0.9.40" } +fc-storage = { git = "https://github.com/darwinia-network/frontier", branch = "polkadot-v0.9.40" } +fp-account = { git = "https://github.com/darwinia-network/frontier", branch = "polkadot-v0.9.40", default-features = false } +fp-ethereum = { git = "https://github.com/darwinia-network/frontier", branch = "polkadot-v0.9.40", default-features = false } +fp-evm = { git = "https://github.com/darwinia-network/frontier", branch = "polkadot-v0.9.40", default-features = false } +fp-rpc = { git = "https://github.com/darwinia-network/frontier", branch = "polkadot-v0.9.40", default-features = false } +fp-self-contained = { git = "https://github.com/darwinia-network/frontier", branch = "polkadot-v0.9.40", default-features = false } +pallet-ethereum = { git = "https://github.com/darwinia-network/frontier", branch = "polkadot-v0.9.40", default-features = false, features = ["forbid-evm-reentrancy"] } +pallet-evm = { git = "https://github.com/darwinia-network/frontier", branch = "polkadot-v0.9.40", default-features = false, features = ["forbid-evm-reentrancy"] } +pallet-evm-precompile-blake2 = { git = "https://github.com/darwinia-network/frontier", branch = "polkadot-v0.9.40", default-features = false } +pallet-evm-precompile-bn128 = { git = "https://github.com/darwinia-network/frontier", branch = "polkadot-v0.9.40", default-features = false } +pallet-evm-precompile-dispatch = { git = "https://github.com/darwinia-network/frontier", branch = "polkadot-v0.9.40", default-features = false } +pallet-evm-precompile-modexp = { git = "https://github.com/darwinia-network/frontier", branch = "polkadot-v0.9.40", default-features = false } +pallet-evm-precompile-simple = { git = "https://github.com/darwinia-network/frontier", branch = "polkadot-v0.9.40", default-features = false } # moonbeam -pallet-ethereum-xcm = { git = "https://github.com/darwinia-network/moonbeam", branch = "update-0.9.38", default-features = false } -moonbeam-evm-tracer = { git = "https://github.com/darwinia-network/moonbeam", branch = "update-0.9.38", default-features = false } -moonbeam-primitives-ext = { git = "https://github.com/darwinia-network/moonbeam", branch = "update-0.9.38", default-features = false } -moonbeam-rpc-debug = { git = "https://github.com/darwinia-network/moonbeam", branch = "update-0.9.38" } -moonbeam-rpc-primitives-debug = { git = "https://github.com/darwinia-network/moonbeam", branch = "update-0.9.38", default-features = false } -moonbeam-rpc-trace = { git = "https://github.com/darwinia-network/moonbeam", branch = "update-0.9.38" } -precompile-utils = { git = "https://github.com/darwinia-network/moonbeam", branch = "update-0.9.38", default-features = false } -xcm-primitives = { git = "https://github.com/darwinia-network/moonbeam", branch = "update-0.9.38", default-features = false } +pallet-ethereum-xcm = { git = "https://github.com/darwinia-network/moonbeam", branch = "polkadot-v0.9.40", default-features = false } +moonbeam-evm-tracer = { git = "https://github.com/darwinia-network/moonbeam", branch = "polkadot-v0.9.40", default-features = false } +moonbeam-primitives-ext = { git = "https://github.com/darwinia-network/moonbeam", branch = "polkadot-v0.9.40", default-features = false } +moonbeam-rpc-debug = { git = "https://github.com/darwinia-network/moonbeam", branch = "polkadot-v0.9.40" } +moonbeam-rpc-primitives-debug = { git = "https://github.com/darwinia-network/moonbeam", branch = "polkadot-v0.9.40", default-features = false } +moonbeam-rpc-trace = { git = "https://github.com/darwinia-network/moonbeam", branch = "polkadot-v0.9.40" } +precompile-utils = { git = "https://github.com/darwinia-network/moonbeam", branch = "polkadot-v0.9.40", default-features = false } +xcm-primitives = { git = "https://github.com/darwinia-network/moonbeam", branch = "polkadot-v0.9.40", default-features = false } # polkadot -pallet-xcm = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.38", default-features = false } -polkadot-cli = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.38" } -polkadot-parachain = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.38", default-features = false } -polkadot-primitives = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.38", default-features = false } -polkadot-runtime-common = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.38", default-features = false } -polkadot-service = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.38" } -xcm = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.38", default-features = false } -xcm-builder = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.38", default-features = false } -xcm-executor = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.38", default-features = false } +pallet-xcm = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.40", default-features = false } +polkadot-cli = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.40" } +polkadot-parachain = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.40", default-features = false } +polkadot-primitives = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.40", default-features = false } +polkadot-runtime-common = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.40", default-features = false } +polkadot-service = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.40" } +xcm = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.40", default-features = false } +xcm-builder = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.40", default-features = false } +xcm-executor = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.40", default-features = false } # substrate -frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } -frame-benchmarking-cli = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38" } -frame-executive = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } -frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } -frame-system-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } -frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } -frame-try-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } -pallet-assets = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } -pallet-aura = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } -pallet-authorship = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } -pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } -pallet-collective = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } -pallet-democracy = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } -pallet-elections-phragmen = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } -pallet-identity = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } -pallet-membership = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } -pallet-preimage = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } -pallet-proxy = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } -pallet-scheduler = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } -pallet-session = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } -pallet-sudo = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } -pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } -pallet-tips = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } -pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } -pallet-transaction-payment-rpc = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38" } -pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } -pallet-treasury = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } -pallet-utility = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } -pallet-vesting = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } -sc-basic-authorship = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38" } -sc-chain-spec = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38" } -sc-cli = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38" } -sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38" } -sc-consensus = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38" } -sc-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38" } -sc-executor = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38" } -sc-keystore = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38" } -sc-network = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38" } -sc-network-common = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38" } -sc-offchain = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38" } -sc-rpc = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38" } -sc-rpc-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38" } -sc-service = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38" } -sc-sysinfo = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38" } -sc-telemetry = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38" } -sc-tracing = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38" } -sc-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38" } -sc-transaction-pool-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38" } -sp-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } -sp-arithmetic = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } -sp-block-builder = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } -sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38" } -sp-consensus = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38" } -sp-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } -sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } -sp-inherents = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } -sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } -sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } -sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38" } -sp-offchain = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } -sp-session = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } -sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } -sp-timestamp = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } -sp-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } -sp-version = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38", default-features = false } -substrate-build-script-utils = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38" } -substrate-frame-rpc-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38" } -substrate-prometheus-endpoint = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38" } -substrate-test-utils = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38" } -substrate-wasm-builder = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38" } -try-runtime-cli = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.38" } +frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false } +frame-benchmarking-cli = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } +frame-executive = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false } +frame-support = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false } +frame-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false } +frame-system-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false } +frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false } +frame-try-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false } +pallet-assets = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false } +pallet-aura = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false } +pallet-authorship = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false } +pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false } +pallet-collective = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false } +pallet-democracy = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false } +pallet-elections-phragmen = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false } +pallet-identity = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false } +pallet-membership = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false } +pallet-preimage = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false } +pallet-proxy = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false } +pallet-scheduler = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false } +pallet-session = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false } +pallet-sudo = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false } +pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false } +pallet-tips = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false } +pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false } +pallet-transaction-payment-rpc = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } +pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false } +pallet-treasury = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false } +pallet-utility = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false } +pallet-vesting = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false } +sc-basic-authorship = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } +sc-chain-spec = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } +sc-cli = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } +sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } +sc-consensus = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } +sc-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } +sc-executor = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } +sc-keystore = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } +sc-network = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } +sc-network-common = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } +sc-offchain = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } +sc-rpc = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } +sc-rpc-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } +sc-service = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } +sc-sysinfo = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } +sc-telemetry = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } +sc-tracing = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } +sc-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } +sc-transaction-pool-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } +sp-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false } +sp-arithmetic = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false } +sp-block-builder = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false } +sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } +sp-consensus = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } +sp-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false } +sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false } +sp-inherents = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false } +sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false } +sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } +sp-offchain = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false } +sp-session = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false } +sp-std = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false } +sp-timestamp = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false } +sp-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false } +sp-version = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false } +substrate-build-script-utils = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } +substrate-frame-rpc-system = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } +substrate-prometheus-endpoint = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } +substrate-test-utils = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } +substrate-wasm-builder = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } +try-runtime-cli = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } diff --git a/core/primitives/Cargo.toml b/core/primitives/Cargo.toml index 65e205d44..edc8b0f91 100644 --- a/core/primitives/Cargo.toml +++ b/core/primitives/Cargo.toml @@ -11,7 +11,7 @@ version.workspace = true dc-types = { workspace = true } # moonbeam -account = { workspace = true } +fp-account = { workspace = true } # substrate sp-core = { workspace = true } @@ -20,8 +20,8 @@ sp-runtime = { workspace = true } [features] default = ["std"] std = [ - # moonbeam - "account/std", + # frontier + "fp-account/std", # substrate "sp-core/std", diff --git a/core/primitives/src/lib.rs b/core/primitives/src/lib.rs index 9e8e3f1e2..7f3b52073 100644 --- a/core/primitives/src/lib.rs +++ b/core/primitives/src/lib.rs @@ -31,7 +31,7 @@ pub use dc_types::*; /// Alias to 512-bit hash when used in the context of a transaction signature on the chain. -pub type Signature = account::EthereumSignature; +pub type Signature = fp_account::EthereumSignature; /// Some way of identifying an account on the chain. /// We intentionally make it equivalent to the public key of our transaction signing scheme. diff --git a/pallet/deposit/src/lib.rs b/pallet/deposit/src/lib.rs index e86a185dd..4c0622548 100644 --- a/pallet/deposit/src/lib.rs +++ b/pallet/deposit/src/lib.rs @@ -139,7 +139,6 @@ pub mod pallet { StorageMap<_, Blake2_128Concat, T::AccountId, BoundedVec>; #[pallet::pallet] - #[pallet::generate_store(pub(super) trait Store)] pub struct Pallet(PhantomData); #[pallet::call] impl Pallet { diff --git a/pallet/staking/src/lib.rs b/pallet/staking/src/lib.rs index 17c9d2bb9..8981a02a2 100644 --- a/pallet/staking/src/lib.rs +++ b/pallet/staking/src/lib.rs @@ -276,7 +276,6 @@ pub mod pallet { } #[pallet::pallet] - #[pallet::generate_store(pub(super) trait Store)] pub struct Pallet(PhantomData); #[pallet::hooks] impl Hooks for Pallet { diff --git a/runtime/common/Cargo.toml b/runtime/common/Cargo.toml index d1ef4098c..7847315f4 100644 --- a/runtime/common/Cargo.toml +++ b/runtime/common/Cargo.toml @@ -19,11 +19,9 @@ dc-primitives = { workspace = true } bp-darwinia-core = { workspace = true } # frontier +fp-account = { workspace = true } pallet-evm = { workspace = true } -# moonbeam -account = { workspace = true } - # polkadot xcm = { workspace = true } xcm-builder = { workspace = true } @@ -55,11 +53,9 @@ std = [ "bp-darwinia-core/std", # frontier + "fp-account/std", "pallet-evm/std", - # moonbeam - "account/std", - # polkadot "xcm/std", "xcm-builder/std", @@ -82,5 +78,5 @@ std = [ test = [] runtime-benchmarks = [ - "pallet-assets/runtime-benchmarks" + "pallet-assets/runtime-benchmarks", ] diff --git a/runtime/common/src/gov_origin.rs b/runtime/common/src/gov_origin.rs index d000b4d5f..322b29dc6 100644 --- a/runtime/common/src/gov_origin.rs +++ b/runtime/common/src/gov_origin.rs @@ -19,7 +19,7 @@ // darwinia use dc_primitives::AccountId; // moonbeam -use account::AccountId20; +use fp_account::AccountId20; // substrate use frame_support::traits::EitherOfDiverse; use frame_system::EnsureRoot; diff --git a/runtime/crab/src/bridges_message/darwinia.rs b/runtime/crab/src/bridges_message/darwinia.rs index 18a6f6b05..84da353c8 100644 --- a/runtime/crab/src/bridges_message/darwinia.rs +++ b/runtime/crab/src/bridges_message/darwinia.rs @@ -119,16 +119,17 @@ impl BridgedChainWithMessages for Darwinia { impl TargetHeaderChain::AccountId> for Darwinia { - type Error = &'static str; type MessagesDeliveryProof = ToDarwiniaMessagesDeliveryProof; - fn verify_message(payload: &ToDarwiniaMessagePayload) -> Result<(), Self::Error> { + fn verify_message( + payload: &ToDarwiniaMessagePayload, + ) -> Result<(), bp_messages::VerificationError> { source::verify_chain_message::(payload) } fn verify_messages_delivery_proof( proof: Self::MessagesDeliveryProof, - ) -> Result<(LaneId, InboundLaneData), Self::Error> { + ) -> Result<(LaneId, InboundLaneData), bp_messages::VerificationError> { source::verify_messages_delivery_proof_from_parachain::< WithDarwiniaMessageBridge, bp_darwinia::Header, @@ -138,13 +139,15 @@ impl TargetHeaderChain::Ac } } impl SourceHeaderChain<::Balance> for Darwinia { - type Error = &'static str; type MessagesProof = FromDarwiniaMessagesProof; fn verify_messages_proof( proof: Self::MessagesProof, messages_count: u32, - ) -> Result::Balance>>, Self::Error> { + ) -> Result< + ProvedMessages::Balance>>, + bp_messages::VerificationError, + > { target::verify_messages_proof_from_parachain::< WithDarwiniaMessageBridge, bp_darwinia::Header, diff --git a/runtime/crab/src/lib.rs b/runtime/crab/src/lib.rs index 8c651db50..5a7c29ffc 100644 --- a/runtime/crab/src/lib.rs +++ b/runtime/crab/src/lib.rs @@ -368,7 +368,7 @@ sp_api::impl_runtime_apis! { } fn account_code_at(address: sp_core::H160) -> Vec { - EVM::account_codes(address) + pallet_evm::AccountCodes::::get(address) } fn author() -> sp_core::H160 { @@ -380,7 +380,7 @@ sp_api::impl_runtime_apis! { index.to_big_endian(&mut tmp); - EVM::account_storages(address, sp_core::H256::from_slice(&tmp[..])) + pallet_evm::AccountStorages::::get(address, sp_core::H256::from_slice(&tmp[..])) } fn call( @@ -472,15 +472,15 @@ sp_api::impl_runtime_apis! { } fn current_transaction_statuses() -> Option> { - Ethereum::current_transaction_statuses() + pallet_ethereum::CurrentTransactionStatuses::::get() } fn current_block() -> Option { - Ethereum::current_block() + pallet_ethereum::CurrentBlock::::get() } fn current_receipts() -> Option> { - Ethereum::current_receipts() + pallet_ethereum::CurrentReceipts::::get() } fn current_all() -> ( @@ -489,9 +489,9 @@ sp_api::impl_runtime_apis! { Option> ) { ( - Ethereum::current_block(), - Ethereum::current_receipts(), - Ethereum::current_transaction_statuses() + pallet_ethereum::CurrentBlock::::get(), + pallet_ethereum::CurrentReceipts::::get(), + pallet_ethereum::CurrentTransactionStatuses::::get() ) } diff --git a/runtime/darwinia/src/bridges_message/crab.rs b/runtime/darwinia/src/bridges_message/crab.rs index 50fd7b071..49254f759 100644 --- a/runtime/darwinia/src/bridges_message/crab.rs +++ b/runtime/darwinia/src/bridges_message/crab.rs @@ -113,16 +113,17 @@ impl BridgedChainWithMessages for Crab { } } impl TargetHeaderChain::AccountId> for Crab { - type Error = &'static str; type MessagesDeliveryProof = ToCrabMessagesDeliveryProof; - fn verify_message(payload: &ToCrabMessagePayload) -> Result<(), Self::Error> { + fn verify_message( + payload: &ToCrabMessagePayload, + ) -> Result<(), bp_messages::VerificationError> { source::verify_chain_message::(payload) } fn verify_messages_delivery_proof( proof: Self::MessagesDeliveryProof, - ) -> Result<(LaneId, InboundLaneData), Self::Error> { + ) -> Result<(LaneId, InboundLaneData), bp_messages::VerificationError> { source::verify_messages_delivery_proof_from_parachain::< WithCrabMessageBridge, bp_crab::Header, @@ -138,7 +139,10 @@ impl SourceHeaderChain<::Balance> for Crab { fn verify_messages_proof( proof: Self::MessagesProof, messages_count: u32, - ) -> Result::Balance>>, Self::Error> { + ) -> Result< + ProvedMessages::Balance>>, + bp_messages::VerificationError, + > { target::verify_messages_proof_from_parachain::< WithCrabMessageBridge, bp_crab::Header, diff --git a/runtime/darwinia/src/lib.rs b/runtime/darwinia/src/lib.rs index de99380dc..70c715c3d 100644 --- a/runtime/darwinia/src/lib.rs +++ b/runtime/darwinia/src/lib.rs @@ -369,7 +369,7 @@ sp_api::impl_runtime_apis! { } fn account_code_at(address: sp_core::H160) -> Vec { - EVM::account_codes(address) + pallet_evm::AccountCodes::::get(address) } fn author() -> sp_core::H160 { @@ -381,7 +381,7 @@ sp_api::impl_runtime_apis! { index.to_big_endian(&mut tmp); - EVM::account_storages(address, sp_core::H256::from_slice(&tmp[..])) + pallet_evm::AccountStorages::::get(address, sp_core::H256::from_slice(&tmp[..])) } fn call( @@ -473,15 +473,15 @@ sp_api::impl_runtime_apis! { } fn current_transaction_statuses() -> Option> { - Ethereum::current_transaction_statuses() + pallet_ethereum::CurrentTransactionStatuses::::get() } fn current_block() -> Option { - Ethereum::current_block() + pallet_ethereum::CurrentBlock::::get() } fn current_receipts() -> Option> { - Ethereum::current_receipts() + pallet_ethereum::CurrentReceipts::::get() } fn current_all() -> ( @@ -490,9 +490,9 @@ sp_api::impl_runtime_apis! { Option> ) { ( - Ethereum::current_block(), - Ethereum::current_receipts(), - Ethereum::current_transaction_statuses() + pallet_ethereum::CurrentBlock::::get(), + pallet_ethereum::CurrentReceipts::::get(), + pallet_ethereum::CurrentTransactionStatuses::::get() ) } diff --git a/runtime/pangolin/src/bridges_message/pangoro.rs b/runtime/pangolin/src/bridges_message/pangoro.rs index 925f1d3b4..96bdcaa1c 100644 --- a/runtime/pangolin/src/bridges_message/pangoro.rs +++ b/runtime/pangolin/src/bridges_message/pangoro.rs @@ -119,16 +119,15 @@ impl BridgedChainWithMessages for Pangoro { impl TargetHeaderChain::AccountId> for Pangoro { - type Error = &'static str; type MessagesDeliveryProof = ToPangoroMessagesDeliveryProof; - fn verify_message(payload: &ToPangoroMessagePayload) -> Result<(), Self::Error> { + fn verify_message(payload: &ToPangoroMessagePayload) -> Result<(), bp_messages::VerificationError> { source::verify_chain_message::(payload) } fn verify_messages_delivery_proof( proof: Self::MessagesDeliveryProof, - ) -> Result<(LaneId, InboundLaneData), Self::Error> { + ) -> Result<(LaneId, InboundLaneData), bp_messages::VerificationError> { source::verify_messages_delivery_proof_from_parachain::< WithPangoroMessageBridge, bp_pangoro::Header, @@ -138,13 +137,12 @@ impl TargetHeaderChain::Acc } } impl SourceHeaderChain<::Balance> for Pangoro { - type Error = &'static str; type MessagesProof = FromPangoroMessagesProof; fn verify_messages_proof( proof: Self::MessagesProof, messages_count: u32, - ) -> Result::Balance>>, Self::Error> { + ) -> Result::Balance>>, bp_messages::VerificationError> { target::verify_messages_proof_from_parachain::< WithPangoroMessageBridge, bp_pangoro::Header, diff --git a/runtime/pangolin/src/lib.rs b/runtime/pangolin/src/lib.rs index dca45bff7..b1bc130ec 100644 --- a/runtime/pangolin/src/lib.rs +++ b/runtime/pangolin/src/lib.rs @@ -370,7 +370,7 @@ sp_api::impl_runtime_apis! { } fn account_code_at(address: sp_core::H160) -> Vec { - EVM::account_codes(address) + pallet_evm::AccountCodes::::get(address) } fn author() -> sp_core::H160 { @@ -382,7 +382,7 @@ sp_api::impl_runtime_apis! { index.to_big_endian(&mut tmp); - EVM::account_storages(address, sp_core::H256::from_slice(&tmp[..])) + pallet_evm::AccountStorages::::get(address, sp_core::H256::from_slice(&tmp[..])) } fn call( @@ -474,15 +474,15 @@ sp_api::impl_runtime_apis! { } fn current_transaction_statuses() -> Option> { - Ethereum::current_transaction_statuses() + pallet_ethereum::CurrentTransactionStatuses::::get() } fn current_block() -> Option { - Ethereum::current_block() + pallet_ethereum::CurrentBlock::::get() } fn current_receipts() -> Option> { - Ethereum::current_receipts() + pallet_ethereum::CurrentReceipts::::get() } fn current_all() -> ( @@ -491,9 +491,9 @@ sp_api::impl_runtime_apis! { Option> ) { ( - Ethereum::current_block(), - Ethereum::current_receipts(), - Ethereum::current_transaction_statuses() + pallet_ethereum::CurrentBlock::::get(), + pallet_ethereum::CurrentReceipts::::get(), + pallet_ethereum::CurrentTransactionStatuses::::get() ) } diff --git a/runtime/pangoro/src/bridges_message/pangolin.rs b/runtime/pangoro/src/bridges_message/pangolin.rs index 6d6b41dfc..d560e92c3 100644 --- a/runtime/pangoro/src/bridges_message/pangolin.rs +++ b/runtime/pangoro/src/bridges_message/pangolin.rs @@ -119,16 +119,17 @@ impl BridgedChainWithMessages for Pangolin { impl TargetHeaderChain::AccountId> for Pangolin { - type Error = &'static str; type MessagesDeliveryProof = ToPangolinMessagesDeliveryProof; - fn verify_message(payload: &ToPangolinMessagePayload) -> Result<(), Self::Error> { + fn verify_message( + payload: &ToPangolinMessagePayload, + ) -> Result<(), bp_messages::VerificationError> { source::verify_chain_message::(payload) } fn verify_messages_delivery_proof( proof: Self::MessagesDeliveryProof, - ) -> Result<(LaneId, InboundLaneData), Self::Error> { + ) -> Result<(LaneId, InboundLaneData), bp_messages::VerificationError> { source::verify_messages_delivery_proof_from_parachain::< WithPangolinMessageBridge, bp_pangolin::Header, @@ -138,13 +139,15 @@ impl TargetHeaderChain::Ac } } impl SourceHeaderChain<::Balance> for Pangolin { - type Error = &'static str; type MessagesProof = FromPangolinMessagesProof; fn verify_messages_proof( proof: Self::MessagesProof, messages_count: u32, - ) -> Result::Balance>>, Self::Error> { + ) -> Result< + ProvedMessages::Balance>>, + bp_messages::VerificationError, + > { target::verify_messages_proof_from_parachain::< WithPangolinMessageBridge, bp_pangolin::Header, diff --git a/runtime/pangoro/src/lib.rs b/runtime/pangoro/src/lib.rs index 32b39e312..50c20fd3c 100644 --- a/runtime/pangoro/src/lib.rs +++ b/runtime/pangoro/src/lib.rs @@ -369,7 +369,7 @@ sp_api::impl_runtime_apis! { } fn account_code_at(address: sp_core::H160) -> Vec { - EVM::account_codes(address) + pallet_evm::AccountCodes::::get(address) } fn author() -> sp_core::H160 { @@ -381,7 +381,7 @@ sp_api::impl_runtime_apis! { index.to_big_endian(&mut tmp); - EVM::account_storages(address, sp_core::H256::from_slice(&tmp[..])) + pallet_evm::AccountStorages::::get(address, sp_core::H256::from_slice(&tmp[..])) } fn call( @@ -473,15 +473,15 @@ sp_api::impl_runtime_apis! { } fn current_transaction_statuses() -> Option> { - Ethereum::current_transaction_statuses() + pallet_ethereum::CurrentTransactionStatuses::::get() } fn current_block() -> Option { - Ethereum::current_block() + pallet_ethereum::CurrentBlock::::get() } fn current_receipts() -> Option> { - Ethereum::current_receipts() + pallet_ethereum::CurrentReceipts::::get() } fn current_all() -> ( @@ -490,9 +490,9 @@ sp_api::impl_runtime_apis! { Option> ) { ( - Ethereum::current_block(), - Ethereum::current_receipts(), - Ethereum::current_transaction_statuses() + pallet_ethereum::CurrentBlock::::get(), + pallet_ethereum::CurrentReceipts::::get(), + pallet_ethereum::CurrentTransactionStatuses::::get() ) } From 8530448dc12e70e2c597c213a8b7d5411839a605 Mon Sep 17 00:00:00 2001 From: Xavier Lau Date: Mon, 22 May 2023 17:41:53 +0800 Subject: [PATCH 03/27] Companion of paritytech/cumulus#2164 --- node/src/service/mod.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/node/src/service/mod.rs b/node/src/service/mod.rs index af757030d..048614cf4 100644 --- a/node/src/service/mod.rs +++ b/node/src/service/mod.rs @@ -458,6 +458,10 @@ where let relay_chain_slot_duration = Duration::from_secs(6); + let overseer_handle = relay_chain_interface + .overseer_handle() + .map_err(|e| sc_service::Error::Application(Box::new(e)))?; + if validator { let parachain_consensus = build_consensus( client.clone(), @@ -485,6 +489,7 @@ where import_queue: import_queue_service, collator_key: collator_key.expect("Command line arguments do not allow this. qed"), relay_chain_slot_duration, + recovery_handle: Box::new(overseer_handle), }; cumulus_client_service::start_collator(params).await?; @@ -497,6 +502,7 @@ where relay_chain_interface, relay_chain_slot_duration, import_queue: import_queue_service, + recovery_handle: Box::new(overseer_handle), }; cumulus_client_service::start_full_node(params)?; From bee6fcd0294bed5bcf78bf07e80be2dac7c2da19 Mon Sep 17 00:00:00 2001 From: Xavier Lau Date: Mon, 22 May 2023 17:52:40 +0800 Subject: [PATCH 04/27] Companion of paritytech/substrate#13159 --- runtime/crab/src/pallets/collective.rs | 2 ++ runtime/darwinia/src/pallets/collective.rs | 2 ++ runtime/pangolin/src/pallets/collective.rs | 2 ++ runtime/pangoro/src/pallets/collective.rs | 2 ++ 4 files changed, 8 insertions(+) diff --git a/runtime/crab/src/pallets/collective.rs b/runtime/crab/src/pallets/collective.rs index 5168b8bf0..64ff65181 100644 --- a/runtime/crab/src/pallets/collective.rs +++ b/runtime/crab/src/pallets/collective.rs @@ -36,6 +36,7 @@ impl pallet_collective::Config for Runtime { type Proposal = RuntimeCall; type RuntimeEvent = RuntimeEvent; type RuntimeOrigin = RuntimeOrigin; + type SetMembersOrigin = Root; type WeightInfo = weights::pallet_collective_council::WeightInfo; } impl pallet_collective::Config for Runtime { @@ -46,5 +47,6 @@ impl pallet_collective::Config for Runtime { type Proposal = RuntimeCall; type RuntimeEvent = RuntimeEvent; type RuntimeOrigin = RuntimeOrigin; + type SetMembersOrigin = Root; type WeightInfo = weights::pallet_collective_technical_committee::WeightInfo; } diff --git a/runtime/darwinia/src/pallets/collective.rs b/runtime/darwinia/src/pallets/collective.rs index f0d0365ff..2fa90db32 100644 --- a/runtime/darwinia/src/pallets/collective.rs +++ b/runtime/darwinia/src/pallets/collective.rs @@ -36,6 +36,7 @@ impl pallet_collective::Config for Runtime { type Proposal = RuntimeCall; type RuntimeEvent = RuntimeEvent; type RuntimeOrigin = RuntimeOrigin; + type SetMembersOrigin = Root; type WeightInfo = weights::pallet_collective_council::WeightInfo; } impl pallet_collective::Config for Runtime { @@ -46,5 +47,6 @@ impl pallet_collective::Config for Runtime { type Proposal = RuntimeCall; type RuntimeEvent = RuntimeEvent; type RuntimeOrigin = RuntimeOrigin; + type SetMembersOrigin = Root; type WeightInfo = weights::pallet_collective_technical_committee::WeightInfo; } diff --git a/runtime/pangolin/src/pallets/collective.rs b/runtime/pangolin/src/pallets/collective.rs index 5168b8bf0..64ff65181 100644 --- a/runtime/pangolin/src/pallets/collective.rs +++ b/runtime/pangolin/src/pallets/collective.rs @@ -36,6 +36,7 @@ impl pallet_collective::Config for Runtime { type Proposal = RuntimeCall; type RuntimeEvent = RuntimeEvent; type RuntimeOrigin = RuntimeOrigin; + type SetMembersOrigin = Root; type WeightInfo = weights::pallet_collective_council::WeightInfo; } impl pallet_collective::Config for Runtime { @@ -46,5 +47,6 @@ impl pallet_collective::Config for Runtime { type Proposal = RuntimeCall; type RuntimeEvent = RuntimeEvent; type RuntimeOrigin = RuntimeOrigin; + type SetMembersOrigin = Root; type WeightInfo = weights::pallet_collective_technical_committee::WeightInfo; } diff --git a/runtime/pangoro/src/pallets/collective.rs b/runtime/pangoro/src/pallets/collective.rs index 5168b8bf0..64ff65181 100644 --- a/runtime/pangoro/src/pallets/collective.rs +++ b/runtime/pangoro/src/pallets/collective.rs @@ -36,6 +36,7 @@ impl pallet_collective::Config for Runtime { type Proposal = RuntimeCall; type RuntimeEvent = RuntimeEvent; type RuntimeOrigin = RuntimeOrigin; + type SetMembersOrigin = Root; type WeightInfo = weights::pallet_collective_council::WeightInfo; } impl pallet_collective::Config for Runtime { @@ -46,5 +47,6 @@ impl pallet_collective::Config for Runtime { type Proposal = RuntimeCall; type RuntimeEvent = RuntimeEvent; type RuntimeOrigin = RuntimeOrigin; + type SetMembersOrigin = Root; type WeightInfo = weights::pallet_collective_technical_committee::WeightInfo; } From 6ac22ffcaf1b354b6c11027bb6fe805f9c25f8a1 Mon Sep 17 00:00:00 2001 From: Xavier Lau Date: Mon, 22 May 2023 18:05:21 +0800 Subject: [PATCH 05/27] Companion of paritytech/cumulus#1909 --- node/src/service/mod.rs | 31 ++++++++++++++++++------------- 1 file changed, 18 insertions(+), 13 deletions(-) diff --git a/node/src/service/mod.rs b/node/src/service/mod.rs index 048614cf4..e0adea1e8 100644 --- a/node/src/service/mod.rs +++ b/node/src/service/mod.rs @@ -314,10 +314,12 @@ where hwbench.clone(), ) .await - .map_err(|e| sc_service::Error::Application(Box::new(e) as Box<_>))?; - - let block_announce_validator = - cumulus_client_network::BlockAnnounceValidator::new(relay_chain_interface.clone(), para_id); + .map_err(|e| match e { + cumulus_relay_chain_interface::RelayChainError::ServiceError( + polkadot_service::Error::Sub(x), + ) => x, + s => s.to_string().into(), + })?; let force_authoring = parachain_config.force_authoring; let validator = parachain_config.role.is_authority(); @@ -325,17 +327,19 @@ where let import_queue_service = import_queue.service(); let (network, system_rpc_tx, tx_handler_controller, start_network) = - sc_service::build_network(sc_service::BuildNetworkParams { - config: ¶chain_config, + sc_service::build_network(cumulus_client_service::BuildNetworkParams { + parachain_config: ¶chain_config, client: client.clone(), transaction_pool: transaction_pool.clone(), + para_id, spawn_handle: task_manager.spawn_handle(), + relay_chain_interface: relay_chain_interface.clone(), import_queue, block_announce_validator_builder: Some(Box::new(|_| { Box::new(block_announce_validator) })), - warp_sync: None, - })?; + }) + .await?; if parachain_config.offchain_worker.enabled { sc_service::build_offchain_workers( @@ -710,15 +714,16 @@ where } = new_partial::(&config, eth_rpc_config)?; let (network, system_rpc_tx, tx_handler_controller, start_network) = - sc_service::build_network(sc_service::BuildNetworkParams { - config: &config, + sc_service::build_network(cumulus_client_service::BuildNetworkParams { + parachain_config: &config, client: client.clone(), transaction_pool: transaction_pool.clone(), + para_id, spawn_handle: task_manager.spawn_handle(), + relay_chain_interface: relay_chain_interface.clone(), import_queue, - block_announce_validator_builder: None, - warp_sync: None, - })?; + }) + .await?; if config.offchain_worker.enabled { let offchain_workers = Arc::new(sc_offchain::OffchainWorkers::new_with_options( From 83d48201f84daa4268685f5deb80969ff65052de Mon Sep 17 00:00:00 2001 From: Xavier Lau Date: Mon, 22 May 2023 18:13:33 +0800 Subject: [PATCH 06/27] Fmt --- runtime/pangolin/src/bridges_message/pangoro.rs | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/runtime/pangolin/src/bridges_message/pangoro.rs b/runtime/pangolin/src/bridges_message/pangoro.rs index 96bdcaa1c..95687650c 100644 --- a/runtime/pangolin/src/bridges_message/pangoro.rs +++ b/runtime/pangolin/src/bridges_message/pangoro.rs @@ -121,7 +121,9 @@ impl TargetHeaderChain::Acc { type MessagesDeliveryProof = ToPangoroMessagesDeliveryProof; - fn verify_message(payload: &ToPangoroMessagePayload) -> Result<(), bp_messages::VerificationError> { + fn verify_message( + payload: &ToPangoroMessagePayload, + ) -> Result<(), bp_messages::VerificationError> { source::verify_chain_message::(payload) } @@ -142,7 +144,10 @@ impl SourceHeaderChain<::Balance> for Pangoro { fn verify_messages_proof( proof: Self::MessagesProof, messages_count: u32, - ) -> Result::Balance>>, bp_messages::VerificationError> { + ) -> Result< + ProvedMessages::Balance>>, + bp_messages::VerificationError, + > { target::verify_messages_proof_from_parachain::< WithPangoroMessageBridge, bp_pangoro::Header, From a3fa551b600fa434426b705d7be8b9f570f28b05 Mon Sep 17 00:00:00 2001 From: Xavier Lau Date: Mon, 22 May 2023 18:15:20 +0800 Subject: [PATCH 07/27] Companion of paritytech/polkadot#6744 --- node/src/command.rs | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/node/src/command.rs b/node/src/command.rs index 82a54f5a9..f47e8c1a7 100644 --- a/node/src/command.rs +++ b/node/src/command.rs @@ -595,48 +595,51 @@ pub fn run() -> Result<()> { #[cfg(feature = "try-runtime")] Some(Subcommand::TryRuntime(cmd)) => { use sc_service::TaskManager; + use sc_executor::{sp_wasm_interface::ExtendedHostFunctions, NativeExecutionDispatch}; + use try_runtime_cli::block_building_info; let runner = cli.create_runner(cmd)?; let chain_spec = &runner.config().chain_spec; set_default_ss58_version(chain_spec); - use sc_executor::{sp_wasm_interface::ExtendedHostFunctions, NativeExecutionDispatch}; type HostFunctionsOf = ExtendedHostFunctions< sp_io::SubstrateHostFunctions, ::ExtendHostFunctions, >; + // grab the task manager. let registry = &runner.config().prometheus_config.as_ref().map(|cfg| &cfg.registry); let task_manager = TaskManager::new(runner.config().tokio_handle.clone(), *registry) .map_err(|e| format!("Error: {:?}", e))?; + let info_provider = block_building_info::timestamp_with_aura_info(6000); #[cfg(feature = "crab-native")] if chain_spec.is_crab() { return runner.async_run(|_| { - Ok((cmd.run::>(), task_manager)) + Ok((cmd.run::, _>(Some(info_provider)), task_manager)) }); } #[cfg(feature = "darwinia-native")] if chain_spec.is_darwinia() { return runner.async_run(|_| { - Ok((cmd.run::>(), task_manager)) + Ok((cmd.run::, _>(Some(info_provider)), task_manager)) }); } #[cfg(feature = "pangolin-native")] if chain_spec.is_pangolin() { return runner.async_run(|_| { - Ok((cmd.run::>(), task_manager)) + Ok((cmd.run::, _>(Some(info_provider)), task_manager)) }); } #[cfg(feature = "pangoro-native")] if chain_spec.is_pangoro() { return runner.async_run(|_| { - Ok((cmd.run::>(), task_manager)) + Ok((cmd.run::, _>(Some(info_provider)), task_manager)) }); } From 2386d87df75724d47e1e259ebf24f082b1465875 Mon Sep 17 00:00:00 2001 From: Xavier Lau Date: Mon, 22 May 2023 18:58:42 +0800 Subject: [PATCH 08/27] Companion of paritytech/cumulus#2245 --- .maintain/pallet-weight-template.hbs | 16 ++--- pallet/account-migration/src/weights.rs | 40 ++++++------ pallet/deposit/src/weights.rs | 24 +++---- pallet/ecdsa-authority/src/weights.rs | 48 +++++++------- pallet/message-transact/src/mock.rs | 2 +- pallet/message-transact/src/tests/eip1559.rs | 4 +- pallet/message-transact/src/tests/eip2930.rs | 4 +- pallet/message-transact/src/tests/legacy.rs | 4 +- pallet/message-transact/src/tests/mod.rs | 2 +- pallet/staking/src/weights.rs | 64 +++++++++---------- precompile/assets/src/mock.rs | 2 +- precompile/bls12-381/src/lib.rs | 2 +- precompile/deposit/src/mock.rs | 2 +- precompile/staking/src/mock.rs | 2 +- precompile/state-storage/src/mock.rs | 2 +- runtime/crab/src/pallets/evm.rs | 5 +- runtime/crab/src/weights/block_weights.rs | 2 +- .../src/weights/cumulus_pallet_xcmp_queue.rs | 4 +- .../src/weights/darwinia_account_migration.rs | 8 +-- runtime/crab/src/weights/darwinia_staking.rs | 4 +- runtime/crab/src/weights/extrinsic_weights.rs | 2 +- runtime/crab/src/weights/frame_system.rs | 12 ++-- runtime/crab/src/weights/pallet_assets.rs | 56 ++++++++-------- runtime/crab/src/weights/pallet_balances.rs | 14 ++-- .../crab/src/weights/pallet_bridge_grandpa.rs | 4 +- .../src/weights/pallet_collective_council.rs | 50 +++++++-------- .../pallet_collective_technical_committee.rs | 52 +++++++-------- runtime/crab/src/weights/pallet_democracy.rs | 44 ++++++------- .../src/weights/pallet_elections_phragmen.rs | 34 +++++----- runtime/crab/src/weights/pallet_fee_market.rs | 14 ++-- runtime/crab/src/weights/pallet_identity.rs | 60 ++++++++--------- runtime/crab/src/weights/pallet_membership.rs | 14 ++-- runtime/crab/src/weights/pallet_preimage.rs | 24 +++---- runtime/crab/src/weights/pallet_proxy.rs | 34 +++++----- runtime/crab/src/weights/pallet_scheduler.rs | 24 +++---- runtime/crab/src/weights/pallet_session.rs | 4 +- runtime/crab/src/weights/pallet_timestamp.rs | 4 +- runtime/crab/src/weights/pallet_tips.rs | 16 ++--- runtime/crab/src/weights/pallet_treasury.rs | 12 ++-- runtime/crab/src/weights/pallet_utility.rs | 10 +-- runtime/crab/src/weights/pallet_vesting.rs | 40 ++++++------ runtime/darwinia/src/bridges_message/crab.rs | 1 - runtime/darwinia/src/pallets/evm.rs | 5 +- runtime/darwinia/src/weights/block_weights.rs | 2 +- .../src/weights/cumulus_pallet_xcmp_queue.rs | 4 +- .../src/weights/darwinia_account_migration.rs | 8 +-- .../darwinia/src/weights/darwinia_staking.rs | 4 +- .../darwinia/src/weights/extrinsic_weights.rs | 2 +- runtime/darwinia/src/weights/frame_system.rs | 12 ++-- runtime/darwinia/src/weights/pallet_assets.rs | 56 ++++++++-------- .../darwinia/src/weights/pallet_balances.rs | 14 ++-- .../src/weights/pallet_bridge_grandpa.rs | 4 +- .../src/weights/pallet_collective_council.rs | 52 +++++++-------- .../pallet_collective_technical_committee.rs | 56 ++++++++-------- .../darwinia/src/weights/pallet_democracy.rs | 44 ++++++------- .../src/weights/pallet_elections_phragmen.rs | 32 +++++----- .../darwinia/src/weights/pallet_fee_market.rs | 14 ++-- .../darwinia/src/weights/pallet_identity.rs | 56 ++++++++-------- .../darwinia/src/weights/pallet_membership.rs | 14 ++-- .../darwinia/src/weights/pallet_preimage.rs | 24 +++---- runtime/darwinia/src/weights/pallet_proxy.rs | 28 ++++---- .../darwinia/src/weights/pallet_scheduler.rs | 24 +++---- .../darwinia/src/weights/pallet_session.rs | 4 +- .../darwinia/src/weights/pallet_timestamp.rs | 4 +- runtime/darwinia/src/weights/pallet_tips.rs | 16 ++--- .../darwinia/src/weights/pallet_treasury.rs | 12 ++-- .../darwinia/src/weights/pallet_utility.rs | 10 +-- .../darwinia/src/weights/pallet_vesting.rs | 36 +++++------ runtime/pangolin/src/pallets/evm.rs | 5 +- runtime/pangolin/src/weights/block_weights.rs | 2 +- .../src/weights/cumulus_pallet_xcmp_queue.rs | 4 +- .../src/weights/darwinia_account_migration.rs | 6 +- .../pangolin/src/weights/darwinia_staking.rs | 4 +- .../pangolin/src/weights/extrinsic_weights.rs | 2 +- runtime/pangolin/src/weights/frame_system.rs | 12 ++-- runtime/pangolin/src/weights/pallet_assets.rs | 56 ++++++++-------- .../pangolin/src/weights/pallet_balances.rs | 14 ++-- .../src/weights/pallet_bridge_grandpa.rs | 4 +- .../src/weights/pallet_collective_council.rs | 52 +++++++-------- .../pallet_collective_technical_committee.rs | 52 +++++++-------- .../pangolin/src/weights/pallet_democracy.rs | 44 ++++++------- .../src/weights/pallet_elections_phragmen.rs | 34 +++++----- .../pangolin/src/weights/pallet_fee_market.rs | 14 ++-- .../pangolin/src/weights/pallet_identity.rs | 58 ++++++++--------- .../pangolin/src/weights/pallet_membership.rs | 14 ++-- .../pangolin/src/weights/pallet_preimage.rs | 24 +++---- runtime/pangolin/src/weights/pallet_proxy.rs | 32 +++++----- .../pangolin/src/weights/pallet_scheduler.rs | 24 +++---- .../pangolin/src/weights/pallet_session.rs | 4 +- .../pangolin/src/weights/pallet_timestamp.rs | 4 +- runtime/pangolin/src/weights/pallet_tips.rs | 16 ++--- .../pangolin/src/weights/pallet_treasury.rs | 12 ++-- .../pangolin/src/weights/pallet_utility.rs | 10 +-- .../pangolin/src/weights/pallet_vesting.rs | 40 ++++++------ runtime/pangoro/src/pallets/evm.rs | 5 +- runtime/pangoro/src/weights/block_weights.rs | 2 +- .../src/weights/cumulus_pallet_xcmp_queue.rs | 4 +- .../src/weights/darwinia_account_migration.rs | 8 +-- .../pangoro/src/weights/darwinia_staking.rs | 4 +- .../pangoro/src/weights/extrinsic_weights.rs | 2 +- runtime/pangoro/src/weights/frame_system.rs | 12 ++-- runtime/pangoro/src/weights/pallet_assets.rs | 52 +++++++-------- .../pangoro/src/weights/pallet_balances.rs | 14 ++-- .../src/weights/pallet_bridge_grandpa.rs | 4 +- .../src/weights/pallet_collective_council.rs | 54 ++++++++-------- .../pallet_collective_technical_committee.rs | 52 +++++++-------- .../pangoro/src/weights/pallet_democracy.rs | 44 ++++++------- .../src/weights/pallet_elections_phragmen.rs | 32 +++++----- .../pangoro/src/weights/pallet_fee_market.rs | 14 ++-- .../pangoro/src/weights/pallet_identity.rs | 58 ++++++++--------- .../pangoro/src/weights/pallet_membership.rs | 14 ++-- .../pangoro/src/weights/pallet_preimage.rs | 24 +++---- runtime/pangoro/src/weights/pallet_proxy.rs | 28 ++++---- .../pangoro/src/weights/pallet_scheduler.rs | 24 +++---- runtime/pangoro/src/weights/pallet_session.rs | 4 +- .../pangoro/src/weights/pallet_timestamp.rs | 4 +- runtime/pangoro/src/weights/pallet_tips.rs | 16 ++--- .../pangoro/src/weights/pallet_treasury.rs | 12 ++-- runtime/pangoro/src/weights/pallet_utility.rs | 10 +-- runtime/pangoro/src/weights/pallet_vesting.rs | 32 +++++----- 120 files changed, 1193 insertions(+), 1182 deletions(-) diff --git a/.maintain/pallet-weight-template.hbs b/.maintain/pallet-weight-template.hbs index a0a51891f..c0fc7df88 100644 --- a/.maintain/pallet-weight-template.hbs +++ b/.maintain/pallet-weight-template.hbs @@ -54,11 +54,11 @@ impl WeightInfo for SubstrateWeight { // Measured: `{{benchmark.base_recorded_proof_size}}{{#each benchmark.component_recorded_proof_size as |cp|}} + {{cp.name}} * ({{cp.slope}} ±{{underscore cp.error}}){{/each}}` // Estimated: `{{benchmark.base_calculated_proof_size}}{{#each benchmark.component_calculated_proof_size as |cp|}} + {{cp.name}} * ({{cp.slope}} ±{{underscore cp.error}}){{/each}}` // Minimum execution time: {{underscore benchmark.min_execution_time}} nanoseconds. - Weight::from_ref_time({{underscore benchmark.base_weight}}) - .saturating_add(Weight::from_proof_size({{benchmark.base_calculated_proof_size}})) + Weight::from_parts({{underscore benchmark.base_weight}}, 0) + .saturating_add(Weight::from_parts({{benchmark.base_calculated_proof_size}}, 0)) {{#each benchmark.component_weight as |cw|}} // Standard Error: {{underscore cw.error}} - .saturating_add(Weight::from_ref_time({{underscore cw.slope}}).saturating_mul({{cw.name}}.into())) + .saturating_add(Weight::from_parts({{underscore cw.slope}}, 0).saturating_mul({{cw.name}}.into())) {{/each}} {{#if (ne benchmark.base_reads "0")}} .saturating_add(T::DbWeight::get().reads({{benchmark.base_reads}}_u64)) @@ -73,7 +73,7 @@ impl WeightInfo for SubstrateWeight { .saturating_add(T::DbWeight::get().writes(({{cw.slope}}_u64).saturating_mul({{cw.name}}.into()))) {{/each}} {{#each benchmark.component_calculated_proof_size as |cp|}} - .saturating_add(Weight::from_proof_size({{cp.slope}}).saturating_mul({{cp.name}}.into())) + .saturating_add(Weight::from_parts({{cp.slope}}, 0).saturating_mul({{cp.name}}.into())) {{/each}} } {{/each}} @@ -97,11 +97,11 @@ impl WeightInfo for () { // Measured: `{{benchmark.base_recorded_proof_size}}{{#each benchmark.component_recorded_proof_size as |cp|}} + {{cp.name}} * ({{cp.slope}} ±{{underscore cp.error}}){{/each}}` // Estimated: `{{benchmark.base_calculated_proof_size}}{{#each benchmark.component_calculated_proof_size as |cp|}} + {{cp.name}} * ({{cp.slope}} ±{{underscore cp.error}}){{/each}}` // Minimum execution time: {{underscore benchmark.min_execution_time}} nanoseconds. - Weight::from_ref_time({{underscore benchmark.base_weight}}) - .saturating_add(Weight::from_proof_size({{benchmark.base_calculated_proof_size}})) + Weight::from_parts({{underscore benchmark.base_weight}}, 0) + .saturating_add(Weight::from_parts({{benchmark.base_calculated_proof_size}}, 0)) {{#each benchmark.component_weight as |cw|}} // Standard Error: {{underscore cw.error}} - .saturating_add(Weight::from_ref_time({{underscore cw.slope}}).saturating_mul({{cw.name}}.into())) + .saturating_add(Weight::from_parts({{underscore cw.slope}}, 0).saturating_mul({{cw.name}}.into())) {{/each}} {{#if (ne benchmark.base_reads "0")}} .saturating_add(RocksDbWeight::get().reads({{benchmark.base_reads}}_u64)) @@ -116,7 +116,7 @@ impl WeightInfo for () { .saturating_add(RocksDbWeight::get().writes(({{cw.slope}}_u64).saturating_mul({{cw.name}}.into()))) {{/each}} {{#each benchmark.component_calculated_proof_size as |cp|}} - .saturating_add(Weight::from_proof_size({{cp.slope}}).saturating_mul({{cp.name}}.into())) + .saturating_add(Weight::from_parts({{cp.slope}}, 0).saturating_mul({{cp.name}}.into())) {{/each}} } {{/each}} diff --git a/pallet/account-migration/src/weights.rs b/pallet/account-migration/src/weights.rs index dc6515e8b..b076e24d5 100644 --- a/pallet/account-migration/src/weights.rs +++ b/pallet/account-migration/src/weights.rs @@ -98,8 +98,8 @@ impl WeightInfo for SubstrateWeight { // Measured: `5667` // Estimated: `52015` // Minimum execution time: 169_486 nanoseconds. - Weight::from_ref_time(169_486_000) - .saturating_add(Weight::from_proof_size(52015)) + Weight::from_parts(169_486_000, 0) + .saturating_add(Weight::from_parts(52015, 0)) .saturating_add(T::DbWeight::get().reads(12_u64)) .saturating_add(T::DbWeight::get().writes(18_u64)) } @@ -143,16 +143,16 @@ impl WeightInfo for SubstrateWeight { // Measured: `5328 + z * (3 ±0)` // Estimated: `52015 + y * (7 ±0) + z * (3 ±0)` // Minimum execution time: 24_233 nanoseconds. - Weight::from_ref_time(153_169_000) - .saturating_add(Weight::from_proof_size(52015)) + Weight::from_parts(153_169_000, 0) + .saturating_add(Weight::from_parts(52015, 0)) // Standard Error: 7_204 - .saturating_add(Weight::from_ref_time(13_888).saturating_mul(x.into())) + .saturating_add(Weight::from_parts(13_888, 0).saturating_mul(x.into())) // Standard Error: 7_204 - .saturating_add(Weight::from_ref_time(138_484).saturating_mul(z.into())) + .saturating_add(Weight::from_parts(138_484, 0).saturating_mul(z.into())) .saturating_add(T::DbWeight::get().reads(12_u64)) .saturating_add(T::DbWeight::get().writes(18_u64)) - .saturating_add(Weight::from_proof_size(7).saturating_mul(y.into())) - .saturating_add(Weight::from_proof_size(3).saturating_mul(z.into())) + .saturating_add(Weight::from_parts(7, 0).saturating_mul(y.into())) + .saturating_add(Weight::from_parts(3, 0).saturating_mul(z.into())) } /// Storage: AccountMigration Multisigs (r:1 w:1) /// Proof Skipped: AccountMigration Multisigs (max_values: None, max_size: None, mode: Measured) @@ -163,8 +163,8 @@ impl WeightInfo for SubstrateWeight { // Measured: `4848` // Estimated: `9914` // Minimum execution time: 20_927 nanoseconds. - Weight::from_ref_time(20_927_000) - .saturating_add(Weight::from_proof_size(9914)) + Weight::from_parts(20_927_000, 0) + .saturating_add(Weight::from_parts(9914, 0)) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -207,8 +207,8 @@ impl WeightInfo for () { // Measured: `5667` // Estimated: `52015` // Minimum execution time: 169_486 nanoseconds. - Weight::from_ref_time(169_486_000) - .saturating_add(Weight::from_proof_size(52015)) + Weight::from_parts(169_486_000, 0) + .saturating_add(Weight::from_parts(52015, 0)) .saturating_add(RocksDbWeight::get().reads(12_u64)) .saturating_add(RocksDbWeight::get().writes(18_u64)) } @@ -252,16 +252,16 @@ impl WeightInfo for () { // Measured: `5328 + z * (3 ±0)` // Estimated: `52015 + y * (7 ±0) + z * (3 ±0)` // Minimum execution time: 24_233 nanoseconds. - Weight::from_ref_time(153_169_000) - .saturating_add(Weight::from_proof_size(52015)) + Weight::from_parts(153_169_000, 0) + .saturating_add(Weight::from_parts(52015, 0)) // Standard Error: 7_204 - .saturating_add(Weight::from_ref_time(13_888).saturating_mul(x.into())) + .saturating_add(Weight::from_parts(13_888, 0).saturating_mul(x.into())) // Standard Error: 7_204 - .saturating_add(Weight::from_ref_time(138_484).saturating_mul(z.into())) + .saturating_add(Weight::from_parts(138_484, 0).saturating_mul(z.into())) .saturating_add(RocksDbWeight::get().reads(12_u64)) .saturating_add(RocksDbWeight::get().writes(18_u64)) - .saturating_add(Weight::from_proof_size(7).saturating_mul(y.into())) - .saturating_add(Weight::from_proof_size(3).saturating_mul(z.into())) + .saturating_add(Weight::from_parts(7, 0).saturating_mul(y.into())) + .saturating_add(Weight::from_parts(3, 0).saturating_mul(z.into())) } /// Storage: AccountMigration Multisigs (r:1 w:1) /// Proof Skipped: AccountMigration Multisigs (max_values: None, max_size: None, mode: Measured) @@ -272,8 +272,8 @@ impl WeightInfo for () { // Measured: `4848` // Estimated: `9914` // Minimum execution time: 20_927 nanoseconds. - Weight::from_ref_time(20_927_000) - .saturating_add(Weight::from_proof_size(9914)) + Weight::from_parts(20_927_000, 0) + .saturating_add(Weight::from_parts(9914, 0)) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } diff --git a/pallet/deposit/src/weights.rs b/pallet/deposit/src/weights.rs index 3df89e8f2..5fc4f567d 100644 --- a/pallet/deposit/src/weights.rs +++ b/pallet/deposit/src/weights.rs @@ -78,8 +78,8 @@ impl WeightInfo for SubstrateWeight { // Measured: `3208` // Estimated: `11632` // Minimum execution time: 51_636 nanoseconds. - Weight::from_ref_time(51_636_000) - .saturating_add(Weight::from_proof_size(11632)) + Weight::from_parts(51_636_000, 0) + .saturating_add(Weight::from_parts(11632, 0)) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -94,8 +94,8 @@ impl WeightInfo for SubstrateWeight { // Measured: `2906` // Estimated: `6422` // Minimum execution time: 73_239 nanoseconds. - Weight::from_ref_time(73_239_000) - .saturating_add(Weight::from_proof_size(6422)) + Weight::from_parts(73_239_000, 0) + .saturating_add(Weight::from_parts(6422, 0)) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -112,8 +112,8 @@ impl WeightInfo for SubstrateWeight { // Measured: `2420` // Estimated: `9041` // Minimum execution time: 52_162 nanoseconds. - Weight::from_ref_time(52_162_000) - .saturating_add(Weight::from_proof_size(9041)) + Weight::from_parts(52_162_000, 0) + .saturating_add(Weight::from_parts(9041, 0)) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -136,8 +136,8 @@ impl WeightInfo for () { // Measured: `3208` // Estimated: `11632` // Minimum execution time: 51_636 nanoseconds. - Weight::from_ref_time(51_636_000) - .saturating_add(Weight::from_proof_size(11632)) + Weight::from_parts(51_636_000, 0) + .saturating_add(Weight::from_parts(11632, 0)) .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } @@ -152,8 +152,8 @@ impl WeightInfo for () { // Measured: `2906` // Estimated: `6422` // Minimum execution time: 73_239 nanoseconds. - Weight::from_ref_time(73_239_000) - .saturating_add(Weight::from_proof_size(6422)) + Weight::from_parts(73_239_000, 0) + .saturating_add(Weight::from_parts(6422, 0)) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -170,8 +170,8 @@ impl WeightInfo for () { // Measured: `2420` // Estimated: `9041` // Minimum execution time: 52_162 nanoseconds. - Weight::from_ref_time(52_162_000) - .saturating_add(Weight::from_proof_size(9041)) + Weight::from_parts(52_162_000, 0) + .saturating_add(Weight::from_parts(9041, 0)) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } diff --git a/pallet/ecdsa-authority/src/weights.rs b/pallet/ecdsa-authority/src/weights.rs index e61590387..a5347273f 100644 --- a/pallet/ecdsa-authority/src/weights.rs +++ b/pallet/ecdsa-authority/src/weights.rs @@ -77,8 +77,8 @@ impl WeightInfo for SubstrateWeight { // Measured: `894` // Estimated: `4167` // Minimum execution time: 23_399 nanoseconds. - Weight::from_ref_time(23_399_000) - .saturating_add(Weight::from_proof_size(4167)) + Weight::from_parts(23_399_000, 0) + .saturating_add(Weight::from_parts(4167, 0)) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -93,8 +93,8 @@ impl WeightInfo for SubstrateWeight { // Measured: `1071` // Estimated: `4698` // Minimum execution time: 34_089 nanoseconds. - Weight::from_ref_time(34_089_000) - .saturating_add(Weight::from_proof_size(4698)) + Weight::from_parts(34_089_000, 0) + .saturating_add(Weight::from_parts(4698, 0)) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -109,8 +109,8 @@ impl WeightInfo for SubstrateWeight { // Measured: `1182` // Estimated: `5031` // Minimum execution time: 40_182 nanoseconds. - Weight::from_ref_time(40_182_000) - .saturating_add(Weight::from_proof_size(5031)) + Weight::from_parts(40_182_000, 0) + .saturating_add(Weight::from_parts(5031, 0)) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -125,8 +125,8 @@ impl WeightInfo for SubstrateWeight { // Measured: `1202` // Estimated: `5091` // Minimum execution time: 25_077 nanoseconds. - Weight::from_ref_time(25_077_000) - .saturating_add(Weight::from_proof_size(5091)) + Weight::from_parts(25_077_000, 0) + .saturating_add(Weight::from_parts(5091, 0)) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -145,8 +145,8 @@ impl WeightInfo for SubstrateWeight { // Measured: `1299` // Estimated: `8475` // Minimum execution time: 33_450 nanoseconds. - Weight::from_ref_time(33_450_000) - .saturating_add(Weight::from_proof_size(8475)) + Weight::from_parts(33_450_000, 0) + .saturating_add(Weight::from_parts(8475, 0)) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -159,8 +159,8 @@ impl WeightInfo for SubstrateWeight { // Measured: `1260` // Estimated: `3510` // Minimum execution time: 27_202 nanoseconds. - Weight::from_ref_time(27_202_000) - .saturating_add(Weight::from_proof_size(3510)) + Weight::from_parts(27_202_000, 0) + .saturating_add(Weight::from_parts(3510, 0)) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -179,8 +179,8 @@ impl WeightInfo for () { // Measured: `894` // Estimated: `4167` // Minimum execution time: 23_399 nanoseconds. - Weight::from_ref_time(23_399_000) - .saturating_add(Weight::from_proof_size(4167)) + Weight::from_parts(23_399_000, 0) + .saturating_add(Weight::from_parts(4167, 0)) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -195,8 +195,8 @@ impl WeightInfo for () { // Measured: `1071` // Estimated: `4698` // Minimum execution time: 34_089 nanoseconds. - Weight::from_ref_time(34_089_000) - .saturating_add(Weight::from_proof_size(4698)) + Weight::from_parts(34_089_000, 0) + .saturating_add(Weight::from_parts(4698, 0)) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -211,8 +211,8 @@ impl WeightInfo for () { // Measured: `1182` // Estimated: `5031` // Minimum execution time: 40_182 nanoseconds. - Weight::from_ref_time(40_182_000) - .saturating_add(Weight::from_proof_size(5031)) + Weight::from_parts(40_182_000, 0) + .saturating_add(Weight::from_parts(5031, 0)) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -227,8 +227,8 @@ impl WeightInfo for () { // Measured: `1202` // Estimated: `5091` // Minimum execution time: 25_077 nanoseconds. - Weight::from_ref_time(25_077_000) - .saturating_add(Weight::from_proof_size(5091)) + Weight::from_parts(25_077_000, 0) + .saturating_add(Weight::from_parts(5091, 0)) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -247,8 +247,8 @@ impl WeightInfo for () { // Measured: `1299` // Estimated: `8475` // Minimum execution time: 33_450 nanoseconds. - Weight::from_ref_time(33_450_000) - .saturating_add(Weight::from_proof_size(8475)) + Weight::from_parts(33_450_000, 0) + .saturating_add(Weight::from_parts(8475, 0)) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } @@ -261,8 +261,8 @@ impl WeightInfo for () { // Measured: `1260` // Estimated: `3510` // Minimum execution time: 27_202 nanoseconds. - Weight::from_ref_time(27_202_000) - .saturating_add(Weight::from_proof_size(3510)) + Weight::from_parts(27_202_000, 0) + .saturating_add(Weight::from_parts(3510, 0)) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } diff --git a/pallet/message-transact/src/mock.rs b/pallet/message-transact/src/mock.rs index 0c019d3fc..4593b438f 100644 --- a/pallet/message-transact/src/mock.rs +++ b/pallet/message-transact/src/mock.rs @@ -104,7 +104,7 @@ frame_support::parameter_types! { pub const TransactionByteFee: u64 = 1; pub const ChainId: u64 = 42; pub const BlockGasLimit: sp_core::U256 = sp_core::U256::MAX; - pub const WeightPerGas: frame_support::weights::Weight = frame_support::weights::Weight::from_ref_time(20_000); + pub const WeightPerGas: frame_support::weights::Weight = frame_support::weights::Weight::from_parts(20_000, 0); } pub struct FixedGasPrice; diff --git a/pallet/message-transact/src/tests/eip1559.rs b/pallet/message-transact/src/tests/eip1559.rs index a10833831..3845dd58b 100644 --- a/pallet/message-transact/src/tests/eip1559.rs +++ b/pallet/message-transact/src/tests/eip1559.rs @@ -114,8 +114,8 @@ fn test_dispatch_eip1559_transaction_weight_mismatch() { pallet_bridge_dispatch::Event::MessageWeightMismatch( SOURCE_CHAIN_ID, mock_message_id, - Weight::from_ref_time(1249900180000), - Weight::from_ref_time(1000000000000), + Weight::from_parts(1249900180000, 0), + Weight::from_parts(1000000000000, 0), ), )); }); diff --git a/pallet/message-transact/src/tests/eip2930.rs b/pallet/message-transact/src/tests/eip2930.rs index 40e35ea84..eca8a5042 100644 --- a/pallet/message-transact/src/tests/eip2930.rs +++ b/pallet/message-transact/src/tests/eip2930.rs @@ -112,8 +112,8 @@ fn test_dispatch_eip2930_transaction_weight_mismatch() { pallet_bridge_dispatch::Event::MessageWeightMismatch( SOURCE_CHAIN_ID, mock_message_id, - Weight::from_ref_time(1249900180000), - Weight::from_ref_time(1000000000000), + Weight::from_parts(1249900180000, 0), + Weight::from_parts(1000000000000, 0), ), )); }); diff --git a/pallet/message-transact/src/tests/legacy.rs b/pallet/message-transact/src/tests/legacy.rs index 1507c4806..dfab94824 100644 --- a/pallet/message-transact/src/tests/legacy.rs +++ b/pallet/message-transact/src/tests/legacy.rs @@ -109,8 +109,8 @@ fn test_dispatch_legacy_transaction_weight_mismatch() { pallet_bridge_dispatch::Event::MessageWeightMismatch( SOURCE_CHAIN_ID, mock_message_id, - Weight::from_ref_time(1249900180000), - Weight::from_ref_time(1000000000000), + Weight::from_parts(1249900180000, 0), + Weight::from_parts(1000000000000, 0), ), )); }); diff --git a/pallet/message-transact/src/tests/mod.rs b/pallet/message-transact/src/tests/mod.rs index 504962de0..a18128b31 100644 --- a/pallet/message-transact/src/tests/mod.rs +++ b/pallet/message-transact/src/tests/mod.rs @@ -39,7 +39,7 @@ pub(crate) type SubChainId = [u8; 4]; pub(crate) const SOURCE_CHAIN_ID: SubChainId = *b"srce"; pub(crate) const TARGET_CHAIN_ID: SubChainId = *b"trgt"; pub(crate) const TEST_WEIGHT: frame_support::weights::Weight = - frame_support::weights::Weight::from_ref_time(1_000_000_000_000); + frame_support::weights::Weight::from_parts(1_000_000_000_000, 0); // This ERC-20 contract mints the maximum amount of tokens to the contract creator. // pragma solidity ^0.5.0; diff --git a/pallet/staking/src/weights.rs b/pallet/staking/src/weights.rs index 53c5714fe..9fa05a9fc 100644 --- a/pallet/staking/src/weights.rs +++ b/pallet/staking/src/weights.rs @@ -88,8 +88,8 @@ impl WeightInfo for SubstrateWeight { // Measured: `2654 + x * (3 ±0)` // Estimated: `18035` // Minimum execution time: 78_209 nanoseconds. - Weight::from_ref_time(134_414_000) - .saturating_add(Weight::from_proof_size(18035)) + Weight::from_parts(134_414_000, 0) + .saturating_add(Weight::from_parts(18035, 0)) .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().writes(8_u64)) } @@ -107,8 +107,8 @@ impl WeightInfo for SubstrateWeight { // Measured: `1538 + x * (3 ±0)` // Estimated: `7665` // Minimum execution time: 26_936 nanoseconds. - Weight::from_ref_time(66_646_000) - .saturating_add(Weight::from_proof_size(7665)) + Weight::from_parts(66_646_000, 0) + .saturating_add(Weight::from_parts(7665, 0)) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -126,8 +126,8 @@ impl WeightInfo for SubstrateWeight { // Measured: `1259 + x * (4 ±0)` // Estimated: `7665` // Minimum execution time: 15_250 nanoseconds. - Weight::from_ref_time(53_850_000) - .saturating_add(Weight::from_proof_size(7665)) + Weight::from_parts(53_850_000, 0) + .saturating_add(Weight::from_parts(7665, 0)) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -146,8 +146,8 @@ impl WeightInfo for SubstrateWeight { // Measured: `3984` // Estimated: `17013` // Minimum execution time: 120_477 nanoseconds. - Weight::from_ref_time(120_477_000) - .saturating_add(Weight::from_proof_size(17013)) + Weight::from_parts(120_477_000, 0) + .saturating_add(Weight::from_parts(17013, 0)) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(6_u64)) } @@ -158,8 +158,8 @@ impl WeightInfo for SubstrateWeight { // Measured: `1071` // Estimated: `2507` // Minimum execution time: 22_946 nanoseconds. - Weight::from_ref_time(22_946_000) - .saturating_add(Weight::from_proof_size(2507)) + Weight::from_parts(22_946_000, 0) + .saturating_add(Weight::from_parts(2507, 0)) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -174,8 +174,8 @@ impl WeightInfo for SubstrateWeight { // Measured: `1376` // Estimated: `8345` // Minimum execution time: 17_520 nanoseconds. - Weight::from_ref_time(17_520_000) - .saturating_add(Weight::from_proof_size(8345)) + Weight::from_parts(17_520_000, 0) + .saturating_add(Weight::from_parts(8345, 0)) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -188,8 +188,8 @@ impl WeightInfo for SubstrateWeight { // Measured: `645` // Estimated: `0` // Minimum execution time: 6_802 nanoseconds. - Weight::from_ref_time(6_802_000) - .saturating_add(Weight::from_proof_size(0)) + Weight::from_parts(6_802_000, 0) + .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(2_u64)) } /// Storage: DarwiniaStaking CollatorCount (r:0 w:1) @@ -199,8 +199,8 @@ impl WeightInfo for SubstrateWeight { // Measured: `645` // Estimated: `0` // Minimum execution time: 16_003 nanoseconds. - Weight::from_ref_time(16_003_000) - .saturating_add(Weight::from_proof_size(0)) + Weight::from_parts(16_003_000, 0) + .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1_u64)) } } @@ -227,8 +227,8 @@ impl WeightInfo for () { // Measured: `2654 + x * (3 ±0)` // Estimated: `18035` // Minimum execution time: 78_209 nanoseconds. - Weight::from_ref_time(134_414_000) - .saturating_add(Weight::from_proof_size(18035)) + Weight::from_parts(134_414_000, 0) + .saturating_add(Weight::from_parts(18035, 0)) .saturating_add(RocksDbWeight::get().reads(8_u64)) .saturating_add(RocksDbWeight::get().writes(8_u64)) } @@ -246,8 +246,8 @@ impl WeightInfo for () { // Measured: `1538 + x * (3 ±0)` // Estimated: `7665` // Minimum execution time: 26_936 nanoseconds. - Weight::from_ref_time(66_646_000) - .saturating_add(Weight::from_proof_size(7665)) + Weight::from_parts(66_646_000, 0) + .saturating_add(Weight::from_parts(7665, 0)) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -265,8 +265,8 @@ impl WeightInfo for () { // Measured: `1259 + x * (4 ±0)` // Estimated: `7665` // Minimum execution time: 15_250 nanoseconds. - Weight::from_ref_time(53_850_000) - .saturating_add(Weight::from_proof_size(7665)) + Weight::from_parts(53_850_000, 0) + .saturating_add(Weight::from_parts(7665, 0)) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -285,8 +285,8 @@ impl WeightInfo for () { // Measured: `3984` // Estimated: `17013` // Minimum execution time: 120_477 nanoseconds. - Weight::from_ref_time(120_477_000) - .saturating_add(Weight::from_proof_size(17013)) + Weight::from_parts(120_477_000, 0) + .saturating_add(Weight::from_parts(17013, 0)) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(6_u64)) } @@ -297,8 +297,8 @@ impl WeightInfo for () { // Measured: `1071` // Estimated: `2507` // Minimum execution time: 22_946 nanoseconds. - Weight::from_ref_time(22_946_000) - .saturating_add(Weight::from_proof_size(2507)) + Weight::from_parts(22_946_000, 0) + .saturating_add(Weight::from_parts(2507, 0)) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -313,8 +313,8 @@ impl WeightInfo for () { // Measured: `1376` // Estimated: `8345` // Minimum execution time: 17_520 nanoseconds. - Weight::from_ref_time(17_520_000) - .saturating_add(Weight::from_proof_size(8345)) + Weight::from_parts(17_520_000, 0) + .saturating_add(Weight::from_parts(8345, 0)) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -327,8 +327,8 @@ impl WeightInfo for () { // Measured: `645` // Estimated: `0` // Minimum execution time: 6_802 nanoseconds. - Weight::from_ref_time(6_802_000) - .saturating_add(Weight::from_proof_size(0)) + Weight::from_parts(6_802_000, 0) + .saturating_add(Weight::from_parts(0, 0)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } /// Storage: DarwiniaStaking CollatorCount (r:0 w:1) @@ -338,8 +338,8 @@ impl WeightInfo for () { // Measured: `645` // Estimated: `0` // Minimum execution time: 16_003 nanoseconds. - Weight::from_ref_time(16_003_000) - .saturating_add(Weight::from_proof_size(0)) + Weight::from_parts(16_003_000, 0) + .saturating_add(Weight::from_parts(0, 0)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } } diff --git a/precompile/assets/src/mock.rs b/precompile/assets/src/mock.rs index 01331a96f..c42b997fe 100644 --- a/precompile/assets/src/mock.rs +++ b/precompile/assets/src/mock.rs @@ -148,7 +148,7 @@ impl AccountToAssetId for AssetIdConverter { frame_support::parameter_types! { pub const BlockGasLimit: U256 = U256::MAX; - pub const WeightPerGas: frame_support::weights::Weight = frame_support::weights::Weight::from_ref_time(20_000); + pub const WeightPerGas: frame_support::weights::Weight = frame_support::weights::Weight::from_parts(20_000, 0); pub PrecompilesValue: TestPrecompiles = TestPrecompiles::<_>::new(); } diff --git a/precompile/bls12-381/src/lib.rs b/precompile/bls12-381/src/lib.rs index 3400869a6..a6ea324c0 100644 --- a/precompile/bls12-381/src/lib.rs +++ b/precompile/bls12-381/src/lib.rs @@ -57,7 +57,7 @@ impl BLS12381 { signature: UnboundedBytes, ) -> EvmResult { handle.record_cost(::GasWeightMapping::weight_to_gas( - Weight::from_ref_time(BLS_WEIGHT), + Weight::from_parts(BLS_WEIGHT, 0), ))?; ensure!(pub_keys.len() <= 512, revert("Too many pub keys")); diff --git a/precompile/deposit/src/mock.rs b/precompile/deposit/src/mock.rs index bcaf62c01..5cc6e41b5 100644 --- a/precompile/deposit/src/mock.rs +++ b/precompile/deposit/src/mock.rs @@ -150,7 +150,7 @@ fn addr(a: u64) -> H160 { frame_support::parameter_types! { pub const BlockGasLimit: U256 = U256::MAX; - pub const WeightPerGas: frame_support::weights::Weight = frame_support::weights::Weight::from_ref_time(20_000); + pub const WeightPerGas: frame_support::weights::Weight = frame_support::weights::Weight::from_parts(20_000, 0); pub PrecompilesValue: TestPrecompiles = TestPrecompiles::<_>::new(); } diff --git a/precompile/staking/src/mock.rs b/precompile/staking/src/mock.rs index 99b46e7ff..0b9655161 100644 --- a/precompile/staking/src/mock.rs +++ b/precompile/staking/src/mock.rs @@ -154,7 +154,7 @@ pub type PCall = StakingCall; frame_support::parameter_types! { pub const BlockGasLimit: U256 = U256::MAX; - pub const WeightPerGas: frame_support::weights::Weight = frame_support::weights::Weight::from_ref_time(20_000); + pub const WeightPerGas: frame_support::weights::Weight = frame_support::weights::Weight::from_parts(20_000, 0); pub PrecompilesValue: TestPrecompiles = TestPrecompiles::<_>::new(); } diff --git a/precompile/state-storage/src/mock.rs b/precompile/state-storage/src/mock.rs index dfc32d8f3..48e06ec2d 100644 --- a/precompile/state-storage/src/mock.rs +++ b/precompile/state-storage/src/mock.rs @@ -135,7 +135,7 @@ fn addr(a: u64) -> H160 { frame_support::parameter_types! { pub const BlockGasLimit: U256 = U256::MAX; - pub const WeightPerGas: frame_support::weights::Weight = frame_support::weights::Weight::from_ref_time(20_000); + pub const WeightPerGas: frame_support::weights::Weight = frame_support::weights::Weight::from_parts(20_000, 0); pub PrecompilesValue: TestPrecompiles = TestPrecompiles::<_>::new(); } diff --git a/runtime/crab/src/pallets/evm.rs b/runtime/crab/src/pallets/evm.rs index 236f62d02..726564d21 100644 --- a/runtime/crab/src/pallets/evm.rs +++ b/runtime/crab/src/pallets/evm.rs @@ -25,7 +25,10 @@ const BLOCK_GAS_LIMIT: u64 = 20_000_000; frame_support::parameter_types! { pub BlockGasLimit: sp_core::U256 = sp_core::U256::from(BLOCK_GAS_LIMIT); pub PrecompilesValue: CrabPrecompiles = CrabPrecompiles::<_>::new(); - pub WeightPerGas: frame_support::weights::Weight = frame_support::weights::Weight::from_ref_time(fp_evm::weight_per_gas(BLOCK_GAS_LIMIT, NORMAL_DISPATCH_RATIO, WEIGHT_MILLISECS_PER_BLOCK)); + pub WeightPerGas: frame_support::weights::Weight = frame_support::weights::Weight::from_parts( + fp_evm::weight_per_gas(BLOCK_GAS_LIMIT, NORMAL_DISPATCH_RATIO, WEIGHT_MILLISECS_PER_BLOCK), + 0 + ); } // TODO: Integrate to the upstream repo diff --git a/runtime/crab/src/weights/block_weights.rs b/runtime/crab/src/weights/block_weights.rs index 074d154e3..c186b8339 100644 --- a/runtime/crab/src/weights/block_weights.rs +++ b/runtime/crab/src/weights/block_weights.rs @@ -55,7 +55,7 @@ pub mod constants { /// 95th: 384_876 /// 75th: 380_642 pub const BlockExecutionWeight: Weight = - Weight::from_ref_time(WEIGHT_REF_TIME_PER_NANOS.saturating_mul(381_015)); + Weight::from_parts(WEIGHT_REF_TIME_PER_NANOS.saturating_mul(381_015), 0); } #[cfg(test)] diff --git a/runtime/crab/src/weights/cumulus_pallet_xcmp_queue.rs b/runtime/crab/src/weights/cumulus_pallet_xcmp_queue.rs index 6e6b5ddff..779eb91cf 100644 --- a/runtime/crab/src/weights/cumulus_pallet_xcmp_queue.rs +++ b/runtime/crab/src/weights/cumulus_pallet_xcmp_queue.rs @@ -59,14 +59,14 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for WeightIn // Storage: XcmpQueue QueueConfig (r:1 w:1) fn set_config_with_u32() -> Weight { // Minimum execution time: 26_238 nanoseconds. - Weight::from_ref_time(26_238_000) + Weight::from_parts(26_238_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } // Storage: XcmpQueue QueueConfig (r:1 w:1) fn set_config_with_weight() -> Weight { // Minimum execution time: 23_922 nanoseconds. - Weight::from_ref_time(23_922_000) + Weight::from_parts(23_922_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/crab/src/weights/darwinia_account_migration.rs b/runtime/crab/src/weights/darwinia_account_migration.rs index 70258a018..056479480 100644 --- a/runtime/crab/src/weights/darwinia_account_migration.rs +++ b/runtime/crab/src/weights/darwinia_account_migration.rs @@ -134,13 +134,13 @@ impl darwinia_account_migration::WeightInfo for WeightI // Minimum execution time: 25_521 nanoseconds. Weight::from_parts(124_506_666, 51933) // Standard Error: 281_540 - .saturating_add(Weight::from_ref_time(226_299).saturating_mul(x.into())) + .saturating_add(Weight::from_parts(226_299, 0).saturating_mul(x.into())) // Standard Error: 281_540 - .saturating_add(Weight::from_ref_time(295_461).saturating_mul(z.into())) + .saturating_add(Weight::from_parts(295_461, 0).saturating_mul(z.into())) .saturating_add(T::DbWeight::get().reads(12)) .saturating_add(T::DbWeight::get().writes(18)) - .saturating_add(Weight::from_proof_size(7).saturating_mul(y.into())) - .saturating_add(Weight::from_proof_size(3).saturating_mul(z.into())) + .saturating_add(Weight::from_parts(7, 0).saturating_mul(y.into())) + .saturating_add(Weight::from_parts(3, 0).saturating_mul(z.into())) } /// Storage: AccountMigration Multisigs (r:1 w:1) /// Proof Skipped: AccountMigration Multisigs (max_values: None, max_size: None, mode: Measured) diff --git a/runtime/crab/src/weights/darwinia_staking.rs b/runtime/crab/src/weights/darwinia_staking.rs index 7162e9577..080934acb 100644 --- a/runtime/crab/src/weights/darwinia_staking.rs +++ b/runtime/crab/src/weights/darwinia_staking.rs @@ -167,7 +167,7 @@ impl darwinia_staking::WeightInfo for WeightInfo { // Measured: `678` // Estimated: `0` // Minimum execution time: 14_891 nanoseconds. - Weight::from_ref_time(14_891_000) + Weight::from_parts(14_891_000, 0) .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: DarwiniaStaking CollatorCount (r:0 w:1) @@ -177,7 +177,7 @@ impl darwinia_staking::WeightInfo for WeightInfo { // Measured: `678` // Estimated: `0` // Minimum execution time: 15_348 nanoseconds. - Weight::from_ref_time(15_348_000) + Weight::from_parts(15_348_000, 0) .saturating_add(T::DbWeight::get().writes(1)) } } diff --git a/runtime/crab/src/weights/extrinsic_weights.rs b/runtime/crab/src/weights/extrinsic_weights.rs index 4d2873d51..08fc6a963 100644 --- a/runtime/crab/src/weights/extrinsic_weights.rs +++ b/runtime/crab/src/weights/extrinsic_weights.rs @@ -55,7 +55,7 @@ pub mod constants { /// 95th: 100_051 /// 75th: 99_916 pub const ExtrinsicBaseWeight: Weight = - Weight::from_ref_time(WEIGHT_REF_TIME_PER_NANOS.saturating_mul(99_840)); + Weight::from_parts(WEIGHT_REF_TIME_PER_NANOS.saturating_mul(99_840), 0); } #[cfg(test)] diff --git a/runtime/crab/src/weights/frame_system.rs b/runtime/crab/src/weights/frame_system.rs index 035d067b3..9304b485b 100644 --- a/runtime/crab/src/weights/frame_system.rs +++ b/runtime/crab/src/weights/frame_system.rs @@ -59,18 +59,18 @@ impl frame_system::WeightInfo for WeightInfo { /// The range of component `b` is `[0, 3932160]`. fn remark(_b: u32, ) -> Weight { // Minimum execution time: 16_591 nanoseconds. - Weight::from_ref_time(886_493_000) + Weight::from_parts(886_493_000, 0) } /// The range of component `b` is `[0, 3932160]`. fn remark_with_event(_b: u32, ) -> Weight { // Minimum execution time: 32_289 nanoseconds. - Weight::from_ref_time(4_680_492_000) + Weight::from_parts(4_680_492_000, 0) } // Storage: System Digest (r:1 w:1) // Storage: unknown [0x3a686561707061676573] (r:0 w:1) fn set_heap_pages() -> Weight { // Minimum execution time: 30_011 nanoseconds. - Weight::from_ref_time(30_011_000) + Weight::from_parts(30_011_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -78,21 +78,21 @@ impl frame_system::WeightInfo for WeightInfo { /// The range of component `i` is `[0, 1000]`. fn set_storage(_i: u32, ) -> Weight { // Minimum execution time: 95_093 nanoseconds. - Weight::from_ref_time(572_291_000) + Weight::from_parts(572_291_000, 0) .saturating_add(T::DbWeight::get().writes(1000)) } // Storage: Skipped Metadata (r:0 w:0) /// The range of component `i` is `[0, 1000]`. fn kill_storage(_i: u32, ) -> Weight { // Minimum execution time: 18_319 nanoseconds. - Weight::from_ref_time(407_086_000) + Weight::from_parts(407_086_000, 0) .saturating_add(T::DbWeight::get().writes(1000)) } // Storage: Skipped Metadata (r:0 w:0) /// The range of component `p` is `[0, 1000]`. fn kill_prefix(_p: u32, ) -> Weight { // Minimum execution time: 31_200 nanoseconds. - Weight::from_ref_time(772_322_000) + Weight::from_parts(772_322_000, 0) .saturating_add(T::DbWeight::get().writes(1000)) } } diff --git a/runtime/crab/src/weights/pallet_assets.rs b/runtime/crab/src/weights/pallet_assets.rs index eb1debcbc..e9060d464 100644 --- a/runtime/crab/src/weights/pallet_assets.rs +++ b/runtime/crab/src/weights/pallet_assets.rs @@ -59,21 +59,21 @@ impl pallet_assets::WeightInfo for WeightInfo { // Storage: Assets Asset (r:1 w:1) fn create() -> Weight { // Minimum execution time: 23_393 nanoseconds. - Weight::from_ref_time(23_393_000) + Weight::from_parts(23_393_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Assets Asset (r:1 w:1) fn force_create() -> Weight { // Minimum execution time: 38_361 nanoseconds. - Weight::from_ref_time(38_361_000) + Weight::from_parts(38_361_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Assets Asset (r:1 w:1) fn start_destroy() -> Weight { // Minimum execution time: 53_286 nanoseconds. - Weight::from_ref_time(53_286_000) + Weight::from_parts(53_286_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -83,7 +83,7 @@ impl pallet_assets::WeightInfo for WeightInfo { /// The range of component `c` is `[0, 1000]`. fn destroy_accounts(_c: u32, ) -> Weight { // Minimum execution time: 28_953 nanoseconds. - Weight::from_ref_time(11_140_037_000) + Weight::from_parts(11_140_037_000, 0) .saturating_add(T::DbWeight::get().reads(2002)) .saturating_add(T::DbWeight::get().writes(2001)) } @@ -92,7 +92,7 @@ impl pallet_assets::WeightInfo for WeightInfo { /// The range of component `a` is `[0, 1000]`. fn destroy_approvals(_a: u32, ) -> Weight { // Minimum execution time: 25_818 nanoseconds. - Weight::from_ref_time(5_856_860_000) + Weight::from_parts(5_856_860_000, 0) .saturating_add(T::DbWeight::get().reads(1002)) .saturating_add(T::DbWeight::get().writes(1001)) } @@ -100,7 +100,7 @@ impl pallet_assets::WeightInfo for WeightInfo { // Storage: Assets Metadata (r:1 w:0) fn finish_destroy() -> Weight { // Minimum execution time: 108_431 nanoseconds. - Weight::from_ref_time(108_431_000) + Weight::from_parts(108_431_000, 0) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -108,7 +108,7 @@ impl pallet_assets::WeightInfo for WeightInfo { // Storage: Assets Account (r:1 w:1) fn mint() -> Weight { // Minimum execution time: 47_200 nanoseconds. - Weight::from_ref_time(47_200_000) + Weight::from_parts(47_200_000, 0) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -116,7 +116,7 @@ impl pallet_assets::WeightInfo for WeightInfo { // Storage: Assets Account (r:1 w:1) fn burn() -> Weight { // Minimum execution time: 42_744 nanoseconds. - Weight::from_ref_time(42_744_000) + Weight::from_parts(42_744_000, 0) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -125,7 +125,7 @@ impl pallet_assets::WeightInfo for WeightInfo { // Storage: System Account (r:1 w:1) fn transfer() -> Weight { // Minimum execution time: 52_584 nanoseconds. - Weight::from_ref_time(52_584_000) + Weight::from_parts(52_584_000, 0) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -134,7 +134,7 @@ impl pallet_assets::WeightInfo for WeightInfo { // Storage: System Account (r:1 w:1) fn transfer_keep_alive() -> Weight { // Minimum execution time: 45_738 nanoseconds. - Weight::from_ref_time(45_738_000) + Weight::from_parts(45_738_000, 0) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -143,7 +143,7 @@ impl pallet_assets::WeightInfo for WeightInfo { // Storage: System Account (r:1 w:1) fn force_transfer() -> Weight { // Minimum execution time: 54_208 nanoseconds. - Weight::from_ref_time(54_208_000) + Weight::from_parts(54_208_000, 0) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -151,7 +151,7 @@ impl pallet_assets::WeightInfo for WeightInfo { // Storage: Assets Account (r:1 w:1) fn freeze() -> Weight { // Minimum execution time: 24_619 nanoseconds. - Weight::from_ref_time(24_619_000) + Weight::from_parts(24_619_000, 0) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -159,21 +159,21 @@ impl pallet_assets::WeightInfo for WeightInfo { // Storage: Assets Account (r:1 w:1) fn thaw() -> Weight { // Minimum execution time: 24_948 nanoseconds. - Weight::from_ref_time(24_948_000) + Weight::from_parts(24_948_000, 0) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Assets Asset (r:1 w:1) fn freeze_asset() -> Weight { // Minimum execution time: 21_495 nanoseconds. - Weight::from_ref_time(21_495_000) + Weight::from_parts(21_495_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Assets Asset (r:1 w:1) fn thaw_asset() -> Weight { // Minimum execution time: 23_834 nanoseconds. - Weight::from_ref_time(23_834_000) + Weight::from_parts(23_834_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -181,14 +181,14 @@ impl pallet_assets::WeightInfo for WeightInfo { // Storage: Assets Metadata (r:1 w:0) fn transfer_ownership() -> Weight { // Minimum execution time: 24_822 nanoseconds. - Weight::from_ref_time(24_822_000) + Weight::from_parts(24_822_000, 0) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Assets Asset (r:1 w:1) fn set_team() -> Weight { // Minimum execution time: 22_826 nanoseconds. - Weight::from_ref_time(22_826_000) + Weight::from_parts(22_826_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -198,7 +198,7 @@ impl pallet_assets::WeightInfo for WeightInfo { /// The range of component `s` is `[0, 50]`. fn set_metadata(_n: u32, _s: u32, ) -> Weight { // Minimum execution time: 22_897 nanoseconds. - Weight::from_ref_time(30_287_500) + Weight::from_parts(30_287_500, 0) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -206,7 +206,7 @@ impl pallet_assets::WeightInfo for WeightInfo { // Storage: Assets Metadata (r:1 w:1) fn clear_metadata() -> Weight { // Minimum execution time: 25_979 nanoseconds. - Weight::from_ref_time(25_979_000) + Weight::from_parts(25_979_000, 0) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -216,11 +216,11 @@ impl pallet_assets::WeightInfo for WeightInfo { /// The range of component `s` is `[0, 50]`. fn force_set_metadata(n: u32, s: u32, ) -> Weight { // Minimum execution time: 24_245 nanoseconds. - Weight::from_ref_time(21_384_000) + Weight::from_parts(21_384_000, 0) // Standard Error: 283_571 - .saturating_add(Weight::from_ref_time(57_220).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(57_220, 0).saturating_mul(n.into())) // Standard Error: 283_571 - .saturating_add(Weight::from_ref_time(179_140).saturating_mul(s.into())) + .saturating_add(Weight::from_parts(179_140, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -228,14 +228,14 @@ impl pallet_assets::WeightInfo for WeightInfo { // Storage: Assets Metadata (r:1 w:1) fn force_clear_metadata() -> Weight { // Minimum execution time: 22_005 nanoseconds. - Weight::from_ref_time(22_005_000) + Weight::from_parts(22_005_000, 0) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Assets Asset (r:1 w:1) fn force_asset_status() -> Weight { // Minimum execution time: 32_983 nanoseconds. - Weight::from_ref_time(32_983_000) + Weight::from_parts(32_983_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -243,7 +243,7 @@ impl pallet_assets::WeightInfo for WeightInfo { // Storage: Assets Approvals (r:1 w:1) fn approve_transfer() -> Weight { // Minimum execution time: 25_652 nanoseconds. - Weight::from_ref_time(25_652_000) + Weight::from_parts(25_652_000, 0) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -253,7 +253,7 @@ impl pallet_assets::WeightInfo for WeightInfo { // Storage: System Account (r:1 w:1) fn transfer_approved() -> Weight { // Minimum execution time: 65_233 nanoseconds. - Weight::from_ref_time(65_233_000) + Weight::from_parts(65_233_000, 0) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(5)) } @@ -261,7 +261,7 @@ impl pallet_assets::WeightInfo for WeightInfo { // Storage: Assets Approvals (r:1 w:1) fn cancel_approval() -> Weight { // Minimum execution time: 25_381 nanoseconds. - Weight::from_ref_time(25_381_000) + Weight::from_parts(25_381_000, 0) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -269,7 +269,7 @@ impl pallet_assets::WeightInfo for WeightInfo { // Storage: Assets Approvals (r:1 w:1) fn force_cancel_approval() -> Weight { // Minimum execution time: 26_033 nanoseconds. - Weight::from_ref_time(26_033_000) + Weight::from_parts(26_033_000, 0) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } diff --git a/runtime/crab/src/weights/pallet_balances.rs b/runtime/crab/src/weights/pallet_balances.rs index d67c8a285..250fb693e 100644 --- a/runtime/crab/src/weights/pallet_balances.rs +++ b/runtime/crab/src/weights/pallet_balances.rs @@ -59,49 +59,49 @@ impl pallet_balances::WeightInfo for WeightInfo { // Storage: System Account (r:1 w:1) fn transfer() -> Weight { // Minimum execution time: 49_510 nanoseconds. - Weight::from_ref_time(49_510_000) + Weight::from_parts(49_510_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } // Storage: System Account (r:1 w:1) fn transfer_keep_alive() -> Weight { // Minimum execution time: 52_653 nanoseconds. - Weight::from_ref_time(52_653_000) + Weight::from_parts(52_653_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } // Storage: System Account (r:1 w:1) fn set_balance_creating() -> Weight { // Minimum execution time: 43_584 nanoseconds. - Weight::from_ref_time(43_584_000) + Weight::from_parts(43_584_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } // Storage: System Account (r:1 w:1) fn set_balance_killing() -> Weight { // Minimum execution time: 44_897 nanoseconds. - Weight::from_ref_time(44_897_000) + Weight::from_parts(44_897_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } // Storage: System Account (r:2 w:2) fn force_transfer() -> Weight { // Minimum execution time: 56_196 nanoseconds. - Weight::from_ref_time(56_196_000) + Weight::from_parts(56_196_000, 0) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } // Storage: System Account (r:1 w:1) fn transfer_all() -> Weight { // Minimum execution time: 58_411 nanoseconds. - Weight::from_ref_time(58_411_000) + Weight::from_parts(58_411_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } // Storage: System Account (r:1 w:1) fn force_unreserve() -> Weight { // Minimum execution time: 33_417 nanoseconds. - Weight::from_ref_time(33_417_000) + Weight::from_parts(33_417_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/crab/src/weights/pallet_bridge_grandpa.rs b/runtime/crab/src/weights/pallet_bridge_grandpa.rs index 1209471be..eef6fb624 100644 --- a/runtime/crab/src/weights/pallet_bridge_grandpa.rs +++ b/runtime/crab/src/weights/pallet_bridge_grandpa.rs @@ -67,9 +67,9 @@ impl pallet_bridge_grandpa::WeightInfo for WeightInfo Weight { // Minimum execution time: 1_896_381 nanoseconds. - Weight::from_ref_time(1_896_381_000) + Weight::from_parts(1_896_381_000, 0) // Standard Error: 7_800_474 - .saturating_add(Weight::from_ref_time(21_485_513).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(21_485_513, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(6)) } diff --git a/runtime/crab/src/weights/pallet_collective_council.rs b/runtime/crab/src/weights/pallet_collective_council.rs index 19fad1629..836ce66cc 100644 --- a/runtime/crab/src/weights/pallet_collective_council.rs +++ b/runtime/crab/src/weights/pallet_collective_council.rs @@ -68,11 +68,11 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `p` is `[0, 100]`. fn set_members(m: u32, _n: u32, p: u32, ) -> Weight { // Minimum execution time: 16_433 nanoseconds. - Weight::from_ref_time(16_433_000) + Weight::from_parts(16_433_000, 0) // Standard Error: 891_191 - .saturating_add(Weight::from_ref_time(3_599_117).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(3_599_117, 0).saturating_mul(m.into())) // Standard Error: 891_191 - .saturating_add(Weight::from_ref_time(3_563_387).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(3_563_387, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(m.into()))) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(p.into()))) @@ -87,9 +87,9 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `m` is `[1, 100]`. fn execute(_b: u32, m: u32, ) -> Weight { // Minimum execution time: 24_667 nanoseconds. - Weight::from_ref_time(29_129_622) + Weight::from_parts(29_129_622, 0) // Standard Error: 43_932 - .saturating_add(Weight::from_ref_time(5_454).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(5_454, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(1)) } // Storage: Council Members (r:1 w:0) @@ -100,7 +100,7 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `m` is `[1, 100]`. fn propose_execute(_b: u32, _m: u32, ) -> Weight { // Minimum execution time: 29_572 nanoseconds. - Weight::from_ref_time(34_989_251) + Weight::from_parts(34_989_251, 0) .saturating_add(T::DbWeight::get().reads(2)) } // Storage: Council Members (r:1 w:0) @@ -116,13 +116,13 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 100]`. fn propose_proposed(b: u32, m: u32, p: u32, ) -> Weight { // Minimum execution time: 32_670 nanoseconds. - Weight::from_ref_time(25_318_865) + Weight::from_parts(25_318_865, 0) // Standard Error: 6_284 - .saturating_add(Weight::from_ref_time(2_659).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(2_659, 0).saturating_mul(b.into())) // Standard Error: 65_542 - .saturating_add(Weight::from_ref_time(56_288).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(56_288, 0).saturating_mul(m.into())) // Standard Error: 64_880 - .saturating_add(Weight::from_ref_time(255_739).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(255_739, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -132,9 +132,9 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `m` is `[5, 100]`. fn vote(m: u32, ) -> Weight { // Minimum execution time: 31_910 nanoseconds. - Weight::from_ref_time(36_742_315) + Weight::from_parts(36_742_315, 0) // Standard Error: 65_099 - .saturating_add(Weight::from_ref_time(10_336).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(10_336, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -148,9 +148,9 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 100]`. fn close_early_disapproved(_m: u32, p: u32, ) -> Weight { // Minimum execution time: 29_963 nanoseconds. - Weight::from_ref_time(35_131_529) + Weight::from_parts(35_131_529, 0) // Standard Error: 43_803 - .saturating_add(Weight::from_ref_time(138_116).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(138_116, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -166,11 +166,11 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 100]`. fn close_early_approved(_b: u32, m: u32, p: u32, ) -> Weight { // Minimum execution time: 41_671 nanoseconds. - Weight::from_ref_time(46_362_214) + Weight::from_parts(46_362_214, 0) // Standard Error: 32_493 - .saturating_add(Weight::from_ref_time(14_218).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(14_218, 0).saturating_mul(m.into())) // Standard Error: 31_508 - .saturating_add(Weight::from_ref_time(253_545).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(253_545, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -185,11 +185,11 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 100]`. fn close_disapproved(m: u32, p: u32, ) -> Weight { // Minimum execution time: 32_840 nanoseconds. - Weight::from_ref_time(29_659_715) + Weight::from_parts(29_659_715, 0) // Standard Error: 19_019 - .saturating_add(Weight::from_ref_time(47_182).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(47_182, 0).saturating_mul(m.into())) // Standard Error: 18_442 - .saturating_add(Weight::from_ref_time(221_055).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(221_055, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -206,11 +206,11 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 100]`. fn close_approved(_b: u32, m: u32, p: u32, ) -> Weight { // Minimum execution time: 47_632 nanoseconds. - Weight::from_ref_time(71_486_822) + Weight::from_parts(71_486_822, 0) // Standard Error: 163_509 - .saturating_add(Weight::from_ref_time(10_947).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(10_947, 0).saturating_mul(m.into())) // Standard Error: 158_554 - .saturating_add(Weight::from_ref_time(234_414).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(234_414, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -221,9 +221,9 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 100]`. fn disapprove_proposal(p: u32, ) -> Weight { // Minimum execution time: 20_613 nanoseconds. - Weight::from_ref_time(21_543_267) + Weight::from_parts(21_543_267, 0) // Standard Error: 17_208 - .saturating_add(Weight::from_ref_time(200_232).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(200_232, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(3)) } diff --git a/runtime/crab/src/weights/pallet_collective_technical_committee.rs b/runtime/crab/src/weights/pallet_collective_technical_committee.rs index 316e3716d..d991dfa8d 100644 --- a/runtime/crab/src/weights/pallet_collective_technical_committee.rs +++ b/runtime/crab/src/weights/pallet_collective_technical_committee.rs @@ -68,11 +68,11 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `p` is `[0, 100]`. fn set_members(m: u32, _n: u32, p: u32, ) -> Weight { // Minimum execution time: 13_463 nanoseconds. - Weight::from_ref_time(13_463_000) + Weight::from_parts(13_463_000, 0) // Standard Error: 895_060 - .saturating_add(Weight::from_ref_time(4_307_995).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(4_307_995, 0).saturating_mul(m.into())) // Standard Error: 895_060 - .saturating_add(Weight::from_ref_time(4_273_975).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(4_273_975, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(m.into()))) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(p.into()))) @@ -87,9 +87,9 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `m` is `[1, 100]`. fn execute(_b: u32, m: u32, ) -> Weight { // Minimum execution time: 18_470 nanoseconds. - Weight::from_ref_time(19_245_456) + Weight::from_parts(19_245_456, 0) // Standard Error: 9_898 - .saturating_add(Weight::from_ref_time(15_368).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(15_368, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(1)) } // Storage: TechnicalCommittee Members (r:1 w:0) @@ -100,9 +100,9 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `m` is `[1, 100]`. fn propose_execute(b: u32, _m: u32, ) -> Weight { // Minimum execution time: 21_278 nanoseconds. - Weight::from_ref_time(22_250_858) + Weight::from_parts(22_250_858, 0) // Standard Error: 2_161 - .saturating_add(Weight::from_ref_time(1_654).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(1_654, 0).saturating_mul(b.into())) .saturating_add(T::DbWeight::get().reads(2)) } // Storage: TechnicalCommittee Members (r:1 w:0) @@ -118,11 +118,11 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 100]`. fn propose_proposed(_b: u32, m: u32, p: u32, ) -> Weight { // Minimum execution time: 26_624 nanoseconds. - Weight::from_ref_time(32_505_921) + Weight::from_parts(32_505_921, 0) // Standard Error: 50_356 - .saturating_add(Weight::from_ref_time(46_724).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(46_724, 0).saturating_mul(m.into())) // Standard Error: 49_848 - .saturating_add(Weight::from_ref_time(138_267).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(138_267, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -132,7 +132,7 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `m` is `[5, 100]`. fn vote(_m: u32, ) -> Weight { // Minimum execution time: 32_143 nanoseconds. - Weight::from_ref_time(38_586_052) + Weight::from_parts(38_586_052, 0) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -146,11 +146,11 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 100]`. fn close_early_disapproved(m: u32, p: u32, ) -> Weight { // Minimum execution time: 27_661 nanoseconds. - Weight::from_ref_time(26_414_753) + Weight::from_parts(26_414_753, 0) // Standard Error: 6_439 - .saturating_add(Weight::from_ref_time(14_572).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(14_572, 0).saturating_mul(m.into())) // Standard Error: 6_244 - .saturating_add(Weight::from_ref_time(203_454).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(203_454, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -166,11 +166,11 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 100]`. fn close_early_approved(b: u32, _m: u32, p: u32, ) -> Weight { // Minimum execution time: 41_390 nanoseconds. - Weight::from_ref_time(40_470_154) + Weight::from_parts(40_470_154, 0) // Standard Error: 4_809 - .saturating_add(Weight::from_ref_time(1_781).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(1_781, 0).saturating_mul(b.into())) // Standard Error: 49_650 - .saturating_add(Weight::from_ref_time(225_335).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(225_335, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -185,11 +185,11 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 100]`. fn close_disapproved(m: u32, p: u32, ) -> Weight { // Minimum execution time: 31_571 nanoseconds. - Weight::from_ref_time(31_010_232) + Weight::from_parts(31_010_232, 0) // Standard Error: 4_721 - .saturating_add(Weight::from_ref_time(5_286).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(5_286, 0).saturating_mul(m.into())) // Standard Error: 4_578 - .saturating_add(Weight::from_ref_time(178_121).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(178_121, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -206,13 +206,13 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 100]`. fn close_approved(b: u32, m: u32, p: u32, ) -> Weight { // Minimum execution time: 40_552 nanoseconds. - Weight::from_ref_time(33_111_820) + Weight::from_parts(33_111_820, 0) // Standard Error: 2_568 - .saturating_add(Weight::from_ref_time(3_905).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(3_905, 0).saturating_mul(b.into())) // Standard Error: 27_340 - .saturating_add(Weight::from_ref_time(34_500).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(34_500, 0).saturating_mul(m.into())) // Standard Error: 26_512 - .saturating_add(Weight::from_ref_time(261_368).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(261_368, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -223,9 +223,9 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 100]`. fn disapprove_proposal(p: u32, ) -> Weight { // Minimum execution time: 18_178 nanoseconds. - Weight::from_ref_time(18_225_823) + Weight::from_parts(18_225_823, 0) // Standard Error: 5_019 - .saturating_add(Weight::from_ref_time(189_676).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(189_676, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(3)) } diff --git a/runtime/crab/src/weights/pallet_democracy.rs b/runtime/crab/src/weights/pallet_democracy.rs index 334221ad7..73ce3007e 100644 --- a/runtime/crab/src/weights/pallet_democracy.rs +++ b/runtime/crab/src/weights/pallet_democracy.rs @@ -62,14 +62,14 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: Democracy DepositOf (r:0 w:1) fn propose() -> Weight { // Minimum execution time: 64_864 nanoseconds. - Weight::from_ref_time(64_864_000) + Weight::from_parts(64_864_000, 0) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } // Storage: Democracy DepositOf (r:1 w:1) fn second() -> Weight { // Minimum execution time: 40_838 nanoseconds. - Weight::from_ref_time(40_838_000) + Weight::from_parts(40_838_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -78,7 +78,7 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: Balances Locks (r:1 w:1) fn vote_new() -> Weight { // Minimum execution time: 58_975 nanoseconds. - Weight::from_ref_time(58_975_000) + Weight::from_parts(58_975_000, 0) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -87,7 +87,7 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: Balances Locks (r:1 w:1) fn vote_existing() -> Weight { // Minimum execution time: 56_447 nanoseconds. - Weight::from_ref_time(56_447_000) + Weight::from_parts(56_447_000, 0) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -95,7 +95,7 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: Democracy Cancellations (r:1 w:1) fn emergency_cancel() -> Weight { // Minimum execution time: 33_531 nanoseconds. - Weight::from_ref_time(33_531_000) + Weight::from_parts(33_531_000, 0) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -107,7 +107,7 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: Democracy Blacklist (r:0 w:1) fn blacklist() -> Weight { // Minimum execution time: 86_788 nanoseconds. - Weight::from_ref_time(86_788_000) + Weight::from_parts(86_788_000, 0) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(7)) } @@ -115,20 +115,20 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: Democracy Blacklist (r:1 w:0) fn external_propose() -> Weight { // Minimum execution time: 30_673 nanoseconds. - Weight::from_ref_time(30_673_000) + Weight::from_parts(30_673_000, 0) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Democracy NextExternal (r:0 w:1) fn external_propose_majority() -> Weight { // Minimum execution time: 15_285 nanoseconds. - Weight::from_ref_time(15_285_000) + Weight::from_parts(15_285_000, 0) .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Democracy NextExternal (r:0 w:1) fn external_propose_default() -> Weight { // Minimum execution time: 15_976 nanoseconds. - Weight::from_ref_time(15_976_000) + Weight::from_parts(15_976_000, 0) .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Democracy NextExternal (r:1 w:1) @@ -136,7 +136,7 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: Democracy ReferendumInfoOf (r:0 w:1) fn fast_track() -> Weight { // Minimum execution time: 27_070 nanoseconds. - Weight::from_ref_time(27_070_000) + Weight::from_parts(27_070_000, 0) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -144,7 +144,7 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: Democracy Blacklist (r:1 w:1) fn veto_external() -> Weight { // Minimum execution time: 29_230 nanoseconds. - Weight::from_ref_time(29_230_000) + Weight::from_parts(29_230_000, 0) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -153,14 +153,14 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: System Account (r:2 w:2) fn cancel_proposal() -> Weight { // Minimum execution time: 117_916 nanoseconds. - Weight::from_ref_time(117_916_000) + Weight::from_parts(117_916_000, 0) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) } // Storage: Democracy ReferendumInfoOf (r:0 w:1) fn cancel_referendum() -> Weight { // Minimum execution time: 29_400 nanoseconds. - Weight::from_ref_time(29_400_000) + Weight::from_parts(29_400_000, 0) .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Democracy LowestUnbaked (r:1 w:1) @@ -169,7 +169,7 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// The range of component `r` is `[0, 99]`. fn on_initialize_base(_r: u32, ) -> Weight { // Minimum execution time: 14_917 nanoseconds. - Weight::from_ref_time(205_580_000) + Weight::from_parts(205_580_000, 0) .saturating_add(T::DbWeight::get().reads(101)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -182,7 +182,7 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// The range of component `r` is `[0, 99]`. fn on_initialize_base_with_launch_period(_r: u32, ) -> Weight { // Minimum execution time: 18_467 nanoseconds. - Weight::from_ref_time(213_612_000) + Weight::from_parts(213_612_000, 0) .saturating_add(T::DbWeight::get().reads(104)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -192,7 +192,7 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// The range of component `r` is `[0, 99]`. fn delegate(_r: u32, ) -> Weight { // Minimum execution time: 41_513 nanoseconds. - Weight::from_ref_time(364_769_000) + Weight::from_parts(364_769_000, 0) .saturating_add(T::DbWeight::get().reads(103)) .saturating_add(T::DbWeight::get().writes(103)) } @@ -201,14 +201,14 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// The range of component `r` is `[0, 99]`. fn undelegate(_r: u32, ) -> Weight { // Minimum execution time: 27_216 nanoseconds. - Weight::from_ref_time(336_278_000) + Weight::from_parts(336_278_000, 0) .saturating_add(T::DbWeight::get().reads(101)) .saturating_add(T::DbWeight::get().writes(101)) } // Storage: Democracy PublicProps (r:0 w:1) fn clear_public_proposals() -> Weight { // Minimum execution time: 23_174 nanoseconds. - Weight::from_ref_time(23_174_000) + Weight::from_parts(23_174_000, 0) .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Democracy VotingOf (r:1 w:1) @@ -217,7 +217,7 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// The range of component `r` is `[0, 99]`. fn unlock_remove(_r: u32, ) -> Weight { // Minimum execution time: 45_806 nanoseconds. - Weight::from_ref_time(59_735_000) + Weight::from_parts(59_735_000, 0) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -227,7 +227,7 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// The range of component `r` is `[0, 99]`. fn unlock_set(_r: u32, ) -> Weight { // Minimum execution time: 30_887 nanoseconds. - Weight::from_ref_time(109_374_000) + Weight::from_parts(109_374_000, 0) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -236,7 +236,7 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// The range of component `r` is `[1, 100]`. fn remove_vote(_r: u32, ) -> Weight { // Minimum execution time: 17_015 nanoseconds. - Weight::from_ref_time(29_347_000) + Weight::from_parts(29_347_000, 0) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -245,7 +245,7 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// The range of component `r` is `[1, 100]`. fn remove_other_vote(_r: u32, ) -> Weight { // Minimum execution time: 17_773 nanoseconds. - Weight::from_ref_time(29_946_000) + Weight::from_parts(29_946_000, 0) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } diff --git a/runtime/crab/src/weights/pallet_elections_phragmen.rs b/runtime/crab/src/weights/pallet_elections_phragmen.rs index 7e70b4fc6..c369b4855 100644 --- a/runtime/crab/src/weights/pallet_elections_phragmen.rs +++ b/runtime/crab/src/weights/pallet_elections_phragmen.rs @@ -64,7 +64,7 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn /// The range of component `v` is `[1, 16]`. fn vote_equal(_v: u32, ) -> Weight { // Minimum execution time: 36_676 nanoseconds. - Weight::from_ref_time(45_403_000) + Weight::from_parts(45_403_000, 0) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -76,7 +76,7 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn /// The range of component `v` is `[2, 16]`. fn vote_more(_v: u32, ) -> Weight { // Minimum execution time: 48_553 nanoseconds. - Weight::from_ref_time(63_818_000) + Weight::from_parts(63_818_000, 0) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -88,7 +88,7 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn /// The range of component `v` is `[2, 16]`. fn vote_less(_v: u32, ) -> Weight { // Minimum execution time: 43_963 nanoseconds. - Weight::from_ref_time(45_070_000) + Weight::from_parts(45_070_000, 0) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -96,7 +96,7 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn // Storage: Balances Locks (r:1 w:1) fn remove_voter() -> Weight { // Minimum execution time: 39_538 nanoseconds. - Weight::from_ref_time(39_538_000) + Weight::from_parts(39_538_000, 0) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -106,7 +106,7 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn /// The range of component `c` is `[1, 30]`. fn submit_candidacy(_c: u32, ) -> Weight { // Minimum execution time: 38_181 nanoseconds. - Weight::from_ref_time(41_014_000) + Weight::from_parts(41_014_000, 0) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -114,7 +114,7 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn /// The range of component `c` is `[1, 30]`. fn renounce_candidacy_candidate(_c: u32, ) -> Weight { // Minimum execution time: 33_937 nanoseconds. - Weight::from_ref_time(36_578_000) + Weight::from_parts(36_578_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -125,21 +125,21 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn // Storage: Council Members (r:0 w:1) fn renounce_candidacy_members() -> Weight { // Minimum execution time: 47_323 nanoseconds. - Weight::from_ref_time(47_323_000) + Weight::from_parts(47_323_000, 0) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) } // Storage: PhragmenElection RunnersUp (r:1 w:1) fn renounce_candidacy_runners_up() -> Weight { // Minimum execution time: 50_241 nanoseconds. - Weight::from_ref_time(50_241_000) + Weight::from_parts(50_241_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Benchmark Override (r:0 w:0) fn remove_member_without_replacement() -> Weight { // Minimum execution time: 500_000_000 nanoseconds. - Weight::from_ref_time(500_000_000_000) + Weight::from_parts(500_000_000_000, 0) } // Storage: PhragmenElection Members (r:1 w:1) // Storage: System Account (r:2 w:2) @@ -149,7 +149,7 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn // Storage: Council Members (r:0 w:1) fn remove_member_with_replacement() -> Weight { // Minimum execution time: 61_447 nanoseconds. - Weight::from_ref_time(61_447_000) + Weight::from_parts(61_447_000, 0) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(6)) } @@ -163,11 +163,11 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn /// The range of component `d` is `[0, 150]`. fn clean_defunct_voters(v: u32, d: u32, ) -> Weight { // Minimum execution time: 7_160_781 nanoseconds. - Weight::from_ref_time(147_092_000) + Weight::from_parts(147_092_000, 0) // Standard Error: 1_168_014 - .saturating_add(Weight::from_ref_time(46_354_906).saturating_mul(v.into())) + .saturating_add(Weight::from_parts(46_354_906, 0).saturating_mul(v.into())) // Standard Error: 1_168_014 - .saturating_add(Weight::from_ref_time(403_019).saturating_mul(d.into())) + .saturating_add(Weight::from_parts(403_019, 0).saturating_mul(d.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(v.into()))) .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(v.into()))) @@ -186,13 +186,13 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn /// The range of component `e` is `[300, 4800]`. fn election_phragmen(c: u32, v: u32, e: u32, ) -> Weight { // Minimum execution time: 558_465 nanoseconds. - Weight::from_ref_time(558_465_000) + Weight::from_parts(558_465_000, 0) // Standard Error: 66_492_463 - .saturating_add(Weight::from_ref_time(38_685_669).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(38_685_669, 0).saturating_mul(c.into())) // Standard Error: 6_554_834 - .saturating_add(Weight::from_ref_time(7_657_600).saturating_mul(v.into())) + .saturating_add(Weight::from_parts(7_657_600, 0).saturating_mul(v.into())) // Standard Error: 420_985 - .saturating_add(Weight::from_ref_time(143_850).saturating_mul(e.into())) + .saturating_add(Weight::from_parts(143_850, 0).saturating_mul(e.into())) .saturating_add(T::DbWeight::get().reads(35)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(v.into()))) diff --git a/runtime/crab/src/weights/pallet_fee_market.rs b/runtime/crab/src/weights/pallet_fee_market.rs index 20ebd48ef..fba558906 100644 --- a/runtime/crab/src/weights/pallet_fee_market.rs +++ b/runtime/crab/src/weights/pallet_fee_market.rs @@ -65,7 +65,7 @@ impl pallet_fee_market::WeightInfo for WeightInfo { // Storage: DarwiniaFeeMarket AssignedRelayers (r:0 w:1) fn enroll_and_lock_collateral() -> Weight { // Minimum execution time: 101_642 nanoseconds. - Weight::from_ref_time(101_642_000) + Weight::from_parts(101_642_000, 0) .saturating_add(T::DbWeight::get().reads(15)) .saturating_add(T::DbWeight::get().writes(5)) } @@ -78,7 +78,7 @@ impl pallet_fee_market::WeightInfo for WeightInfo { // Storage: DarwiniaFeeMarket AssignedRelayers (r:0 w:1) fn increase_locked_collateral() -> Weight { // Minimum execution time: 99_179 nanoseconds. - Weight::from_ref_time(99_179_000) + Weight::from_parts(99_179_000, 0) .saturating_add(T::DbWeight::get().reads(15)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -91,7 +91,7 @@ impl pallet_fee_market::WeightInfo for WeightInfo { // Storage: DarwiniaFeeMarket AssignedRelayers (r:0 w:1) fn decrease_locked_collateral() -> Weight { // Minimum execution time: 111_459 nanoseconds. - Weight::from_ref_time(111_459_000) + Weight::from_parts(111_459_000, 0) .saturating_add(T::DbWeight::get().reads(15)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -102,7 +102,7 @@ impl pallet_fee_market::WeightInfo for WeightInfo { // Storage: DarwiniaFeeMarket AssignedRelayers (r:0 w:1) fn update_relay_fee() -> Weight { // Minimum execution time: 95_315 nanoseconds. - Weight::from_ref_time(95_315_000) + Weight::from_parts(95_315_000, 0) .saturating_add(T::DbWeight::get().reads(13)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -115,14 +115,14 @@ impl pallet_fee_market::WeightInfo for WeightInfo { // Storage: DarwiniaFeeMarket AssignedRelayersNumber (r:1 w:0) fn cancel_enrollment() -> Weight { // Minimum execution time: 163_042 nanoseconds. - Weight::from_ref_time(163_042_000) + Weight::from_parts(163_042_000, 0) .saturating_add(T::DbWeight::get().reads(15)) .saturating_add(T::DbWeight::get().writes(5)) } // Storage: DarwiniaFeeMarket CollateralSlashProtect (r:0 w:1) fn set_slash_protect() -> Weight { // Minimum execution time: 31_462 nanoseconds. - Weight::from_ref_time(31_462_000) + Weight::from_parts(31_462_000, 0) .saturating_add(T::DbWeight::get().writes(1)) } // Storage: DarwiniaFeeMarket Relayers (r:1 w:0) @@ -132,7 +132,7 @@ impl pallet_fee_market::WeightInfo for WeightInfo { // Storage: DarwiniaFeeMarket AssignedRelayersNumber (r:0 w:1) fn set_assigned_relayers_number() -> Weight { // Minimum execution time: 77_980 nanoseconds. - Weight::from_ref_time(77_980_000) + Weight::from_parts(77_980_000, 0) .saturating_add(T::DbWeight::get().reads(12)) .saturating_add(T::DbWeight::get().writes(2)) } diff --git a/runtime/crab/src/weights/pallet_identity.rs b/runtime/crab/src/weights/pallet_identity.rs index 8768562c2..3b87b64a0 100644 --- a/runtime/crab/src/weights/pallet_identity.rs +++ b/runtime/crab/src/weights/pallet_identity.rs @@ -60,7 +60,7 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `r` is `[1, 19]`. fn add_registrar(_r: u32, ) -> Weight { // Minimum execution time: 18_880 nanoseconds. - Weight::from_ref_time(21_680_000) + Weight::from_parts(21_680_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -69,11 +69,11 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `x` is `[0, 100]`. fn set_identity(r: u32, x: u32, ) -> Weight { // Minimum execution time: 37_686 nanoseconds. - Weight::from_ref_time(28_856_526) + Weight::from_parts(28_856_526, 0) // Standard Error: 572_214 - .saturating_add(Weight::from_ref_time(441_473).saturating_mul(r.into())) + .saturating_add(Weight::from_parts(441_473, 0).saturating_mul(r.into())) // Standard Error: 108_720 - .saturating_add(Weight::from_ref_time(448_790).saturating_mul(x.into())) + .saturating_add(Weight::from_parts(448_790, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -83,7 +83,7 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `s` is `[0, 100]`. fn set_subs_new(_s: u32, ) -> Weight { // Minimum execution time: 13_371 nanoseconds. - Weight::from_ref_time(260_668_000) + Weight::from_parts(260_668_000, 0) .saturating_add(T::DbWeight::get().reads(102)) .saturating_add(T::DbWeight::get().writes(101)) } @@ -93,7 +93,7 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `p` is `[0, 100]`. fn set_subs_old(_p: u32, ) -> Weight { // Minimum execution time: 11_503 nanoseconds. - Weight::from_ref_time(130_022_000) + Weight::from_parts(130_022_000, 0) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(101)) } @@ -105,13 +105,13 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `x` is `[0, 100]`. fn clear_identity(r: u32, s: u32, x: u32, ) -> Weight { // Minimum execution time: 65_603 nanoseconds. - Weight::from_ref_time(11_389_421) + Weight::from_parts(11_389_421, 0) // Standard Error: 1_335_921 - .saturating_add(Weight::from_ref_time(588_245).saturating_mul(r.into())) + .saturating_add(Weight::from_parts(588_245, 0).saturating_mul(r.into())) // Standard Error: 253_825 - .saturating_add(Weight::from_ref_time(1_111_116).saturating_mul(s.into())) + .saturating_add(Weight::from_parts(1_111_116, 0).saturating_mul(s.into())) // Standard Error: 253_825 - .saturating_add(Weight::from_ref_time(424_486).saturating_mul(x.into())) + .saturating_add(Weight::from_parts(424_486, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into()))) @@ -122,11 +122,11 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `x` is `[0, 100]`. fn request_judgement(r: u32, x: u32, ) -> Weight { // Minimum execution time: 46_813 nanoseconds. - Weight::from_ref_time(42_952_473) + Weight::from_parts(42_952_473, 0) // Standard Error: 195_311 - .saturating_add(Weight::from_ref_time(193_026).saturating_mul(r.into())) + .saturating_add(Weight::from_parts(193_026, 0).saturating_mul(r.into())) // Standard Error: 37_109 - .saturating_add(Weight::from_ref_time(298_055).saturating_mul(x.into())) + .saturating_add(Weight::from_parts(298_055, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -135,11 +135,11 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `x` is `[0, 100]`. fn cancel_request(r: u32, x: u32, ) -> Weight { // Minimum execution time: 36_421 nanoseconds. - Weight::from_ref_time(31_728_894) + Weight::from_parts(31_728_894, 0) // Standard Error: 300_055 - .saturating_add(Weight::from_ref_time(234_605).saturating_mul(r.into())) + .saturating_add(Weight::from_parts(234_605, 0).saturating_mul(r.into())) // Standard Error: 57_010 - .saturating_add(Weight::from_ref_time(372_845).saturating_mul(x.into())) + .saturating_add(Weight::from_parts(372_845, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -147,7 +147,7 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `r` is `[1, 19]`. fn set_fee(_r: u32, ) -> Weight { // Minimum execution time: 12_703 nanoseconds. - Weight::from_ref_time(32_380_000) + Weight::from_parts(32_380_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -155,7 +155,7 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `r` is `[1, 19]`. fn set_account_id(_r: u32, ) -> Weight { // Minimum execution time: 10_861 nanoseconds. - Weight::from_ref_time(14_800_000) + Weight::from_parts(14_800_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -163,7 +163,7 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `r` is `[1, 19]`. fn set_fields(_r: u32, ) -> Weight { // Minimum execution time: 10_811 nanoseconds. - Weight::from_ref_time(13_370_000) + Weight::from_parts(13_370_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -173,11 +173,11 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `x` is `[0, 100]`. fn provide_judgement(r: u32, x: u32, ) -> Weight { // Minimum execution time: 29_910 nanoseconds. - Weight::from_ref_time(18_877_861) + Weight::from_parts(18_877_861, 0) // Standard Error: 926_983 - .saturating_add(Weight::from_ref_time(580_638).saturating_mul(r.into())) + .saturating_add(Weight::from_parts(580_638, 0).saturating_mul(r.into())) // Standard Error: 166_857 - .saturating_add(Weight::from_ref_time(645_595).saturating_mul(x.into())) + .saturating_add(Weight::from_parts(645_595, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -190,13 +190,13 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `x` is `[0, 100]`. fn kill_identity(r: u32, s: u32, x: u32, ) -> Weight { // Minimum execution time: 79_050 nanoseconds. - Weight::from_ref_time(37_040_947) + Weight::from_parts(37_040_947, 0) // Standard Error: 862_865 - .saturating_add(Weight::from_ref_time(721_385).saturating_mul(r.into())) + .saturating_add(Weight::from_parts(721_385, 0).saturating_mul(r.into())) // Standard Error: 163_944 - .saturating_add(Weight::from_ref_time(1_041_853).saturating_mul(s.into())) + .saturating_add(Weight::from_parts(1_041_853, 0).saturating_mul(s.into())) // Standard Error: 163_944 - .saturating_add(Weight::from_ref_time(275_813).saturating_mul(x.into())) + .saturating_add(Weight::from_parts(275_813, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into()))) @@ -207,7 +207,7 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `s` is `[0, 99]`. fn add_sub(_s: u32, ) -> Weight { // Minimum execution time: 36_328 nanoseconds. - Weight::from_ref_time(44_944_000) + Weight::from_parts(44_944_000, 0) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -216,7 +216,7 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `s` is `[1, 100]`. fn rename_sub(_s: u32, ) -> Weight { // Minimum execution time: 15_554 nanoseconds. - Weight::from_ref_time(25_462_000) + Weight::from_parts(25_462_000, 0) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -226,7 +226,7 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `s` is `[1, 100]`. fn remove_sub(_s: u32, ) -> Weight { // Minimum execution time: 39_883 nanoseconds. - Weight::from_ref_time(52_427_000) + Weight::from_parts(52_427_000, 0) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -235,7 +235,7 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `s` is `[0, 99]`. fn quit_sub(_s: u32, ) -> Weight { // Minimum execution time: 27_590 nanoseconds. - Weight::from_ref_time(33_619_000) + Weight::from_parts(33_619_000, 0) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } diff --git a/runtime/crab/src/weights/pallet_membership.rs b/runtime/crab/src/weights/pallet_membership.rs index 2aa6948fa..f67b4cc3d 100644 --- a/runtime/crab/src/weights/pallet_membership.rs +++ b/runtime/crab/src/weights/pallet_membership.rs @@ -63,7 +63,7 @@ impl pallet_membership::WeightInfo for WeightInfo { /// The range of component `m` is `[1, 99]`. fn add_member(_m: u32, ) -> Weight { // Minimum execution time: 22_060 nanoseconds. - Weight::from_ref_time(25_559_000) + Weight::from_parts(25_559_000, 0) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -75,7 +75,7 @@ impl pallet_membership::WeightInfo for WeightInfo { /// The range of component `m` is `[2, 100]`. fn remove_member(_m: u32, ) -> Weight { // Minimum execution time: 25_838 nanoseconds. - Weight::from_ref_time(68_517_000) + Weight::from_parts(68_517_000, 0) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -87,7 +87,7 @@ impl pallet_membership::WeightInfo for WeightInfo { /// The range of component `m` is `[2, 100]`. fn swap_member(_m: u32, ) -> Weight { // Minimum execution time: 24_936 nanoseconds. - Weight::from_ref_time(26_462_000) + Weight::from_parts(26_462_000, 0) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -99,7 +99,7 @@ impl pallet_membership::WeightInfo for WeightInfo { /// The range of component `m` is `[1, 100]`. fn reset_member(_m: u32, ) -> Weight { // Minimum execution time: 25_721 nanoseconds. - Weight::from_ref_time(36_913_000) + Weight::from_parts(36_913_000, 0) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -111,7 +111,7 @@ impl pallet_membership::WeightInfo for WeightInfo { /// The range of component `m` is `[1, 100]`. fn change_key(_m: u32, ) -> Weight { // Minimum execution time: 25_687 nanoseconds. - Weight::from_ref_time(30_817_000) + Weight::from_parts(30_817_000, 0) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -121,7 +121,7 @@ impl pallet_membership::WeightInfo for WeightInfo { /// The range of component `m` is `[1, 100]`. fn set_prime(_m: u32, ) -> Weight { // Minimum execution time: 10_611 nanoseconds. - Weight::from_ref_time(11_740_000) + Weight::from_parts(11_740_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -130,7 +130,7 @@ impl pallet_membership::WeightInfo for WeightInfo { /// The range of component `m` is `[1, 100]`. fn clear_prime(_m: u32, ) -> Weight { // Minimum execution time: 12_539 nanoseconds. - Weight::from_ref_time(12_647_000) + Weight::from_parts(12_647_000, 0) .saturating_add(T::DbWeight::get().writes(2)) } } diff --git a/runtime/crab/src/weights/pallet_preimage.rs b/runtime/crab/src/weights/pallet_preimage.rs index 28e53be4b..c024c0a2a 100644 --- a/runtime/crab/src/weights/pallet_preimage.rs +++ b/runtime/crab/src/weights/pallet_preimage.rs @@ -61,7 +61,7 @@ impl pallet_preimage::WeightInfo for WeightInfo { /// The range of component `s` is `[0, 4194304]`. fn note_preimage(_s: u32, ) -> Weight { // Minimum execution time: 49_134 nanoseconds. - Weight::from_ref_time(7_252_949_000) + Weight::from_parts(7_252_949_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -70,7 +70,7 @@ impl pallet_preimage::WeightInfo for WeightInfo { /// The range of component `s` is `[0, 4194304]`. fn note_requested_preimage(_s: u32, ) -> Weight { // Minimum execution time: 28_454 nanoseconds. - Weight::from_ref_time(6_804_905_000) + Weight::from_parts(6_804_905_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -79,7 +79,7 @@ impl pallet_preimage::WeightInfo for WeightInfo { /// The range of component `s` is `[0, 4194304]`. fn note_no_deposit_preimage(_s: u32, ) -> Weight { // Minimum execution time: 27_614 nanoseconds. - Weight::from_ref_time(7_446_913_000) + Weight::from_parts(7_446_913_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -87,7 +87,7 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Storage: Preimage PreimageFor (r:0 w:1) fn unnote_preimage() -> Weight { // Minimum execution time: 213_115 nanoseconds. - Weight::from_ref_time(213_115_000) + Weight::from_parts(213_115_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -95,35 +95,35 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Storage: Preimage PreimageFor (r:0 w:1) fn unnote_no_deposit_preimage() -> Weight { // Minimum execution time: 204_210 nanoseconds. - Weight::from_ref_time(204_210_000) + Weight::from_parts(204_210_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } // Storage: Preimage StatusFor (r:1 w:1) fn request_preimage() -> Weight { // Minimum execution time: 188_423 nanoseconds. - Weight::from_ref_time(188_423_000) + Weight::from_parts(188_423_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Preimage StatusFor (r:1 w:1) fn request_no_deposit_preimage() -> Weight { // Minimum execution time: 237_881 nanoseconds. - Weight::from_ref_time(237_881_000) + Weight::from_parts(237_881_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Preimage StatusFor (r:1 w:1) fn request_unnoted_preimage() -> Weight { // Minimum execution time: 51_719 nanoseconds. - Weight::from_ref_time(51_719_000) + Weight::from_parts(51_719_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Preimage StatusFor (r:1 w:1) fn request_requested_preimage() -> Weight { // Minimum execution time: 12_562 nanoseconds. - Weight::from_ref_time(12_562_000) + Weight::from_parts(12_562_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -131,21 +131,21 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Storage: Preimage PreimageFor (r:0 w:1) fn unrequest_preimage() -> Weight { // Minimum execution time: 252_116 nanoseconds. - Weight::from_ref_time(252_116_000) + Weight::from_parts(252_116_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } // Storage: Preimage StatusFor (r:1 w:1) fn unrequest_unnoted_preimage() -> Weight { // Minimum execution time: 11_494 nanoseconds. - Weight::from_ref_time(11_494_000) + Weight::from_parts(11_494_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Preimage StatusFor (r:1 w:1) fn unrequest_multi_referenced_preimage() -> Weight { // Minimum execution time: 10_416 nanoseconds. - Weight::from_ref_time(10_416_000) + Weight::from_parts(10_416_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/crab/src/weights/pallet_proxy.rs b/runtime/crab/src/weights/pallet_proxy.rs index 498baf27b..43775e266 100644 --- a/runtime/crab/src/weights/pallet_proxy.rs +++ b/runtime/crab/src/weights/pallet_proxy.rs @@ -60,7 +60,7 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 31]`. fn proxy(_p: u32, ) -> Weight { // Minimum execution time: 24_188 nanoseconds. - Weight::from_ref_time(27_425_000) + Weight::from_parts(27_425_000, 0) .saturating_add(T::DbWeight::get().reads(1)) } // Storage: Proxy Proxies (r:1 w:0) @@ -70,11 +70,11 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 31]`. fn proxy_announced(a: u32, p: u32, ) -> Weight { // Minimum execution time: 43_621 nanoseconds. - Weight::from_ref_time(34_410_900) + Weight::from_parts(34_410_900, 0) // Standard Error: 147_615 - .saturating_add(Weight::from_ref_time(380_129).saturating_mul(a.into())) + .saturating_add(Weight::from_parts(380_129, 0).saturating_mul(a.into())) // Standard Error: 152_535 - .saturating_add(Weight::from_ref_time(297_100).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(297_100, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -84,11 +84,11 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 31]`. fn remove_announcement(a: u32, p: u32, ) -> Weight { // Minimum execution time: 29_849 nanoseconds. - Weight::from_ref_time(25_482_650) + Weight::from_parts(25_482_650, 0) // Standard Error: 84_451 - .saturating_add(Weight::from_ref_time(201_790).saturating_mul(a.into())) + .saturating_add(Weight::from_parts(201_790, 0).saturating_mul(a.into())) // Standard Error: 87_266 - .saturating_add(Weight::from_ref_time(140_850).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(140_850, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -98,11 +98,11 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 31]`. fn reject_announcement(a: u32, p: u32, ) -> Weight { // Minimum execution time: 27_830 nanoseconds. - Weight::from_ref_time(19_998_366) + Weight::from_parts(19_998_366, 0) // Standard Error: 426_363 - .saturating_add(Weight::from_ref_time(384_838).saturating_mul(a.into())) + .saturating_add(Weight::from_parts(384_838, 0).saturating_mul(a.into())) // Standard Error: 440_575 - .saturating_add(Weight::from_ref_time(252_633).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(252_633, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -113,9 +113,9 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 31]`. fn announce(a: u32, _p: u32, ) -> Weight { // Minimum execution time: 36_804 nanoseconds. - Weight::from_ref_time(37_108_316) + Weight::from_parts(37_108_316, 0) // Standard Error: 57_911 - .saturating_add(Weight::from_ref_time(133_822).saturating_mul(a.into())) + .saturating_add(Weight::from_parts(133_822, 0).saturating_mul(a.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -123,7 +123,7 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 31]`. fn add_proxy(_p: u32, ) -> Weight { // Minimum execution time: 33_316 nanoseconds. - Weight::from_ref_time(36_321_000) + Weight::from_parts(36_321_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -131,7 +131,7 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 31]`. fn remove_proxy(_p: u32, ) -> Weight { // Minimum execution time: 32_520 nanoseconds. - Weight::from_ref_time(39_533_000) + Weight::from_parts(39_533_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -139,7 +139,7 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 31]`. fn remove_proxies(_p: u32, ) -> Weight { // Minimum execution time: 27_670 nanoseconds. - Weight::from_ref_time(27_801_000) + Weight::from_parts(27_801_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -148,7 +148,7 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 31]`. fn create_pure(_p: u32, ) -> Weight { // Minimum execution time: 40_567 nanoseconds. - Weight::from_ref_time(41_098_000) + Weight::from_parts(41_098_000, 0) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -156,7 +156,7 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// The range of component `p` is `[0, 30]`. fn kill_pure(_p: u32, ) -> Weight { // Minimum execution time: 27_634 nanoseconds. - Weight::from_ref_time(29_201_000) + Weight::from_parts(29_201_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/crab/src/weights/pallet_scheduler.rs b/runtime/crab/src/weights/pallet_scheduler.rs index 08ba99649..19ee8c2bb 100644 --- a/runtime/crab/src/weights/pallet_scheduler.rs +++ b/runtime/crab/src/weights/pallet_scheduler.rs @@ -59,7 +59,7 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Storage: Scheduler IncompleteSince (r:1 w:1) fn service_agendas_base() -> Weight { // Minimum execution time: 7_732 nanoseconds. - Weight::from_ref_time(7_732_000) + Weight::from_parts(7_732_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -67,46 +67,46 @@ impl pallet_scheduler::WeightInfo for WeightInfo { /// The range of component `s` is `[0, 50]`. fn service_agenda_base(_s: u32, ) -> Weight { // Minimum execution time: 12_382 nanoseconds. - Weight::from_ref_time(31_777_000) + Weight::from_parts(31_777_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } fn service_task_base() -> Weight { // Minimum execution time: 20_530 nanoseconds. - Weight::from_ref_time(20_530_000) + Weight::from_parts(20_530_000, 0) } // Storage: Preimage PreimageFor (r:1 w:1) // Storage: Preimage StatusFor (r:1 w:1) /// The range of component `s` is `[128, 4194304]`. fn service_task_fetched(_s: u32, ) -> Weight { // Minimum execution time: 28_988 nanoseconds. - Weight::from_ref_time(4_254_444_000) + Weight::from_parts(4_254_444_000, 0) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } // Storage: Scheduler Lookup (r:0 w:1) fn service_task_named() -> Weight { // Minimum execution time: 22_951 nanoseconds. - Weight::from_ref_time(22_951_000) + Weight::from_parts(22_951_000, 0) .saturating_add(T::DbWeight::get().writes(1)) } fn service_task_periodic() -> Weight { // Minimum execution time: 18_354 nanoseconds. - Weight::from_ref_time(18_354_000) + Weight::from_parts(18_354_000, 0) } fn execute_dispatch_signed() -> Weight { // Minimum execution time: 85_706 nanoseconds. - Weight::from_ref_time(85_706_000) + Weight::from_parts(85_706_000, 0) } fn execute_dispatch_unsigned() -> Weight { // Minimum execution time: 17_813 nanoseconds. - Weight::from_ref_time(17_813_000) + Weight::from_parts(17_813_000, 0) } // Storage: Scheduler Agenda (r:1 w:1) /// The range of component `s` is `[0, 49]`. fn schedule(_s: u32, ) -> Weight { // Minimum execution time: 36_307 nanoseconds. - Weight::from_ref_time(62_179_000) + Weight::from_parts(62_179_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -115,7 +115,7 @@ impl pallet_scheduler::WeightInfo for WeightInfo { /// The range of component `s` is `[1, 50]`. fn cancel(_s: u32, ) -> Weight { // Minimum execution time: 34_672 nanoseconds. - Weight::from_ref_time(68_980_000) + Weight::from_parts(68_980_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -124,7 +124,7 @@ impl pallet_scheduler::WeightInfo for WeightInfo { /// The range of component `s` is `[0, 49]`. fn schedule_named(_s: u32, ) -> Weight { // Minimum execution time: 39_748 nanoseconds. - Weight::from_ref_time(68_172_000) + Weight::from_parts(68_172_000, 0) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -133,7 +133,7 @@ impl pallet_scheduler::WeightInfo for WeightInfo { /// The range of component `s` is `[1, 50]`. fn cancel_named(_s: u32, ) -> Weight { // Minimum execution time: 56_030 nanoseconds. - Weight::from_ref_time(82_262_000) + Weight::from_parts(82_262_000, 0) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } diff --git a/runtime/crab/src/weights/pallet_session.rs b/runtime/crab/src/weights/pallet_session.rs index 4c490597f..13b7cb15e 100644 --- a/runtime/crab/src/weights/pallet_session.rs +++ b/runtime/crab/src/weights/pallet_session.rs @@ -60,7 +60,7 @@ impl pallet_session::WeightInfo for WeightInfo { // Storage: Session KeyOwner (r:1 w:1) fn set_keys() -> Weight { // Minimum execution time: 39_636 nanoseconds. - Weight::from_ref_time(39_636_000) + Weight::from_parts(39_636_000, 0) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -68,7 +68,7 @@ impl pallet_session::WeightInfo for WeightInfo { // Storage: Session KeyOwner (r:0 w:1) fn purge_keys() -> Weight { // Minimum execution time: 19_450 nanoseconds. - Weight::from_ref_time(19_450_000) + Weight::from_parts(19_450_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } diff --git a/runtime/crab/src/weights/pallet_timestamp.rs b/runtime/crab/src/weights/pallet_timestamp.rs index c64988564..3451eb009 100644 --- a/runtime/crab/src/weights/pallet_timestamp.rs +++ b/runtime/crab/src/weights/pallet_timestamp.rs @@ -60,12 +60,12 @@ impl pallet_timestamp::WeightInfo for WeightInfo { // Storage: Aura CurrentSlot (r:1 w:0) fn set() -> Weight { // Minimum execution time: 26_616 nanoseconds. - Weight::from_ref_time(26_616_000) + Weight::from_parts(26_616_000, 0) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } fn on_finalize() -> Weight { // Minimum execution time: 6_441 nanoseconds. - Weight::from_ref_time(6_441_000) + Weight::from_parts(6_441_000, 0) } } diff --git a/runtime/crab/src/weights/pallet_tips.rs b/runtime/crab/src/weights/pallet_tips.rs index 5302f9830..04a5c9e27 100644 --- a/runtime/crab/src/weights/pallet_tips.rs +++ b/runtime/crab/src/weights/pallet_tips.rs @@ -61,7 +61,7 @@ impl pallet_tips::WeightInfo for WeightInfo { /// The range of component `r` is `[0, 16384]`. fn report_awesome(_r: u32, ) -> Weight { // Minimum execution time: 46_212 nanoseconds. - Weight::from_ref_time(65_344_000) + Weight::from_parts(65_344_000, 0) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -69,7 +69,7 @@ impl pallet_tips::WeightInfo for WeightInfo { // Storage: Tips Reasons (r:0 w:1) fn retract_tip() -> Weight { // Minimum execution time: 32_320 nanoseconds. - Weight::from_ref_time(32_320_000) + Weight::from_parts(32_320_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -80,11 +80,11 @@ impl pallet_tips::WeightInfo for WeightInfo { /// The range of component `t` is `[1, 7]`. fn tip_new(r: u32, t: u32, ) -> Weight { // Minimum execution time: 40_832 nanoseconds. - Weight::from_ref_time(40_386_333) + Weight::from_parts(40_386_333, 0) // Standard Error: 138 - .saturating_add(Weight::from_ref_time(1_174).saturating_mul(r.into())) + .saturating_add(Weight::from_parts(1_174, 0).saturating_mul(r.into())) // Standard Error: 379_319 - .saturating_add(Weight::from_ref_time(63_666).saturating_mul(t.into())) + .saturating_add(Weight::from_parts(63_666, 0).saturating_mul(t.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -93,7 +93,7 @@ impl pallet_tips::WeightInfo for WeightInfo { /// The range of component `t` is `[1, 7]`. fn tip(_t: u32, ) -> Weight { // Minimum execution time: 17_675 nanoseconds. - Weight::from_ref_time(18_030_000) + Weight::from_parts(18_030_000, 0) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -104,7 +104,7 @@ impl pallet_tips::WeightInfo for WeightInfo { /// The range of component `t` is `[1, 7]`. fn close_tip(_t: u32, ) -> Weight { // Minimum execution time: 51_170 nanoseconds. - Weight::from_ref_time(55_043_000) + Weight::from_parts(55_043_000, 0) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -113,7 +113,7 @@ impl pallet_tips::WeightInfo for WeightInfo { /// The range of component `t` is `[1, 7]`. fn slash_tip(_t: u32, ) -> Weight { // Minimum execution time: 21_870 nanoseconds. - Weight::from_ref_time(26_138_000) + Weight::from_parts(26_138_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } diff --git a/runtime/crab/src/weights/pallet_treasury.rs b/runtime/crab/src/weights/pallet_treasury.rs index 2d05e0299..83fdc6a1c 100644 --- a/runtime/crab/src/weights/pallet_treasury.rs +++ b/runtime/crab/src/weights/pallet_treasury.rs @@ -58,13 +58,13 @@ pub struct WeightInfo(PhantomData); impl pallet_treasury::WeightInfo for WeightInfo { fn spend() -> Weight { // Minimum execution time: 678 nanoseconds. - Weight::from_ref_time(678_000) + Weight::from_parts(678_000, 0) } // Storage: Treasury ProposalCount (r:1 w:1) // Storage: Treasury Proposals (r:0 w:1) fn propose_spend() -> Weight { // Minimum execution time: 47_467 nanoseconds. - Weight::from_ref_time(47_467_000) + Weight::from_parts(47_467_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -72,7 +72,7 @@ impl pallet_treasury::WeightInfo for WeightInfo { // Storage: System Account (r:2 w:2) fn reject_proposal() -> Weight { // Minimum execution time: 51_903 nanoseconds. - Weight::from_ref_time(51_903_000) + Weight::from_parts(51_903_000, 0) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -81,14 +81,14 @@ impl pallet_treasury::WeightInfo for WeightInfo { /// The range of component `p` is `[0, 99]`. fn approve_proposal(_p: u32, ) -> Weight { // Minimum execution time: 14_792 nanoseconds. - Weight::from_ref_time(24_007_000) + Weight::from_parts(24_007_000, 0) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Treasury Approvals (r:1 w:1) fn remove_approval() -> Weight { // Minimum execution time: 11_257 nanoseconds. - Weight::from_ref_time(11_257_000) + Weight::from_parts(11_257_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -100,7 +100,7 @@ impl pallet_treasury::WeightInfo for WeightInfo { /// The range of component `p` is `[0, 100]`. fn on_initialize_proposals(_p: u32, ) -> Weight { // Minimum execution time: 47_023 nanoseconds. - Weight::from_ref_time(284_512_000) + Weight::from_parts(284_512_000, 0) .saturating_add(T::DbWeight::get().reads(104)) .saturating_add(T::DbWeight::get().writes(4)) } diff --git a/runtime/crab/src/weights/pallet_utility.rs b/runtime/crab/src/weights/pallet_utility.rs index 01ea30fe5..c505f8478 100644 --- a/runtime/crab/src/weights/pallet_utility.rs +++ b/runtime/crab/src/weights/pallet_utility.rs @@ -59,24 +59,24 @@ impl pallet_utility::WeightInfo for WeightInfo { /// The range of component `c` is `[0, 1000]`. fn batch(_c: u32, ) -> Weight { // Minimum execution time: 38_797 nanoseconds. - Weight::from_ref_time(3_794_342_000) + Weight::from_parts(3_794_342_000, 0) } fn as_derivative() -> Weight { // Minimum execution time: 22_134 nanoseconds. - Weight::from_ref_time(22_134_000) + Weight::from_parts(22_134_000, 0) } /// The range of component `c` is `[0, 1000]`. fn batch_all(_c: u32, ) -> Weight { // Minimum execution time: 30_681 nanoseconds. - Weight::from_ref_time(3_916_476_000) + Weight::from_parts(3_916_476_000, 0) } fn dispatch_as() -> Weight { // Minimum execution time: 29_357 nanoseconds. - Weight::from_ref_time(29_357_000) + Weight::from_parts(29_357_000, 0) } /// The range of component `c` is `[0, 1000]`. fn force_batch(_c: u32, ) -> Weight { // Minimum execution time: 30_220 nanoseconds. - Weight::from_ref_time(5_327_665_000) + Weight::from_parts(5_327_665_000, 0) } } diff --git a/runtime/crab/src/weights/pallet_vesting.rs b/runtime/crab/src/weights/pallet_vesting.rs index dd72b117b..aebddb8be 100644 --- a/runtime/crab/src/weights/pallet_vesting.rs +++ b/runtime/crab/src/weights/pallet_vesting.rs @@ -62,11 +62,11 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// The range of component `s` is `[1, 28]`. fn vest_locked(l: u32, s: u32, ) -> Weight { // Minimum execution time: 52_335 nanoseconds. - Weight::from_ref_time(48_023_037) + Weight::from_parts(48_023_037, 0) // Standard Error: 150_688 - .saturating_add(Weight::from_ref_time(84_122).saturating_mul(l.into())) + .saturating_add(Weight::from_parts(84_122, 0).saturating_mul(l.into())) // Standard Error: 273_471 - .saturating_add(Weight::from_ref_time(189_962).saturating_mul(s.into())) + .saturating_add(Weight::from_parts(189_962, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -76,9 +76,9 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// The range of component `s` is `[1, 28]`. fn vest_unlocked(_l: u32, s: u32, ) -> Weight { // Minimum execution time: 54_240 nanoseconds. - Weight::from_ref_time(64_985_703) + Weight::from_parts(64_985_703, 0) // Standard Error: 154_890 - .saturating_add(Weight::from_ref_time(192_796).saturating_mul(s.into())) + .saturating_add(Weight::from_parts(192_796, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -89,11 +89,11 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// The range of component `s` is `[1, 28]`. fn vest_other_locked(l: u32, s: u32, ) -> Weight { // Minimum execution time: 50_367 nanoseconds. - Weight::from_ref_time(46_947_296) + Weight::from_parts(46_947_296, 0) // Standard Error: 44_061 - .saturating_add(Weight::from_ref_time(64_785).saturating_mul(l.into())) + .saturating_add(Weight::from_parts(64_785, 0).saturating_mul(l.into())) // Standard Error: 79_963 - .saturating_add(Weight::from_ref_time(245_203).saturating_mul(s.into())) + .saturating_add(Weight::from_parts(245_203, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -104,11 +104,11 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// The range of component `s` is `[1, 28]`. fn vest_other_unlocked(l: u32, s: u32, ) -> Weight { // Minimum execution time: 50_375 nanoseconds. - Weight::from_ref_time(49_036_925) + Weight::from_parts(49_036_925, 0) // Standard Error: 11_770 - .saturating_add(Weight::from_ref_time(24_367).saturating_mul(l.into())) + .saturating_add(Weight::from_parts(24_367, 0).saturating_mul(l.into())) // Standard Error: 21_361 - .saturating_add(Weight::from_ref_time(144_074).saturating_mul(s.into())) + .saturating_add(Weight::from_parts(144_074, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -119,7 +119,7 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// The range of component `s` is `[0, 27]`. fn vested_transfer(_l: u32, _s: u32, ) -> Weight { // Minimum execution time: 67_566 nanoseconds. - Weight::from_ref_time(94_931_000) + Weight::from_parts(94_931_000, 0) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -130,9 +130,9 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// The range of component `s` is `[0, 27]`. fn force_vested_transfer(l: u32, _s: u32, ) -> Weight { // Minimum execution time: 65_683 nanoseconds. - Weight::from_ref_time(72_016_500) + Weight::from_parts(72_016_500, 0) // Standard Error: 54_488 - .saturating_add(Weight::from_ref_time(27_214).saturating_mul(l.into())) + .saturating_add(Weight::from_parts(27_214, 0).saturating_mul(l.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -143,11 +143,11 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// The range of component `s` is `[2, 28]`. fn not_unlocking_merge_schedules(l: u32, s: u32, ) -> Weight { // Minimum execution time: 53_683 nanoseconds. - Weight::from_ref_time(53_558_230) + Weight::from_parts(53_558_230, 0) // Standard Error: 98_550 - .saturating_add(Weight::from_ref_time(29_224).saturating_mul(l.into())) + .saturating_add(Weight::from_parts(29_224, 0).saturating_mul(l.into())) // Standard Error: 185_729 - .saturating_add(Weight::from_ref_time(52_884).saturating_mul(s.into())) + .saturating_add(Weight::from_parts(52_884, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -158,11 +158,11 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// The range of component `s` is `[2, 28]`. fn unlocking_merge_schedules(l: u32, s: u32, ) -> Weight { // Minimum execution time: 50_102 nanoseconds. - Weight::from_ref_time(49_516_692) + Weight::from_parts(49_516_692, 0) // Standard Error: 27_836 - .saturating_add(Weight::from_ref_time(91_704).saturating_mul(l.into())) + .saturating_add(Weight::from_parts(91_704, 0).saturating_mul(l.into())) // Standard Error: 52_461 - .saturating_add(Weight::from_ref_time(20_903).saturating_mul(s.into())) + .saturating_add(Weight::from_parts(20_903, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } diff --git a/runtime/darwinia/src/bridges_message/crab.rs b/runtime/darwinia/src/bridges_message/crab.rs index 49254f759..df35d6469 100644 --- a/runtime/darwinia/src/bridges_message/crab.rs +++ b/runtime/darwinia/src/bridges_message/crab.rs @@ -133,7 +133,6 @@ impl TargetHeaderChain::Accoun } } impl SourceHeaderChain<::Balance> for Crab { - type Error = &'static str; type MessagesProof = FromCrabMessagesProof; fn verify_messages_proof( diff --git a/runtime/darwinia/src/pallets/evm.rs b/runtime/darwinia/src/pallets/evm.rs index 41d1ad403..8b45ce46a 100644 --- a/runtime/darwinia/src/pallets/evm.rs +++ b/runtime/darwinia/src/pallets/evm.rs @@ -25,7 +25,10 @@ const BLOCK_GAS_LIMIT: u64 = 20_000_000; frame_support::parameter_types! { pub BlockGasLimit: sp_core::U256 = sp_core::U256::from(BLOCK_GAS_LIMIT); pub PrecompilesValue: DarwiniaPrecompiles = DarwiniaPrecompiles::<_>::new(); - pub WeightPerGas: frame_support::weights::Weight = frame_support::weights::Weight::from_ref_time(fp_evm::weight_per_gas(BLOCK_GAS_LIMIT, NORMAL_DISPATCH_RATIO, WEIGHT_MILLISECS_PER_BLOCK)); + pub WeightPerGas: frame_support::weights::Weight = frame_support::weights::Weight::from_parts( + fp_evm::weight_per_gas(BLOCK_GAS_LIMIT, NORMAL_DISPATCH_RATIO, WEIGHT_MILLISECS_PER_BLOCK), + 0 + ); } // TODO: Integrate to the upstream repo diff --git a/runtime/darwinia/src/weights/block_weights.rs b/runtime/darwinia/src/weights/block_weights.rs index 074d154e3..c186b8339 100644 --- a/runtime/darwinia/src/weights/block_weights.rs +++ b/runtime/darwinia/src/weights/block_weights.rs @@ -55,7 +55,7 @@ pub mod constants { /// 95th: 384_876 /// 75th: 380_642 pub const BlockExecutionWeight: Weight = - Weight::from_ref_time(WEIGHT_REF_TIME_PER_NANOS.saturating_mul(381_015)); + Weight::from_parts(WEIGHT_REF_TIME_PER_NANOS.saturating_mul(381_015), 0); } #[cfg(test)] diff --git a/runtime/darwinia/src/weights/cumulus_pallet_xcmp_queue.rs b/runtime/darwinia/src/weights/cumulus_pallet_xcmp_queue.rs index 186b95f6b..95d2c00f9 100644 --- a/runtime/darwinia/src/weights/cumulus_pallet_xcmp_queue.rs +++ b/runtime/darwinia/src/weights/cumulus_pallet_xcmp_queue.rs @@ -59,14 +59,14 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for WeightIn // Storage: XcmpQueue QueueConfig (r:1 w:1) fn set_config_with_u32() -> Weight { // Minimum execution time: 22_659 nanoseconds. - Weight::from_ref_time(22_659_000) + Weight::from_parts(22_659_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } // Storage: XcmpQueue QueueConfig (r:1 w:1) fn set_config_with_weight() -> Weight { // Minimum execution time: 24_181 nanoseconds. - Weight::from_ref_time(24_181_000) + Weight::from_parts(24_181_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/darwinia/src/weights/darwinia_account_migration.rs b/runtime/darwinia/src/weights/darwinia_account_migration.rs index afa897d54..760e0b5ed 100644 --- a/runtime/darwinia/src/weights/darwinia_account_migration.rs +++ b/runtime/darwinia/src/weights/darwinia_account_migration.rs @@ -134,13 +134,13 @@ impl darwinia_account_migration::WeightInfo for WeightI // Minimum execution time: 33_160 nanoseconds. Weight::from_parts(197_482_666, 52017) // Standard Error: 134_286 - .saturating_add(Weight::from_ref_time(176_269).saturating_mul(x.into())) + .saturating_add(Weight::from_parts(176_269, 0).saturating_mul(x.into())) // Standard Error: 134_286 - .saturating_add(Weight::from_ref_time(15_875).saturating_mul(z.into())) + .saturating_add(Weight::from_parts(15_875, 0).saturating_mul(z.into())) .saturating_add(T::DbWeight::get().reads(12)) .saturating_add(T::DbWeight::get().writes(18)) - .saturating_add(Weight::from_proof_size(7).saturating_mul(y.into())) - .saturating_add(Weight::from_proof_size(3).saturating_mul(z.into())) + .saturating_add(Weight::from_parts(7, 0).saturating_mul(y.into())) + .saturating_add(Weight::from_parts(3, 0).saturating_mul(z.into())) } /// Storage: AccountMigration Multisigs (r:1 w:1) /// Proof Skipped: AccountMigration Multisigs (max_values: None, max_size: None, mode: Measured) diff --git a/runtime/darwinia/src/weights/darwinia_staking.rs b/runtime/darwinia/src/weights/darwinia_staking.rs index b95f4ea57..4c1a15812 100644 --- a/runtime/darwinia/src/weights/darwinia_staking.rs +++ b/runtime/darwinia/src/weights/darwinia_staking.rs @@ -167,7 +167,7 @@ impl darwinia_staking::WeightInfo for WeightInfo { // Measured: `678` // Estimated: `0` // Minimum execution time: 7_026 nanoseconds. - Weight::from_ref_time(7_026_000) + Weight::from_parts(7_026_000, 0) .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: DarwiniaStaking CollatorCount (r:0 w:1) @@ -177,7 +177,7 @@ impl darwinia_staking::WeightInfo for WeightInfo { // Measured: `678` // Estimated: `0` // Minimum execution time: 14_951 nanoseconds. - Weight::from_ref_time(14_951_000) + Weight::from_parts(14_951_000, 0) .saturating_add(T::DbWeight::get().writes(1)) } } diff --git a/runtime/darwinia/src/weights/extrinsic_weights.rs b/runtime/darwinia/src/weights/extrinsic_weights.rs index 4d2873d51..08fc6a963 100644 --- a/runtime/darwinia/src/weights/extrinsic_weights.rs +++ b/runtime/darwinia/src/weights/extrinsic_weights.rs @@ -55,7 +55,7 @@ pub mod constants { /// 95th: 100_051 /// 75th: 99_916 pub const ExtrinsicBaseWeight: Weight = - Weight::from_ref_time(WEIGHT_REF_TIME_PER_NANOS.saturating_mul(99_840)); + Weight::from_parts(WEIGHT_REF_TIME_PER_NANOS.saturating_mul(99_840), 0); } #[cfg(test)] diff --git a/runtime/darwinia/src/weights/frame_system.rs b/runtime/darwinia/src/weights/frame_system.rs index 52794cc00..a494ce6c7 100644 --- a/runtime/darwinia/src/weights/frame_system.rs +++ b/runtime/darwinia/src/weights/frame_system.rs @@ -59,18 +59,18 @@ impl frame_system::WeightInfo for WeightInfo { /// The range of component `b` is `[0, 3932160]`. fn remark(_b: u32, ) -> Weight { // Minimum execution time: 16_731 nanoseconds. - Weight::from_ref_time(904_761_000) + Weight::from_parts(904_761_000, 0) } /// The range of component `b` is `[0, 3932160]`. fn remark_with_event(_b: u32, ) -> Weight { // Minimum execution time: 31_589 nanoseconds. - Weight::from_ref_time(4_648_833_000) + Weight::from_parts(4_648_833_000, 0) } // Storage: System Digest (r:1 w:1) // Storage: unknown [0x3a686561707061676573] (r:0 w:1) fn set_heap_pages() -> Weight { // Minimum execution time: 33_982 nanoseconds. - Weight::from_ref_time(33_982_000) + Weight::from_parts(33_982_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -78,21 +78,21 @@ impl frame_system::WeightInfo for WeightInfo { /// The range of component `i` is `[0, 1000]`. fn set_storage(_i: u32, ) -> Weight { // Minimum execution time: 15_374 nanoseconds. - Weight::from_ref_time(555_371_000) + Weight::from_parts(555_371_000, 0) .saturating_add(T::DbWeight::get().writes(1000)) } // Storage: Skipped Metadata (r:0 w:0) /// The range of component `i` is `[0, 1000]`. fn kill_storage(_i: u32, ) -> Weight { // Minimum execution time: 16_973 nanoseconds. - Weight::from_ref_time(398_754_000) + Weight::from_parts(398_754_000, 0) .saturating_add(T::DbWeight::get().writes(1000)) } // Storage: Skipped Metadata (r:0 w:0) /// The range of component `p` is `[0, 1000]`. fn kill_prefix(_p: u32, ) -> Weight { // Minimum execution time: 19_452 nanoseconds. - Weight::from_ref_time(933_972_000) + Weight::from_parts(933_972_000, 0) .saturating_add(T::DbWeight::get().writes(1000)) } } diff --git a/runtime/darwinia/src/weights/pallet_assets.rs b/runtime/darwinia/src/weights/pallet_assets.rs index b7ce8c953..a250176bc 100644 --- a/runtime/darwinia/src/weights/pallet_assets.rs +++ b/runtime/darwinia/src/weights/pallet_assets.rs @@ -59,21 +59,21 @@ impl pallet_assets::WeightInfo for WeightInfo { // Storage: Assets Asset (r:1 w:1) fn create() -> Weight { // Minimum execution time: 56_587 nanoseconds. - Weight::from_ref_time(56_587_000) + Weight::from_parts(56_587_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Assets Asset (r:1 w:1) fn force_create() -> Weight { // Minimum execution time: 39_230 nanoseconds. - Weight::from_ref_time(39_230_000) + Weight::from_parts(39_230_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Assets Asset (r:1 w:1) fn start_destroy() -> Weight { // Minimum execution time: 20_476 nanoseconds. - Weight::from_ref_time(20_476_000) + Weight::from_parts(20_476_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -83,7 +83,7 @@ impl pallet_assets::WeightInfo for WeightInfo { /// The range of component `c` is `[0, 1000]`. fn destroy_accounts(_c: u32, ) -> Weight { // Minimum execution time: 26_262 nanoseconds. - Weight::from_ref_time(11_602_815_000) + Weight::from_parts(11_602_815_000, 0) .saturating_add(T::DbWeight::get().reads(2002)) .saturating_add(T::DbWeight::get().writes(2001)) } @@ -92,7 +92,7 @@ impl pallet_assets::WeightInfo for WeightInfo { /// The range of component `a` is `[0, 1000]`. fn destroy_approvals(_a: u32, ) -> Weight { // Minimum execution time: 30_306 nanoseconds. - Weight::from_ref_time(5_836_012_000) + Weight::from_parts(5_836_012_000, 0) .saturating_add(T::DbWeight::get().reads(1002)) .saturating_add(T::DbWeight::get().writes(1001)) } @@ -100,7 +100,7 @@ impl pallet_assets::WeightInfo for WeightInfo { // Storage: Assets Metadata (r:1 w:0) fn finish_destroy() -> Weight { // Minimum execution time: 29_489 nanoseconds. - Weight::from_ref_time(29_489_000) + Weight::from_parts(29_489_000, 0) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -108,7 +108,7 @@ impl pallet_assets::WeightInfo for WeightInfo { // Storage: Assets Account (r:1 w:1) fn mint() -> Weight { // Minimum execution time: 39_295 nanoseconds. - Weight::from_ref_time(39_295_000) + Weight::from_parts(39_295_000, 0) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -116,7 +116,7 @@ impl pallet_assets::WeightInfo for WeightInfo { // Storage: Assets Account (r:1 w:1) fn burn() -> Weight { // Minimum execution time: 69_414 nanoseconds. - Weight::from_ref_time(69_414_000) + Weight::from_parts(69_414_000, 0) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -125,7 +125,7 @@ impl pallet_assets::WeightInfo for WeightInfo { // Storage: System Account (r:1 w:1) fn transfer() -> Weight { // Minimum execution time: 60_168 nanoseconds. - Weight::from_ref_time(60_168_000) + Weight::from_parts(60_168_000, 0) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -134,7 +134,7 @@ impl pallet_assets::WeightInfo for WeightInfo { // Storage: System Account (r:1 w:1) fn transfer_keep_alive() -> Weight { // Minimum execution time: 50_406 nanoseconds. - Weight::from_ref_time(50_406_000) + Weight::from_parts(50_406_000, 0) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -143,7 +143,7 @@ impl pallet_assets::WeightInfo for WeightInfo { // Storage: System Account (r:1 w:1) fn force_transfer() -> Weight { // Minimum execution time: 59_553 nanoseconds. - Weight::from_ref_time(59_553_000) + Weight::from_parts(59_553_000, 0) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -151,7 +151,7 @@ impl pallet_assets::WeightInfo for WeightInfo { // Storage: Assets Account (r:1 w:1) fn freeze() -> Weight { // Minimum execution time: 31_452 nanoseconds. - Weight::from_ref_time(31_452_000) + Weight::from_parts(31_452_000, 0) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -159,21 +159,21 @@ impl pallet_assets::WeightInfo for WeightInfo { // Storage: Assets Account (r:1 w:1) fn thaw() -> Weight { // Minimum execution time: 24_513 nanoseconds. - Weight::from_ref_time(24_513_000) + Weight::from_parts(24_513_000, 0) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Assets Asset (r:1 w:1) fn freeze_asset() -> Weight { // Minimum execution time: 21_323 nanoseconds. - Weight::from_ref_time(21_323_000) + Weight::from_parts(21_323_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Assets Asset (r:1 w:1) fn thaw_asset() -> Weight { // Minimum execution time: 21_348 nanoseconds. - Weight::from_ref_time(21_348_000) + Weight::from_parts(21_348_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -181,14 +181,14 @@ impl pallet_assets::WeightInfo for WeightInfo { // Storage: Assets Metadata (r:1 w:0) fn transfer_ownership() -> Weight { // Minimum execution time: 25_390 nanoseconds. - Weight::from_ref_time(25_390_000) + Weight::from_parts(25_390_000, 0) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Assets Asset (r:1 w:1) fn set_team() -> Weight { // Minimum execution time: 24_293 nanoseconds. - Weight::from_ref_time(24_293_000) + Weight::from_parts(24_293_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -198,7 +198,7 @@ impl pallet_assets::WeightInfo for WeightInfo { /// The range of component `s` is `[0, 50]`. fn set_metadata(_n: u32, _s: u32, ) -> Weight { // Minimum execution time: 22_987 nanoseconds. - Weight::from_ref_time(25_843_000) + Weight::from_parts(25_843_000, 0) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -206,7 +206,7 @@ impl pallet_assets::WeightInfo for WeightInfo { // Storage: Assets Metadata (r:1 w:1) fn clear_metadata() -> Weight { // Minimum execution time: 25_350 nanoseconds. - Weight::from_ref_time(25_350_000) + Weight::from_parts(25_350_000, 0) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -216,11 +216,11 @@ impl pallet_assets::WeightInfo for WeightInfo { /// The range of component `s` is `[0, 50]`. fn force_set_metadata(n: u32, s: u32, ) -> Weight { // Minimum execution time: 24_650 nanoseconds. - Weight::from_ref_time(24_650_000) + Weight::from_parts(24_650_000, 0) // Standard Error: 1_463_906 - .saturating_add(Weight::from_ref_time(763_932).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(763_932, 0).saturating_mul(n.into())) // Standard Error: 1_463_906 - .saturating_add(Weight::from_ref_time(701_872).saturating_mul(s.into())) + .saturating_add(Weight::from_parts(701_872, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -228,14 +228,14 @@ impl pallet_assets::WeightInfo for WeightInfo { // Storage: Assets Metadata (r:1 w:1) fn force_clear_metadata() -> Weight { // Minimum execution time: 24_363 nanoseconds. - Weight::from_ref_time(24_363_000) + Weight::from_parts(24_363_000, 0) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Assets Asset (r:1 w:1) fn force_asset_status() -> Weight { // Minimum execution time: 22_583 nanoseconds. - Weight::from_ref_time(22_583_000) + Weight::from_parts(22_583_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -243,7 +243,7 @@ impl pallet_assets::WeightInfo for WeightInfo { // Storage: Assets Approvals (r:1 w:1) fn approve_transfer() -> Weight { // Minimum execution time: 28_080 nanoseconds. - Weight::from_ref_time(28_080_000) + Weight::from_parts(28_080_000, 0) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -253,7 +253,7 @@ impl pallet_assets::WeightInfo for WeightInfo { // Storage: System Account (r:1 w:1) fn transfer_approved() -> Weight { // Minimum execution time: 59_322 nanoseconds. - Weight::from_ref_time(59_322_000) + Weight::from_parts(59_322_000, 0) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(5)) } @@ -261,7 +261,7 @@ impl pallet_assets::WeightInfo for WeightInfo { // Storage: Assets Approvals (r:1 w:1) fn cancel_approval() -> Weight { // Minimum execution time: 26_915 nanoseconds. - Weight::from_ref_time(26_915_000) + Weight::from_parts(26_915_000, 0) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -269,7 +269,7 @@ impl pallet_assets::WeightInfo for WeightInfo { // Storage: Assets Approvals (r:1 w:1) fn force_cancel_approval() -> Weight { // Minimum execution time: 27_182 nanoseconds. - Weight::from_ref_time(27_182_000) + Weight::from_parts(27_182_000, 0) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } diff --git a/runtime/darwinia/src/weights/pallet_balances.rs b/runtime/darwinia/src/weights/pallet_balances.rs index b1f203619..00e826aaf 100644 --- a/runtime/darwinia/src/weights/pallet_balances.rs +++ b/runtime/darwinia/src/weights/pallet_balances.rs @@ -59,49 +59,49 @@ impl pallet_balances::WeightInfo for WeightInfo { // Storage: System Account (r:1 w:1) fn transfer() -> Weight { // Minimum execution time: 58_592 nanoseconds. - Weight::from_ref_time(58_592_000) + Weight::from_parts(58_592_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } // Storage: System Account (r:1 w:1) fn transfer_keep_alive() -> Weight { // Minimum execution time: 50_872 nanoseconds. - Weight::from_ref_time(50_872_000) + Weight::from_parts(50_872_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } // Storage: System Account (r:1 w:1) fn set_balance_creating() -> Weight { // Minimum execution time: 37_178 nanoseconds. - Weight::from_ref_time(37_178_000) + Weight::from_parts(37_178_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } // Storage: System Account (r:1 w:1) fn set_balance_killing() -> Weight { // Minimum execution time: 43_815 nanoseconds. - Weight::from_ref_time(43_815_000) + Weight::from_parts(43_815_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } // Storage: System Account (r:2 w:2) fn force_transfer() -> Weight { // Minimum execution time: 57_823 nanoseconds. - Weight::from_ref_time(57_823_000) + Weight::from_parts(57_823_000, 0) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } // Storage: System Account (r:1 w:1) fn transfer_all() -> Weight { // Minimum execution time: 54_857 nanoseconds. - Weight::from_ref_time(54_857_000) + Weight::from_parts(54_857_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } // Storage: System Account (r:1 w:1) fn force_unreserve() -> Weight { // Minimum execution time: 33_862 nanoseconds. - Weight::from_ref_time(33_862_000) + Weight::from_parts(33_862_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/darwinia/src/weights/pallet_bridge_grandpa.rs b/runtime/darwinia/src/weights/pallet_bridge_grandpa.rs index 35a479e0d..ec9b673e0 100644 --- a/runtime/darwinia/src/weights/pallet_bridge_grandpa.rs +++ b/runtime/darwinia/src/weights/pallet_bridge_grandpa.rs @@ -67,9 +67,9 @@ impl pallet_bridge_grandpa::WeightInfo for WeightInfo Weight { // Minimum execution time: 1_827_347 nanoseconds. - Weight::from_ref_time(1_827_347_000) + Weight::from_parts(1_827_347_000, 0) // Standard Error: 5_261_126 - .saturating_add(Weight::from_ref_time(22_294_934).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(22_294_934, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(6)) } diff --git a/runtime/darwinia/src/weights/pallet_collective_council.rs b/runtime/darwinia/src/weights/pallet_collective_council.rs index e39986c68..cdec871a6 100644 --- a/runtime/darwinia/src/weights/pallet_collective_council.rs +++ b/runtime/darwinia/src/weights/pallet_collective_council.rs @@ -68,11 +68,11 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `p` is `[0, 100]`. fn set_members(m: u32, _n: u32, p: u32, ) -> Weight { // Minimum execution time: 16_549 nanoseconds. - Weight::from_ref_time(16_549_000) + Weight::from_parts(16_549_000, 0) // Standard Error: 980_232 - .saturating_add(Weight::from_ref_time(4_170_184).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(4_170_184, 0).saturating_mul(m.into())) // Standard Error: 980_232 - .saturating_add(Weight::from_ref_time(4_126_919).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(4_126_919, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(m.into()))) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(p.into()))) @@ -87,11 +87,11 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `m` is `[1, 100]`. fn execute(b: u32, m: u32, ) -> Weight { // Minimum execution time: 24_638 nanoseconds. - Weight::from_ref_time(24_055_596) + Weight::from_parts(24_055_596, 0) // Standard Error: 2_125 - .saturating_add(Weight::from_ref_time(1_111).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(1_111, 0).saturating_mul(b.into())) // Standard Error: 21_937 - .saturating_add(Weight::from_ref_time(43_181).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(43_181, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(1)) } // Storage: Council Members (r:1 w:0) @@ -102,7 +102,7 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `m` is `[1, 100]`. fn propose_execute(_b: u32, _m: u32, ) -> Weight { // Minimum execution time: 29_700 nanoseconds. - Weight::from_ref_time(38_601_495) + Weight::from_parts(38_601_495, 0) .saturating_add(T::DbWeight::get().reads(2)) } // Storage: Council Members (r:1 w:0) @@ -118,13 +118,13 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 100]`. fn propose_proposed(b: u32, m: u32, p: u32, ) -> Weight { // Minimum execution time: 34_650 nanoseconds. - Weight::from_ref_time(29_829_867) + Weight::from_parts(29_829_867, 0) // Standard Error: 1_265 - .saturating_add(Weight::from_ref_time(5_682).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(5_682, 0).saturating_mul(b.into())) // Standard Error: 13_196 - .saturating_add(Weight::from_ref_time(2_573).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(2_573, 0).saturating_mul(m.into())) // Standard Error: 13_063 - .saturating_add(Weight::from_ref_time(162_118).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(162_118, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -134,9 +134,9 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `m` is `[5, 100]`. fn vote(m: u32, ) -> Weight { // Minimum execution time: 31_527 nanoseconds. - Weight::from_ref_time(33_560_605) + Weight::from_parts(33_560_605, 0) // Standard Error: 38_057 - .saturating_add(Weight::from_ref_time(38_078).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(38_078, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -150,9 +150,9 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 100]`. fn close_early_disapproved(_m: u32, p: u32, ) -> Weight { // Minimum execution time: 31_814 nanoseconds. - Weight::from_ref_time(37_323_856) + Weight::from_parts(37_323_856, 0) // Standard Error: 55_392 - .saturating_add(Weight::from_ref_time(189_747).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(189_747, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -168,11 +168,11 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 100]`. fn close_early_approved(b: u32, _m: u32, p: u32, ) -> Weight { // Minimum execution time: 44_945 nanoseconds. - Weight::from_ref_time(59_214_323) + Weight::from_parts(59_214_323, 0) // Standard Error: 7_193 - .saturating_add(Weight::from_ref_time(184).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(184, 0).saturating_mul(b.into())) // Standard Error: 74_261 - .saturating_add(Weight::from_ref_time(206_535).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(206_535, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -187,9 +187,9 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 100]`. fn close_disapproved(_m: u32, p: u32, ) -> Weight { // Minimum execution time: 37_727 nanoseconds. - Weight::from_ref_time(41_637_474) + Weight::from_parts(41_637_474, 0) // Standard Error: 58_377 - .saturating_add(Weight::from_ref_time(154_525).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(154_525, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -206,13 +206,13 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 100]`. fn close_approved(b: u32, m: u32, p: u32, ) -> Weight { // Minimum execution time: 49_764 nanoseconds. - Weight::from_ref_time(46_719_875) + Weight::from_parts(46_719_875, 0) // Standard Error: 1_863 - .saturating_add(Weight::from_ref_time(3_169).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(3_169, 0).saturating_mul(b.into())) // Standard Error: 19_834 - .saturating_add(Weight::from_ref_time(15_388).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(15_388, 0).saturating_mul(m.into())) // Standard Error: 19_233 - .saturating_add(Weight::from_ref_time(167_734).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(167_734, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -223,9 +223,9 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 100]`. fn disapprove_proposal(p: u32, ) -> Weight { // Minimum execution time: 20_155 nanoseconds. - Weight::from_ref_time(21_485_984) + Weight::from_parts(21_485_984, 0) // Standard Error: 65_029 - .saturating_add(Weight::from_ref_time(354_015).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(354_015, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(3)) } diff --git a/runtime/darwinia/src/weights/pallet_collective_technical_committee.rs b/runtime/darwinia/src/weights/pallet_collective_technical_committee.rs index b78196712..22dab23c3 100644 --- a/runtime/darwinia/src/weights/pallet_collective_technical_committee.rs +++ b/runtime/darwinia/src/weights/pallet_collective_technical_committee.rs @@ -68,11 +68,11 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `p` is `[0, 100]`. fn set_members(m: u32, _n: u32, p: u32, ) -> Weight { // Minimum execution time: 14_668 nanoseconds. - Weight::from_ref_time(14_668_000) + Weight::from_parts(14_668_000, 0) // Standard Error: 917_728 - .saturating_add(Weight::from_ref_time(4_113_671).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(4_113_671, 0).saturating_mul(m.into())) // Standard Error: 917_728 - .saturating_add(Weight::from_ref_time(4_057_451).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(4_057_451, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(m.into()))) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(p.into()))) @@ -87,7 +87,7 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `m` is `[1, 100]`. fn execute(_b: u32, _m: u32, ) -> Weight { // Minimum execution time: 18_455 nanoseconds. - Weight::from_ref_time(21_728_250) + Weight::from_parts(21_728_250, 0) .saturating_add(T::DbWeight::get().reads(1)) } // Storage: TechnicalCommittee Members (r:1 w:0) @@ -98,11 +98,11 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `m` is `[1, 100]`. fn propose_execute(b: u32, m: u32, ) -> Weight { // Minimum execution time: 20_871 nanoseconds. - Weight::from_ref_time(21_279_706) + Weight::from_parts(21_279_706, 0) // Standard Error: 1_159 - .saturating_add(Weight::from_ref_time(268).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(268, 0).saturating_mul(b.into())) // Standard Error: 11_968 - .saturating_add(Weight::from_ref_time(11_757).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(11_757, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2)) } // Storage: TechnicalCommittee Members (r:1 w:0) @@ -118,13 +118,13 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 100]`. fn propose_proposed(b: u32, m: u32, p: u32, ) -> Weight { // Minimum execution time: 27_335 nanoseconds. - Weight::from_ref_time(17_258_081) + Weight::from_parts(17_258_081, 0) // Standard Error: 1_899 - .saturating_add(Weight::from_ref_time(7_941).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(7_941, 0).saturating_mul(b.into())) // Standard Error: 19_812 - .saturating_add(Weight::from_ref_time(18_405).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(18_405, 0).saturating_mul(m.into())) // Standard Error: 19_612 - .saturating_add(Weight::from_ref_time(234_724).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(234_724, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -134,9 +134,9 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `m` is `[5, 100]`. fn vote(m: u32, ) -> Weight { // Minimum execution time: 33_012 nanoseconds. - Weight::from_ref_time(34_374_394) + Weight::from_parts(34_374_394, 0) // Standard Error: 19_155 - .saturating_add(Weight::from_ref_time(28_321).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(28_321, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -150,11 +150,11 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 100]`. fn close_early_disapproved(m: u32, p: u32, ) -> Weight { // Minimum execution time: 28_087 nanoseconds. - Weight::from_ref_time(19_825_023) + Weight::from_parts(19_825_023, 0) // Standard Error: 24_337 - .saturating_add(Weight::from_ref_time(83_765).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(83_765, 0).saturating_mul(m.into())) // Standard Error: 23_599 - .saturating_add(Weight::from_ref_time(272_914).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(272_914, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -170,11 +170,11 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 100]`. fn close_early_approved(_b: u32, m: u32, p: u32, ) -> Weight { // Minimum execution time: 39_426 nanoseconds. - Weight::from_ref_time(45_353_639) + Weight::from_parts(45_353_639, 0) // Standard Error: 86_006 - .saturating_add(Weight::from_ref_time(77_380).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(77_380, 0).saturating_mul(m.into())) // Standard Error: 83_400 - .saturating_add(Weight::from_ref_time(167_636).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(167_636, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -189,11 +189,11 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 100]`. fn close_disapproved(m: u32, p: u32, ) -> Weight { // Minimum execution time: 30_203 nanoseconds. - Weight::from_ref_time(31_999_524) + Weight::from_parts(31_999_524, 0) // Standard Error: 45_091 - .saturating_add(Weight::from_ref_time(17_088).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(17_088, 0).saturating_mul(m.into())) // Standard Error: 43_724 - .saturating_add(Weight::from_ref_time(198_121).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(198_121, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -210,13 +210,13 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 100]`. fn close_approved(b: u32, m: u32, p: u32, ) -> Weight { // Minimum execution time: 39_077 nanoseconds. - Weight::from_ref_time(38_010_520) + Weight::from_parts(38_010_520, 0) // Standard Error: 2_018 - .saturating_add(Weight::from_ref_time(2_006).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(2_006, 0).saturating_mul(b.into())) // Standard Error: 21_491 - .saturating_add(Weight::from_ref_time(9_927).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(9_927, 0).saturating_mul(m.into())) // Standard Error: 20_840 - .saturating_add(Weight::from_ref_time(213_257).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(213_257, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -227,9 +227,9 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 100]`. fn disapprove_proposal(p: u32, ) -> Weight { // Minimum execution time: 17_759 nanoseconds. - Weight::from_ref_time(18_497_348) + Weight::from_parts(18_497_348, 0) // Standard Error: 59_579 - .saturating_add(Weight::from_ref_time(264_651).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(264_651, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(3)) } diff --git a/runtime/darwinia/src/weights/pallet_democracy.rs b/runtime/darwinia/src/weights/pallet_democracy.rs index 9ba1beab0..59edf8b2b 100644 --- a/runtime/darwinia/src/weights/pallet_democracy.rs +++ b/runtime/darwinia/src/weights/pallet_democracy.rs @@ -62,14 +62,14 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: Democracy DepositOf (r:0 w:1) fn propose() -> Weight { // Minimum execution time: 53_908 nanoseconds. - Weight::from_ref_time(53_908_000) + Weight::from_parts(53_908_000, 0) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } // Storage: Democracy DepositOf (r:1 w:1) fn second() -> Weight { // Minimum execution time: 43_317 nanoseconds. - Weight::from_ref_time(43_317_000) + Weight::from_parts(43_317_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -78,7 +78,7 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: Balances Locks (r:1 w:1) fn vote_new() -> Weight { // Minimum execution time: 58_885 nanoseconds. - Weight::from_ref_time(58_885_000) + Weight::from_parts(58_885_000, 0) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -87,7 +87,7 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: Balances Locks (r:1 w:1) fn vote_existing() -> Weight { // Minimum execution time: 55_337 nanoseconds. - Weight::from_ref_time(55_337_000) + Weight::from_parts(55_337_000, 0) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -95,7 +95,7 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: Democracy Cancellations (r:1 w:1) fn emergency_cancel() -> Weight { // Minimum execution time: 31_305 nanoseconds. - Weight::from_ref_time(31_305_000) + Weight::from_parts(31_305_000, 0) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -107,7 +107,7 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: Democracy Blacklist (r:0 w:1) fn blacklist() -> Weight { // Minimum execution time: 107_680 nanoseconds. - Weight::from_ref_time(107_680_000) + Weight::from_parts(107_680_000, 0) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(7)) } @@ -115,20 +115,20 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: Democracy Blacklist (r:1 w:0) fn external_propose() -> Weight { // Minimum execution time: 30_203 nanoseconds. - Weight::from_ref_time(30_203_000) + Weight::from_parts(30_203_000, 0) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Democracy NextExternal (r:0 w:1) fn external_propose_majority() -> Weight { // Minimum execution time: 15_812 nanoseconds. - Weight::from_ref_time(15_812_000) + Weight::from_parts(15_812_000, 0) .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Democracy NextExternal (r:0 w:1) fn external_propose_default() -> Weight { // Minimum execution time: 13_619 nanoseconds. - Weight::from_ref_time(13_619_000) + Weight::from_parts(13_619_000, 0) .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Democracy NextExternal (r:1 w:1) @@ -136,7 +136,7 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: Democracy ReferendumInfoOf (r:0 w:1) fn fast_track() -> Weight { // Minimum execution time: 29_413 nanoseconds. - Weight::from_ref_time(29_413_000) + Weight::from_parts(29_413_000, 0) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -144,7 +144,7 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: Democracy Blacklist (r:1 w:1) fn veto_external() -> Weight { // Minimum execution time: 31_903 nanoseconds. - Weight::from_ref_time(31_903_000) + Weight::from_parts(31_903_000, 0) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -153,14 +153,14 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: System Account (r:2 w:2) fn cancel_proposal() -> Weight { // Minimum execution time: 80_182 nanoseconds. - Weight::from_ref_time(80_182_000) + Weight::from_parts(80_182_000, 0) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) } // Storage: Democracy ReferendumInfoOf (r:0 w:1) fn cancel_referendum() -> Weight { // Minimum execution time: 30_560 nanoseconds. - Weight::from_ref_time(30_560_000) + Weight::from_parts(30_560_000, 0) .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Democracy LowestUnbaked (r:1 w:1) @@ -169,7 +169,7 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// The range of component `r` is `[0, 99]`. fn on_initialize_base(_r: u32, ) -> Weight { // Minimum execution time: 16_422 nanoseconds. - Weight::from_ref_time(209_969_000) + Weight::from_parts(209_969_000, 0) .saturating_add(T::DbWeight::get().reads(101)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -182,7 +182,7 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// The range of component `r` is `[0, 99]`. fn on_initialize_base_with_launch_period(_r: u32, ) -> Weight { // Minimum execution time: 19_167 nanoseconds. - Weight::from_ref_time(209_035_000) + Weight::from_parts(209_035_000, 0) .saturating_add(T::DbWeight::get().reads(104)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -192,7 +192,7 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// The range of component `r` is `[0, 99]`. fn delegate(_r: u32, ) -> Weight { // Minimum execution time: 49_679 nanoseconds. - Weight::from_ref_time(353_064_000) + Weight::from_parts(353_064_000, 0) .saturating_add(T::DbWeight::get().reads(103)) .saturating_add(T::DbWeight::get().writes(103)) } @@ -201,14 +201,14 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// The range of component `r` is `[0, 99]`. fn undelegate(_r: u32, ) -> Weight { // Minimum execution time: 29_932 nanoseconds. - Weight::from_ref_time(338_576_000) + Weight::from_parts(338_576_000, 0) .saturating_add(T::DbWeight::get().reads(101)) .saturating_add(T::DbWeight::get().writes(101)) } // Storage: Democracy PublicProps (r:0 w:1) fn clear_public_proposals() -> Weight { // Minimum execution time: 7_584 nanoseconds. - Weight::from_ref_time(7_584_000) + Weight::from_parts(7_584_000, 0) .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Democracy VotingOf (r:1 w:1) @@ -217,7 +217,7 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// The range of component `r` is `[0, 99]`. fn unlock_remove(_r: u32, ) -> Weight { // Minimum execution time: 36_054 nanoseconds. - Weight::from_ref_time(46_108_000) + Weight::from_parts(46_108_000, 0) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -227,7 +227,7 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// The range of component `r` is `[0, 99]`. fn unlock_set(_r: u32, ) -> Weight { // Minimum execution time: 28_813 nanoseconds. - Weight::from_ref_time(41_612_000) + Weight::from_parts(41_612_000, 0) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -236,7 +236,7 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// The range of component `r` is `[1, 100]`. fn remove_vote(_r: u32, ) -> Weight { // Minimum execution time: 19_253 nanoseconds. - Weight::from_ref_time(31_925_000) + Weight::from_parts(31_925_000, 0) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -245,7 +245,7 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// The range of component `r` is `[1, 100]`. fn remove_other_vote(_r: u32, ) -> Weight { // Minimum execution time: 16_424 nanoseconds. - Weight::from_ref_time(30_346_000) + Weight::from_parts(30_346_000, 0) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } diff --git a/runtime/darwinia/src/weights/pallet_elections_phragmen.rs b/runtime/darwinia/src/weights/pallet_elections_phragmen.rs index 039088fc9..fe3e99228 100644 --- a/runtime/darwinia/src/weights/pallet_elections_phragmen.rs +++ b/runtime/darwinia/src/weights/pallet_elections_phragmen.rs @@ -64,7 +64,7 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn /// The range of component `v` is `[1, 16]`. fn vote_equal(_v: u32, ) -> Weight { // Minimum execution time: 32_387 nanoseconds. - Weight::from_ref_time(55_917_000) + Weight::from_parts(55_917_000, 0) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -76,7 +76,7 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn /// The range of component `v` is `[2, 16]`. fn vote_more(_v: u32, ) -> Weight { // Minimum execution time: 44_475 nanoseconds. - Weight::from_ref_time(45_208_000) + Weight::from_parts(45_208_000, 0) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -88,7 +88,7 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn /// The range of component `v` is `[2, 16]`. fn vote_less(_v: u32, ) -> Weight { // Minimum execution time: 47_593 nanoseconds. - Weight::from_ref_time(58_052_000) + Weight::from_parts(58_052_000, 0) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -96,7 +96,7 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn // Storage: Balances Locks (r:1 w:1) fn remove_voter() -> Weight { // Minimum execution time: 75_912 nanoseconds. - Weight::from_ref_time(75_912_000) + Weight::from_parts(75_912_000, 0) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -106,7 +106,7 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn /// The range of component `c` is `[1, 30]`. fn submit_candidacy(_c: u32, ) -> Weight { // Minimum execution time: 38_577 nanoseconds. - Weight::from_ref_time(41_908_000) + Weight::from_parts(41_908_000, 0) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -114,7 +114,7 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn /// The range of component `c` is `[1, 30]`. fn renounce_candidacy_candidate(_c: u32, ) -> Weight { // Minimum execution time: 35_398 nanoseconds. - Weight::from_ref_time(35_736_000) + Weight::from_parts(35_736_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -125,21 +125,21 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn // Storage: Council Members (r:0 w:1) fn renounce_candidacy_members() -> Weight { // Minimum execution time: 45_908 nanoseconds. - Weight::from_ref_time(45_908_000) + Weight::from_parts(45_908_000, 0) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) } // Storage: PhragmenElection RunnersUp (r:1 w:1) fn renounce_candidacy_runners_up() -> Weight { // Minimum execution time: 36_005 nanoseconds. - Weight::from_ref_time(36_005_000) + Weight::from_parts(36_005_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Benchmark Override (r:0 w:0) fn remove_member_without_replacement() -> Weight { // Minimum execution time: 500_000_000 nanoseconds. - Weight::from_ref_time(500_000_000_000) + Weight::from_parts(500_000_000_000, 0) } // Storage: PhragmenElection Members (r:1 w:1) // Storage: System Account (r:2 w:2) @@ -149,7 +149,7 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn // Storage: Council Members (r:0 w:1) fn remove_member_with_replacement() -> Weight { // Minimum execution time: 61_680 nanoseconds. - Weight::from_ref_time(61_680_000) + Weight::from_parts(61_680_000, 0) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(6)) } @@ -163,9 +163,9 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn /// The range of component `d` is `[0, 150]`. fn clean_defunct_voters(v: u32, _d: u32, ) -> Weight { // Minimum execution time: 7_077_531 nanoseconds. - Weight::from_ref_time(432_061_000) + Weight::from_parts(432_061_000, 0) // Standard Error: 641_210 - .saturating_add(Weight::from_ref_time(45_007_843).saturating_mul(v.into())) + .saturating_add(Weight::from_parts(45_007_843, 0).saturating_mul(v.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(v.into()))) .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(v.into()))) @@ -184,13 +184,13 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn /// The range of component `e` is `[300, 4800]`. fn election_phragmen(c: u32, v: u32, e: u32, ) -> Weight { // Minimum execution time: 539_405 nanoseconds. - Weight::from_ref_time(539_405_000) + Weight::from_parts(539_405_000, 0) // Standard Error: 64_891_943 - .saturating_add(Weight::from_ref_time(37_431_949).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(37_431_949, 0).saturating_mul(c.into())) // Standard Error: 6_397_054 - .saturating_add(Weight::from_ref_time(7_749_021).saturating_mul(v.into())) + .saturating_add(Weight::from_parts(7_749_021, 0).saturating_mul(v.into())) // Standard Error: 410_852 - .saturating_add(Weight::from_ref_time(142_671).saturating_mul(e.into())) + .saturating_add(Weight::from_parts(142_671, 0).saturating_mul(e.into())) .saturating_add(T::DbWeight::get().reads(35)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(v.into()))) diff --git a/runtime/darwinia/src/weights/pallet_fee_market.rs b/runtime/darwinia/src/weights/pallet_fee_market.rs index d67801cda..693bd5905 100644 --- a/runtime/darwinia/src/weights/pallet_fee_market.rs +++ b/runtime/darwinia/src/weights/pallet_fee_market.rs @@ -65,7 +65,7 @@ impl pallet_fee_market::WeightInfo for WeightInfo { // Storage: CrabFeeMarket AssignedRelayers (r:0 w:1) fn enroll_and_lock_collateral() -> Weight { // Minimum execution time: 98_604 nanoseconds. - Weight::from_ref_time(98_604_000) + Weight::from_parts(98_604_000, 0) .saturating_add(T::DbWeight::get().reads(15)) .saturating_add(T::DbWeight::get().writes(5)) } @@ -78,7 +78,7 @@ impl pallet_fee_market::WeightInfo for WeightInfo { // Storage: CrabFeeMarket AssignedRelayers (r:0 w:1) fn increase_locked_collateral() -> Weight { // Minimum execution time: 98_488 nanoseconds. - Weight::from_ref_time(98_488_000) + Weight::from_parts(98_488_000, 0) .saturating_add(T::DbWeight::get().reads(15)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -91,7 +91,7 @@ impl pallet_fee_market::WeightInfo for WeightInfo { // Storage: CrabFeeMarket AssignedRelayers (r:0 w:1) fn decrease_locked_collateral() -> Weight { // Minimum execution time: 103_486 nanoseconds. - Weight::from_ref_time(103_486_000) + Weight::from_parts(103_486_000, 0) .saturating_add(T::DbWeight::get().reads(15)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -102,7 +102,7 @@ impl pallet_fee_market::WeightInfo for WeightInfo { // Storage: CrabFeeMarket AssignedRelayers (r:0 w:1) fn update_relay_fee() -> Weight { // Minimum execution time: 82_189 nanoseconds. - Weight::from_ref_time(82_189_000) + Weight::from_parts(82_189_000, 0) .saturating_add(T::DbWeight::get().reads(13)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -115,14 +115,14 @@ impl pallet_fee_market::WeightInfo for WeightInfo { // Storage: CrabFeeMarket AssignedRelayersNumber (r:1 w:0) fn cancel_enrollment() -> Weight { // Minimum execution time: 100_402 nanoseconds. - Weight::from_ref_time(100_402_000) + Weight::from_parts(100_402_000, 0) .saturating_add(T::DbWeight::get().reads(15)) .saturating_add(T::DbWeight::get().writes(5)) } // Storage: CrabFeeMarket CollateralSlashProtect (r:0 w:1) fn set_slash_protect() -> Weight { // Minimum execution time: 30_534 nanoseconds. - Weight::from_ref_time(30_534_000) + Weight::from_parts(30_534_000, 0) .saturating_add(T::DbWeight::get().writes(1)) } // Storage: CrabFeeMarket Relayers (r:1 w:0) @@ -132,7 +132,7 @@ impl pallet_fee_market::WeightInfo for WeightInfo { // Storage: CrabFeeMarket AssignedRelayersNumber (r:0 w:1) fn set_assigned_relayers_number() -> Weight { // Minimum execution time: 78_289 nanoseconds. - Weight::from_ref_time(78_289_000) + Weight::from_parts(78_289_000, 0) .saturating_add(T::DbWeight::get().reads(12)) .saturating_add(T::DbWeight::get().writes(2)) } diff --git a/runtime/darwinia/src/weights/pallet_identity.rs b/runtime/darwinia/src/weights/pallet_identity.rs index 8ade261ba..361afc302 100644 --- a/runtime/darwinia/src/weights/pallet_identity.rs +++ b/runtime/darwinia/src/weights/pallet_identity.rs @@ -60,7 +60,7 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `r` is `[1, 19]`. fn add_registrar(_r: u32, ) -> Weight { // Minimum execution time: 19_856 nanoseconds. - Weight::from_ref_time(26_600_000) + Weight::from_parts(26_600_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -69,11 +69,11 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `x` is `[0, 100]`. fn set_identity(r: u32, x: u32, ) -> Weight { // Minimum execution time: 47_774 nanoseconds. - Weight::from_ref_time(35_439_263) + Weight::from_parts(35_439_263, 0) // Standard Error: 131_088 - .saturating_add(Weight::from_ref_time(616_736).saturating_mul(r.into())) + .saturating_add(Weight::from_parts(616_736, 0).saturating_mul(r.into())) // Standard Error: 24_906 - .saturating_add(Weight::from_ref_time(404_230).saturating_mul(x.into())) + .saturating_add(Weight::from_parts(404_230, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -83,7 +83,7 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `s` is `[0, 100]`. fn set_subs_new(_s: u32, ) -> Weight { // Minimum execution time: 12_921 nanoseconds. - Weight::from_ref_time(288_929_000) + Weight::from_parts(288_929_000, 0) .saturating_add(T::DbWeight::get().reads(102)) .saturating_add(T::DbWeight::get().writes(101)) } @@ -93,7 +93,7 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `p` is `[0, 100]`. fn set_subs_old(_p: u32, ) -> Weight { // Minimum execution time: 11_683 nanoseconds. - Weight::from_ref_time(134_782_000) + Weight::from_parts(134_782_000, 0) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(101)) } @@ -105,13 +105,13 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `x` is `[0, 100]`. fn clear_identity(r: u32, s: u32, x: u32, ) -> Weight { // Minimum execution time: 64_452 nanoseconds. - Weight::from_ref_time(36_380_315) + Weight::from_parts(36_380_315, 0) // Standard Error: 329_626 - .saturating_add(Weight::from_ref_time(400_684).saturating_mul(r.into())) + .saturating_add(Weight::from_parts(400_684, 0).saturating_mul(r.into())) // Standard Error: 62_629 - .saturating_add(Weight::from_ref_time(946_630).saturating_mul(s.into())) + .saturating_add(Weight::from_parts(946_630, 0).saturating_mul(s.into())) // Standard Error: 62_629 - .saturating_add(Weight::from_ref_time(200_580).saturating_mul(x.into())) + .saturating_add(Weight::from_parts(200_580, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into()))) @@ -122,11 +122,11 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `x` is `[0, 100]`. fn request_judgement(r: u32, x: u32, ) -> Weight { // Minimum execution time: 46_179 nanoseconds. - Weight::from_ref_time(44_543_210) + Weight::from_parts(44_543_210, 0) // Standard Error: 8_386 - .saturating_add(Weight::from_ref_time(81_789).saturating_mul(r.into())) + .saturating_add(Weight::from_parts(81_789, 0).saturating_mul(r.into())) // Standard Error: 1_593 - .saturating_add(Weight::from_ref_time(290_800).saturating_mul(x.into())) + .saturating_add(Weight::from_parts(290_800, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -135,9 +135,9 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `x` is `[0, 100]`. fn cancel_request(_r: u32, x: u32, ) -> Weight { // Minimum execution time: 42_801 nanoseconds. - Weight::from_ref_time(65_826_263) + Weight::from_parts(65_826_263, 0) // Standard Error: 61_158 - .saturating_add(Weight::from_ref_time(329_190).saturating_mul(x.into())) + .saturating_add(Weight::from_parts(329_190, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -145,7 +145,7 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `r` is `[1, 19]`. fn set_fee(_r: u32, ) -> Weight { // Minimum execution time: 10_090 nanoseconds. - Weight::from_ref_time(13_903_000) + Weight::from_parts(13_903_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -153,7 +153,7 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `r` is `[1, 19]`. fn set_account_id(_r: u32, ) -> Weight { // Minimum execution time: 11_794 nanoseconds. - Weight::from_ref_time(12_456_000) + Weight::from_parts(12_456_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -161,7 +161,7 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `r` is `[1, 19]`. fn set_fields(_r: u32, ) -> Weight { // Minimum execution time: 10_215 nanoseconds. - Weight::from_ref_time(12_887_000) + Weight::from_parts(12_887_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -171,9 +171,9 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `x` is `[0, 100]`. fn provide_judgement(_r: u32, x: u32, ) -> Weight { // Minimum execution time: 27_453 nanoseconds. - Weight::from_ref_time(38_010_138) + Weight::from_parts(38_010_138, 0) // Standard Error: 24_049 - .saturating_add(Weight::from_ref_time(620_985).saturating_mul(x.into())) + .saturating_add(Weight::from_parts(620_985, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -186,13 +186,13 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `x` is `[0, 100]`. fn kill_identity(r: u32, s: u32, x: u32, ) -> Weight { // Minimum execution time: 74_776 nanoseconds. - Weight::from_ref_time(49_486_105) + Weight::from_parts(49_486_105, 0) // Standard Error: 262_618 - .saturating_add(Weight::from_ref_time(96_561).saturating_mul(r.into())) + .saturating_add(Weight::from_parts(96_561, 0).saturating_mul(r.into())) // Standard Error: 49_897 - .saturating_add(Weight::from_ref_time(993_516).saturating_mul(s.into())) + .saturating_add(Weight::from_parts(993_516, 0).saturating_mul(s.into())) // Standard Error: 49_897 - .saturating_add(Weight::from_ref_time(233_586).saturating_mul(x.into())) + .saturating_add(Weight::from_parts(233_586, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into()))) @@ -203,7 +203,7 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `s` is `[0, 99]`. fn add_sub(_s: u32, ) -> Weight { // Minimum execution time: 35_413 nanoseconds. - Weight::from_ref_time(45_828_000) + Weight::from_parts(45_828_000, 0) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -212,7 +212,7 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `s` is `[1, 100]`. fn rename_sub(_s: u32, ) -> Weight { // Minimum execution time: 14_774 nanoseconds. - Weight::from_ref_time(21_884_000) + Weight::from_parts(21_884_000, 0) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -222,7 +222,7 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `s` is `[1, 100]`. fn remove_sub(_s: u32, ) -> Weight { // Minimum execution time: 38_793 nanoseconds. - Weight::from_ref_time(50_556_000) + Weight::from_parts(50_556_000, 0) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -231,7 +231,7 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `s` is `[0, 99]`. fn quit_sub(_s: u32, ) -> Weight { // Minimum execution time: 26_789 nanoseconds. - Weight::from_ref_time(35_674_000) + Weight::from_parts(35_674_000, 0) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } diff --git a/runtime/darwinia/src/weights/pallet_membership.rs b/runtime/darwinia/src/weights/pallet_membership.rs index 9d905e884..24252d7c6 100644 --- a/runtime/darwinia/src/weights/pallet_membership.rs +++ b/runtime/darwinia/src/weights/pallet_membership.rs @@ -63,7 +63,7 @@ impl pallet_membership::WeightInfo for WeightInfo { /// The range of component `m` is `[1, 99]`. fn add_member(_m: u32, ) -> Weight { // Minimum execution time: 22_770 nanoseconds. - Weight::from_ref_time(25_996_000) + Weight::from_parts(25_996_000, 0) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -75,7 +75,7 @@ impl pallet_membership::WeightInfo for WeightInfo { /// The range of component `m` is `[2, 100]`. fn remove_member(_m: u32, ) -> Weight { // Minimum execution time: 23_888 nanoseconds. - Weight::from_ref_time(27_661_000) + Weight::from_parts(27_661_000, 0) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -87,7 +87,7 @@ impl pallet_membership::WeightInfo for WeightInfo { /// The range of component `m` is `[2, 100]`. fn swap_member(_m: u32, ) -> Weight { // Minimum execution time: 26_532 nanoseconds. - Weight::from_ref_time(31_077_000) + Weight::from_parts(31_077_000, 0) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -99,7 +99,7 @@ impl pallet_membership::WeightInfo for WeightInfo { /// The range of component `m` is `[1, 100]`. fn reset_member(_m: u32, ) -> Weight { // Minimum execution time: 24_395 nanoseconds. - Weight::from_ref_time(35_919_000) + Weight::from_parts(35_919_000, 0) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -111,7 +111,7 @@ impl pallet_membership::WeightInfo for WeightInfo { /// The range of component `m` is `[1, 100]`. fn change_key(_m: u32, ) -> Weight { // Minimum execution time: 25_245 nanoseconds. - Weight::from_ref_time(33_801_000) + Weight::from_parts(33_801_000, 0) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -121,7 +121,7 @@ impl pallet_membership::WeightInfo for WeightInfo { /// The range of component `m` is `[1, 100]`. fn set_prime(_m: u32, ) -> Weight { // Minimum execution time: 9_124 nanoseconds. - Weight::from_ref_time(9_319_000) + Weight::from_parts(9_319_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -130,7 +130,7 @@ impl pallet_membership::WeightInfo for WeightInfo { /// The range of component `m` is `[1, 100]`. fn clear_prime(_m: u32, ) -> Weight { // Minimum execution time: 5_281 nanoseconds. - Weight::from_ref_time(5_403_000) + Weight::from_parts(5_403_000, 0) .saturating_add(T::DbWeight::get().writes(2)) } } diff --git a/runtime/darwinia/src/weights/pallet_preimage.rs b/runtime/darwinia/src/weights/pallet_preimage.rs index ef822dc9f..020b34d43 100644 --- a/runtime/darwinia/src/weights/pallet_preimage.rs +++ b/runtime/darwinia/src/weights/pallet_preimage.rs @@ -61,7 +61,7 @@ impl pallet_preimage::WeightInfo for WeightInfo { /// The range of component `s` is `[0, 4194304]`. fn note_preimage(_s: u32, ) -> Weight { // Minimum execution time: 44_211 nanoseconds. - Weight::from_ref_time(6_200_505_000) + Weight::from_parts(6_200_505_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -70,7 +70,7 @@ impl pallet_preimage::WeightInfo for WeightInfo { /// The range of component `s` is `[0, 4194304]`. fn note_requested_preimage(_s: u32, ) -> Weight { // Minimum execution time: 36_005 nanoseconds. - Weight::from_ref_time(6_177_254_000) + Weight::from_parts(6_177_254_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -79,7 +79,7 @@ impl pallet_preimage::WeightInfo for WeightInfo { /// The range of component `s` is `[0, 4194304]`. fn note_no_deposit_preimage(_s: u32, ) -> Weight { // Minimum execution time: 28_796 nanoseconds. - Weight::from_ref_time(6_511_190_000) + Weight::from_parts(6_511_190_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -87,7 +87,7 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Storage: Preimage PreimageFor (r:0 w:1) fn unnote_preimage() -> Weight { // Minimum execution time: 222_296 nanoseconds. - Weight::from_ref_time(222_296_000) + Weight::from_parts(222_296_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -95,35 +95,35 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Storage: Preimage PreimageFor (r:0 w:1) fn unnote_no_deposit_preimage() -> Weight { // Minimum execution time: 166_228 nanoseconds. - Weight::from_ref_time(166_228_000) + Weight::from_parts(166_228_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } // Storage: Preimage StatusFor (r:1 w:1) fn request_preimage() -> Weight { // Minimum execution time: 152_026 nanoseconds. - Weight::from_ref_time(152_026_000) + Weight::from_parts(152_026_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Preimage StatusFor (r:1 w:1) fn request_no_deposit_preimage() -> Weight { // Minimum execution time: 184_048 nanoseconds. - Weight::from_ref_time(184_048_000) + Weight::from_parts(184_048_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Preimage StatusFor (r:1 w:1) fn request_unnoted_preimage() -> Weight { // Minimum execution time: 44_110 nanoseconds. - Weight::from_ref_time(44_110_000) + Weight::from_parts(44_110_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Preimage StatusFor (r:1 w:1) fn request_requested_preimage() -> Weight { // Minimum execution time: 10_235 nanoseconds. - Weight::from_ref_time(10_235_000) + Weight::from_parts(10_235_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -131,21 +131,21 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Storage: Preimage PreimageFor (r:0 w:1) fn unrequest_preimage() -> Weight { // Minimum execution time: 163_291 nanoseconds. - Weight::from_ref_time(163_291_000) + Weight::from_parts(163_291_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } // Storage: Preimage StatusFor (r:1 w:1) fn unrequest_unnoted_preimage() -> Weight { // Minimum execution time: 11_006 nanoseconds. - Weight::from_ref_time(11_006_000) + Weight::from_parts(11_006_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Preimage StatusFor (r:1 w:1) fn unrequest_multi_referenced_preimage() -> Weight { // Minimum execution time: 10_645 nanoseconds. - Weight::from_ref_time(10_645_000) + Weight::from_parts(10_645_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/darwinia/src/weights/pallet_proxy.rs b/runtime/darwinia/src/weights/pallet_proxy.rs index 55980561b..80c7e7399 100644 --- a/runtime/darwinia/src/weights/pallet_proxy.rs +++ b/runtime/darwinia/src/weights/pallet_proxy.rs @@ -60,7 +60,7 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 31]`. fn proxy(_p: u32, ) -> Weight { // Minimum execution time: 26_218 nanoseconds. - Weight::from_ref_time(68_904_000) + Weight::from_parts(68_904_000, 0) .saturating_add(T::DbWeight::get().reads(1)) } // Storage: Proxy Proxies (r:1 w:0) @@ -70,9 +70,9 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 31]`. fn proxy_announced(a: u32, _p: u32, ) -> Weight { // Minimum execution time: 41_142 nanoseconds. - Weight::from_ref_time(44_389_250) + Weight::from_parts(44_389_250, 0) // Standard Error: 178_932 - .saturating_add(Weight::from_ref_time(254_661).saturating_mul(a.into())) + .saturating_add(Weight::from_parts(254_661, 0).saturating_mul(a.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -82,7 +82,7 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 31]`. fn remove_announcement(_a: u32, _p: u32, ) -> Weight { // Minimum execution time: 31_301 nanoseconds. - Weight::from_ref_time(39_173_966) + Weight::from_parts(39_173_966, 0) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -92,11 +92,11 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 31]`. fn reject_announcement(a: u32, p: u32, ) -> Weight { // Minimum execution time: 30_436 nanoseconds. - Weight::from_ref_time(32_865_650) + Weight::from_parts(32_865_650, 0) // Standard Error: 292_241 - .saturating_add(Weight::from_ref_time(89_500).saturating_mul(a.into())) + .saturating_add(Weight::from_parts(89_500, 0).saturating_mul(a.into())) // Standard Error: 301_983 - .saturating_add(Weight::from_ref_time(850).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(850, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -107,9 +107,9 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 31]`. fn announce(a: u32, _p: u32, ) -> Weight { // Minimum execution time: 37_692 nanoseconds. - Weight::from_ref_time(39_049_800) + Weight::from_parts(39_049_800, 0) // Standard Error: 8_045 - .saturating_add(Weight::from_ref_time(111_129).saturating_mul(a.into())) + .saturating_add(Weight::from_parts(111_129, 0).saturating_mul(a.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -117,7 +117,7 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 31]`. fn add_proxy(_p: u32, ) -> Weight { // Minimum execution time: 31_193 nanoseconds. - Weight::from_ref_time(31_384_000) + Weight::from_parts(31_384_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -125,7 +125,7 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 31]`. fn remove_proxy(_p: u32, ) -> Weight { // Minimum execution time: 32_743 nanoseconds. - Weight::from_ref_time(33_496_000) + Weight::from_parts(33_496_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -133,7 +133,7 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 31]`. fn remove_proxies(_p: u32, ) -> Weight { // Minimum execution time: 28_269 nanoseconds. - Weight::from_ref_time(28_605_000) + Weight::from_parts(28_605_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -142,7 +142,7 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 31]`. fn create_pure(_p: u32, ) -> Weight { // Minimum execution time: 38_828 nanoseconds. - Weight::from_ref_time(39_233_000) + Weight::from_parts(39_233_000, 0) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -150,7 +150,7 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// The range of component `p` is `[0, 30]`. fn kill_pure(_p: u32, ) -> Weight { // Minimum execution time: 28_262 nanoseconds. - Weight::from_ref_time(32_774_000) + Weight::from_parts(32_774_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/darwinia/src/weights/pallet_scheduler.rs b/runtime/darwinia/src/weights/pallet_scheduler.rs index a7dcb95ea..3ac47d031 100644 --- a/runtime/darwinia/src/weights/pallet_scheduler.rs +++ b/runtime/darwinia/src/weights/pallet_scheduler.rs @@ -59,7 +59,7 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Storage: Scheduler IncompleteSince (r:1 w:1) fn service_agendas_base() -> Weight { // Minimum execution time: 13_716 nanoseconds. - Weight::from_ref_time(13_716_000) + Weight::from_parts(13_716_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -67,46 +67,46 @@ impl pallet_scheduler::WeightInfo for WeightInfo { /// The range of component `s` is `[0, 50]`. fn service_agenda_base(_s: u32, ) -> Weight { // Minimum execution time: 13_429 nanoseconds. - Weight::from_ref_time(42_290_000) + Weight::from_parts(42_290_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } fn service_task_base() -> Weight { // Minimum execution time: 22_162 nanoseconds. - Weight::from_ref_time(22_162_000) + Weight::from_parts(22_162_000, 0) } // Storage: Preimage PreimageFor (r:1 w:1) // Storage: Preimage StatusFor (r:1 w:1) /// The range of component `s` is `[128, 4194304]`. fn service_task_fetched(_s: u32, ) -> Weight { // Minimum execution time: 36_837 nanoseconds. - Weight::from_ref_time(4_700_884_000) + Weight::from_parts(4_700_884_000, 0) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } // Storage: Scheduler Lookup (r:0 w:1) fn service_task_named() -> Weight { // Minimum execution time: 36_616 nanoseconds. - Weight::from_ref_time(36_616_000) + Weight::from_parts(36_616_000, 0) .saturating_add(T::DbWeight::get().writes(1)) } fn service_task_periodic() -> Weight { // Minimum execution time: 24_013 nanoseconds. - Weight::from_ref_time(24_013_000) + Weight::from_parts(24_013_000, 0) } fn execute_dispatch_signed() -> Weight { // Minimum execution time: 17_446 nanoseconds. - Weight::from_ref_time(17_446_000) + Weight::from_parts(17_446_000, 0) } fn execute_dispatch_unsigned() -> Weight { // Minimum execution time: 16_930 nanoseconds. - Weight::from_ref_time(16_930_000) + Weight::from_parts(16_930_000, 0) } // Storage: Scheduler Agenda (r:1 w:1) /// The range of component `s` is `[0, 49]`. fn schedule(_s: u32, ) -> Weight { // Minimum execution time: 36_519 nanoseconds. - Weight::from_ref_time(65_491_000) + Weight::from_parts(65_491_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -115,7 +115,7 @@ impl pallet_scheduler::WeightInfo for WeightInfo { /// The range of component `s` is `[1, 50]`. fn cancel(_s: u32, ) -> Weight { // Minimum execution time: 36_919 nanoseconds. - Weight::from_ref_time(72_798_000) + Weight::from_parts(72_798_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -124,7 +124,7 @@ impl pallet_scheduler::WeightInfo for WeightInfo { /// The range of component `s` is `[0, 49]`. fn schedule_named(_s: u32, ) -> Weight { // Minimum execution time: 41_604 nanoseconds. - Weight::from_ref_time(70_534_000) + Weight::from_parts(70_534_000, 0) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -133,7 +133,7 @@ impl pallet_scheduler::WeightInfo for WeightInfo { /// The range of component `s` is `[1, 50]`. fn cancel_named(_s: u32, ) -> Weight { // Minimum execution time: 38_784 nanoseconds. - Weight::from_ref_time(81_746_000) + Weight::from_parts(81_746_000, 0) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } diff --git a/runtime/darwinia/src/weights/pallet_session.rs b/runtime/darwinia/src/weights/pallet_session.rs index 5ae158237..d8e0ba5e3 100644 --- a/runtime/darwinia/src/weights/pallet_session.rs +++ b/runtime/darwinia/src/weights/pallet_session.rs @@ -60,7 +60,7 @@ impl pallet_session::WeightInfo for WeightInfo { // Storage: Session KeyOwner (r:1 w:1) fn set_keys() -> Weight { // Minimum execution time: 36_087 nanoseconds. - Weight::from_ref_time(36_087_000) + Weight::from_parts(36_087_000, 0) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -68,7 +68,7 @@ impl pallet_session::WeightInfo for WeightInfo { // Storage: Session KeyOwner (r:0 w:1) fn purge_keys() -> Weight { // Minimum execution time: 21_031 nanoseconds. - Weight::from_ref_time(21_031_000) + Weight::from_parts(21_031_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } diff --git a/runtime/darwinia/src/weights/pallet_timestamp.rs b/runtime/darwinia/src/weights/pallet_timestamp.rs index 369d83b5d..0dfd1ea5d 100644 --- a/runtime/darwinia/src/weights/pallet_timestamp.rs +++ b/runtime/darwinia/src/weights/pallet_timestamp.rs @@ -60,12 +60,12 @@ impl pallet_timestamp::WeightInfo for WeightInfo { // Storage: Aura CurrentSlot (r:1 w:0) fn set() -> Weight { // Minimum execution time: 25_536 nanoseconds. - Weight::from_ref_time(25_536_000) + Weight::from_parts(25_536_000, 0) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } fn on_finalize() -> Weight { // Minimum execution time: 5_447 nanoseconds. - Weight::from_ref_time(5_447_000) + Weight::from_parts(5_447_000, 0) } } diff --git a/runtime/darwinia/src/weights/pallet_tips.rs b/runtime/darwinia/src/weights/pallet_tips.rs index c7b524215..3fddb3e51 100644 --- a/runtime/darwinia/src/weights/pallet_tips.rs +++ b/runtime/darwinia/src/weights/pallet_tips.rs @@ -61,7 +61,7 @@ impl pallet_tips::WeightInfo for WeightInfo { /// The range of component `r` is `[0, 16384]`. fn report_awesome(_r: u32, ) -> Weight { // Minimum execution time: 51_239 nanoseconds. - Weight::from_ref_time(79_155_000) + Weight::from_parts(79_155_000, 0) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -69,7 +69,7 @@ impl pallet_tips::WeightInfo for WeightInfo { // Storage: Tips Reasons (r:0 w:1) fn retract_tip() -> Weight { // Minimum execution time: 33_296 nanoseconds. - Weight::from_ref_time(33_296_000) + Weight::from_parts(33_296_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -80,11 +80,11 @@ impl pallet_tips::WeightInfo for WeightInfo { /// The range of component `t` is `[1, 7]`. fn tip_new(r: u32, t: u32, ) -> Weight { // Minimum execution time: 39_205 nanoseconds. - Weight::from_ref_time(37_279_416) + Weight::from_parts(37_279_416, 0) // Standard Error: 427 - .saturating_add(Weight::from_ref_time(1_209).saturating_mul(r.into())) + .saturating_add(Weight::from_parts(1_209, 0).saturating_mul(r.into())) // Standard Error: 1_167_257 - .saturating_add(Weight::from_ref_time(275_083).saturating_mul(t.into())) + .saturating_add(Weight::from_parts(275_083, 0).saturating_mul(t.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -93,7 +93,7 @@ impl pallet_tips::WeightInfo for WeightInfo { /// The range of component `t` is `[1, 7]`. fn tip(_t: u32, ) -> Weight { // Minimum execution time: 19_075 nanoseconds. - Weight::from_ref_time(21_379_000) + Weight::from_parts(21_379_000, 0) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -104,7 +104,7 @@ impl pallet_tips::WeightInfo for WeightInfo { /// The range of component `t` is `[1, 7]`. fn close_tip(_t: u32, ) -> Weight { // Minimum execution time: 57_555 nanoseconds. - Weight::from_ref_time(62_665_000) + Weight::from_parts(62_665_000, 0) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -113,7 +113,7 @@ impl pallet_tips::WeightInfo for WeightInfo { /// The range of component `t` is `[1, 7]`. fn slash_tip(_t: u32, ) -> Weight { // Minimum execution time: 20_435 nanoseconds. - Weight::from_ref_time(24_086_000) + Weight::from_parts(24_086_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } diff --git a/runtime/darwinia/src/weights/pallet_treasury.rs b/runtime/darwinia/src/weights/pallet_treasury.rs index 2629c005b..1197903c1 100644 --- a/runtime/darwinia/src/weights/pallet_treasury.rs +++ b/runtime/darwinia/src/weights/pallet_treasury.rs @@ -58,13 +58,13 @@ pub struct WeightInfo(PhantomData); impl pallet_treasury::WeightInfo for WeightInfo { fn spend() -> Weight { // Minimum execution time: 591 nanoseconds. - Weight::from_ref_time(591_000) + Weight::from_parts(591_000, 0) } // Storage: Treasury ProposalCount (r:1 w:1) // Storage: Treasury Proposals (r:0 w:1) fn propose_spend() -> Weight { // Minimum execution time: 52_473 nanoseconds. - Weight::from_ref_time(52_473_000) + Weight::from_parts(52_473_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -72,7 +72,7 @@ impl pallet_treasury::WeightInfo for WeightInfo { // Storage: System Account (r:2 w:2) fn reject_proposal() -> Weight { // Minimum execution time: 45_584 nanoseconds. - Weight::from_ref_time(45_584_000) + Weight::from_parts(45_584_000, 0) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -81,14 +81,14 @@ impl pallet_treasury::WeightInfo for WeightInfo { /// The range of component `p` is `[0, 99]`. fn approve_proposal(_p: u32, ) -> Weight { // Minimum execution time: 13_228 nanoseconds. - Weight::from_ref_time(20_495_000) + Weight::from_parts(20_495_000, 0) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Treasury Approvals (r:1 w:1) fn remove_approval() -> Weight { // Minimum execution time: 9_446 nanoseconds. - Weight::from_ref_time(9_446_000) + Weight::from_parts(9_446_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -100,7 +100,7 @@ impl pallet_treasury::WeightInfo for WeightInfo { /// The range of component `p` is `[0, 100]`. fn on_initialize_proposals(_p: u32, ) -> Weight { // Minimum execution time: 48_789 nanoseconds. - Weight::from_ref_time(227_996_000) + Weight::from_parts(227_996_000, 0) .saturating_add(T::DbWeight::get().reads(104)) .saturating_add(T::DbWeight::get().writes(4)) } diff --git a/runtime/darwinia/src/weights/pallet_utility.rs b/runtime/darwinia/src/weights/pallet_utility.rs index 6db2becba..28d7fc711 100644 --- a/runtime/darwinia/src/weights/pallet_utility.rs +++ b/runtime/darwinia/src/weights/pallet_utility.rs @@ -59,24 +59,24 @@ impl pallet_utility::WeightInfo for WeightInfo { /// The range of component `c` is `[0, 1000]`. fn batch(_c: u32, ) -> Weight { // Minimum execution time: 28_658 nanoseconds. - Weight::from_ref_time(3_766_966_000) + Weight::from_parts(3_766_966_000, 0) } fn as_derivative() -> Weight { // Minimum execution time: 100_171 nanoseconds. - Weight::from_ref_time(100_171_000) + Weight::from_parts(100_171_000, 0) } /// The range of component `c` is `[0, 1000]`. fn batch_all(_c: u32, ) -> Weight { // Minimum execution time: 52_018 nanoseconds. - Weight::from_ref_time(3_969_873_000) + Weight::from_parts(3_969_873_000, 0) } fn dispatch_as() -> Weight { // Minimum execution time: 29_293 nanoseconds. - Weight::from_ref_time(29_293_000) + Weight::from_parts(29_293_000, 0) } /// The range of component `c` is `[0, 1000]`. fn force_batch(_c: u32, ) -> Weight { // Minimum execution time: 27_599 nanoseconds. - Weight::from_ref_time(3_818_911_000) + Weight::from_parts(3_818_911_000, 0) } } diff --git a/runtime/darwinia/src/weights/pallet_vesting.rs b/runtime/darwinia/src/weights/pallet_vesting.rs index 28028260e..6619fcfb9 100644 --- a/runtime/darwinia/src/weights/pallet_vesting.rs +++ b/runtime/darwinia/src/weights/pallet_vesting.rs @@ -62,11 +62,11 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// The range of component `s` is `[1, 28]`. fn vest_locked(l: u32, s: u32, ) -> Weight { // Minimum execution time: 50_173 nanoseconds. - Weight::from_ref_time(34_852_962) + Weight::from_parts(34_852_962, 0) // Standard Error: 115_941 - .saturating_add(Weight::from_ref_time(300_816).saturating_mul(l.into())) + .saturating_add(Weight::from_parts(300_816, 0).saturating_mul(l.into())) // Standard Error: 210_412 - .saturating_add(Weight::from_ref_time(580_037).saturating_mul(s.into())) + .saturating_add(Weight::from_parts(580_037, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -76,11 +76,11 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// The range of component `s` is `[1, 28]`. fn vest_unlocked(l: u32, s: u32, ) -> Weight { // Minimum execution time: 49_641 nanoseconds. - Weight::from_ref_time(48_964_333) + Weight::from_parts(48_964_333, 0) // Standard Error: 40_703 - .saturating_add(Weight::from_ref_time(78_030).saturating_mul(l.into())) + .saturating_add(Weight::from_parts(78_030, 0).saturating_mul(l.into())) // Standard Error: 73_868 - .saturating_add(Weight::from_ref_time(24_166).saturating_mul(s.into())) + .saturating_add(Weight::from_parts(24_166, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -91,11 +91,11 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// The range of component `s` is `[1, 28]`. fn vest_other_locked(l: u32, s: u32, ) -> Weight { // Minimum execution time: 50_209 nanoseconds. - Weight::from_ref_time(47_462_518) + Weight::from_parts(47_462_518, 0) // Standard Error: 362_988 - .saturating_add(Weight::from_ref_time(112_204).saturating_mul(l.into())) + .saturating_add(Weight::from_parts(112_204, 0).saturating_mul(l.into())) // Standard Error: 658_756 - .saturating_add(Weight::from_ref_time(268_481).saturating_mul(s.into())) + .saturating_add(Weight::from_parts(268_481, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -106,7 +106,7 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// The range of component `s` is `[1, 28]`. fn vest_other_unlocked(_l: u32, _s: u32, ) -> Weight { // Minimum execution time: 49_684 nanoseconds. - Weight::from_ref_time(60_532_259) + Weight::from_parts(60_532_259, 0) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -117,7 +117,7 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// The range of component `s` is `[0, 27]`. fn vested_transfer(_l: u32, _s: u32, ) -> Weight { // Minimum execution time: 72_805 nanoseconds. - Weight::from_ref_time(107_390_000) + Weight::from_parts(107_390_000, 0) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -128,7 +128,7 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// The range of component `s` is `[0, 27]`. fn force_vested_transfer(_l: u32, _s: u32, ) -> Weight { // Minimum execution time: 73_673 nanoseconds. - Weight::from_ref_time(77_290_000) + Weight::from_parts(77_290_000, 0) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -139,11 +139,11 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// The range of component `s` is `[2, 28]`. fn not_unlocking_merge_schedules(l: u32, s: u32, ) -> Weight { // Minimum execution time: 52_307 nanoseconds. - Weight::from_ref_time(45_781_615) + Weight::from_parts(45_781_615, 0) // Standard Error: 237_237 - .saturating_add(Weight::from_ref_time(135_030).saturating_mul(l.into())) + .saturating_add(Weight::from_parts(135_030, 0).saturating_mul(l.into())) // Standard Error: 447_102 - .saturating_add(Weight::from_ref_time(236_442).saturating_mul(s.into())) + .saturating_add(Weight::from_parts(236_442, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -154,11 +154,11 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// The range of component `s` is `[2, 28]`. fn unlocking_merge_schedules(l: u32, s: u32, ) -> Weight { // Minimum execution time: 51_144 nanoseconds. - Weight::from_ref_time(51_304_769) + Weight::from_parts(51_304_769, 0) // Standard Error: 22_481 - .saturating_add(Weight::from_ref_time(8_775).saturating_mul(l.into())) + .saturating_add(Weight::from_parts(8_775, 0).saturating_mul(l.into())) // Standard Error: 42_368 - .saturating_add(Weight::from_ref_time(1_615).saturating_mul(s.into())) + .saturating_add(Weight::from_parts(1_615, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } diff --git a/runtime/pangolin/src/pallets/evm.rs b/runtime/pangolin/src/pallets/evm.rs index b092f62b5..719c53ab4 100644 --- a/runtime/pangolin/src/pallets/evm.rs +++ b/runtime/pangolin/src/pallets/evm.rs @@ -25,7 +25,10 @@ const BLOCK_GAS_LIMIT: u64 = 20_000_000; frame_support::parameter_types! { pub BlockGasLimit: sp_core::U256 = sp_core::U256::from(BLOCK_GAS_LIMIT); pub PrecompilesValue: PangolinPrecompiles = PangolinPrecompiles::<_>::new(); - pub WeightPerGas: frame_support::weights::Weight = frame_support::weights::Weight::from_ref_time(fp_evm::weight_per_gas(BLOCK_GAS_LIMIT, NORMAL_DISPATCH_RATIO, WEIGHT_MILLISECS_PER_BLOCK)); + pub WeightPerGas: frame_support::weights::Weight = frame_support::weights::Weight::from_parts( + fp_evm::weight_per_gas(BLOCK_GAS_LIMIT, NORMAL_DISPATCH_RATIO, WEIGHT_MILLISECS_PER_BLOCK), + 0 + ); } // TODO: Integrate to the upstream repo diff --git a/runtime/pangolin/src/weights/block_weights.rs b/runtime/pangolin/src/weights/block_weights.rs index 074d154e3..c186b8339 100644 --- a/runtime/pangolin/src/weights/block_weights.rs +++ b/runtime/pangolin/src/weights/block_weights.rs @@ -55,7 +55,7 @@ pub mod constants { /// 95th: 384_876 /// 75th: 380_642 pub const BlockExecutionWeight: Weight = - Weight::from_ref_time(WEIGHT_REF_TIME_PER_NANOS.saturating_mul(381_015)); + Weight::from_parts(WEIGHT_REF_TIME_PER_NANOS.saturating_mul(381_015), 0); } #[cfg(test)] diff --git a/runtime/pangolin/src/weights/cumulus_pallet_xcmp_queue.rs b/runtime/pangolin/src/weights/cumulus_pallet_xcmp_queue.rs index e871177d0..c812cbf3a 100644 --- a/runtime/pangolin/src/weights/cumulus_pallet_xcmp_queue.rs +++ b/runtime/pangolin/src/weights/cumulus_pallet_xcmp_queue.rs @@ -59,14 +59,14 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for WeightIn // Storage: XcmpQueue QueueConfig (r:1 w:1) fn set_config_with_u32() -> Weight { // Minimum execution time: 12_758 nanoseconds. - Weight::from_ref_time(12_758_000) + Weight::from_parts(12_758_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } // Storage: XcmpQueue QueueConfig (r:1 w:1) fn set_config_with_weight() -> Weight { // Minimum execution time: 13_608 nanoseconds. - Weight::from_ref_time(13_608_000) + Weight::from_parts(13_608_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/pangolin/src/weights/darwinia_account_migration.rs b/runtime/pangolin/src/weights/darwinia_account_migration.rs index 53b185e84..183e3f099 100644 --- a/runtime/pangolin/src/weights/darwinia_account_migration.rs +++ b/runtime/pangolin/src/weights/darwinia_account_migration.rs @@ -134,11 +134,11 @@ impl darwinia_account_migration::WeightInfo for WeightI // Minimum execution time: 30_619 nanoseconds. Weight::from_parts(222_440_000, 52015) // Standard Error: 25_723 - .saturating_add(Weight::from_ref_time(103_141).saturating_mul(x.into())) + .saturating_add(Weight::from_parts(103_141, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(12)) .saturating_add(T::DbWeight::get().writes(18)) - .saturating_add(Weight::from_proof_size(7).saturating_mul(y.into())) - .saturating_add(Weight::from_proof_size(3).saturating_mul(z.into())) + .saturating_add(Weight::from_parts(7, 0).saturating_mul(y.into())) + .saturating_add(Weight::from_parts(3, 0).saturating_mul(z.into())) } /// Storage: AccountMigration Multisigs (r:1 w:1) /// Proof Skipped: AccountMigration Multisigs (max_values: None, max_size: None, mode: Measured) diff --git a/runtime/pangolin/src/weights/darwinia_staking.rs b/runtime/pangolin/src/weights/darwinia_staking.rs index 7c1b925e2..f06adb7c6 100644 --- a/runtime/pangolin/src/weights/darwinia_staking.rs +++ b/runtime/pangolin/src/weights/darwinia_staking.rs @@ -167,7 +167,7 @@ impl darwinia_staking::WeightInfo for WeightInfo { // Measured: `645` // Estimated: `0` // Minimum execution time: 7_000 nanoseconds. - Weight::from_ref_time(7_000_000) + Weight::from_parts(7_000_000, 0) .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: DarwiniaStaking CollatorCount (r:0 w:1) @@ -177,7 +177,7 @@ impl darwinia_staking::WeightInfo for WeightInfo { // Measured: `645` // Estimated: `0` // Minimum execution time: 16_383 nanoseconds. - Weight::from_ref_time(16_383_000) + Weight::from_parts(16_383_000, 0) .saturating_add(T::DbWeight::get().writes(1)) } } diff --git a/runtime/pangolin/src/weights/extrinsic_weights.rs b/runtime/pangolin/src/weights/extrinsic_weights.rs index 4d2873d51..08fc6a963 100644 --- a/runtime/pangolin/src/weights/extrinsic_weights.rs +++ b/runtime/pangolin/src/weights/extrinsic_weights.rs @@ -55,7 +55,7 @@ pub mod constants { /// 95th: 100_051 /// 75th: 99_916 pub const ExtrinsicBaseWeight: Weight = - Weight::from_ref_time(WEIGHT_REF_TIME_PER_NANOS.saturating_mul(99_840)); + Weight::from_parts(WEIGHT_REF_TIME_PER_NANOS.saturating_mul(99_840), 0); } #[cfg(test)] diff --git a/runtime/pangolin/src/weights/frame_system.rs b/runtime/pangolin/src/weights/frame_system.rs index 32b95dd47..33dfa0377 100644 --- a/runtime/pangolin/src/weights/frame_system.rs +++ b/runtime/pangolin/src/weights/frame_system.rs @@ -59,18 +59,18 @@ impl frame_system::WeightInfo for WeightInfo { /// The range of component `b` is `[0, 3932160]`. fn remark(_b: u32, ) -> Weight { // Minimum execution time: 9_622 nanoseconds. - Weight::from_ref_time(869_013_000) + Weight::from_parts(869_013_000, 0) } /// The range of component `b` is `[0, 3932160]`. fn remark_with_event(_b: u32, ) -> Weight { // Minimum execution time: 21_954 nanoseconds. - Weight::from_ref_time(4_497_075_000) + Weight::from_parts(4_497_075_000, 0) } // Storage: System Digest (r:1 w:1) // Storage: unknown [0x3a686561707061676573] (r:0 w:1) fn set_heap_pages() -> Weight { // Minimum execution time: 15_275 nanoseconds. - Weight::from_ref_time(15_275_000) + Weight::from_parts(15_275_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -78,21 +78,21 @@ impl frame_system::WeightInfo for WeightInfo { /// The range of component `i` is `[0, 1000]`. fn set_storage(_i: u32, ) -> Weight { // Minimum execution time: 18_359 nanoseconds. - Weight::from_ref_time(570_576_000) + Weight::from_parts(570_576_000, 0) .saturating_add(T::DbWeight::get().writes(1000)) } // Storage: Skipped Metadata (r:0 w:0) /// The range of component `i` is `[0, 1000]`. fn kill_storage(_i: u32, ) -> Weight { // Minimum execution time: 12_434 nanoseconds. - Weight::from_ref_time(398_074_000) + Weight::from_parts(398_074_000, 0) .saturating_add(T::DbWeight::get().writes(1000)) } // Storage: Skipped Metadata (r:0 w:0) /// The range of component `p` is `[0, 1000]`. fn kill_prefix(_p: u32, ) -> Weight { // Minimum execution time: 13_366 nanoseconds. - Weight::from_ref_time(774_849_000) + Weight::from_parts(774_849_000, 0) .saturating_add(T::DbWeight::get().writes(1000)) } } diff --git a/runtime/pangolin/src/weights/pallet_assets.rs b/runtime/pangolin/src/weights/pallet_assets.rs index 9e54d0403..b664b84a1 100644 --- a/runtime/pangolin/src/weights/pallet_assets.rs +++ b/runtime/pangolin/src/weights/pallet_assets.rs @@ -59,21 +59,21 @@ impl pallet_assets::WeightInfo for WeightInfo { // Storage: Assets Asset (r:1 w:1) fn create() -> Weight { // Minimum execution time: 33_960 nanoseconds. - Weight::from_ref_time(33_960_000) + Weight::from_parts(33_960_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Assets Asset (r:1 w:1) fn force_create() -> Weight { // Minimum execution time: 32_571 nanoseconds. - Weight::from_ref_time(32_571_000) + Weight::from_parts(32_571_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Assets Asset (r:1 w:1) fn start_destroy() -> Weight { // Minimum execution time: 28_716 nanoseconds. - Weight::from_ref_time(28_716_000) + Weight::from_parts(28_716_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -83,7 +83,7 @@ impl pallet_assets::WeightInfo for WeightInfo { /// The range of component `c` is `[0, 1000]`. fn destroy_accounts(_c: u32, ) -> Weight { // Minimum execution time: 38_542 nanoseconds. - Weight::from_ref_time(11_042_648_000) + Weight::from_parts(11_042_648_000, 0) .saturating_add(T::DbWeight::get().reads(2002)) .saturating_add(T::DbWeight::get().writes(2001)) } @@ -92,7 +92,7 @@ impl pallet_assets::WeightInfo for WeightInfo { /// The range of component `a` is `[0, 1000]`. fn destroy_approvals(_a: u32, ) -> Weight { // Minimum execution time: 39_419 nanoseconds. - Weight::from_ref_time(5_611_916_000) + Weight::from_parts(5_611_916_000, 0) .saturating_add(T::DbWeight::get().reads(1002)) .saturating_add(T::DbWeight::get().writes(1001)) } @@ -100,7 +100,7 @@ impl pallet_assets::WeightInfo for WeightInfo { // Storage: Assets Metadata (r:1 w:0) fn finish_destroy() -> Weight { // Minimum execution time: 31_245 nanoseconds. - Weight::from_ref_time(31_245_000) + Weight::from_parts(31_245_000, 0) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -108,7 +108,7 @@ impl pallet_assets::WeightInfo for WeightInfo { // Storage: Assets Account (r:1 w:1) fn mint() -> Weight { // Minimum execution time: 42_380 nanoseconds. - Weight::from_ref_time(42_380_000) + Weight::from_parts(42_380_000, 0) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -116,7 +116,7 @@ impl pallet_assets::WeightInfo for WeightInfo { // Storage: Assets Account (r:1 w:1) fn burn() -> Weight { // Minimum execution time: 243_248 nanoseconds. - Weight::from_ref_time(243_248_000) + Weight::from_parts(243_248_000, 0) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -125,7 +125,7 @@ impl pallet_assets::WeightInfo for WeightInfo { // Storage: System Account (r:1 w:1) fn transfer() -> Weight { // Minimum execution time: 62_978 nanoseconds. - Weight::from_ref_time(62_978_000) + Weight::from_parts(62_978_000, 0) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -134,7 +134,7 @@ impl pallet_assets::WeightInfo for WeightInfo { // Storage: System Account (r:1 w:1) fn transfer_keep_alive() -> Weight { // Minimum execution time: 98_351 nanoseconds. - Weight::from_ref_time(98_351_000) + Weight::from_parts(98_351_000, 0) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -143,7 +143,7 @@ impl pallet_assets::WeightInfo for WeightInfo { // Storage: System Account (r:1 w:1) fn force_transfer() -> Weight { // Minimum execution time: 60_227 nanoseconds. - Weight::from_ref_time(60_227_000) + Weight::from_parts(60_227_000, 0) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -151,7 +151,7 @@ impl pallet_assets::WeightInfo for WeightInfo { // Storage: Assets Account (r:1 w:1) fn freeze() -> Weight { // Minimum execution time: 36_243 nanoseconds. - Weight::from_ref_time(36_243_000) + Weight::from_parts(36_243_000, 0) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -159,21 +159,21 @@ impl pallet_assets::WeightInfo for WeightInfo { // Storage: Assets Account (r:1 w:1) fn thaw() -> Weight { // Minimum execution time: 33_745 nanoseconds. - Weight::from_ref_time(33_745_000) + Weight::from_parts(33_745_000, 0) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Assets Asset (r:1 w:1) fn freeze_asset() -> Weight { // Minimum execution time: 27_032 nanoseconds. - Weight::from_ref_time(27_032_000) + Weight::from_parts(27_032_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Assets Asset (r:1 w:1) fn thaw_asset() -> Weight { // Minimum execution time: 28_232 nanoseconds. - Weight::from_ref_time(28_232_000) + Weight::from_parts(28_232_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -181,14 +181,14 @@ impl pallet_assets::WeightInfo for WeightInfo { // Storage: Assets Metadata (r:1 w:0) fn transfer_ownership() -> Weight { // Minimum execution time: 31_213 nanoseconds. - Weight::from_ref_time(31_213_000) + Weight::from_parts(31_213_000, 0) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Assets Asset (r:1 w:1) fn set_team() -> Weight { // Minimum execution time: 29_227 nanoseconds. - Weight::from_ref_time(29_227_000) + Weight::from_parts(29_227_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -198,11 +198,11 @@ impl pallet_assets::WeightInfo for WeightInfo { /// The range of component `s` is `[0, 50]`. fn set_metadata(n: u32, s: u32, ) -> Weight { // Minimum execution time: 31_095 nanoseconds. - Weight::from_ref_time(29_205_500) + Weight::from_parts(29_205_500, 0) // Standard Error: 15_432 - .saturating_add(Weight::from_ref_time(37_790).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(37_790, 0).saturating_mul(n.into())) // Standard Error: 15_432 - .saturating_add(Weight::from_ref_time(39_010).saturating_mul(s.into())) + .saturating_add(Weight::from_parts(39_010, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -210,7 +210,7 @@ impl pallet_assets::WeightInfo for WeightInfo { // Storage: Assets Metadata (r:1 w:1) fn clear_metadata() -> Weight { // Minimum execution time: 35_371 nanoseconds. - Weight::from_ref_time(35_371_000) + Weight::from_parts(35_371_000, 0) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -220,7 +220,7 @@ impl pallet_assets::WeightInfo for WeightInfo { /// The range of component `s` is `[0, 50]`. fn force_set_metadata(_n: u32, _s: u32, ) -> Weight { // Minimum execution time: 27_646 nanoseconds. - Weight::from_ref_time(38_891_000) + Weight::from_parts(38_891_000, 0) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -228,14 +228,14 @@ impl pallet_assets::WeightInfo for WeightInfo { // Storage: Assets Metadata (r:1 w:1) fn force_clear_metadata() -> Weight { // Minimum execution time: 36_899 nanoseconds. - Weight::from_ref_time(36_899_000) + Weight::from_parts(36_899_000, 0) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Assets Asset (r:1 w:1) fn force_asset_status() -> Weight { // Minimum execution time: 28_903 nanoseconds. - Weight::from_ref_time(28_903_000) + Weight::from_parts(28_903_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -243,7 +243,7 @@ impl pallet_assets::WeightInfo for WeightInfo { // Storage: Assets Approvals (r:1 w:1) fn approve_transfer() -> Weight { // Minimum execution time: 33_551 nanoseconds. - Weight::from_ref_time(33_551_000) + Weight::from_parts(33_551_000, 0) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -253,7 +253,7 @@ impl pallet_assets::WeightInfo for WeightInfo { // Storage: System Account (r:1 w:1) fn transfer_approved() -> Weight { // Minimum execution time: 67_647 nanoseconds. - Weight::from_ref_time(67_647_000) + Weight::from_parts(67_647_000, 0) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(5)) } @@ -261,7 +261,7 @@ impl pallet_assets::WeightInfo for WeightInfo { // Storage: Assets Approvals (r:1 w:1) fn cancel_approval() -> Weight { // Minimum execution time: 34_778 nanoseconds. - Weight::from_ref_time(34_778_000) + Weight::from_parts(34_778_000, 0) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -269,7 +269,7 @@ impl pallet_assets::WeightInfo for WeightInfo { // Storage: Assets Approvals (r:1 w:1) fn force_cancel_approval() -> Weight { // Minimum execution time: 36_469 nanoseconds. - Weight::from_ref_time(36_469_000) + Weight::from_parts(36_469_000, 0) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } diff --git a/runtime/pangolin/src/weights/pallet_balances.rs b/runtime/pangolin/src/weights/pallet_balances.rs index 59cc160ea..7e71487f9 100644 --- a/runtime/pangolin/src/weights/pallet_balances.rs +++ b/runtime/pangolin/src/weights/pallet_balances.rs @@ -59,49 +59,49 @@ impl pallet_balances::WeightInfo for WeightInfo { // Storage: System Account (r:1 w:1) fn transfer() -> Weight { // Minimum execution time: 55_233 nanoseconds. - Weight::from_ref_time(55_233_000) + Weight::from_parts(55_233_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } // Storage: System Account (r:1 w:1) fn transfer_keep_alive() -> Weight { // Minimum execution time: 55_925 nanoseconds. - Weight::from_ref_time(55_925_000) + Weight::from_parts(55_925_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } // Storage: System Account (r:1 w:1) fn set_balance_creating() -> Weight { // Minimum execution time: 34_237 nanoseconds. - Weight::from_ref_time(34_237_000) + Weight::from_parts(34_237_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } // Storage: System Account (r:1 w:1) fn set_balance_killing() -> Weight { // Minimum execution time: 85_171 nanoseconds. - Weight::from_ref_time(85_171_000) + Weight::from_parts(85_171_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } // Storage: System Account (r:2 w:2) fn force_transfer() -> Weight { // Minimum execution time: 52_817 nanoseconds. - Weight::from_ref_time(52_817_000) + Weight::from_parts(52_817_000, 0) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } // Storage: System Account (r:1 w:1) fn transfer_all() -> Weight { // Minimum execution time: 51_678 nanoseconds. - Weight::from_ref_time(51_678_000) + Weight::from_parts(51_678_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } // Storage: System Account (r:1 w:1) fn force_unreserve() -> Weight { // Minimum execution time: 37_429 nanoseconds. - Weight::from_ref_time(37_429_000) + Weight::from_parts(37_429_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/pangolin/src/weights/pallet_bridge_grandpa.rs b/runtime/pangolin/src/weights/pallet_bridge_grandpa.rs index bab693e16..ad78b43df 100644 --- a/runtime/pangolin/src/weights/pallet_bridge_grandpa.rs +++ b/runtime/pangolin/src/weights/pallet_bridge_grandpa.rs @@ -67,9 +67,9 @@ impl pallet_bridge_grandpa::WeightInfo for WeightInfo Weight { // Minimum execution time: 1_848_880 nanoseconds. - Weight::from_ref_time(1_848_880_000) + Weight::from_parts(1_848_880_000, 0) // Standard Error: 5_778_241 - .saturating_add(Weight::from_ref_time(21_940_097).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(21_940_097, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(6)) } diff --git a/runtime/pangolin/src/weights/pallet_collective_council.rs b/runtime/pangolin/src/weights/pallet_collective_council.rs index 8c314991c..e3edc884c 100644 --- a/runtime/pangolin/src/weights/pallet_collective_council.rs +++ b/runtime/pangolin/src/weights/pallet_collective_council.rs @@ -68,11 +68,11 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `p` is `[0, 100]`. fn set_members(m: u32, _n: u32, p: u32, ) -> Weight { // Minimum execution time: 16_632 nanoseconds. - Weight::from_ref_time(16_632_000) + Weight::from_parts(16_632_000, 0) // Standard Error: 908_592 - .saturating_add(Weight::from_ref_time(4_003_667).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(4_003_667, 0).saturating_mul(m.into())) // Standard Error: 908_592 - .saturating_add(Weight::from_ref_time(3_948_017).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(3_948_017, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(m.into()))) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(p.into()))) @@ -87,9 +87,9 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `m` is `[1, 100]`. fn execute(_b: u32, m: u32, ) -> Weight { // Minimum execution time: 22_335 nanoseconds. - Weight::from_ref_time(24_050_644) + Weight::from_parts(24_050_644, 0) // Standard Error: 47_608 - .saturating_add(Weight::from_ref_time(44_954).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(44_954, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(1)) } // Storage: Council Members (r:1 w:0) @@ -100,11 +100,11 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `m` is `[1, 100]`. fn propose_execute(b: u32, m: u32, ) -> Weight { // Minimum execution time: 28_868 nanoseconds. - Weight::from_ref_time(29_918_922) + Weight::from_parts(29_918_922, 0) // Standard Error: 1_412 - .saturating_add(Weight::from_ref_time(1_480).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(1_480, 0).saturating_mul(b.into())) // Standard Error: 14_582 - .saturating_add(Weight::from_ref_time(59_616).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(59_616, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2)) } // Storage: Council Members (r:1 w:0) @@ -120,11 +120,11 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 100]`. fn propose_proposed(b: u32, _m: u32, p: u32, ) -> Weight { // Minimum execution time: 34_577 nanoseconds. - Weight::from_ref_time(32_029_258) + Weight::from_parts(32_029_258, 0) // Standard Error: 1_331 - .saturating_add(Weight::from_ref_time(4_522).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(4_522, 0).saturating_mul(b.into())) // Standard Error: 13_740 - .saturating_add(Weight::from_ref_time(137_757).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(137_757, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -134,7 +134,7 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `m` is `[5, 100]`. fn vote(_m: u32, ) -> Weight { // Minimum execution time: 34_628 nanoseconds. - Weight::from_ref_time(37_105_684) + Weight::from_parts(37_105_684, 0) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -148,11 +148,11 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 100]`. fn close_early_disapproved(m: u32, p: u32, ) -> Weight { // Minimum execution time: 29_974 nanoseconds. - Weight::from_ref_time(30_034_686) + Weight::from_parts(30_034_686, 0) // Standard Error: 15_326 - .saturating_add(Weight::from_ref_time(10_500).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(10_500, 0).saturating_mul(m.into())) // Standard Error: 14_861 - .saturating_add(Weight::from_ref_time(172_813).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(172_813, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -168,13 +168,13 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 100]`. fn close_early_approved(b: u32, m: u32, p: u32, ) -> Weight { // Minimum execution time: 40_497 nanoseconds. - Weight::from_ref_time(34_794_620) + Weight::from_parts(34_794_620, 0) // Standard Error: 1_928 - .saturating_add(Weight::from_ref_time(5_426).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(5_426, 0).saturating_mul(b.into())) // Standard Error: 20_531 - .saturating_add(Weight::from_ref_time(765).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(765, 0).saturating_mul(m.into())) // Standard Error: 19_909 - .saturating_add(Weight::from_ref_time(232_464).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(232_464, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -189,11 +189,11 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 100]`. fn close_disapproved(m: u32, p: u32, ) -> Weight { // Minimum execution time: 30_682 nanoseconds. - Weight::from_ref_time(27_960_737) + Weight::from_parts(27_960_737, 0) // Standard Error: 30_131 - .saturating_add(Weight::from_ref_time(32_875).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(32_875, 0).saturating_mul(m.into())) // Standard Error: 29_218 - .saturating_add(Weight::from_ref_time(213_262).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(213_262, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -210,11 +210,11 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 100]`. fn close_approved(_b: u32, m: u32, p: u32, ) -> Weight { // Minimum execution time: 41_569 nanoseconds. - Weight::from_ref_time(105_863_155) + Weight::from_parts(105_863_155, 0) // Standard Error: 336_443 - .saturating_add(Weight::from_ref_time(531).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(531, 0).saturating_mul(m.into())) // Standard Error: 326_248 - .saturating_add(Weight::from_ref_time(187_020).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(187_020, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -225,7 +225,7 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 100]`. fn disapprove_proposal(_p: u32, ) -> Weight { // Minimum execution time: 23_900 nanoseconds. - Weight::from_ref_time(44_517_858) + Weight::from_parts(44_517_858, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(3)) } diff --git a/runtime/pangolin/src/weights/pallet_collective_technical_committee.rs b/runtime/pangolin/src/weights/pallet_collective_technical_committee.rs index d8f0d3f53..bc421cfb7 100644 --- a/runtime/pangolin/src/weights/pallet_collective_technical_committee.rs +++ b/runtime/pangolin/src/weights/pallet_collective_technical_committee.rs @@ -68,11 +68,11 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `p` is `[0, 100]`. fn set_members(m: u32, _n: u32, p: u32, ) -> Weight { // Minimum execution time: 13_661 nanoseconds. - Weight::from_ref_time(13_661_000) + Weight::from_parts(13_661_000, 0) // Standard Error: 882_763 - .saturating_add(Weight::from_ref_time(3_782_833).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(3_782_833, 0).saturating_mul(m.into())) // Standard Error: 882_763 - .saturating_add(Weight::from_ref_time(3_774_763).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(3_774_763, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(m.into()))) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(p.into()))) @@ -87,11 +87,11 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `m` is `[1, 100]`. fn execute(b: u32, m: u32, ) -> Weight { // Minimum execution time: 17_460 nanoseconds. - Weight::from_ref_time(17_578_297) + Weight::from_parts(17_578_297, 0) // Standard Error: 1_363 - .saturating_add(Weight::from_ref_time(727).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(727, 0).saturating_mul(b.into())) // Standard Error: 14_077 - .saturating_add(Weight::from_ref_time(14_247).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(14_247, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(1)) } // Storage: TechnicalCommittee Members (r:1 w:0) @@ -102,11 +102,11 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `m` is `[1, 100]`. fn propose_execute(b: u32, m: u32, ) -> Weight { // Minimum execution time: 20_063 nanoseconds. - Weight::from_ref_time(18_824_592) + Weight::from_parts(18_824_592, 0) // Standard Error: 2_141 - .saturating_add(Weight::from_ref_time(1_294).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(1_294, 0).saturating_mul(b.into())) // Standard Error: 22_104 - .saturating_add(Weight::from_ref_time(37_818).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(37_818, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2)) } // Storage: TechnicalCommittee Members (r:1 w:0) @@ -122,13 +122,13 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 100]`. fn propose_proposed(b: u32, m: u32, p: u32, ) -> Weight { // Minimum execution time: 27_071 nanoseconds. - Weight::from_ref_time(28_037_444) + Weight::from_parts(28_037_444, 0) // Standard Error: 2_494 - .saturating_add(Weight::from_ref_time(305).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(305, 0).saturating_mul(b.into())) // Standard Error: 26_016 - .saturating_add(Weight::from_ref_time(515).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(515, 0).saturating_mul(m.into())) // Standard Error: 25_753 - .saturating_add(Weight::from_ref_time(191_414).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(191_414, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -138,7 +138,7 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `m` is `[5, 100]`. fn vote(_m: u32, ) -> Weight { // Minimum execution time: 31_345 nanoseconds. - Weight::from_ref_time(34_949_026) + Weight::from_parts(34_949_026, 0) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -152,9 +152,9 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 100]`. fn close_early_disapproved(_m: u32, p: u32, ) -> Weight { // Minimum execution time: 28_094 nanoseconds. - Weight::from_ref_time(33_608_315) + Weight::from_parts(33_608_315, 0) // Standard Error: 28_193 - .saturating_add(Weight::from_ref_time(156_414).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(156_414, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -170,11 +170,11 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 100]`. fn close_early_approved(b: u32, _m: u32, p: u32, ) -> Weight { // Minimum execution time: 33_360 nanoseconds. - Weight::from_ref_time(36_807_766) + Weight::from_parts(36_807_766, 0) // Standard Error: 1_869 - .saturating_add(Weight::from_ref_time(612).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(612, 0).saturating_mul(b.into())) // Standard Error: 19_304 - .saturating_add(Weight::from_ref_time(257_123).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(257_123, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -189,9 +189,9 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 100]`. fn close_disapproved(_m: u32, p: u32, ) -> Weight { // Minimum execution time: 26_527 nanoseconds. - Weight::from_ref_time(32_939_132) + Weight::from_parts(32_939_132, 0) // Standard Error: 46_457 - .saturating_add(Weight::from_ref_time(189_909).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(189_909, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -208,11 +208,11 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 100]`. fn close_approved(b: u32, _m: u32, p: u32, ) -> Weight { // Minimum execution time: 35_895 nanoseconds. - Weight::from_ref_time(41_748_749) + Weight::from_parts(41_748_749, 0) // Standard Error: 3_666 - .saturating_add(Weight::from_ref_time(841).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(841, 0).saturating_mul(b.into())) // Standard Error: 37_846 - .saturating_add(Weight::from_ref_time(225_171).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(225_171, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -223,9 +223,9 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 100]`. fn disapprove_proposal(p: u32, ) -> Weight { // Minimum execution time: 17_795 nanoseconds. - Weight::from_ref_time(18_062_914) + Weight::from_parts(18_062_914, 0) // Standard Error: 4_812 - .saturating_add(Weight::from_ref_time(174_585).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(174_585, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(3)) } diff --git a/runtime/pangolin/src/weights/pallet_democracy.rs b/runtime/pangolin/src/weights/pallet_democracy.rs index 0b6166262..10c5241a1 100644 --- a/runtime/pangolin/src/weights/pallet_democracy.rs +++ b/runtime/pangolin/src/weights/pallet_democracy.rs @@ -62,14 +62,14 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: Democracy DepositOf (r:0 w:1) fn propose() -> Weight { // Minimum execution time: 47_035 nanoseconds. - Weight::from_ref_time(47_035_000) + Weight::from_parts(47_035_000, 0) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } // Storage: Democracy DepositOf (r:1 w:1) fn second() -> Weight { // Minimum execution time: 40_752 nanoseconds. - Weight::from_ref_time(40_752_000) + Weight::from_parts(40_752_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -78,7 +78,7 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: Balances Locks (r:1 w:1) fn vote_new() -> Weight { // Minimum execution time: 51_076 nanoseconds. - Weight::from_ref_time(51_076_000) + Weight::from_parts(51_076_000, 0) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -87,7 +87,7 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: Balances Locks (r:1 w:1) fn vote_existing() -> Weight { // Minimum execution time: 57_454 nanoseconds. - Weight::from_ref_time(57_454_000) + Weight::from_parts(57_454_000, 0) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -95,7 +95,7 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: Democracy Cancellations (r:1 w:1) fn emergency_cancel() -> Weight { // Minimum execution time: 26_724 nanoseconds. - Weight::from_ref_time(26_724_000) + Weight::from_parts(26_724_000, 0) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -107,7 +107,7 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: Democracy Blacklist (r:0 w:1) fn blacklist() -> Weight { // Minimum execution time: 86_378 nanoseconds. - Weight::from_ref_time(86_378_000) + Weight::from_parts(86_378_000, 0) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(7)) } @@ -115,20 +115,20 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: Democracy Blacklist (r:1 w:0) fn external_propose() -> Weight { // Minimum execution time: 21_009 nanoseconds. - Weight::from_ref_time(21_009_000) + Weight::from_parts(21_009_000, 0) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Democracy NextExternal (r:0 w:1) fn external_propose_majority() -> Weight { // Minimum execution time: 12_539 nanoseconds. - Weight::from_ref_time(12_539_000) + Weight::from_parts(12_539_000, 0) .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Democracy NextExternal (r:0 w:1) fn external_propose_default() -> Weight { // Minimum execution time: 12_255 nanoseconds. - Weight::from_ref_time(12_255_000) + Weight::from_parts(12_255_000, 0) .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Democracy NextExternal (r:1 w:1) @@ -136,7 +136,7 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: Democracy ReferendumInfoOf (r:0 w:1) fn fast_track() -> Weight { // Minimum execution time: 42_312 nanoseconds. - Weight::from_ref_time(42_312_000) + Weight::from_parts(42_312_000, 0) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -144,7 +144,7 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: Democracy Blacklist (r:1 w:1) fn veto_external() -> Weight { // Minimum execution time: 39_895 nanoseconds. - Weight::from_ref_time(39_895_000) + Weight::from_parts(39_895_000, 0) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -153,14 +153,14 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: System Account (r:2 w:2) fn cancel_proposal() -> Weight { // Minimum execution time: 75_303 nanoseconds. - Weight::from_ref_time(75_303_000) + Weight::from_parts(75_303_000, 0) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) } // Storage: Democracy ReferendumInfoOf (r:0 w:1) fn cancel_referendum() -> Weight { // Minimum execution time: 18_843 nanoseconds. - Weight::from_ref_time(18_843_000) + Weight::from_parts(18_843_000, 0) .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Democracy LowestUnbaked (r:1 w:1) @@ -169,7 +169,7 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// The range of component `r` is `[0, 99]`. fn on_initialize_base(_r: u32, ) -> Weight { // Minimum execution time: 9_056 nanoseconds. - Weight::from_ref_time(218_025_000) + Weight::from_parts(218_025_000, 0) .saturating_add(T::DbWeight::get().reads(101)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -182,7 +182,7 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// The range of component `r` is `[0, 99]`. fn on_initialize_base_with_launch_period(_r: u32, ) -> Weight { // Minimum execution time: 10_834 nanoseconds. - Weight::from_ref_time(208_669_000) + Weight::from_parts(208_669_000, 0) .saturating_add(T::DbWeight::get().reads(104)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -192,7 +192,7 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// The range of component `r` is `[0, 99]`. fn delegate(_r: u32, ) -> Weight { // Minimum execution time: 44_488 nanoseconds. - Weight::from_ref_time(375_998_000) + Weight::from_parts(375_998_000, 0) .saturating_add(T::DbWeight::get().reads(103)) .saturating_add(T::DbWeight::get().writes(103)) } @@ -201,14 +201,14 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// The range of component `r` is `[0, 99]`. fn undelegate(_r: u32, ) -> Weight { // Minimum execution time: 29_807 nanoseconds. - Weight::from_ref_time(320_329_000) + Weight::from_parts(320_329_000, 0) .saturating_add(T::DbWeight::get().reads(101)) .saturating_add(T::DbWeight::get().writes(101)) } // Storage: Democracy PublicProps (r:0 w:1) fn clear_public_proposals() -> Weight { // Minimum execution time: 7_770 nanoseconds. - Weight::from_ref_time(7_770_000) + Weight::from_parts(7_770_000, 0) .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Democracy VotingOf (r:1 w:1) @@ -217,7 +217,7 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// The range of component `r` is `[0, 99]`. fn unlock_remove(_r: u32, ) -> Weight { // Minimum execution time: 29_314 nanoseconds. - Weight::from_ref_time(34_620_000) + Weight::from_parts(34_620_000, 0) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -227,7 +227,7 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// The range of component `r` is `[0, 99]`. fn unlock_set(_r: u32, ) -> Weight { // Minimum execution time: 27_895 nanoseconds. - Weight::from_ref_time(36_522_000) + Weight::from_parts(36_522_000, 0) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -236,7 +236,7 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// The range of component `r` is `[1, 100]`. fn remove_vote(_r: u32, ) -> Weight { // Minimum execution time: 23_319 nanoseconds. - Weight::from_ref_time(29_446_000) + Weight::from_parts(29_446_000, 0) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -245,7 +245,7 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// The range of component `r` is `[1, 100]`. fn remove_other_vote(_r: u32, ) -> Weight { // Minimum execution time: 16_782 nanoseconds. - Weight::from_ref_time(30_664_000) + Weight::from_parts(30_664_000, 0) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } diff --git a/runtime/pangolin/src/weights/pallet_elections_phragmen.rs b/runtime/pangolin/src/weights/pallet_elections_phragmen.rs index 5d93c2f56..8fe93892b 100644 --- a/runtime/pangolin/src/weights/pallet_elections_phragmen.rs +++ b/runtime/pangolin/src/weights/pallet_elections_phragmen.rs @@ -64,7 +64,7 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn /// The range of component `v` is `[1, 16]`. fn vote_equal(_v: u32, ) -> Weight { // Minimum execution time: 48_148 nanoseconds. - Weight::from_ref_time(51_815_000) + Weight::from_parts(51_815_000, 0) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -76,7 +76,7 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn /// The range of component `v` is `[2, 16]`. fn vote_more(_v: u32, ) -> Weight { // Minimum execution time: 55_391 nanoseconds. - Weight::from_ref_time(58_799_000) + Weight::from_parts(58_799_000, 0) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -88,7 +88,7 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn /// The range of component `v` is `[2, 16]`. fn vote_less(_v: u32, ) -> Weight { // Minimum execution time: 52_970 nanoseconds. - Weight::from_ref_time(56_003_000) + Weight::from_parts(56_003_000, 0) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -96,7 +96,7 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn // Storage: Balances Locks (r:1 w:1) fn remove_voter() -> Weight { // Minimum execution time: 59_730 nanoseconds. - Weight::from_ref_time(59_730_000) + Weight::from_parts(59_730_000, 0) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -106,7 +106,7 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn /// The range of component `c` is `[1, 30]`. fn submit_candidacy(_c: u32, ) -> Weight { // Minimum execution time: 36_106 nanoseconds. - Weight::from_ref_time(50_997_000) + Weight::from_parts(50_997_000, 0) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -114,7 +114,7 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn /// The range of component `c` is `[1, 30]`. fn renounce_candidacy_candidate(_c: u32, ) -> Weight { // Minimum execution time: 32_717 nanoseconds. - Weight::from_ref_time(37_611_000) + Weight::from_parts(37_611_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -125,21 +125,21 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn // Storage: Council Members (r:0 w:1) fn renounce_candidacy_members() -> Weight { // Minimum execution time: 47_022 nanoseconds. - Weight::from_ref_time(47_022_000) + Weight::from_parts(47_022_000, 0) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) } // Storage: PhragmenElection RunnersUp (r:1 w:1) fn renounce_candidacy_runners_up() -> Weight { // Minimum execution time: 33_459 nanoseconds. - Weight::from_ref_time(33_459_000) + Weight::from_parts(33_459_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Benchmark Override (r:0 w:0) fn remove_member_without_replacement() -> Weight { // Minimum execution time: 500_000_000 nanoseconds. - Weight::from_ref_time(500_000_000_000) + Weight::from_parts(500_000_000_000, 0) } // Storage: PhragmenElection Members (r:1 w:1) // Storage: System Account (r:2 w:2) @@ -149,7 +149,7 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn // Storage: Council Members (r:0 w:1) fn remove_member_with_replacement() -> Weight { // Minimum execution time: 57_856 nanoseconds. - Weight::from_ref_time(57_856_000) + Weight::from_parts(57_856_000, 0) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(6)) } @@ -163,11 +163,11 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn /// The range of component `d` is `[0, 150]`. fn clean_defunct_voters(v: u32, d: u32, ) -> Weight { // Minimum execution time: 7_061_492 nanoseconds. - Weight::from_ref_time(405_137_000) + Weight::from_parts(405_137_000, 0) // Standard Error: 675_932 - .saturating_add(Weight::from_ref_time(43_469_089).saturating_mul(v.into())) + .saturating_add(Weight::from_parts(43_469_089, 0).saturating_mul(v.into())) // Standard Error: 675_932 - .saturating_add(Weight::from_ref_time(906_609).saturating_mul(d.into())) + .saturating_add(Weight::from_parts(906_609, 0).saturating_mul(d.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(v.into()))) .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(v.into()))) @@ -186,13 +186,13 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn /// The range of component `e` is `[300, 4800]`. fn election_phragmen(c: u32, v: u32, e: u32, ) -> Weight { // Minimum execution time: 532_432 nanoseconds. - Weight::from_ref_time(532_432_000) + Weight::from_parts(532_432_000, 0) // Standard Error: 67_019_452 - .saturating_add(Weight::from_ref_time(38_184_160).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(38_184_160, 0).saturating_mul(c.into())) // Standard Error: 6_606_785 - .saturating_add(Weight::from_ref_time(7_621_035).saturating_mul(v.into())) + .saturating_add(Weight::from_parts(7_621_035, 0).saturating_mul(v.into())) // Standard Error: 424_322 - .saturating_add(Weight::from_ref_time(150_192).saturating_mul(e.into())) + .saturating_add(Weight::from_parts(150_192, 0).saturating_mul(e.into())) .saturating_add(T::DbWeight::get().reads(35)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(v.into()))) diff --git a/runtime/pangolin/src/weights/pallet_fee_market.rs b/runtime/pangolin/src/weights/pallet_fee_market.rs index c93db6764..029fafce5 100644 --- a/runtime/pangolin/src/weights/pallet_fee_market.rs +++ b/runtime/pangolin/src/weights/pallet_fee_market.rs @@ -65,7 +65,7 @@ impl pallet_fee_market::WeightInfo for WeightInfo { // Storage: PangoroFeeMarket AssignedRelayers (r:0 w:1) fn enroll_and_lock_collateral() -> Weight { // Minimum execution time: 109_865 nanoseconds. - Weight::from_ref_time(109_865_000) + Weight::from_parts(109_865_000, 0) .saturating_add(T::DbWeight::get().reads(15)) .saturating_add(T::DbWeight::get().writes(5)) } @@ -78,7 +78,7 @@ impl pallet_fee_market::WeightInfo for WeightInfo { // Storage: PangoroFeeMarket AssignedRelayers (r:0 w:1) fn increase_locked_collateral() -> Weight { // Minimum execution time: 124_647 nanoseconds. - Weight::from_ref_time(124_647_000) + Weight::from_parts(124_647_000, 0) .saturating_add(T::DbWeight::get().reads(15)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -91,7 +91,7 @@ impl pallet_fee_market::WeightInfo for WeightInfo { // Storage: PangoroFeeMarket AssignedRelayers (r:0 w:1) fn decrease_locked_collateral() -> Weight { // Minimum execution time: 123_810 nanoseconds. - Weight::from_ref_time(123_810_000) + Weight::from_parts(123_810_000, 0) .saturating_add(T::DbWeight::get().reads(15)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -102,7 +102,7 @@ impl pallet_fee_market::WeightInfo for WeightInfo { // Storage: PangoroFeeMarket AssignedRelayers (r:0 w:1) fn update_relay_fee() -> Weight { // Minimum execution time: 94_641 nanoseconds. - Weight::from_ref_time(94_641_000) + Weight::from_parts(94_641_000, 0) .saturating_add(T::DbWeight::get().reads(13)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -115,14 +115,14 @@ impl pallet_fee_market::WeightInfo for WeightInfo { // Storage: PangoroFeeMarket AssignedRelayersNumber (r:1 w:0) fn cancel_enrollment() -> Weight { // Minimum execution time: 110_458 nanoseconds. - Weight::from_ref_time(110_458_000) + Weight::from_parts(110_458_000, 0) .saturating_add(T::DbWeight::get().reads(15)) .saturating_add(T::DbWeight::get().writes(5)) } // Storage: PangoroFeeMarket CollateralSlashProtect (r:0 w:1) fn set_slash_protect() -> Weight { // Minimum execution time: 27_039 nanoseconds. - Weight::from_ref_time(27_039_000) + Weight::from_parts(27_039_000, 0) .saturating_add(T::DbWeight::get().writes(1)) } // Storage: PangoroFeeMarket Relayers (r:1 w:0) @@ -132,7 +132,7 @@ impl pallet_fee_market::WeightInfo for WeightInfo { // Storage: PangoroFeeMarket AssignedRelayersNumber (r:0 w:1) fn set_assigned_relayers_number() -> Weight { // Minimum execution time: 90_728 nanoseconds. - Weight::from_ref_time(90_728_000) + Weight::from_parts(90_728_000, 0) .saturating_add(T::DbWeight::get().reads(12)) .saturating_add(T::DbWeight::get().writes(2)) } diff --git a/runtime/pangolin/src/weights/pallet_identity.rs b/runtime/pangolin/src/weights/pallet_identity.rs index cb4c6e10e..538aefcf1 100644 --- a/runtime/pangolin/src/weights/pallet_identity.rs +++ b/runtime/pangolin/src/weights/pallet_identity.rs @@ -60,7 +60,7 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `r` is `[1, 19]`. fn add_registrar(_r: u32, ) -> Weight { // Minimum execution time: 17_244 nanoseconds. - Weight::from_ref_time(21_349_000) + Weight::from_parts(21_349_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -69,9 +69,9 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `x` is `[0, 100]`. fn set_identity(_r: u32, x: u32, ) -> Weight { // Minimum execution time: 37_214 nanoseconds. - Weight::from_ref_time(44_716_631) + Weight::from_parts(44_716_631, 0) // Standard Error: 32_727 - .saturating_add(Weight::from_ref_time(364_345).saturating_mul(x.into())) + .saturating_add(Weight::from_parts(364_345, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -81,7 +81,7 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `s` is `[0, 100]`. fn set_subs_new(_s: u32, ) -> Weight { // Minimum execution time: 15_193 nanoseconds. - Weight::from_ref_time(269_849_000) + Weight::from_parts(269_849_000, 0) .saturating_add(T::DbWeight::get().reads(102)) .saturating_add(T::DbWeight::get().writes(101)) } @@ -91,7 +91,7 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `p` is `[0, 100]`. fn set_subs_old(_p: u32, ) -> Weight { // Minimum execution time: 15_333 nanoseconds. - Weight::from_ref_time(128_932_000) + Weight::from_parts(128_932_000, 0) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(101)) } @@ -103,13 +103,13 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `x` is `[0, 100]`. fn clear_identity(r: u32, s: u32, x: u32, ) -> Weight { // Minimum execution time: 53_139 nanoseconds. - Weight::from_ref_time(34_638_684) + Weight::from_parts(34_638_684, 0) // Standard Error: 1_191_269 - .saturating_add(Weight::from_ref_time(105_649).saturating_mul(r.into())) + .saturating_add(Weight::from_parts(105_649, 0).saturating_mul(r.into())) // Standard Error: 226_341 - .saturating_add(Weight::from_ref_time(1_081_613).saturating_mul(s.into())) + .saturating_add(Weight::from_parts(1_081_613, 0).saturating_mul(s.into())) // Standard Error: 226_341 - .saturating_add(Weight::from_ref_time(163_873).saturating_mul(x.into())) + .saturating_add(Weight::from_parts(163_873, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into()))) @@ -120,11 +120,11 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `x` is `[0, 100]`. fn request_judgement(r: u32, x: u32, ) -> Weight { // Minimum execution time: 36_771 nanoseconds. - Weight::from_ref_time(34_392_578) + Weight::from_parts(34_392_578, 0) // Standard Error: 40_065 - .saturating_add(Weight::from_ref_time(118_921).saturating_mul(r.into())) + .saturating_add(Weight::from_parts(118_921, 0).saturating_mul(r.into())) // Standard Error: 7_612 - .saturating_add(Weight::from_ref_time(364_635).saturating_mul(x.into())) + .saturating_add(Weight::from_parts(364_635, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -133,11 +133,11 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `x` is `[0, 100]`. fn cancel_request(r: u32, x: u32, ) -> Weight { // Minimum execution time: 36_991 nanoseconds. - Weight::from_ref_time(32_892_052) + Weight::from_parts(32_892_052, 0) // Standard Error: 536_206 - .saturating_add(Weight::from_ref_time(204_947).saturating_mul(r.into())) + .saturating_add(Weight::from_parts(204_947, 0).saturating_mul(r.into())) // Standard Error: 101_879 - .saturating_add(Weight::from_ref_time(367_020).saturating_mul(x.into())) + .saturating_add(Weight::from_parts(367_020, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -145,7 +145,7 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `r` is `[1, 19]`. fn set_fee(_r: u32, ) -> Weight { // Minimum execution time: 10_489 nanoseconds. - Weight::from_ref_time(12_110_000) + Weight::from_parts(12_110_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -153,7 +153,7 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `r` is `[1, 19]`. fn set_account_id(_r: u32, ) -> Weight { // Minimum execution time: 10_109 nanoseconds. - Weight::from_ref_time(12_655_000) + Weight::from_parts(12_655_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -161,7 +161,7 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `r` is `[1, 19]`. fn set_fields(_r: u32, ) -> Weight { // Minimum execution time: 9_879 nanoseconds. - Weight::from_ref_time(12_937_000) + Weight::from_parts(12_937_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -171,11 +171,11 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `x` is `[0, 100]`. fn provide_judgement(r: u32, x: u32, ) -> Weight { // Minimum execution time: 31_307 nanoseconds. - Weight::from_ref_time(28_926_722) + Weight::from_parts(28_926_722, 0) // Standard Error: 637_875 - .saturating_add(Weight::from_ref_time(125_277).saturating_mul(r.into())) + .saturating_add(Weight::from_parts(125_277, 0).saturating_mul(r.into())) // Standard Error: 114_817 - .saturating_add(Weight::from_ref_time(590_910).saturating_mul(x.into())) + .saturating_add(Weight::from_parts(590_910, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -188,13 +188,13 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `x` is `[0, 100]`. fn kill_identity(r: u32, s: u32, x: u32, ) -> Weight { // Minimum execution time: 66_461 nanoseconds. - Weight::from_ref_time(37_626_947) + Weight::from_parts(37_626_947, 0) // Standard Error: 303_300 - .saturating_add(Weight::from_ref_time(66_385).saturating_mul(r.into())) + .saturating_add(Weight::from_parts(66_385, 0).saturating_mul(r.into())) // Standard Error: 57_627 - .saturating_add(Weight::from_ref_time(1_027_823).saturating_mul(s.into())) + .saturating_add(Weight::from_parts(1_027_823, 0).saturating_mul(s.into())) // Standard Error: 57_627 - .saturating_add(Weight::from_ref_time(275_063).saturating_mul(x.into())) + .saturating_add(Weight::from_parts(275_063, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into()))) @@ -205,7 +205,7 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `s` is `[0, 99]`. fn add_sub(_s: u32, ) -> Weight { // Minimum execution time: 40_637 nanoseconds. - Weight::from_ref_time(41_225_000) + Weight::from_parts(41_225_000, 0) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -214,7 +214,7 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `s` is `[1, 100]`. fn rename_sub(_s: u32, ) -> Weight { // Minimum execution time: 15_861 nanoseconds. - Weight::from_ref_time(22_252_000) + Weight::from_parts(22_252_000, 0) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -224,7 +224,7 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `s` is `[1, 100]`. fn remove_sub(_s: u32, ) -> Weight { // Minimum execution time: 41_624 nanoseconds. - Weight::from_ref_time(46_038_000) + Weight::from_parts(46_038_000, 0) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -233,7 +233,7 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `s` is `[0, 99]`. fn quit_sub(_s: u32, ) -> Weight { // Minimum execution time: 25_832 nanoseconds. - Weight::from_ref_time(34_866_000) + Weight::from_parts(34_866_000, 0) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } diff --git a/runtime/pangolin/src/weights/pallet_membership.rs b/runtime/pangolin/src/weights/pallet_membership.rs index 7155a45bd..8a99924aa 100644 --- a/runtime/pangolin/src/weights/pallet_membership.rs +++ b/runtime/pangolin/src/weights/pallet_membership.rs @@ -63,7 +63,7 @@ impl pallet_membership::WeightInfo for WeightInfo { /// The range of component `m` is `[1, 99]`. fn add_member(_m: u32, ) -> Weight { // Minimum execution time: 21_748 nanoseconds. - Weight::from_ref_time(24_390_000) + Weight::from_parts(24_390_000, 0) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -75,7 +75,7 @@ impl pallet_membership::WeightInfo for WeightInfo { /// The range of component `m` is `[2, 100]`. fn remove_member(_m: u32, ) -> Weight { // Minimum execution time: 23_734 nanoseconds. - Weight::from_ref_time(26_506_000) + Weight::from_parts(26_506_000, 0) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -87,7 +87,7 @@ impl pallet_membership::WeightInfo for WeightInfo { /// The range of component `m` is `[2, 100]`. fn swap_member(_m: u32, ) -> Weight { // Minimum execution time: 25_965 nanoseconds. - Weight::from_ref_time(52_917_000) + Weight::from_parts(52_917_000, 0) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -99,7 +99,7 @@ impl pallet_membership::WeightInfo for WeightInfo { /// The range of component `m` is `[1, 100]`. fn reset_member(_m: u32, ) -> Weight { // Minimum execution time: 22_969 nanoseconds. - Weight::from_ref_time(34_983_000) + Weight::from_parts(34_983_000, 0) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -111,7 +111,7 @@ impl pallet_membership::WeightInfo for WeightInfo { /// The range of component `m` is `[1, 100]`. fn change_key(_m: u32, ) -> Weight { // Minimum execution time: 27_883 nanoseconds. - Weight::from_ref_time(33_543_000) + Weight::from_parts(33_543_000, 0) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -121,7 +121,7 @@ impl pallet_membership::WeightInfo for WeightInfo { /// The range of component `m` is `[1, 100]`. fn set_prime(_m: u32, ) -> Weight { // Minimum execution time: 9_224 nanoseconds. - Weight::from_ref_time(10_124_000) + Weight::from_parts(10_124_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -130,7 +130,7 @@ impl pallet_membership::WeightInfo for WeightInfo { /// The range of component `m` is `[1, 100]`. fn clear_prime(_m: u32, ) -> Weight { // Minimum execution time: 5_646 nanoseconds. - Weight::from_ref_time(6_593_000) + Weight::from_parts(6_593_000, 0) .saturating_add(T::DbWeight::get().writes(2)) } } diff --git a/runtime/pangolin/src/weights/pallet_preimage.rs b/runtime/pangolin/src/weights/pallet_preimage.rs index 2bd796193..6b9509d23 100644 --- a/runtime/pangolin/src/weights/pallet_preimage.rs +++ b/runtime/pangolin/src/weights/pallet_preimage.rs @@ -61,7 +61,7 @@ impl pallet_preimage::WeightInfo for WeightInfo { /// The range of component `s` is `[0, 4194304]`. fn note_preimage(_s: u32, ) -> Weight { // Minimum execution time: 40_707 nanoseconds. - Weight::from_ref_time(6_866_096_000) + Weight::from_parts(6_866_096_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -70,7 +70,7 @@ impl pallet_preimage::WeightInfo for WeightInfo { /// The range of component `s` is `[0, 4194304]`. fn note_requested_preimage(_s: u32, ) -> Weight { // Minimum execution time: 33_720 nanoseconds. - Weight::from_ref_time(7_005_652_000) + Weight::from_parts(7_005_652_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -79,7 +79,7 @@ impl pallet_preimage::WeightInfo for WeightInfo { /// The range of component `s` is `[0, 4194304]`. fn note_no_deposit_preimage(_s: u32, ) -> Weight { // Minimum execution time: 30_681 nanoseconds. - Weight::from_ref_time(6_763_085_000) + Weight::from_parts(6_763_085_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -87,7 +87,7 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Storage: Preimage PreimageFor (r:0 w:1) fn unnote_preimage() -> Weight { // Minimum execution time: 230_248 nanoseconds. - Weight::from_ref_time(230_248_000) + Weight::from_parts(230_248_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -95,35 +95,35 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Storage: Preimage PreimageFor (r:0 w:1) fn unnote_no_deposit_preimage() -> Weight { // Minimum execution time: 191_384 nanoseconds. - Weight::from_ref_time(191_384_000) + Weight::from_parts(191_384_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } // Storage: Preimage StatusFor (r:1 w:1) fn request_preimage() -> Weight { // Minimum execution time: 209_034 nanoseconds. - Weight::from_ref_time(209_034_000) + Weight::from_parts(209_034_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Preimage StatusFor (r:1 w:1) fn request_no_deposit_preimage() -> Weight { // Minimum execution time: 170_505 nanoseconds. - Weight::from_ref_time(170_505_000) + Weight::from_parts(170_505_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Preimage StatusFor (r:1 w:1) fn request_unnoted_preimage() -> Weight { // Minimum execution time: 33_188 nanoseconds. - Weight::from_ref_time(33_188_000) + Weight::from_parts(33_188_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Preimage StatusFor (r:1 w:1) fn request_requested_preimage() -> Weight { // Minimum execution time: 22_002 nanoseconds. - Weight::from_ref_time(22_002_000) + Weight::from_parts(22_002_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -131,21 +131,21 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Storage: Preimage PreimageFor (r:0 w:1) fn unrequest_preimage() -> Weight { // Minimum execution time: 198_843 nanoseconds. - Weight::from_ref_time(198_843_000) + Weight::from_parts(198_843_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } // Storage: Preimage StatusFor (r:1 w:1) fn unrequest_unnoted_preimage() -> Weight { // Minimum execution time: 21_397 nanoseconds. - Weight::from_ref_time(21_397_000) + Weight::from_parts(21_397_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Preimage StatusFor (r:1 w:1) fn unrequest_multi_referenced_preimage() -> Weight { // Minimum execution time: 22_030 nanoseconds. - Weight::from_ref_time(22_030_000) + Weight::from_parts(22_030_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/pangolin/src/weights/pallet_proxy.rs b/runtime/pangolin/src/weights/pallet_proxy.rs index e3d6e3735..fe96c9a4d 100644 --- a/runtime/pangolin/src/weights/pallet_proxy.rs +++ b/runtime/pangolin/src/weights/pallet_proxy.rs @@ -60,7 +60,7 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 31]`. fn proxy(_p: u32, ) -> Weight { // Minimum execution time: 34_968 nanoseconds. - Weight::from_ref_time(38_373_000) + Weight::from_parts(38_373_000, 0) .saturating_add(T::DbWeight::get().reads(1)) } // Storage: Proxy Proxies (r:1 w:0) @@ -70,9 +70,9 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 31]`. fn proxy_announced(_a: u32, p: u32, ) -> Weight { // Minimum execution time: 52_917 nanoseconds. - Weight::from_ref_time(55_552_783) + Weight::from_parts(55_552_783, 0) // Standard Error: 29_300 - .saturating_add(Weight::from_ref_time(38_716).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(38_716, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -82,9 +82,9 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 31]`. fn remove_announcement(a: u32, _p: u32, ) -> Weight { // Minimum execution time: 38_678 nanoseconds. - Weight::from_ref_time(41_700_500) + Weight::from_parts(41_700_500, 0) // Standard Error: 81_406 - .saturating_add(Weight::from_ref_time(91_838).saturating_mul(a.into())) + .saturating_add(Weight::from_parts(91_838, 0).saturating_mul(a.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -94,11 +94,11 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 31]`. fn reject_announcement(a: u32, p: u32, ) -> Weight { // Minimum execution time: 39_809 nanoseconds. - Weight::from_ref_time(29_165_150) + Weight::from_parts(29_165_150, 0) // Standard Error: 300_343 - .saturating_add(Weight::from_ref_time(344_080).saturating_mul(a.into())) + .saturating_add(Weight::from_parts(344_080, 0).saturating_mul(a.into())) // Standard Error: 310_354 - .saturating_add(Weight::from_ref_time(343_350).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(343_350, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -109,11 +109,11 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 31]`. fn announce(a: u32, p: u32, ) -> Weight { // Minimum execution time: 45_548 nanoseconds. - Weight::from_ref_time(45_090_750) + Weight::from_parts(45_090_750, 0) // Standard Error: 133_786 - .saturating_add(Weight::from_ref_time(189_338).saturating_mul(a.into())) + .saturating_add(Weight::from_parts(189_338, 0).saturating_mul(a.into())) // Standard Error: 138_246 - .saturating_add(Weight::from_ref_time(14_750).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(14_750, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -121,7 +121,7 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 31]`. fn add_proxy(_p: u32, ) -> Weight { // Minimum execution time: 39_543 nanoseconds. - Weight::from_ref_time(48_058_000) + Weight::from_parts(48_058_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -129,7 +129,7 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 31]`. fn remove_proxy(_p: u32, ) -> Weight { // Minimum execution time: 40_799 nanoseconds. - Weight::from_ref_time(46_795_000) + Weight::from_parts(46_795_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -137,7 +137,7 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 31]`. fn remove_proxies(_p: u32, ) -> Weight { // Minimum execution time: 37_919 nanoseconds. - Weight::from_ref_time(38_639_000) + Weight::from_parts(38_639_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -146,7 +146,7 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 31]`. fn create_pure(_p: u32, ) -> Weight { // Minimum execution time: 48_536 nanoseconds. - Weight::from_ref_time(48_721_000) + Weight::from_parts(48_721_000, 0) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -154,7 +154,7 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// The range of component `p` is `[0, 30]`. fn kill_pure(_p: u32, ) -> Weight { // Minimum execution time: 38_173 nanoseconds. - Weight::from_ref_time(42_299_000) + Weight::from_parts(42_299_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/pangolin/src/weights/pallet_scheduler.rs b/runtime/pangolin/src/weights/pallet_scheduler.rs index 742d597ef..1d779b32d 100644 --- a/runtime/pangolin/src/weights/pallet_scheduler.rs +++ b/runtime/pangolin/src/weights/pallet_scheduler.rs @@ -59,7 +59,7 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Storage: Scheduler IncompleteSince (r:1 w:1) fn service_agendas_base() -> Weight { // Minimum execution time: 13_005 nanoseconds. - Weight::from_ref_time(13_005_000) + Weight::from_parts(13_005_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -67,46 +67,46 @@ impl pallet_scheduler::WeightInfo for WeightInfo { /// The range of component `s` is `[0, 50]`. fn service_agenda_base(_s: u32, ) -> Weight { // Minimum execution time: 14_485 nanoseconds. - Weight::from_ref_time(41_312_000) + Weight::from_parts(41_312_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } fn service_task_base() -> Weight { // Minimum execution time: 20_886 nanoseconds. - Weight::from_ref_time(20_886_000) + Weight::from_parts(20_886_000, 0) } // Storage: Preimage PreimageFor (r:1 w:1) // Storage: Preimage StatusFor (r:1 w:1) /// The range of component `s` is `[128, 4194304]`. fn service_task_fetched(_s: u32, ) -> Weight { // Minimum execution time: 33_793 nanoseconds. - Weight::from_ref_time(5_154_304_000) + Weight::from_parts(5_154_304_000, 0) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } // Storage: Scheduler Lookup (r:0 w:1) fn service_task_named() -> Weight { // Minimum execution time: 33_616 nanoseconds. - Weight::from_ref_time(33_616_000) + Weight::from_parts(33_616_000, 0) .saturating_add(T::DbWeight::get().writes(1)) } fn service_task_periodic() -> Weight { // Minimum execution time: 23_182 nanoseconds. - Weight::from_ref_time(23_182_000) + Weight::from_parts(23_182_000, 0) } fn execute_dispatch_signed() -> Weight { // Minimum execution time: 20_355 nanoseconds. - Weight::from_ref_time(20_355_000) + Weight::from_parts(20_355_000, 0) } fn execute_dispatch_unsigned() -> Weight { // Minimum execution time: 17_728 nanoseconds. - Weight::from_ref_time(17_728_000) + Weight::from_parts(17_728_000, 0) } // Storage: Scheduler Agenda (r:1 w:1) /// The range of component `s` is `[0, 49]`. fn schedule(_s: u32, ) -> Weight { // Minimum execution time: 35_715 nanoseconds. - Weight::from_ref_time(60_651_000) + Weight::from_parts(60_651_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -115,7 +115,7 @@ impl pallet_scheduler::WeightInfo for WeightInfo { /// The range of component `s` is `[1, 50]`. fn cancel(_s: u32, ) -> Weight { // Minimum execution time: 34_232 nanoseconds. - Weight::from_ref_time(79_279_000) + Weight::from_parts(79_279_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -124,7 +124,7 @@ impl pallet_scheduler::WeightInfo for WeightInfo { /// The range of component `s` is `[0, 49]`. fn schedule_named(_s: u32, ) -> Weight { // Minimum execution time: 40_592 nanoseconds. - Weight::from_ref_time(68_534_000) + Weight::from_parts(68_534_000, 0) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -133,7 +133,7 @@ impl pallet_scheduler::WeightInfo for WeightInfo { /// The range of component `s` is `[1, 50]`. fn cancel_named(_s: u32, ) -> Weight { // Minimum execution time: 37_859 nanoseconds. - Weight::from_ref_time(79_749_000) + Weight::from_parts(79_749_000, 0) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } diff --git a/runtime/pangolin/src/weights/pallet_session.rs b/runtime/pangolin/src/weights/pallet_session.rs index 848f57833..714c95a70 100644 --- a/runtime/pangolin/src/weights/pallet_session.rs +++ b/runtime/pangolin/src/weights/pallet_session.rs @@ -60,7 +60,7 @@ impl pallet_session::WeightInfo for WeightInfo { // Storage: Session KeyOwner (r:1 w:1) fn set_keys() -> Weight { // Minimum execution time: 36_083 nanoseconds. - Weight::from_ref_time(36_083_000) + Weight::from_parts(36_083_000, 0) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -68,7 +68,7 @@ impl pallet_session::WeightInfo for WeightInfo { // Storage: Session KeyOwner (r:0 w:1) fn purge_keys() -> Weight { // Minimum execution time: 31_421 nanoseconds. - Weight::from_ref_time(31_421_000) + Weight::from_parts(31_421_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } diff --git a/runtime/pangolin/src/weights/pallet_timestamp.rs b/runtime/pangolin/src/weights/pallet_timestamp.rs index 2396660db..39b452f20 100644 --- a/runtime/pangolin/src/weights/pallet_timestamp.rs +++ b/runtime/pangolin/src/weights/pallet_timestamp.rs @@ -60,12 +60,12 @@ impl pallet_timestamp::WeightInfo for WeightInfo { // Storage: Aura CurrentSlot (r:1 w:0) fn set() -> Weight { // Minimum execution time: 22_338 nanoseconds. - Weight::from_ref_time(22_338_000) + Weight::from_parts(22_338_000, 0) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } fn on_finalize() -> Weight { // Minimum execution time: 12_282 nanoseconds. - Weight::from_ref_time(12_282_000) + Weight::from_parts(12_282_000, 0) } } diff --git a/runtime/pangolin/src/weights/pallet_tips.rs b/runtime/pangolin/src/weights/pallet_tips.rs index d2ad59c6d..dfcb955b6 100644 --- a/runtime/pangolin/src/weights/pallet_tips.rs +++ b/runtime/pangolin/src/weights/pallet_tips.rs @@ -61,7 +61,7 @@ impl pallet_tips::WeightInfo for WeightInfo { /// The range of component `r` is `[0, 16384]`. fn report_awesome(_r: u32, ) -> Weight { // Minimum execution time: 43_991 nanoseconds. - Weight::from_ref_time(66_709_000) + Weight::from_parts(66_709_000, 0) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -69,7 +69,7 @@ impl pallet_tips::WeightInfo for WeightInfo { // Storage: Tips Reasons (r:0 w:1) fn retract_tip() -> Weight { // Minimum execution time: 44_171 nanoseconds. - Weight::from_ref_time(44_171_000) + Weight::from_parts(44_171_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -80,11 +80,11 @@ impl pallet_tips::WeightInfo for WeightInfo { /// The range of component `t` is `[1, 7]`. fn tip_new(r: u32, t: u32, ) -> Weight { // Minimum execution time: 38_303 nanoseconds. - Weight::from_ref_time(29_403_083) + Weight::from_parts(29_403_083, 0) // Standard Error: 842 - .saturating_add(Weight::from_ref_time(1_665).saturating_mul(r.into())) + .saturating_add(Weight::from_parts(1_665, 0).saturating_mul(r.into())) // Standard Error: 2_300_307 - .saturating_add(Weight::from_ref_time(1_271_416).saturating_mul(t.into())) + .saturating_add(Weight::from_parts(1_271_416, 0).saturating_mul(t.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -93,7 +93,7 @@ impl pallet_tips::WeightInfo for WeightInfo { /// The range of component `t` is `[1, 7]`. fn tip(_t: u32, ) -> Weight { // Minimum execution time: 24_732 nanoseconds. - Weight::from_ref_time(30_117_000) + Weight::from_parts(30_117_000, 0) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -104,7 +104,7 @@ impl pallet_tips::WeightInfo for WeightInfo { /// The range of component `t` is `[1, 7]`. fn close_tip(_t: u32, ) -> Weight { // Minimum execution time: 69_806 nanoseconds. - Weight::from_ref_time(100_838_000) + Weight::from_parts(100_838_000, 0) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -113,7 +113,7 @@ impl pallet_tips::WeightInfo for WeightInfo { /// The range of component `t` is `[1, 7]`. fn slash_tip(_t: u32, ) -> Weight { // Minimum execution time: 30_313 nanoseconds. - Weight::from_ref_time(32_653_000) + Weight::from_parts(32_653_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } diff --git a/runtime/pangolin/src/weights/pallet_treasury.rs b/runtime/pangolin/src/weights/pallet_treasury.rs index 8cdcae499..26feb7981 100644 --- a/runtime/pangolin/src/weights/pallet_treasury.rs +++ b/runtime/pangolin/src/weights/pallet_treasury.rs @@ -58,13 +58,13 @@ pub struct WeightInfo(PhantomData); impl pallet_treasury::WeightInfo for WeightInfo { fn spend() -> Weight { // Minimum execution time: 633 nanoseconds. - Weight::from_ref_time(633_000) + Weight::from_parts(633_000, 0) } // Storage: Treasury ProposalCount (r:1 w:1) // Storage: Treasury Proposals (r:0 w:1) fn propose_spend() -> Weight { // Minimum execution time: 30_652 nanoseconds. - Weight::from_ref_time(30_652_000) + Weight::from_parts(30_652_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -72,7 +72,7 @@ impl pallet_treasury::WeightInfo for WeightInfo { // Storage: System Account (r:2 w:2) fn reject_proposal() -> Weight { // Minimum execution time: 44_193 nanoseconds. - Weight::from_ref_time(44_193_000) + Weight::from_parts(44_193_000, 0) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -81,14 +81,14 @@ impl pallet_treasury::WeightInfo for WeightInfo { /// The range of component `p` is `[0, 99]`. fn approve_proposal(_p: u32, ) -> Weight { // Minimum execution time: 14_774 nanoseconds. - Weight::from_ref_time(26_305_000) + Weight::from_parts(26_305_000, 0) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Treasury Approvals (r:1 w:1) fn remove_approval() -> Weight { // Minimum execution time: 11_357 nanoseconds. - Weight::from_ref_time(11_357_000) + Weight::from_parts(11_357_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -100,7 +100,7 @@ impl pallet_treasury::WeightInfo for WeightInfo { /// The range of component `p` is `[0, 100]`. fn on_initialize_proposals(_p: u32, ) -> Weight { // Minimum execution time: 103_127 nanoseconds. - Weight::from_ref_time(230_072_000) + Weight::from_parts(230_072_000, 0) .saturating_add(T::DbWeight::get().reads(104)) .saturating_add(T::DbWeight::get().writes(4)) } diff --git a/runtime/pangolin/src/weights/pallet_utility.rs b/runtime/pangolin/src/weights/pallet_utility.rs index 043dfb62a..482dda396 100644 --- a/runtime/pangolin/src/weights/pallet_utility.rs +++ b/runtime/pangolin/src/weights/pallet_utility.rs @@ -59,24 +59,24 @@ impl pallet_utility::WeightInfo for WeightInfo { /// The range of component `c` is `[0, 1000]`. fn batch(_c: u32, ) -> Weight { // Minimum execution time: 22_413 nanoseconds. - Weight::from_ref_time(3_400_790_000) + Weight::from_parts(3_400_790_000, 0) } fn as_derivative() -> Weight { // Minimum execution time: 12_507 nanoseconds. - Weight::from_ref_time(12_507_000) + Weight::from_parts(12_507_000, 0) } /// The range of component `c` is `[0, 1000]`. fn batch_all(_c: u32, ) -> Weight { // Minimum execution time: 20_842 nanoseconds. - Weight::from_ref_time(3_658_261_000) + Weight::from_parts(3_658_261_000, 0) } fn dispatch_as() -> Weight { // Minimum execution time: 24_168 nanoseconds. - Weight::from_ref_time(24_168_000) + Weight::from_parts(24_168_000, 0) } /// The range of component `c` is `[0, 1000]`. fn force_batch(_c: u32, ) -> Weight { // Minimum execution time: 159_696 nanoseconds. - Weight::from_ref_time(3_445_451_000) + Weight::from_parts(3_445_451_000, 0) } } diff --git a/runtime/pangolin/src/weights/pallet_vesting.rs b/runtime/pangolin/src/weights/pallet_vesting.rs index 6f5f1c317..13309c8cf 100644 --- a/runtime/pangolin/src/weights/pallet_vesting.rs +++ b/runtime/pangolin/src/weights/pallet_vesting.rs @@ -62,11 +62,11 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// The range of component `s` is `[1, 28]`. fn vest_locked(l: u32, s: u32, ) -> Weight { // Minimum execution time: 38_909 nanoseconds. - Weight::from_ref_time(35_806_851) + Weight::from_parts(35_806_851, 0) // Standard Error: 18_186 - .saturating_add(Weight::from_ref_time(56_969).saturating_mul(l.into())) + .saturating_add(Weight::from_parts(56_969, 0).saturating_mul(l.into())) // Standard Error: 33_005 - .saturating_add(Weight::from_ref_time(310_648).saturating_mul(s.into())) + .saturating_add(Weight::from_parts(310_648, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -76,11 +76,11 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// The range of component `s` is `[1, 28]`. fn vest_unlocked(l: u32, s: u32, ) -> Weight { // Minimum execution time: 40_473 nanoseconds. - Weight::from_ref_time(37_972_333) + Weight::from_parts(37_972_333, 0) // Standard Error: 62_795 - .saturating_add(Weight::from_ref_time(48_928).saturating_mul(l.into())) + .saturating_add(Weight::from_parts(48_928, 0).saturating_mul(l.into())) // Standard Error: 113_962 - .saturating_add(Weight::from_ref_time(103_166).saturating_mul(s.into())) + .saturating_add(Weight::from_parts(103_166, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -91,11 +91,11 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// The range of component `s` is `[1, 28]`. fn vest_other_locked(l: u32, s: u32, ) -> Weight { // Minimum execution time: 40_436 nanoseconds. - Weight::from_ref_time(31_256_666) + Weight::from_parts(31_256_666, 0) // Standard Error: 22_322 - .saturating_add(Weight::from_ref_time(189_275).saturating_mul(l.into())) + .saturating_add(Weight::from_parts(189_275, 0).saturating_mul(l.into())) // Standard Error: 40_510 - .saturating_add(Weight::from_ref_time(327_833).saturating_mul(s.into())) + .saturating_add(Weight::from_parts(327_833, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -106,11 +106,11 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// The range of component `s` is `[1, 28]`. fn vest_other_unlocked(l: u32, s: u32, ) -> Weight { // Minimum execution time: 38_762 nanoseconds. - Weight::from_ref_time(35_517_629) + Weight::from_parts(35_517_629, 0) // Standard Error: 9_349 - .saturating_add(Weight::from_ref_time(64_602).saturating_mul(l.into())) + .saturating_add(Weight::from_parts(64_602, 0).saturating_mul(l.into())) // Standard Error: 16_967 - .saturating_add(Weight::from_ref_time(115_870).saturating_mul(s.into())) + .saturating_add(Weight::from_parts(115_870, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -121,9 +121,9 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// The range of component `s` is `[0, 27]`. fn vested_transfer(l: u32, _s: u32, ) -> Weight { // Minimum execution time: 53_593 nanoseconds. - Weight::from_ref_time(62_251_500) + Weight::from_parts(62_251_500, 0) // Standard Error: 972 - .saturating_add(Weight::from_ref_time(7_785).saturating_mul(l.into())) + .saturating_add(Weight::from_parts(7_785, 0).saturating_mul(l.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -134,11 +134,11 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// The range of component `s` is `[0, 27]`. fn force_vested_transfer(l: u32, s: u32, ) -> Weight { // Minimum execution time: 52_068 nanoseconds. - Weight::from_ref_time(51_584_500) + Weight::from_parts(51_584_500, 0) // Standard Error: 415_957 - .saturating_add(Weight::from_ref_time(223_928).saturating_mul(l.into())) + .saturating_add(Weight::from_parts(223_928, 0).saturating_mul(l.into())) // Standard Error: 754_885 - .saturating_add(Weight::from_ref_time(47_351).saturating_mul(s.into())) + .saturating_add(Weight::from_parts(47_351, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -149,9 +149,9 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// The range of component `s` is `[2, 28]`. fn not_unlocking_merge_schedules(_l: u32, s: u32, ) -> Weight { // Minimum execution time: 38_902 nanoseconds. - Weight::from_ref_time(39_996_230) + Weight::from_parts(39_996_230, 0) // Standard Error: 97_161 - .saturating_add(Weight::from_ref_time(108_634).saturating_mul(s.into())) + .saturating_add(Weight::from_parts(108_634, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -162,7 +162,7 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// The range of component `s` is `[2, 28]`. fn unlocking_merge_schedules(_l: u32, _s: u32, ) -> Weight { // Minimum execution time: 42_172 nanoseconds. - Weight::from_ref_time(55_341_307) + Weight::from_parts(55_341_307, 0) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } diff --git a/runtime/pangoro/src/pallets/evm.rs b/runtime/pangoro/src/pallets/evm.rs index f6a04e24b..d6e506173 100644 --- a/runtime/pangoro/src/pallets/evm.rs +++ b/runtime/pangoro/src/pallets/evm.rs @@ -25,7 +25,10 @@ const BLOCK_GAS_LIMIT: u64 = 20_000_000; frame_support::parameter_types! { pub BlockGasLimit: sp_core::U256 = sp_core::U256::from(BLOCK_GAS_LIMIT); pub PrecompilesValue: PangoroPrecompiles = PangoroPrecompiles::<_>::new(); - pub WeightPerGas: frame_support::weights::Weight = frame_support::weights::Weight::from_ref_time(fp_evm::weight_per_gas(BLOCK_GAS_LIMIT, NORMAL_DISPATCH_RATIO, WEIGHT_MILLISECS_PER_BLOCK)); + pub WeightPerGas: frame_support::weights::Weight = frame_support::weights::Weight::from_parts( + fp_evm::weight_per_gas(BLOCK_GAS_LIMIT, NORMAL_DISPATCH_RATIO, WEIGHT_MILLISECS_PER_BLOCK), + 0 + ); } // TODO: Integrate to the upstream repo pub struct FromH160; diff --git a/runtime/pangoro/src/weights/block_weights.rs b/runtime/pangoro/src/weights/block_weights.rs index 074d154e3..c186b8339 100644 --- a/runtime/pangoro/src/weights/block_weights.rs +++ b/runtime/pangoro/src/weights/block_weights.rs @@ -55,7 +55,7 @@ pub mod constants { /// 95th: 384_876 /// 75th: 380_642 pub const BlockExecutionWeight: Weight = - Weight::from_ref_time(WEIGHT_REF_TIME_PER_NANOS.saturating_mul(381_015)); + Weight::from_parts(WEIGHT_REF_TIME_PER_NANOS.saturating_mul(381_015), 0); } #[cfg(test)] diff --git a/runtime/pangoro/src/weights/cumulus_pallet_xcmp_queue.rs b/runtime/pangoro/src/weights/cumulus_pallet_xcmp_queue.rs index b7a0f7a07..5a175845e 100644 --- a/runtime/pangoro/src/weights/cumulus_pallet_xcmp_queue.rs +++ b/runtime/pangoro/src/weights/cumulus_pallet_xcmp_queue.rs @@ -59,14 +59,14 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for WeightIn // Storage: XcmpQueue QueueConfig (r:1 w:1) fn set_config_with_u32() -> Weight { // Minimum execution time: 18_662 nanoseconds. - Weight::from_ref_time(18_662_000) + Weight::from_parts(18_662_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } // Storage: XcmpQueue QueueConfig (r:1 w:1) fn set_config_with_weight() -> Weight { // Minimum execution time: 17_101 nanoseconds. - Weight::from_ref_time(17_101_000) + Weight::from_parts(17_101_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/pangoro/src/weights/darwinia_account_migration.rs b/runtime/pangoro/src/weights/darwinia_account_migration.rs index 0b61f0791..961ad98f0 100644 --- a/runtime/pangoro/src/weights/darwinia_account_migration.rs +++ b/runtime/pangoro/src/weights/darwinia_account_migration.rs @@ -134,13 +134,13 @@ impl darwinia_account_migration::WeightInfo for WeightI // Minimum execution time: 25_155 nanoseconds. Weight::from_parts(163_054_000, 51939) // Standard Error: 31_802 - .saturating_add(Weight::from_ref_time(91_575).saturating_mul(x.into())) + .saturating_add(Weight::from_parts(91_575, 0).saturating_mul(x.into())) // Standard Error: 31_802 - .saturating_add(Weight::from_ref_time(152_000).saturating_mul(z.into())) + .saturating_add(Weight::from_parts(152_000, 0).saturating_mul(z.into())) .saturating_add(T::DbWeight::get().reads(12)) .saturating_add(T::DbWeight::get().writes(18)) - .saturating_add(Weight::from_proof_size(7).saturating_mul(y.into())) - .saturating_add(Weight::from_proof_size(3).saturating_mul(z.into())) + .saturating_add(Weight::from_parts(7, 0).saturating_mul(y.into())) + .saturating_add(Weight::from_parts(3, 0).saturating_mul(z.into())) } /// Storage: AccountMigration Multisigs (r:1 w:1) /// Proof Skipped: AccountMigration Multisigs (max_values: None, max_size: None, mode: Measured) diff --git a/runtime/pangoro/src/weights/darwinia_staking.rs b/runtime/pangoro/src/weights/darwinia_staking.rs index 1d2b8f9b5..f0c681196 100644 --- a/runtime/pangoro/src/weights/darwinia_staking.rs +++ b/runtime/pangoro/src/weights/darwinia_staking.rs @@ -167,7 +167,7 @@ impl darwinia_staking::WeightInfo for WeightInfo { // Measured: `678` // Estimated: `0` // Minimum execution time: 7_025 nanoseconds. - Weight::from_ref_time(7_025_000) + Weight::from_parts(7_025_000, 0) .saturating_add(T::DbWeight::get().writes(2)) } /// Storage: DarwiniaStaking CollatorCount (r:0 w:1) @@ -177,7 +177,7 @@ impl darwinia_staking::WeightInfo for WeightInfo { // Measured: `678` // Estimated: `0` // Minimum execution time: 18_850 nanoseconds. - Weight::from_ref_time(18_850_000) + Weight::from_parts(18_850_000, 0) .saturating_add(T::DbWeight::get().writes(1)) } } diff --git a/runtime/pangoro/src/weights/extrinsic_weights.rs b/runtime/pangoro/src/weights/extrinsic_weights.rs index 4d2873d51..08fc6a963 100644 --- a/runtime/pangoro/src/weights/extrinsic_weights.rs +++ b/runtime/pangoro/src/weights/extrinsic_weights.rs @@ -55,7 +55,7 @@ pub mod constants { /// 95th: 100_051 /// 75th: 99_916 pub const ExtrinsicBaseWeight: Weight = - Weight::from_ref_time(WEIGHT_REF_TIME_PER_NANOS.saturating_mul(99_840)); + Weight::from_parts(WEIGHT_REF_TIME_PER_NANOS.saturating_mul(99_840), 0); } #[cfg(test)] diff --git a/runtime/pangoro/src/weights/frame_system.rs b/runtime/pangoro/src/weights/frame_system.rs index 6d8c25427..0b1cd0093 100644 --- a/runtime/pangoro/src/weights/frame_system.rs +++ b/runtime/pangoro/src/weights/frame_system.rs @@ -59,18 +59,18 @@ impl frame_system::WeightInfo for WeightInfo { /// The range of component `b` is `[0, 3932160]`. fn remark(_b: u32, ) -> Weight { // Minimum execution time: 21_369 nanoseconds. - Weight::from_ref_time(910_391_000) + Weight::from_parts(910_391_000, 0) } /// The range of component `b` is `[0, 3932160]`. fn remark_with_event(_b: u32, ) -> Weight { // Minimum execution time: 25_477 nanoseconds. - Weight::from_ref_time(4_613_787_000) + Weight::from_parts(4_613_787_000, 0) } // Storage: System Digest (r:1 w:1) // Storage: unknown [0x3a686561707061676573] (r:0 w:1) fn set_heap_pages() -> Weight { // Minimum execution time: 15_737 nanoseconds. - Weight::from_ref_time(15_737_000) + Weight::from_parts(15_737_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -78,21 +78,21 @@ impl frame_system::WeightInfo for WeightInfo { /// The range of component `i` is `[0, 1000]`. fn set_storage(_i: u32, ) -> Weight { // Minimum execution time: 16_295 nanoseconds. - Weight::from_ref_time(555_614_000) + Weight::from_parts(555_614_000, 0) .saturating_add(T::DbWeight::get().writes(1000)) } // Storage: Skipped Metadata (r:0 w:0) /// The range of component `i` is `[0, 1000]`. fn kill_storage(_i: u32, ) -> Weight { // Minimum execution time: 19_816 nanoseconds. - Weight::from_ref_time(467_332_000) + Weight::from_parts(467_332_000, 0) .saturating_add(T::DbWeight::get().writes(1000)) } // Storage: Skipped Metadata (r:0 w:0) /// The range of component `p` is `[0, 1000]`. fn kill_prefix(_p: u32, ) -> Weight { // Minimum execution time: 14_907 nanoseconds. - Weight::from_ref_time(822_938_000) + Weight::from_parts(822_938_000, 0) .saturating_add(T::DbWeight::get().writes(1000)) } } diff --git a/runtime/pangoro/src/weights/pallet_assets.rs b/runtime/pangoro/src/weights/pallet_assets.rs index 185ea6b91..1e61ebba9 100644 --- a/runtime/pangoro/src/weights/pallet_assets.rs +++ b/runtime/pangoro/src/weights/pallet_assets.rs @@ -59,21 +59,21 @@ impl pallet_assets::WeightInfo for WeightInfo { // Storage: Assets Asset (r:1 w:1) fn create() -> Weight { // Minimum execution time: 37_890 nanoseconds. - Weight::from_ref_time(37_890_000) + Weight::from_parts(37_890_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Assets Asset (r:1 w:1) fn force_create() -> Weight { // Minimum execution time: 59_843 nanoseconds. - Weight::from_ref_time(59_843_000) + Weight::from_parts(59_843_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Assets Asset (r:1 w:1) fn start_destroy() -> Weight { // Minimum execution time: 39_671 nanoseconds. - Weight::from_ref_time(39_671_000) + Weight::from_parts(39_671_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -83,7 +83,7 @@ impl pallet_assets::WeightInfo for WeightInfo { /// The range of component `c` is `[0, 1000]`. fn destroy_accounts(_c: u32, ) -> Weight { // Minimum execution time: 37_647 nanoseconds. - Weight::from_ref_time(11_733_130_000) + Weight::from_parts(11_733_130_000, 0) .saturating_add(T::DbWeight::get().reads(2002)) .saturating_add(T::DbWeight::get().writes(2001)) } @@ -92,7 +92,7 @@ impl pallet_assets::WeightInfo for WeightInfo { /// The range of component `a` is `[0, 1000]`. fn destroy_approvals(_a: u32, ) -> Weight { // Minimum execution time: 44_666 nanoseconds. - Weight::from_ref_time(5_539_689_000) + Weight::from_parts(5_539_689_000, 0) .saturating_add(T::DbWeight::get().reads(1002)) .saturating_add(T::DbWeight::get().writes(1001)) } @@ -100,7 +100,7 @@ impl pallet_assets::WeightInfo for WeightInfo { // Storage: Assets Metadata (r:1 w:0) fn finish_destroy() -> Weight { // Minimum execution time: 34_322 nanoseconds. - Weight::from_ref_time(34_322_000) + Weight::from_parts(34_322_000, 0) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -108,7 +108,7 @@ impl pallet_assets::WeightInfo for WeightInfo { // Storage: Assets Account (r:1 w:1) fn mint() -> Weight { // Minimum execution time: 58_686 nanoseconds. - Weight::from_ref_time(58_686_000) + Weight::from_parts(58_686_000, 0) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -116,7 +116,7 @@ impl pallet_assets::WeightInfo for WeightInfo { // Storage: Assets Account (r:1 w:1) fn burn() -> Weight { // Minimum execution time: 60_483 nanoseconds. - Weight::from_ref_time(60_483_000) + Weight::from_parts(60_483_000, 0) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -125,7 +125,7 @@ impl pallet_assets::WeightInfo for WeightInfo { // Storage: System Account (r:1 w:1) fn transfer() -> Weight { // Minimum execution time: 65_845 nanoseconds. - Weight::from_ref_time(65_845_000) + Weight::from_parts(65_845_000, 0) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -134,7 +134,7 @@ impl pallet_assets::WeightInfo for WeightInfo { // Storage: System Account (r:1 w:1) fn transfer_keep_alive() -> Weight { // Minimum execution time: 57_240 nanoseconds. - Weight::from_ref_time(57_240_000) + Weight::from_parts(57_240_000, 0) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -143,7 +143,7 @@ impl pallet_assets::WeightInfo for WeightInfo { // Storage: System Account (r:1 w:1) fn force_transfer() -> Weight { // Minimum execution time: 64_819 nanoseconds. - Weight::from_ref_time(64_819_000) + Weight::from_parts(64_819_000, 0) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -151,7 +151,7 @@ impl pallet_assets::WeightInfo for WeightInfo { // Storage: Assets Account (r:1 w:1) fn freeze() -> Weight { // Minimum execution time: 33_249 nanoseconds. - Weight::from_ref_time(33_249_000) + Weight::from_parts(33_249_000, 0) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -159,21 +159,21 @@ impl pallet_assets::WeightInfo for WeightInfo { // Storage: Assets Account (r:1 w:1) fn thaw() -> Weight { // Minimum execution time: 36_025 nanoseconds. - Weight::from_ref_time(36_025_000) + Weight::from_parts(36_025_000, 0) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Assets Asset (r:1 w:1) fn freeze_asset() -> Weight { // Minimum execution time: 30_183 nanoseconds. - Weight::from_ref_time(30_183_000) + Weight::from_parts(30_183_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Assets Asset (r:1 w:1) fn thaw_asset() -> Weight { // Minimum execution time: 31_457 nanoseconds. - Weight::from_ref_time(31_457_000) + Weight::from_parts(31_457_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -181,14 +181,14 @@ impl pallet_assets::WeightInfo for WeightInfo { // Storage: Assets Metadata (r:1 w:0) fn transfer_ownership() -> Weight { // Minimum execution time: 36_073 nanoseconds. - Weight::from_ref_time(36_073_000) + Weight::from_parts(36_073_000, 0) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Assets Asset (r:1 w:1) fn set_team() -> Weight { // Minimum execution time: 33_782 nanoseconds. - Weight::from_ref_time(33_782_000) + Weight::from_parts(33_782_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -198,7 +198,7 @@ impl pallet_assets::WeightInfo for WeightInfo { /// The range of component `s` is `[0, 50]`. fn set_metadata(_n: u32, _s: u32, ) -> Weight { // Minimum execution time: 39_430 nanoseconds. - Weight::from_ref_time(46_594_500) + Weight::from_parts(46_594_500, 0) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -206,7 +206,7 @@ impl pallet_assets::WeightInfo for WeightInfo { // Storage: Assets Metadata (r:1 w:1) fn clear_metadata() -> Weight { // Minimum execution time: 39_889 nanoseconds. - Weight::from_ref_time(39_889_000) + Weight::from_parts(39_889_000, 0) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -216,7 +216,7 @@ impl pallet_assets::WeightInfo for WeightInfo { /// The range of component `s` is `[0, 50]`. fn force_set_metadata(_n: u32, _s: u32, ) -> Weight { // Minimum execution time: 34_516 nanoseconds. - Weight::from_ref_time(45_132_500) + Weight::from_parts(45_132_500, 0) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -224,14 +224,14 @@ impl pallet_assets::WeightInfo for WeightInfo { // Storage: Assets Metadata (r:1 w:1) fn force_clear_metadata() -> Weight { // Minimum execution time: 55_976 nanoseconds. - Weight::from_ref_time(55_976_000) + Weight::from_parts(55_976_000, 0) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Assets Asset (r:1 w:1) fn force_asset_status() -> Weight { // Minimum execution time: 56_761 nanoseconds. - Weight::from_ref_time(56_761_000) + Weight::from_parts(56_761_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -239,7 +239,7 @@ impl pallet_assets::WeightInfo for WeightInfo { // Storage: Assets Approvals (r:1 w:1) fn approve_transfer() -> Weight { // Minimum execution time: 39_871 nanoseconds. - Weight::from_ref_time(39_871_000) + Weight::from_parts(39_871_000, 0) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -249,7 +249,7 @@ impl pallet_assets::WeightInfo for WeightInfo { // Storage: System Account (r:1 w:1) fn transfer_approved() -> Weight { // Minimum execution time: 69_769 nanoseconds. - Weight::from_ref_time(69_769_000) + Weight::from_parts(69_769_000, 0) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(5)) } @@ -257,7 +257,7 @@ impl pallet_assets::WeightInfo for WeightInfo { // Storage: Assets Approvals (r:1 w:1) fn cancel_approval() -> Weight { // Minimum execution time: 37_910 nanoseconds. - Weight::from_ref_time(37_910_000) + Weight::from_parts(37_910_000, 0) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -265,7 +265,7 @@ impl pallet_assets::WeightInfo for WeightInfo { // Storage: Assets Approvals (r:1 w:1) fn force_cancel_approval() -> Weight { // Minimum execution time: 47_591 nanoseconds. - Weight::from_ref_time(47_591_000) + Weight::from_parts(47_591_000, 0) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } diff --git a/runtime/pangoro/src/weights/pallet_balances.rs b/runtime/pangoro/src/weights/pallet_balances.rs index 301929605..ff23dd686 100644 --- a/runtime/pangoro/src/weights/pallet_balances.rs +++ b/runtime/pangoro/src/weights/pallet_balances.rs @@ -59,49 +59,49 @@ impl pallet_balances::WeightInfo for WeightInfo { // Storage: System Account (r:1 w:1) fn transfer() -> Weight { // Minimum execution time: 112_550 nanoseconds. - Weight::from_ref_time(112_550_000) + Weight::from_parts(112_550_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } // Storage: System Account (r:1 w:1) fn transfer_keep_alive() -> Weight { // Minimum execution time: 52_686 nanoseconds. - Weight::from_ref_time(52_686_000) + Weight::from_parts(52_686_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } // Storage: System Account (r:1 w:1) fn set_balance_creating() -> Weight { // Minimum execution time: 49_997 nanoseconds. - Weight::from_ref_time(49_997_000) + Weight::from_parts(49_997_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } // Storage: System Account (r:1 w:1) fn set_balance_killing() -> Weight { // Minimum execution time: 48_290 nanoseconds. - Weight::from_ref_time(48_290_000) + Weight::from_parts(48_290_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } // Storage: System Account (r:2 w:2) fn force_transfer() -> Weight { // Minimum execution time: 61_577 nanoseconds. - Weight::from_ref_time(61_577_000) + Weight::from_parts(61_577_000, 0) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } // Storage: System Account (r:1 w:1) fn transfer_all() -> Weight { // Minimum execution time: 61_086 nanoseconds. - Weight::from_ref_time(61_086_000) + Weight::from_parts(61_086_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } // Storage: System Account (r:1 w:1) fn force_unreserve() -> Weight { // Minimum execution time: 36_072 nanoseconds. - Weight::from_ref_time(36_072_000) + Weight::from_parts(36_072_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/pangoro/src/weights/pallet_bridge_grandpa.rs b/runtime/pangoro/src/weights/pallet_bridge_grandpa.rs index 4dfd5f905..e7b711ef5 100644 --- a/runtime/pangoro/src/weights/pallet_bridge_grandpa.rs +++ b/runtime/pangoro/src/weights/pallet_bridge_grandpa.rs @@ -67,9 +67,9 @@ impl pallet_bridge_grandpa::WeightInfo for WeightInfo Weight { // Minimum execution time: 1_945_391 nanoseconds. - Weight::from_ref_time(438_211_999) + Weight::from_parts(438_211_999, 0) // Standard Error: 400_341 - .saturating_add(Weight::from_ref_time(29_984_882).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(29_984_882, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(6)) } diff --git a/runtime/pangoro/src/weights/pallet_collective_council.rs b/runtime/pangoro/src/weights/pallet_collective_council.rs index 790479e87..0230a8e5d 100644 --- a/runtime/pangoro/src/weights/pallet_collective_council.rs +++ b/runtime/pangoro/src/weights/pallet_collective_council.rs @@ -68,11 +68,11 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `p` is `[0, 100]`. fn set_members(m: u32, _n: u32, p: u32, ) -> Weight { // Minimum execution time: 15_847 nanoseconds. - Weight::from_ref_time(15_847_000) + Weight::from_parts(15_847_000, 0) // Standard Error: 881_721 - .saturating_add(Weight::from_ref_time(3_897_468).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(3_897_468, 0).saturating_mul(m.into())) // Standard Error: 881_721 - .saturating_add(Weight::from_ref_time(3_873_043).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(3_873_043, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(m.into()))) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(p.into()))) @@ -87,11 +87,11 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `m` is `[1, 100]`. fn execute(b: u32, m: u32, ) -> Weight { // Minimum execution time: 25_156 nanoseconds. - Weight::from_ref_time(25_844_311) + Weight::from_parts(25_844_311, 0) // Standard Error: 1_485 - .saturating_add(Weight::from_ref_time(1_579).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(1_579, 0).saturating_mul(b.into())) // Standard Error: 15_334 - .saturating_add(Weight::from_ref_time(3_030).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(3_030, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(1)) } // Storage: Council Members (r:1 w:0) @@ -102,9 +102,9 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `m` is `[1, 100]`. fn propose_execute(b: u32, _m: u32, ) -> Weight { // Minimum execution time: 27_671 nanoseconds. - Weight::from_ref_time(29_135_151) + Weight::from_parts(29_135_151, 0) // Standard Error: 1_873 - .saturating_add(Weight::from_ref_time(1_260).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(1_260, 0).saturating_mul(b.into())) .saturating_add(T::DbWeight::get().reads(2)) } // Storage: Council Members (r:1 w:0) @@ -120,11 +120,11 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 100]`. fn propose_proposed(b: u32, _m: u32, p: u32, ) -> Weight { // Minimum execution time: 32_960 nanoseconds. - Weight::from_ref_time(32_662_050) + Weight::from_parts(32_662_050, 0) // Standard Error: 2_210 - .saturating_add(Weight::from_ref_time(7_678).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(7_678, 0).saturating_mul(b.into())) // Standard Error: 22_817 - .saturating_add(Weight::from_ref_time(209_260).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(209_260, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -134,9 +134,9 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `m` is `[5, 100]`. fn vote(m: u32, ) -> Weight { // Minimum execution time: 28_784 nanoseconds. - Weight::from_ref_time(31_836_210) + Weight::from_parts(31_836_210, 0) // Standard Error: 39_916 - .saturating_add(Weight::from_ref_time(65_257).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(65_257, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -150,11 +150,11 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 100]`. fn close_early_disapproved(m: u32, p: u32, ) -> Weight { // Minimum execution time: 29_543 nanoseconds. - Weight::from_ref_time(29_539_631) + Weight::from_parts(29_539_631, 0) // Standard Error: 36_612 - .saturating_add(Weight::from_ref_time(15_744).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(15_744, 0).saturating_mul(m.into())) // Standard Error: 35_502 - .saturating_add(Weight::from_ref_time(189_388).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(189_388, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -170,13 +170,13 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 100]`. fn close_early_approved(b: u32, m: u32, p: u32, ) -> Weight { // Minimum execution time: 44_061 nanoseconds. - Weight::from_ref_time(41_619_898) + Weight::from_parts(41_619_898, 0) // Standard Error: 4_334 - .saturating_add(Weight::from_ref_time(6_873).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(6_873, 0).saturating_mul(b.into())) // Standard Error: 46_141 - .saturating_add(Weight::from_ref_time(12_289).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(12_289, 0).saturating_mul(m.into())) // Standard Error: 44_743 - .saturating_add(Weight::from_ref_time(200_199).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(200_199, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -191,9 +191,9 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 100]`. fn close_disapproved(_m: u32, p: u32, ) -> Weight { // Minimum execution time: 35_223 nanoseconds. - Weight::from_ref_time(36_204_673) + Weight::from_parts(36_204_673, 0) // Standard Error: 28_916 - .saturating_add(Weight::from_ref_time(180_888).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(180_888, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -210,11 +210,11 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 100]`. fn close_approved(b: u32, _m: u32, p: u32, ) -> Weight { // Minimum execution time: 44_272 nanoseconds. - Weight::from_ref_time(46_929_498) + Weight::from_parts(46_929_498, 0) // Standard Error: 3_098 - .saturating_add(Weight::from_ref_time(595).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(595, 0).saturating_mul(b.into())) // Standard Error: 31_987 - .saturating_add(Weight::from_ref_time(237_987).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(237_987, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -225,9 +225,9 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 100]`. fn disapprove_proposal(p: u32, ) -> Weight { // Minimum execution time: 21_641 nanoseconds. - Weight::from_ref_time(41_393_590) + Weight::from_parts(41_393_590, 0) // Standard Error: 332_513 - .saturating_add(Weight::from_ref_time(242_409).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(242_409, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(3)) } diff --git a/runtime/pangoro/src/weights/pallet_collective_technical_committee.rs b/runtime/pangoro/src/weights/pallet_collective_technical_committee.rs index e97deccc4..815a9fcb8 100644 --- a/runtime/pangoro/src/weights/pallet_collective_technical_committee.rs +++ b/runtime/pangoro/src/weights/pallet_collective_technical_committee.rs @@ -68,11 +68,11 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `p` is `[0, 100]`. fn set_members(m: u32, _n: u32, p: u32, ) -> Weight { // Minimum execution time: 13_270 nanoseconds. - Weight::from_ref_time(13_270_000) + Weight::from_parts(13_270_000, 0) // Standard Error: 886_139 - .saturating_add(Weight::from_ref_time(3_921_725).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(3_921_725, 0).saturating_mul(m.into())) // Standard Error: 886_139 - .saturating_add(Weight::from_ref_time(3_872_435).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(3_872_435, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(m.into()))) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(p.into()))) @@ -87,7 +87,7 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `m` is `[1, 100]`. fn execute(_b: u32, _m: u32, ) -> Weight { // Minimum execution time: 17_927 nanoseconds. - Weight::from_ref_time(24_095_929) + Weight::from_parts(24_095_929, 0) .saturating_add(T::DbWeight::get().reads(1)) } // Storage: TechnicalCommittee Members (r:1 w:0) @@ -98,11 +98,11 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `m` is `[1, 100]`. fn propose_execute(b: u32, m: u32, ) -> Weight { // Minimum execution time: 20_607 nanoseconds. - Weight::from_ref_time(20_359_408) + Weight::from_parts(20_359_408, 0) // Standard Error: 516 - .saturating_add(Weight::from_ref_time(371).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(371, 0).saturating_mul(b.into())) // Standard Error: 5_336 - .saturating_add(Weight::from_ref_time(11_348).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(11_348, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2)) } // Storage: TechnicalCommittee Members (r:1 w:0) @@ -118,13 +118,13 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 100]`. fn propose_proposed(b: u32, m: u32, p: u32, ) -> Weight { // Minimum execution time: 26_643 nanoseconds. - Weight::from_ref_time(20_298_039) + Weight::from_parts(20_298_039, 0) // Standard Error: 3_296 - .saturating_add(Weight::from_ref_time(2_911).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(2_911, 0).saturating_mul(b.into())) // Standard Error: 34_374 - .saturating_add(Weight::from_ref_time(31_451).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(31_451, 0).saturating_mul(m.into())) // Standard Error: 34_027 - .saturating_add(Weight::from_ref_time(238_734).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(238_734, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -134,9 +134,9 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `m` is `[5, 100]`. fn vote(m: u32, ) -> Weight { // Minimum execution time: 30_416 nanoseconds. - Weight::from_ref_time(30_239_868) + Weight::from_parts(30_239_868, 0) // Standard Error: 13_990 - .saturating_add(Weight::from_ref_time(89_126).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(89_126, 0).saturating_mul(m.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -150,11 +150,11 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 100]`. fn close_early_disapproved(m: u32, p: u32, ) -> Weight { // Minimum execution time: 28_527 nanoseconds. - Weight::from_ref_time(27_759_126) + Weight::from_parts(27_759_126, 0) // Standard Error: 19_869 - .saturating_add(Weight::from_ref_time(13_786).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(13_786, 0).saturating_mul(m.into())) // Standard Error: 19_267 - .saturating_add(Weight::from_ref_time(206_227).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(206_227, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -170,11 +170,11 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 100]`. fn close_early_approved(b: u32, _m: u32, p: u32, ) -> Weight { // Minimum execution time: 38_552 nanoseconds. - Weight::from_ref_time(32_137_421) + Weight::from_parts(32_137_421, 0) // Standard Error: 4_052 - .saturating_add(Weight::from_ref_time(8_741).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(8_741, 0).saturating_mul(b.into())) // Standard Error: 41_832 - .saturating_add(Weight::from_ref_time(273_563).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(273_563, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -189,11 +189,11 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 100]`. fn close_disapproved(m: u32, p: u32, ) -> Weight { // Minimum execution time: 31_467 nanoseconds. - Weight::from_ref_time(29_935_335) + Weight::from_parts(29_935_335, 0) // Standard Error: 7_901 - .saturating_add(Weight::from_ref_time(15_401).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(15_401, 0).saturating_mul(m.into())) // Standard Error: 7_662 - .saturating_add(Weight::from_ref_time(182_560).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(182_560, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -210,9 +210,9 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 100]`. fn close_approved(_b: u32, _m: u32, p: u32, ) -> Weight { // Minimum execution time: 40_291 nanoseconds. - Weight::from_ref_time(49_116_982) + Weight::from_parts(49_116_982, 0) // Standard Error: 28_943 - .saturating_add(Weight::from_ref_time(202_618).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(202_618, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -223,9 +223,9 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 100]`. fn disapprove_proposal(p: u32, ) -> Weight { // Minimum execution time: 18_335 nanoseconds. - Weight::from_ref_time(18_311_929) + Weight::from_parts(18_311_929, 0) // Standard Error: 16_259 - .saturating_add(Weight::from_ref_time(180_070).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(180_070, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(3)) } diff --git a/runtime/pangoro/src/weights/pallet_democracy.rs b/runtime/pangoro/src/weights/pallet_democracy.rs index a9d7ebd65..020778694 100644 --- a/runtime/pangoro/src/weights/pallet_democracy.rs +++ b/runtime/pangoro/src/weights/pallet_democracy.rs @@ -62,14 +62,14 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: Democracy DepositOf (r:0 w:1) fn propose() -> Weight { // Minimum execution time: 54_483 nanoseconds. - Weight::from_ref_time(54_483_000) + Weight::from_parts(54_483_000, 0) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } // Storage: Democracy DepositOf (r:1 w:1) fn second() -> Weight { // Minimum execution time: 41_487 nanoseconds. - Weight::from_ref_time(41_487_000) + Weight::from_parts(41_487_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -78,7 +78,7 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: Balances Locks (r:1 w:1) fn vote_new() -> Weight { // Minimum execution time: 52_315 nanoseconds. - Weight::from_ref_time(52_315_000) + Weight::from_parts(52_315_000, 0) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -87,7 +87,7 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: Balances Locks (r:1 w:1) fn vote_existing() -> Weight { // Minimum execution time: 82_639 nanoseconds. - Weight::from_ref_time(82_639_000) + Weight::from_parts(82_639_000, 0) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -95,7 +95,7 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: Democracy Cancellations (r:1 w:1) fn emergency_cancel() -> Weight { // Minimum execution time: 44_503 nanoseconds. - Weight::from_ref_time(44_503_000) + Weight::from_parts(44_503_000, 0) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -107,7 +107,7 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: Democracy Blacklist (r:0 w:1) fn blacklist() -> Weight { // Minimum execution time: 84_259 nanoseconds. - Weight::from_ref_time(84_259_000) + Weight::from_parts(84_259_000, 0) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(7)) } @@ -115,20 +115,20 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: Democracy Blacklist (r:1 w:0) fn external_propose() -> Weight { // Minimum execution time: 24_458 nanoseconds. - Weight::from_ref_time(24_458_000) + Weight::from_parts(24_458_000, 0) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Democracy NextExternal (r:0 w:1) fn external_propose_majority() -> Weight { // Minimum execution time: 15_455 nanoseconds. - Weight::from_ref_time(15_455_000) + Weight::from_parts(15_455_000, 0) .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Democracy NextExternal (r:0 w:1) fn external_propose_default() -> Weight { // Minimum execution time: 11_555 nanoseconds. - Weight::from_ref_time(11_555_000) + Weight::from_parts(11_555_000, 0) .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Democracy NextExternal (r:1 w:1) @@ -136,7 +136,7 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: Democracy ReferendumInfoOf (r:0 w:1) fn fast_track() -> Weight { // Minimum execution time: 28_492 nanoseconds. - Weight::from_ref_time(28_492_000) + Weight::from_parts(28_492_000, 0) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -144,7 +144,7 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: Democracy Blacklist (r:1 w:1) fn veto_external() -> Weight { // Minimum execution time: 30_614 nanoseconds. - Weight::from_ref_time(30_614_000) + Weight::from_parts(30_614_000, 0) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -153,14 +153,14 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: System Account (r:2 w:2) fn cancel_proposal() -> Weight { // Minimum execution time: 87_806 nanoseconds. - Weight::from_ref_time(87_806_000) + Weight::from_parts(87_806_000, 0) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) } // Storage: Democracy ReferendumInfoOf (r:0 w:1) fn cancel_referendum() -> Weight { // Minimum execution time: 19_511 nanoseconds. - Weight::from_ref_time(19_511_000) + Weight::from_parts(19_511_000, 0) .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Democracy LowestUnbaked (r:1 w:1) @@ -169,7 +169,7 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// The range of component `r` is `[0, 99]`. fn on_initialize_base(_r: u32, ) -> Weight { // Minimum execution time: 8_386 nanoseconds. - Weight::from_ref_time(227_595_000) + Weight::from_parts(227_595_000, 0) .saturating_add(T::DbWeight::get().reads(101)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -182,7 +182,7 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// The range of component `r` is `[0, 99]`. fn on_initialize_base_with_launch_period(_r: u32, ) -> Weight { // Minimum execution time: 25_890 nanoseconds. - Weight::from_ref_time(210_385_000) + Weight::from_parts(210_385_000, 0) .saturating_add(T::DbWeight::get().reads(104)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -192,7 +192,7 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// The range of component `r` is `[0, 99]`. fn delegate(_r: u32, ) -> Weight { // Minimum execution time: 43_169 nanoseconds. - Weight::from_ref_time(331_157_000) + Weight::from_parts(331_157_000, 0) .saturating_add(T::DbWeight::get().reads(103)) .saturating_add(T::DbWeight::get().writes(103)) } @@ -201,14 +201,14 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// The range of component `r` is `[0, 99]`. fn undelegate(_r: u32, ) -> Weight { // Minimum execution time: 37_379 nanoseconds. - Weight::from_ref_time(311_380_000) + Weight::from_parts(311_380_000, 0) .saturating_add(T::DbWeight::get().reads(101)) .saturating_add(T::DbWeight::get().writes(101)) } // Storage: Democracy PublicProps (r:0 w:1) fn clear_public_proposals() -> Weight { // Minimum execution time: 6_243 nanoseconds. - Weight::from_ref_time(6_243_000) + Weight::from_parts(6_243_000, 0) .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Democracy VotingOf (r:1 w:1) @@ -217,7 +217,7 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// The range of component `r` is `[0, 99]`. fn unlock_remove(_r: u32, ) -> Weight { // Minimum execution time: 32_521 nanoseconds. - Weight::from_ref_time(35_746_000) + Weight::from_parts(35_746_000, 0) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -227,7 +227,7 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// The range of component `r` is `[0, 99]`. fn unlock_set(_r: u32, ) -> Weight { // Minimum execution time: 29_260 nanoseconds. - Weight::from_ref_time(40_749_000) + Weight::from_parts(40_749_000, 0) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -236,7 +236,7 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// The range of component `r` is `[1, 100]`. fn remove_vote(_r: u32, ) -> Weight { // Minimum execution time: 16_633 nanoseconds. - Weight::from_ref_time(27_147_000) + Weight::from_parts(27_147_000, 0) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -245,7 +245,7 @@ impl pallet_democracy::WeightInfo for WeightInfo { /// The range of component `r` is `[1, 100]`. fn remove_other_vote(_r: u32, ) -> Weight { // Minimum execution time: 28_761 nanoseconds. - Weight::from_ref_time(30_901_000) + Weight::from_parts(30_901_000, 0) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } diff --git a/runtime/pangoro/src/weights/pallet_elections_phragmen.rs b/runtime/pangoro/src/weights/pallet_elections_phragmen.rs index a7863a290..a8e710cde 100644 --- a/runtime/pangoro/src/weights/pallet_elections_phragmen.rs +++ b/runtime/pangoro/src/weights/pallet_elections_phragmen.rs @@ -64,7 +64,7 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn /// The range of component `v` is `[1, 16]`. fn vote_equal(_v: u32, ) -> Weight { // Minimum execution time: 42_766 nanoseconds. - Weight::from_ref_time(54_315_000) + Weight::from_parts(54_315_000, 0) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -76,7 +76,7 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn /// The range of component `v` is `[2, 16]`. fn vote_more(_v: u32, ) -> Weight { // Minimum execution time: 55_225 nanoseconds. - Weight::from_ref_time(61_297_000) + Weight::from_parts(61_297_000, 0) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -88,7 +88,7 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn /// The range of component `v` is `[2, 16]`. fn vote_less(_v: u32, ) -> Weight { // Minimum execution time: 56_719 nanoseconds. - Weight::from_ref_time(58_549_000) + Weight::from_parts(58_549_000, 0) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -96,7 +96,7 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn // Storage: Balances Locks (r:1 w:1) fn remove_voter() -> Weight { // Minimum execution time: 56_565 nanoseconds. - Weight::from_ref_time(56_565_000) + Weight::from_parts(56_565_000, 0) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -106,7 +106,7 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn /// The range of component `c` is `[1, 30]`. fn submit_candidacy(_c: u32, ) -> Weight { // Minimum execution time: 35_966 nanoseconds. - Weight::from_ref_time(41_537_000) + Weight::from_parts(41_537_000, 0) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -114,7 +114,7 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn /// The range of component `c` is `[1, 30]`. fn renounce_candidacy_candidate(_c: u32, ) -> Weight { // Minimum execution time: 33_754 nanoseconds. - Weight::from_ref_time(37_906_000) + Weight::from_parts(37_906_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -125,21 +125,21 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn // Storage: Council Members (r:0 w:1) fn renounce_candidacy_members() -> Weight { // Minimum execution time: 45_168 nanoseconds. - Weight::from_ref_time(45_168_000) + Weight::from_parts(45_168_000, 0) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) } // Storage: PhragmenElection RunnersUp (r:1 w:1) fn renounce_candidacy_runners_up() -> Weight { // Minimum execution time: 34_561 nanoseconds. - Weight::from_ref_time(34_561_000) + Weight::from_parts(34_561_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Benchmark Override (r:0 w:0) fn remove_member_without_replacement() -> Weight { // Minimum execution time: 500_000_000 nanoseconds. - Weight::from_ref_time(500_000_000_000) + Weight::from_parts(500_000_000_000, 0) } // Storage: PhragmenElection Members (r:1 w:1) // Storage: System Account (r:2 w:2) @@ -149,7 +149,7 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn // Storage: Council Members (r:0 w:1) fn remove_member_with_replacement() -> Weight { // Minimum execution time: 62_482 nanoseconds. - Weight::from_ref_time(62_482_000) + Weight::from_parts(62_482_000, 0) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(6)) } @@ -163,9 +163,9 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn /// The range of component `d` is `[0, 150]`. fn clean_defunct_voters(v: u32, _d: u32, ) -> Weight { // Minimum execution time: 6_963_107 nanoseconds. - Weight::from_ref_time(6_963_107_000) + Weight::from_parts(6_963_107_000, 0) // Standard Error: 5_787_119 - .saturating_add(Weight::from_ref_time(27_170_063).saturating_mul(v.into())) + .saturating_add(Weight::from_parts(27_170_063, 0).saturating_mul(v.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(v.into()))) .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(v.into()))) @@ -184,13 +184,13 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn /// The range of component `e` is `[300, 4800]`. fn election_phragmen(c: u32, v: u32, e: u32, ) -> Weight { // Minimum execution time: 552_726 nanoseconds. - Weight::from_ref_time(552_726_000) + Weight::from_parts(552_726_000, 0) // Standard Error: 72_431_641 - .saturating_add(Weight::from_ref_time(41_119_328).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(41_119_328, 0).saturating_mul(c.into())) // Standard Error: 7_140_319 - .saturating_add(Weight::from_ref_time(7_743_747).saturating_mul(v.into())) + .saturating_add(Weight::from_parts(7_743_747, 0).saturating_mul(v.into())) // Standard Error: 458_588 - .saturating_add(Weight::from_ref_time(162_823).saturating_mul(e.into())) + .saturating_add(Weight::from_parts(162_823, 0).saturating_mul(e.into())) .saturating_add(T::DbWeight::get().reads(35)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(v.into()))) diff --git a/runtime/pangoro/src/weights/pallet_fee_market.rs b/runtime/pangoro/src/weights/pallet_fee_market.rs index 938cbc15c..df9edb2fe 100644 --- a/runtime/pangoro/src/weights/pallet_fee_market.rs +++ b/runtime/pangoro/src/weights/pallet_fee_market.rs @@ -65,7 +65,7 @@ impl pallet_fee_market::WeightInfo for WeightInfo { // Storage: PangolinFeeMarket AssignedRelayers (r:0 w:1) fn enroll_and_lock_collateral() -> Weight { // Minimum execution time: 123_887 nanoseconds. - Weight::from_ref_time(123_887_000) + Weight::from_parts(123_887_000, 0) .saturating_add(T::DbWeight::get().reads(15)) .saturating_add(T::DbWeight::get().writes(5)) } @@ -78,7 +78,7 @@ impl pallet_fee_market::WeightInfo for WeightInfo { // Storage: PangolinFeeMarket AssignedRelayers (r:0 w:1) fn increase_locked_collateral() -> Weight { // Minimum execution time: 120_368 nanoseconds. - Weight::from_ref_time(120_368_000) + Weight::from_parts(120_368_000, 0) .saturating_add(T::DbWeight::get().reads(15)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -91,7 +91,7 @@ impl pallet_fee_market::WeightInfo for WeightInfo { // Storage: PangolinFeeMarket AssignedRelayers (r:0 w:1) fn decrease_locked_collateral() -> Weight { // Minimum execution time: 129_816 nanoseconds. - Weight::from_ref_time(129_816_000) + Weight::from_parts(129_816_000, 0) .saturating_add(T::DbWeight::get().reads(15)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -102,7 +102,7 @@ impl pallet_fee_market::WeightInfo for WeightInfo { // Storage: PangolinFeeMarket AssignedRelayers (r:0 w:1) fn update_relay_fee() -> Weight { // Minimum execution time: 115_966 nanoseconds. - Weight::from_ref_time(115_966_000) + Weight::from_parts(115_966_000, 0) .saturating_add(T::DbWeight::get().reads(13)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -115,14 +115,14 @@ impl pallet_fee_market::WeightInfo for WeightInfo { // Storage: PangolinFeeMarket AssignedRelayersNumber (r:1 w:0) fn cancel_enrollment() -> Weight { // Minimum execution time: 117_451 nanoseconds. - Weight::from_ref_time(117_451_000) + Weight::from_parts(117_451_000, 0) .saturating_add(T::DbWeight::get().reads(15)) .saturating_add(T::DbWeight::get().writes(5)) } // Storage: PangolinFeeMarket CollateralSlashProtect (r:0 w:1) fn set_slash_protect() -> Weight { // Minimum execution time: 33_110 nanoseconds. - Weight::from_ref_time(33_110_000) + Weight::from_parts(33_110_000, 0) .saturating_add(T::DbWeight::get().writes(1)) } // Storage: PangolinFeeMarket Relayers (r:1 w:0) @@ -132,7 +132,7 @@ impl pallet_fee_market::WeightInfo for WeightInfo { // Storage: PangolinFeeMarket AssignedRelayersNumber (r:0 w:1) fn set_assigned_relayers_number() -> Weight { // Minimum execution time: 100_320 nanoseconds. - Weight::from_ref_time(100_320_000) + Weight::from_parts(100_320_000, 0) .saturating_add(T::DbWeight::get().reads(12)) .saturating_add(T::DbWeight::get().writes(2)) } diff --git a/runtime/pangoro/src/weights/pallet_identity.rs b/runtime/pangoro/src/weights/pallet_identity.rs index 30a0cb6b4..68f08c1df 100644 --- a/runtime/pangoro/src/weights/pallet_identity.rs +++ b/runtime/pangoro/src/weights/pallet_identity.rs @@ -60,7 +60,7 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `r` is `[1, 19]`. fn add_registrar(_r: u32, ) -> Weight { // Minimum execution time: 18_746 nanoseconds. - Weight::from_ref_time(24_268_000) + Weight::from_parts(24_268_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -69,11 +69,11 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `x` is `[0, 100]`. fn set_identity(r: u32, x: u32, ) -> Weight { // Minimum execution time: 40_151 nanoseconds. - Weight::from_ref_time(38_624_684) + Weight::from_parts(38_624_684, 0) // Standard Error: 231_547 - .saturating_add(Weight::from_ref_time(76_315).saturating_mul(r.into())) + .saturating_add(Weight::from_parts(76_315, 0).saturating_mul(r.into())) // Standard Error: 43_994 - .saturating_add(Weight::from_ref_time(451_480).saturating_mul(x.into())) + .saturating_add(Weight::from_parts(451_480, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -83,7 +83,7 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `s` is `[0, 100]`. fn set_subs_new(_s: u32, ) -> Weight { // Minimum execution time: 12_485 nanoseconds. - Weight::from_ref_time(259_615_000) + Weight::from_parts(259_615_000, 0) .saturating_add(T::DbWeight::get().reads(102)) .saturating_add(T::DbWeight::get().writes(101)) } @@ -93,7 +93,7 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `p` is `[0, 100]`. fn set_subs_old(_p: u32, ) -> Weight { // Minimum execution time: 10_853 nanoseconds. - Weight::from_ref_time(130_999_000) + Weight::from_parts(130_999_000, 0) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(101)) } @@ -105,13 +105,13 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `x` is `[0, 100]`. fn clear_identity(r: u32, s: u32, x: u32, ) -> Weight { // Minimum execution time: 64_949 nanoseconds. - Weight::from_ref_time(37_376_105) + Weight::from_parts(37_376_105, 0) // Standard Error: 163_795 - .saturating_add(Weight::from_ref_time(310_561).saturating_mul(r.into())) + .saturating_add(Weight::from_parts(310_561, 0).saturating_mul(r.into())) // Standard Error: 31_121 - .saturating_add(Weight::from_ref_time(917_296).saturating_mul(s.into())) + .saturating_add(Weight::from_parts(917_296, 0).saturating_mul(s.into())) // Standard Error: 31_121 - .saturating_add(Weight::from_ref_time(213_616).saturating_mul(x.into())) + .saturating_add(Weight::from_parts(213_616, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into()))) @@ -122,11 +122,11 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `x` is `[0, 100]`. fn request_judgement(r: u32, x: u32, ) -> Weight { // Minimum execution time: 45_232 nanoseconds. - Weight::from_ref_time(32_324_631) + Weight::from_parts(32_324_631, 0) // Standard Error: 56_884 - .saturating_add(Weight::from_ref_time(645_368).saturating_mul(r.into())) + .saturating_add(Weight::from_parts(645_368, 0).saturating_mul(r.into())) // Standard Error: 10_807 - .saturating_add(Weight::from_ref_time(396_420).saturating_mul(x.into())) + .saturating_add(Weight::from_parts(396_420, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -135,11 +135,11 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `x` is `[0, 100]`. fn cancel_request(r: u32, x: u32, ) -> Weight { // Minimum execution time: 41_115 nanoseconds. - Weight::from_ref_time(33_187_105) + Weight::from_parts(33_187_105, 0) // Standard Error: 546_553 - .saturating_add(Weight::from_ref_time(396_394).saturating_mul(r.into())) + .saturating_add(Weight::from_parts(396_394, 0).saturating_mul(r.into())) // Standard Error: 103_845 - .saturating_add(Weight::from_ref_time(334_435).saturating_mul(x.into())) + .saturating_add(Weight::from_parts(334_435, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -147,7 +147,7 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `r` is `[1, 19]`. fn set_fee(_r: u32, ) -> Weight { // Minimum execution time: 10_201 nanoseconds. - Weight::from_ref_time(14_976_000) + Weight::from_parts(14_976_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -155,7 +155,7 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `r` is `[1, 19]`. fn set_account_id(_r: u32, ) -> Weight { // Minimum execution time: 9_851 nanoseconds. - Weight::from_ref_time(11_989_000) + Weight::from_parts(11_989_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -163,7 +163,7 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `r` is `[1, 19]`. fn set_fields(_r: u32, ) -> Weight { // Minimum execution time: 11_213 nanoseconds. - Weight::from_ref_time(17_728_000) + Weight::from_parts(17_728_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -173,9 +173,9 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `x` is `[0, 100]`. fn provide_judgement(_r: u32, x: u32, ) -> Weight { // Minimum execution time: 33_874 nanoseconds. - Weight::from_ref_time(59_082_250) + Weight::from_parts(59_082_250, 0) // Standard Error: 37_438 - .saturating_add(Weight::from_ref_time(531_135).saturating_mul(x.into())) + .saturating_add(Weight::from_parts(531_135, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -188,13 +188,13 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `x` is `[0, 100]`. fn kill_identity(r: u32, s: u32, x: u32, ) -> Weight { // Minimum execution time: 70_394 nanoseconds. - Weight::from_ref_time(22_268_368) + Weight::from_parts(22_268_368, 0) // Standard Error: 891_357 - .saturating_add(Weight::from_ref_time(1_003_298).saturating_mul(r.into())) + .saturating_add(Weight::from_parts(1_003_298, 0).saturating_mul(r.into())) // Standard Error: 169_357 - .saturating_add(Weight::from_ref_time(1_116_616).saturating_mul(s.into())) + .saturating_add(Weight::from_parts(1_116_616, 0).saturating_mul(s.into())) // Standard Error: 169_357 - .saturating_add(Weight::from_ref_time(280_596).saturating_mul(x.into())) + .saturating_add(Weight::from_parts(280_596, 0).saturating_mul(x.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into()))) @@ -205,7 +205,7 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `s` is `[0, 99]`. fn add_sub(_s: u32, ) -> Weight { // Minimum execution time: 34_948 nanoseconds. - Weight::from_ref_time(46_924_000) + Weight::from_parts(46_924_000, 0) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -214,7 +214,7 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `s` is `[1, 100]`. fn rename_sub(_s: u32, ) -> Weight { // Minimum execution time: 16_918 nanoseconds. - Weight::from_ref_time(21_878_000) + Weight::from_parts(21_878_000, 0) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -224,7 +224,7 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `s` is `[1, 100]`. fn remove_sub(_s: u32, ) -> Weight { // Minimum execution time: 38_109 nanoseconds. - Weight::from_ref_time(48_741_000) + Weight::from_parts(48_741_000, 0) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -233,7 +233,7 @@ impl pallet_identity::WeightInfo for WeightInfo { /// The range of component `s` is `[0, 99]`. fn quit_sub(_s: u32, ) -> Weight { // Minimum execution time: 25_504 nanoseconds. - Weight::from_ref_time(32_119_000) + Weight::from_parts(32_119_000, 0) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } diff --git a/runtime/pangoro/src/weights/pallet_membership.rs b/runtime/pangoro/src/weights/pallet_membership.rs index 001a2919a..0cc3ad2a1 100644 --- a/runtime/pangoro/src/weights/pallet_membership.rs +++ b/runtime/pangoro/src/weights/pallet_membership.rs @@ -63,7 +63,7 @@ impl pallet_membership::WeightInfo for WeightInfo { /// The range of component `m` is `[1, 99]`. fn add_member(_m: u32, ) -> Weight { // Minimum execution time: 24_544 nanoseconds. - Weight::from_ref_time(25_887_000) + Weight::from_parts(25_887_000, 0) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -75,7 +75,7 @@ impl pallet_membership::WeightInfo for WeightInfo { /// The range of component `m` is `[2, 100]`. fn remove_member(_m: u32, ) -> Weight { // Minimum execution time: 23_146 nanoseconds. - Weight::from_ref_time(28_246_000) + Weight::from_parts(28_246_000, 0) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -87,7 +87,7 @@ impl pallet_membership::WeightInfo for WeightInfo { /// The range of component `m` is `[2, 100]`. fn swap_member(_m: u32, ) -> Weight { // Minimum execution time: 24_003 nanoseconds. - Weight::from_ref_time(27_418_000) + Weight::from_parts(27_418_000, 0) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -99,7 +99,7 @@ impl pallet_membership::WeightInfo for WeightInfo { /// The range of component `m` is `[1, 100]`. fn reset_member(_m: u32, ) -> Weight { // Minimum execution time: 23_665 nanoseconds. - Weight::from_ref_time(38_544_000) + Weight::from_parts(38_544_000, 0) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -111,7 +111,7 @@ impl pallet_membership::WeightInfo for WeightInfo { /// The range of component `m` is `[1, 100]`. fn change_key(_m: u32, ) -> Weight { // Minimum execution time: 26_324 nanoseconds. - Weight::from_ref_time(31_526_000) + Weight::from_parts(31_526_000, 0) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -121,7 +121,7 @@ impl pallet_membership::WeightInfo for WeightInfo { /// The range of component `m` is `[1, 100]`. fn set_prime(_m: u32, ) -> Weight { // Minimum execution time: 9_440 nanoseconds. - Weight::from_ref_time(26_602_000) + Weight::from_parts(26_602_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -130,7 +130,7 @@ impl pallet_membership::WeightInfo for WeightInfo { /// The range of component `m` is `[1, 100]`. fn clear_prime(_m: u32, ) -> Weight { // Minimum execution time: 6_503 nanoseconds. - Weight::from_ref_time(16_749_000) + Weight::from_parts(16_749_000, 0) .saturating_add(T::DbWeight::get().writes(2)) } } diff --git a/runtime/pangoro/src/weights/pallet_preimage.rs b/runtime/pangoro/src/weights/pallet_preimage.rs index 0ab0e0631..2fc7afd23 100644 --- a/runtime/pangoro/src/weights/pallet_preimage.rs +++ b/runtime/pangoro/src/weights/pallet_preimage.rs @@ -61,7 +61,7 @@ impl pallet_preimage::WeightInfo for WeightInfo { /// The range of component `s` is `[0, 4194304]`. fn note_preimage(_s: u32, ) -> Weight { // Minimum execution time: 46_059 nanoseconds. - Weight::from_ref_time(6_042_193_000) + Weight::from_parts(6_042_193_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -70,7 +70,7 @@ impl pallet_preimage::WeightInfo for WeightInfo { /// The range of component `s` is `[0, 4194304]`. fn note_requested_preimage(_s: u32, ) -> Weight { // Minimum execution time: 36_952 nanoseconds. - Weight::from_ref_time(5_823_056_000) + Weight::from_parts(5_823_056_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -79,7 +79,7 @@ impl pallet_preimage::WeightInfo for WeightInfo { /// The range of component `s` is `[0, 4194304]`. fn note_no_deposit_preimage(_s: u32, ) -> Weight { // Minimum execution time: 34_733 nanoseconds. - Weight::from_ref_time(5_941_767_000) + Weight::from_parts(5_941_767_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -87,7 +87,7 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Storage: Preimage PreimageFor (r:0 w:1) fn unnote_preimage() -> Weight { // Minimum execution time: 351_292 nanoseconds. - Weight::from_ref_time(351_292_000) + Weight::from_parts(351_292_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -95,35 +95,35 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Storage: Preimage PreimageFor (r:0 w:1) fn unnote_no_deposit_preimage() -> Weight { // Minimum execution time: 201_459 nanoseconds. - Weight::from_ref_time(201_459_000) + Weight::from_parts(201_459_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } // Storage: Preimage StatusFor (r:1 w:1) fn request_preimage() -> Weight { // Minimum execution time: 163_553 nanoseconds. - Weight::from_ref_time(163_553_000) + Weight::from_parts(163_553_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Preimage StatusFor (r:1 w:1) fn request_no_deposit_preimage() -> Weight { // Minimum execution time: 178_782 nanoseconds. - Weight::from_ref_time(178_782_000) + Weight::from_parts(178_782_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Preimage StatusFor (r:1 w:1) fn request_unnoted_preimage() -> Weight { // Minimum execution time: 48_394 nanoseconds. - Weight::from_ref_time(48_394_000) + Weight::from_parts(48_394_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Preimage StatusFor (r:1 w:1) fn request_requested_preimage() -> Weight { // Minimum execution time: 28_385 nanoseconds. - Weight::from_ref_time(28_385_000) + Weight::from_parts(28_385_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -131,21 +131,21 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Storage: Preimage PreimageFor (r:0 w:1) fn unrequest_preimage() -> Weight { // Minimum execution time: 214_353 nanoseconds. - Weight::from_ref_time(214_353_000) + Weight::from_parts(214_353_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } // Storage: Preimage StatusFor (r:1 w:1) fn unrequest_unnoted_preimage() -> Weight { // Minimum execution time: 29_567 nanoseconds. - Weight::from_ref_time(29_567_000) + Weight::from_parts(29_567_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Preimage StatusFor (r:1 w:1) fn unrequest_multi_referenced_preimage() -> Weight { // Minimum execution time: 25_200 nanoseconds. - Weight::from_ref_time(25_200_000) + Weight::from_parts(25_200_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/pangoro/src/weights/pallet_proxy.rs b/runtime/pangoro/src/weights/pallet_proxy.rs index cbee22228..004879c73 100644 --- a/runtime/pangoro/src/weights/pallet_proxy.rs +++ b/runtime/pangoro/src/weights/pallet_proxy.rs @@ -60,7 +60,7 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 31]`. fn proxy(_p: u32, ) -> Weight { // Minimum execution time: 38_484 nanoseconds. - Weight::from_ref_time(39_446_000) + Weight::from_parts(39_446_000, 0) .saturating_add(T::DbWeight::get().reads(1)) } // Storage: Proxy Proxies (r:1 w:0) @@ -70,9 +70,9 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 31]`. fn proxy_announced(_a: u32, p: u32, ) -> Weight { // Minimum execution time: 56_296 nanoseconds. - Weight::from_ref_time(60_565_033) + Weight::from_parts(60_565_033, 0) // Standard Error: 238_965 - .saturating_add(Weight::from_ref_time(231_966).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(231_966, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -82,9 +82,9 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 31]`. fn remove_announcement(a: u32, _p: u32, ) -> Weight { // Minimum execution time: 37_859 nanoseconds. - Weight::from_ref_time(46_053_333) + Weight::from_parts(46_053_333, 0) // Standard Error: 196_895 - .saturating_add(Weight::from_ref_time(335_645).saturating_mul(a.into())) + .saturating_add(Weight::from_parts(335_645, 0).saturating_mul(a.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -94,11 +94,11 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 31]`. fn reject_announcement(a: u32, p: u32, ) -> Weight { // Minimum execution time: 39_266 nanoseconds. - Weight::from_ref_time(38_147_933) + Weight::from_parts(38_147_933, 0) // Standard Error: 155_046 - .saturating_add(Weight::from_ref_time(204_612).saturating_mul(a.into())) + .saturating_add(Weight::from_parts(204_612, 0).saturating_mul(a.into())) // Standard Error: 160_214 - .saturating_add(Weight::from_ref_time(36_066).saturating_mul(p.into())) + .saturating_add(Weight::from_parts(36_066, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -109,7 +109,7 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 31]`. fn announce(_a: u32, _p: u32, ) -> Weight { // Minimum execution time: 54_160 nanoseconds. - Weight::from_ref_time(56_137_433) + Weight::from_parts(56_137_433, 0) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -117,7 +117,7 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 31]`. fn add_proxy(_p: u32, ) -> Weight { // Minimum execution time: 41_987 nanoseconds. - Weight::from_ref_time(49_705_000) + Weight::from_parts(49_705_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -125,7 +125,7 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 31]`. fn remove_proxy(_p: u32, ) -> Weight { // Minimum execution time: 38_358 nanoseconds. - Weight::from_ref_time(79_591_000) + Weight::from_parts(79_591_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -133,7 +133,7 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 31]`. fn remove_proxies(_p: u32, ) -> Weight { // Minimum execution time: 37_663 nanoseconds. - Weight::from_ref_time(39_280_000) + Weight::from_parts(39_280_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -142,7 +142,7 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 31]`. fn create_pure(_p: u32, ) -> Weight { // Minimum execution time: 46_212 nanoseconds. - Weight::from_ref_time(48_010_000) + Weight::from_parts(48_010_000, 0) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -150,7 +150,7 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// The range of component `p` is `[0, 30]`. fn kill_pure(_p: u32, ) -> Weight { // Minimum execution time: 41_054 nanoseconds. - Weight::from_ref_time(47_315_000) + Weight::from_parts(47_315_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } diff --git a/runtime/pangoro/src/weights/pallet_scheduler.rs b/runtime/pangoro/src/weights/pallet_scheduler.rs index f55340342..ff88c66b1 100644 --- a/runtime/pangoro/src/weights/pallet_scheduler.rs +++ b/runtime/pangoro/src/weights/pallet_scheduler.rs @@ -59,7 +59,7 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Storage: Scheduler IncompleteSince (r:1 w:1) fn service_agendas_base() -> Weight { // Minimum execution time: 14_274 nanoseconds. - Weight::from_ref_time(14_274_000) + Weight::from_parts(14_274_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -67,46 +67,46 @@ impl pallet_scheduler::WeightInfo for WeightInfo { /// The range of component `s` is `[0, 50]`. fn service_agenda_base(_s: u32, ) -> Weight { // Minimum execution time: 12_926 nanoseconds. - Weight::from_ref_time(41_711_000) + Weight::from_parts(41_711_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } fn service_task_base() -> Weight { // Minimum execution time: 23_943 nanoseconds. - Weight::from_ref_time(23_943_000) + Weight::from_parts(23_943_000, 0) } // Storage: Preimage PreimageFor (r:1 w:1) // Storage: Preimage StatusFor (r:1 w:1) /// The range of component `s` is `[128, 4194304]`. fn service_task_fetched(_s: u32, ) -> Weight { // Minimum execution time: 41_084 nanoseconds. - Weight::from_ref_time(5_578_042_000) + Weight::from_parts(5_578_042_000, 0) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } // Storage: Scheduler Lookup (r:0 w:1) fn service_task_named() -> Weight { // Minimum execution time: 31_583 nanoseconds. - Weight::from_ref_time(31_583_000) + Weight::from_parts(31_583_000, 0) .saturating_add(T::DbWeight::get().writes(1)) } fn service_task_periodic() -> Weight { // Minimum execution time: 23_030 nanoseconds. - Weight::from_ref_time(23_030_000) + Weight::from_parts(23_030_000, 0) } fn execute_dispatch_signed() -> Weight { // Minimum execution time: 17_151 nanoseconds. - Weight::from_ref_time(17_151_000) + Weight::from_parts(17_151_000, 0) } fn execute_dispatch_unsigned() -> Weight { // Minimum execution time: 17_591 nanoseconds. - Weight::from_ref_time(17_591_000) + Weight::from_parts(17_591_000, 0) } // Storage: Scheduler Agenda (r:1 w:1) /// The range of component `s` is `[0, 49]`. fn schedule(_s: u32, ) -> Weight { // Minimum execution time: 38_870 nanoseconds. - Weight::from_ref_time(79_181_000) + Weight::from_parts(79_181_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -115,7 +115,7 @@ impl pallet_scheduler::WeightInfo for WeightInfo { /// The range of component `s` is `[1, 50]`. fn cancel(_s: u32, ) -> Weight { // Minimum execution time: 38_291 nanoseconds. - Weight::from_ref_time(91_986_000) + Weight::from_parts(91_986_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -124,7 +124,7 @@ impl pallet_scheduler::WeightInfo for WeightInfo { /// The range of component `s` is `[0, 49]`. fn schedule_named(_s: u32, ) -> Weight { // Minimum execution time: 43_614 nanoseconds. - Weight::from_ref_time(72_807_000) + Weight::from_parts(72_807_000, 0) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -133,7 +133,7 @@ impl pallet_scheduler::WeightInfo for WeightInfo { /// The range of component `s` is `[1, 50]`. fn cancel_named(_s: u32, ) -> Weight { // Minimum execution time: 42_952 nanoseconds. - Weight::from_ref_time(83_057_000) + Weight::from_parts(83_057_000, 0) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } diff --git a/runtime/pangoro/src/weights/pallet_session.rs b/runtime/pangoro/src/weights/pallet_session.rs index 5dbe3f05f..73aa32e76 100644 --- a/runtime/pangoro/src/weights/pallet_session.rs +++ b/runtime/pangoro/src/weights/pallet_session.rs @@ -60,7 +60,7 @@ impl pallet_session::WeightInfo for WeightInfo { // Storage: Session KeyOwner (r:1 w:1) fn set_keys() -> Weight { // Minimum execution time: 47_205 nanoseconds. - Weight::from_ref_time(47_205_000) + Weight::from_parts(47_205_000, 0) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -68,7 +68,7 @@ impl pallet_session::WeightInfo for WeightInfo { // Storage: Session KeyOwner (r:0 w:1) fn purge_keys() -> Weight { // Minimum execution time: 31_060 nanoseconds. - Weight::from_ref_time(31_060_000) + Weight::from_parts(31_060_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } diff --git a/runtime/pangoro/src/weights/pallet_timestamp.rs b/runtime/pangoro/src/weights/pallet_timestamp.rs index c6066591a..dcbe2e49c 100644 --- a/runtime/pangoro/src/weights/pallet_timestamp.rs +++ b/runtime/pangoro/src/weights/pallet_timestamp.rs @@ -60,12 +60,12 @@ impl pallet_timestamp::WeightInfo for WeightInfo { // Storage: Aura CurrentSlot (r:1 w:0) fn set() -> Weight { // Minimum execution time: 26_019 nanoseconds. - Weight::from_ref_time(26_019_000) + Weight::from_parts(26_019_000, 0) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } fn on_finalize() -> Weight { // Minimum execution time: 12_430 nanoseconds. - Weight::from_ref_time(12_430_000) + Weight::from_parts(12_430_000, 0) } } diff --git a/runtime/pangoro/src/weights/pallet_tips.rs b/runtime/pangoro/src/weights/pallet_tips.rs index e53172c85..6870412e2 100644 --- a/runtime/pangoro/src/weights/pallet_tips.rs +++ b/runtime/pangoro/src/weights/pallet_tips.rs @@ -61,7 +61,7 @@ impl pallet_tips::WeightInfo for WeightInfo { /// The range of component `r` is `[0, 16384]`. fn report_awesome(_r: u32, ) -> Weight { // Minimum execution time: 46_857 nanoseconds. - Weight::from_ref_time(70_025_000) + Weight::from_parts(70_025_000, 0) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -69,7 +69,7 @@ impl pallet_tips::WeightInfo for WeightInfo { // Storage: Tips Reasons (r:0 w:1) fn retract_tip() -> Weight { // Minimum execution time: 55_255 nanoseconds. - Weight::from_ref_time(55_255_000) + Weight::from_parts(55_255_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -80,11 +80,11 @@ impl pallet_tips::WeightInfo for WeightInfo { /// The range of component `t` is `[1, 7]`. fn tip_new(r: u32, t: u32, ) -> Weight { // Minimum execution time: 40_286 nanoseconds. - Weight::from_ref_time(39_133_916) + Weight::from_parts(39_133_916, 0) // Standard Error: 173 - .saturating_add(Weight::from_ref_time(1_052).saturating_mul(r.into())) + .saturating_add(Weight::from_parts(1_052, 0).saturating_mul(r.into())) // Standard Error: 474_437 - .saturating_add(Weight::from_ref_time(164_583).saturating_mul(t.into())) + .saturating_add(Weight::from_parts(164_583, 0).saturating_mul(t.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -93,7 +93,7 @@ impl pallet_tips::WeightInfo for WeightInfo { /// The range of component `t` is `[1, 7]`. fn tip(_t: u32, ) -> Weight { // Minimum execution time: 25_656 nanoseconds. - Weight::from_ref_time(27_637_000) + Weight::from_parts(27_637_000, 0) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -104,7 +104,7 @@ impl pallet_tips::WeightInfo for WeightInfo { /// The range of component `t` is `[1, 7]`. fn close_tip(_t: u32, ) -> Weight { // Minimum execution time: 59_909 nanoseconds. - Weight::from_ref_time(73_823_000) + Weight::from_parts(73_823_000, 0) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -113,7 +113,7 @@ impl pallet_tips::WeightInfo for WeightInfo { /// The range of component `t` is `[1, 7]`. fn slash_tip(_t: u32, ) -> Weight { // Minimum execution time: 30_181 nanoseconds. - Weight::from_ref_time(32_038_000) + Weight::from_parts(32_038_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } diff --git a/runtime/pangoro/src/weights/pallet_treasury.rs b/runtime/pangoro/src/weights/pallet_treasury.rs index 708518b58..9d979f81e 100644 --- a/runtime/pangoro/src/weights/pallet_treasury.rs +++ b/runtime/pangoro/src/weights/pallet_treasury.rs @@ -58,13 +58,13 @@ pub struct WeightInfo(PhantomData); impl pallet_treasury::WeightInfo for WeightInfo { fn spend() -> Weight { // Minimum execution time: 4_390 nanoseconds. - Weight::from_ref_time(4_390_000) + Weight::from_parts(4_390_000, 0) } // Storage: Treasury ProposalCount (r:1 w:1) // Storage: Treasury Proposals (r:0 w:1) fn propose_spend() -> Weight { // Minimum execution time: 42_256 nanoseconds. - Weight::from_ref_time(42_256_000) + Weight::from_parts(42_256_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -72,7 +72,7 @@ impl pallet_treasury::WeightInfo for WeightInfo { // Storage: System Account (r:2 w:2) fn reject_proposal() -> Weight { // Minimum execution time: 58_063 nanoseconds. - Weight::from_ref_time(58_063_000) + Weight::from_parts(58_063_000, 0) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -81,14 +81,14 @@ impl pallet_treasury::WeightInfo for WeightInfo { /// The range of component `p` is `[0, 99]`. fn approve_proposal(_p: u32, ) -> Weight { // Minimum execution time: 26_830 nanoseconds. - Weight::from_ref_time(42_323_000) + Weight::from_parts(42_323_000, 0) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Treasury Approvals (r:1 w:1) fn remove_approval() -> Weight { // Minimum execution time: 19_005 nanoseconds. - Weight::from_ref_time(19_005_000) + Weight::from_parts(19_005_000, 0) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -100,7 +100,7 @@ impl pallet_treasury::WeightInfo for WeightInfo { /// The range of component `p` is `[0, 100]`. fn on_initialize_proposals(_p: u32, ) -> Weight { // Minimum execution time: 243_043 nanoseconds. - Weight::from_ref_time(306_404_000) + Weight::from_parts(306_404_000, 0) .saturating_add(T::DbWeight::get().reads(104)) .saturating_add(T::DbWeight::get().writes(4)) } diff --git a/runtime/pangoro/src/weights/pallet_utility.rs b/runtime/pangoro/src/weights/pallet_utility.rs index c2a09a2e4..9855d0f72 100644 --- a/runtime/pangoro/src/weights/pallet_utility.rs +++ b/runtime/pangoro/src/weights/pallet_utility.rs @@ -59,24 +59,24 @@ impl pallet_utility::WeightInfo for WeightInfo { /// The range of component `c` is `[0, 1000]`. fn batch(_c: u32, ) -> Weight { // Minimum execution time: 31_701 nanoseconds. - Weight::from_ref_time(3_805_606_000) + Weight::from_parts(3_805_606_000, 0) } fn as_derivative() -> Weight { // Minimum execution time: 17_610 nanoseconds. - Weight::from_ref_time(17_610_000) + Weight::from_parts(17_610_000, 0) } /// The range of component `c` is `[0, 1000]`. fn batch_all(_c: u32, ) -> Weight { // Minimum execution time: 23_413 nanoseconds. - Weight::from_ref_time(4_005_491_000) + Weight::from_parts(4_005_491_000, 0) } fn dispatch_as() -> Weight { // Minimum execution time: 25_153 nanoseconds. - Weight::from_ref_time(25_153_000) + Weight::from_parts(25_153_000, 0) } /// The range of component `c` is `[0, 1000]`. fn force_batch(_c: u32, ) -> Weight { // Minimum execution time: 21_204 nanoseconds. - Weight::from_ref_time(5_469_697_000) + Weight::from_parts(5_469_697_000, 0) } } diff --git a/runtime/pangoro/src/weights/pallet_vesting.rs b/runtime/pangoro/src/weights/pallet_vesting.rs index 1ee783bbd..6f753e6cd 100644 --- a/runtime/pangoro/src/weights/pallet_vesting.rs +++ b/runtime/pangoro/src/weights/pallet_vesting.rs @@ -62,9 +62,9 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// The range of component `s` is `[1, 28]`. fn vest_locked(l: u32, _s: u32, ) -> Weight { // Minimum execution time: 41_185 nanoseconds. - Weight::from_ref_time(41_516_851) + Weight::from_parts(41_516_851, 0) // Standard Error: 49_133 - .saturating_add(Weight::from_ref_time(29_979).saturating_mul(l.into())) + .saturating_add(Weight::from_parts(29_979, 0).saturating_mul(l.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -74,9 +74,9 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// The range of component `s` is `[1, 28]`. fn vest_unlocked(_l: u32, s: u32, ) -> Weight { // Minimum execution time: 40_879 nanoseconds. - Weight::from_ref_time(52_804_666) + Weight::from_parts(52_804_666, 0) // Standard Error: 21_394 - .saturating_add(Weight::from_ref_time(79_833).saturating_mul(s.into())) + .saturating_add(Weight::from_parts(79_833, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -87,9 +87,9 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// The range of component `s` is `[1, 28]`. fn vest_other_locked(_l: u32, s: u32, ) -> Weight { // Minimum execution time: 41_050 nanoseconds. - Weight::from_ref_time(44_562_185) + Weight::from_parts(44_562_185, 0) // Standard Error: 23_927 - .saturating_add(Weight::from_ref_time(58_814).saturating_mul(s.into())) + .saturating_add(Weight::from_parts(58_814, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -100,9 +100,9 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// The range of component `s` is `[1, 28]`. fn vest_other_unlocked(_l: u32, s: u32, ) -> Weight { // Minimum execution time: 39_969 nanoseconds. - Weight::from_ref_time(40_893_185) + Weight::from_parts(40_893_185, 0) // Standard Error: 64_214 - .saturating_add(Weight::from_ref_time(71_814).saturating_mul(s.into())) + .saturating_add(Weight::from_parts(71_814, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -113,9 +113,9 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// The range of component `s` is `[0, 27]`. fn vested_transfer(l: u32, _s: u32, ) -> Weight { // Minimum execution time: 52_346 nanoseconds. - Weight::from_ref_time(56_674_500) + Weight::from_parts(56_674_500, 0) // Standard Error: 158_588 - .saturating_add(Weight::from_ref_time(150_989).saturating_mul(l.into())) + .saturating_add(Weight::from_parts(150_989, 0).saturating_mul(l.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -126,9 +126,9 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// The range of component `s` is `[0, 27]`. fn force_vested_transfer(_l: u32, s: u32, ) -> Weight { // Minimum execution time: 60_716 nanoseconds. - Weight::from_ref_time(61_574_000) + Weight::from_parts(61_574_000, 0) // Standard Error: 116_239 - .saturating_add(Weight::from_ref_time(98_444).saturating_mul(s.into())) + .saturating_add(Weight::from_parts(98_444, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -139,9 +139,9 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// The range of component `s` is `[2, 28]`. fn not_unlocking_merge_schedules(l: u32, _s: u32, ) -> Weight { // Minimum execution time: 42_657 nanoseconds. - Weight::from_ref_time(45_116_153) + Weight::from_parts(45_116_153, 0) // Standard Error: 127_553 - .saturating_add(Weight::from_ref_time(47_071).saturating_mul(l.into())) + .saturating_add(Weight::from_parts(47_071, 0).saturating_mul(l.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -152,9 +152,9 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// The range of component `s` is `[2, 28]`. fn unlocking_merge_schedules(l: u32, _s: u32, ) -> Weight { // Minimum execution time: 39_674 nanoseconds. - Weight::from_ref_time(41_725_000) + Weight::from_parts(41_725_000, 0) // Standard Error: 27_836 - .saturating_add(Weight::from_ref_time(58_438).saturating_mul(l.into())) + .saturating_add(Weight::from_parts(58_438, 0).saturating_mul(l.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) } From e45bca61477187ddbc587173b7cd0231a7158621 Mon Sep 17 00:00:00 2001 From: Xavier Lau Date: Mon, 22 May 2023 19:17:31 +0800 Subject: [PATCH 09/27] Companion of paritytech/substrate#12828 --- Cargo.lock | 2 +- Cargo.toml | 2 +- node/Cargo.toml | 2 +- node/src/rpc.rs | 2 +- node/src/service/mod.rs | 14 ++++++++------ 5 files changed, 12 insertions(+), 10 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 18d675f0b..ed56affdf 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2484,8 +2484,8 @@ dependencies = [ "sc-consensus", "sc-consensus-aura", "sc-executor", - "sc-network", "sc-network-common", + "sc-network-sync", "sc-offchain", "sc-rpc", "sc-service", diff --git a/Cargo.toml b/Cargo.toml index c1691c37c..e933f8cef 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -164,8 +164,8 @@ sc-consensus = { git = "https://github.com/parityt sc-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } sc-executor = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } sc-keystore = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } -sc-network = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } sc-network-common = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } +sc-network-sync = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } sc-offchain = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } sc-rpc = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } sc-rpc-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } diff --git a/node/Cargo.toml b/node/Cargo.toml index ab56f0a55..ae44e9b25 100644 --- a/node/Cargo.toml +++ b/node/Cargo.toml @@ -71,8 +71,8 @@ sc-client-api = { workspace = true } sc-consensus = { workspace = true } sc-consensus-aura = { workspace = true } sc-executor = { workspace = true } -sc-network = { workspace = true } sc-network-common = { workspace = true } +sc-network-sync = { workspace = true } sc-offchain = { workspace = true } sc-rpc = { workspace = true } sc-service = { workspace = true } diff --git a/node/src/rpc.rs b/node/src/rpc.rs index e518d0b16..e31bcf649 100644 --- a/node/src/rpc.rs +++ b/node/src/rpc.rs @@ -47,7 +47,7 @@ pub struct FullDeps { /// The Node authority flag pub is_authority: bool, /// Network service - pub network: Arc>, + pub network: Arc>, /// EthFilterApi pool. pub filter_pool: Option, /// Backend. diff --git a/node/src/service/mod.rs b/node/src/service/mod.rs index e0adea1e8..2247d4ce9 100644 --- a/node/src/service/mod.rs +++ b/node/src/service/mod.rs @@ -275,7 +275,7 @@ where &sc_service::TaskManager, Arc, Arc>>, - Arc>, + Arc>, sp_keystore::SyncCryptoStorePtr, bool, ) -> Result< @@ -326,7 +326,7 @@ where let prometheus_registry = parachain_config.prometheus_registry().cloned(); let import_queue_service = import_queue.service(); - let (network, system_rpc_tx, tx_handler_controller, start_network) = + let (network, system_rpc_tx, tx_handler_controller, start_network, sync_service) = sc_service::build_network(cumulus_client_service::BuildNetworkParams { parachain_config: ¶chain_config, client: client.clone(), @@ -427,6 +427,7 @@ where keystore: keystore_container.sync_keystore(), backend: backend.clone(), network: network.clone(), + sync_service: sync_service.clone(), system_rpc_tx, tx_handler_controller, telemetry: telemetry.as_mut(), @@ -456,8 +457,8 @@ where } let announce_block = { - let network = network.clone(); - Arc::new(move |hash, data| network.announce_block(hash, data)) + let sync_service = sync_service.clone(); + Arc::new(move |hash, data| sync_service.announce_block(hash, data)) }; let relay_chain_slot_duration = Duration::from_secs(6); @@ -475,7 +476,7 @@ where &task_manager, relay_chain_interface.clone(), transaction_pool, - network, + sync_service, keystore_container.sync_keystore(), force_authoring, )?; @@ -713,7 +714,7 @@ where ), } = new_partial::(&config, eth_rpc_config)?; - let (network, system_rpc_tx, tx_handler_controller, start_network) = + let (network, system_rpc_tx, tx_handler_controller, start_network, sync_service) = sc_service::build_network(cumulus_client_service::BuildNetworkParams { parachain_config: &config, client: client.clone(), @@ -913,6 +914,7 @@ where keystore: keystore_container.sync_keystore(), backend, network, + sync_service, system_rpc_tx, tx_handler_controller, telemetry: None, From 0511f10581e44fafcbc554ec6e5adbbf0805c270 Mon Sep 17 00:00:00 2001 From: Xavier Lau Date: Mon, 22 May 2023 19:24:00 +0800 Subject: [PATCH 10/27] Companion of paritytech/cumulus#2287 --- node/src/service/mod.rs | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/node/src/service/mod.rs b/node/src/service/mod.rs index 2247d4ce9..30f31cf93 100644 --- a/node/src/service/mod.rs +++ b/node/src/service/mod.rs @@ -314,12 +314,7 @@ where hwbench.clone(), ) .await - .map_err(|e| match e { - cumulus_relay_chain_interface::RelayChainError::ServiceError( - polkadot_service::Error::Sub(x), - ) => x, - s => s.to_string().into(), - })?; + .map_err(|e| sc_service::Error::Application(Box::new(e) as Box<_>))?; let force_authoring = parachain_config.force_authoring; let validator = parachain_config.role.is_authority(); From e2e2900a0af8831df99572beaf477f03040697dc Mon Sep 17 00:00:00 2001 From: Xavier Lau Date: Mon, 22 May 2023 19:24:52 +0800 Subject: [PATCH 11/27] Companion of paritytech/substrate#13592 --- Cargo.lock | 3 +-- Cargo.toml | 4 +--- node/Cargo.toml | 3 +-- node/src/service/mod.rs | 2 +- 4 files changed, 4 insertions(+), 8 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index ed56affdf..6f859418c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2447,7 +2447,6 @@ dependencies = [ "cumulus-client-cli", "cumulus-client-consensus-aura", "cumulus-client-consensus-common", - "cumulus-client-network", "cumulus-client-service", "cumulus-primitives-core", "cumulus-primitives-parachain-inherent", @@ -2484,7 +2483,7 @@ dependencies = [ "sc-consensus", "sc-consensus-aura", "sc-executor", - "sc-network-common", + "sc-network", "sc-network-sync", "sc-offchain", "sc-rpc", diff --git a/Cargo.toml b/Cargo.toml index e933f8cef..210d55758 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -33,7 +33,6 @@ cumulus-client-cli = { git = "https://github.com/paritytech/c cumulus-client-collator = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.40" } cumulus-client-consensus-aura = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.40" } cumulus-client-consensus-common = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.40" } -cumulus-client-network = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.40" } cumulus-client-service = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.40" } cumulus-pallet-aura-ext = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.40", default-features = false } cumulus-pallet-dmp-queue = { git = "https://github.com/paritytech/cumulus", branch = "polkadot-v0.9.40", default-features = false } @@ -120,7 +119,6 @@ polkadot-cli = { git = "https://github.com/paritytech/polkadot", bran polkadot-parachain = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.40", default-features = false } polkadot-primitives = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.40", default-features = false } polkadot-runtime-common = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.40", default-features = false } -polkadot-service = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.40" } xcm = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.40", default-features = false } xcm-builder = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.40", default-features = false } xcm-executor = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.40", default-features = false } @@ -164,7 +162,7 @@ sc-consensus = { git = "https://github.com/parityt sc-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } sc-executor = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } sc-keystore = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } -sc-network-common = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } +sc-network = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } sc-network-sync = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } sc-offchain = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } sc-rpc = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } diff --git a/node/Cargo.toml b/node/Cargo.toml index ae44e9b25..8621e418e 100644 --- a/node/Cargo.toml +++ b/node/Cargo.toml @@ -26,7 +26,6 @@ trauma = { version = "2.2" } cumulus-client-cli = { workspace = true } cumulus-client-consensus-aura = { workspace = true } cumulus-client-consensus-common = { workspace = true } -cumulus-client-network = { workspace = true } cumulus-client-service = { workspace = true } cumulus-primitives-core = { workspace = true, features = ["std"] } cumulus-primitives-parachain-inherent = { workspace = true, features = ["std"] } @@ -71,7 +70,7 @@ sc-client-api = { workspace = true } sc-consensus = { workspace = true } sc-consensus-aura = { workspace = true } sc-executor = { workspace = true } -sc-network-common = { workspace = true } +sc-network = { workspace = true } sc-network-sync = { workspace = true } sc-offchain = { workspace = true } sc-rpc = { workspace = true } diff --git a/node/src/service/mod.rs b/node/src/service/mod.rs index 30f31cf93..5a1890e48 100644 --- a/node/src/service/mod.rs +++ b/node/src/service/mod.rs @@ -44,7 +44,7 @@ use dc_primitives::*; use sp_consensus_aura::sr25519::AuthorityId as AuraId; // substrate use sc_consensus::ImportQueue; -use sc_network_common::service::NetworkBlock; +use sc_network::NetworkBlock; use sp_core::Pair; use sp_runtime::app_crypto::AppKey; From 3a75b26488fd616c9771f2599f7bd4925da8e287 Mon Sep 17 00:00:00 2001 From: Xavier Lau Date: Mon, 22 May 2023 19:30:46 +0800 Subject: [PATCH 12/27] Companion of paritytech/cumulus#2308 --- runtime/crab/build.rs | 4 ++++ runtime/darwinia/build.rs | 4 ++++ runtime/pangolin/build.rs | 4 ++++ runtime/pangoro/build.rs | 4 ++++ 4 files changed, 16 insertions(+) diff --git a/runtime/crab/build.rs b/runtime/crab/build.rs index 4a1101a97..05785b550 100644 --- a/runtime/crab/build.rs +++ b/runtime/crab/build.rs @@ -19,6 +19,10 @@ // crates.io use substrate_wasm_builder::WasmBuilder; +#[cfg(feature = "std")] fn main() { WasmBuilder::new().with_current_project().export_heap_base().import_memory().build() } + +#[cfg(not(feature = "std"))] +fn main() {} diff --git a/runtime/darwinia/build.rs b/runtime/darwinia/build.rs index 4a1101a97..05785b550 100644 --- a/runtime/darwinia/build.rs +++ b/runtime/darwinia/build.rs @@ -19,6 +19,10 @@ // crates.io use substrate_wasm_builder::WasmBuilder; +#[cfg(feature = "std")] fn main() { WasmBuilder::new().with_current_project().export_heap_base().import_memory().build() } + +#[cfg(not(feature = "std"))] +fn main() {} diff --git a/runtime/pangolin/build.rs b/runtime/pangolin/build.rs index 4a1101a97..05785b550 100644 --- a/runtime/pangolin/build.rs +++ b/runtime/pangolin/build.rs @@ -19,6 +19,10 @@ // crates.io use substrate_wasm_builder::WasmBuilder; +#[cfg(feature = "std")] fn main() { WasmBuilder::new().with_current_project().export_heap_base().import_memory().build() } + +#[cfg(not(feature = "std"))] +fn main() {} diff --git a/runtime/pangoro/build.rs b/runtime/pangoro/build.rs index 4a1101a97..05785b550 100644 --- a/runtime/pangoro/build.rs +++ b/runtime/pangoro/build.rs @@ -19,6 +19,10 @@ // crates.io use substrate_wasm_builder::WasmBuilder; +#[cfg(feature = "std")] fn main() { WasmBuilder::new().with_current_project().export_heap_base().import_memory().build() } + +#[cfg(not(feature = "std"))] +fn main() {} From fc6da8566167fef0da01c4c5da69f5fb74e3e511 Mon Sep 17 00:00:00 2001 From: Xavier Lau Date: Mon, 22 May 2023 19:37:08 +0800 Subject: [PATCH 13/27] Companion of paritytech/substrate#13410 --- runtime/common/src/lib.rs | 3 --- runtime/crab/src/pallets/democracy.rs | 1 + runtime/darwinia/src/pallets/democracy.rs | 1 + runtime/pangolin/src/pallets/democracy.rs | 1 + runtime/pangoro/src/pallets/democracy.rs | 1 + 5 files changed, 4 insertions(+), 3 deletions(-) diff --git a/runtime/common/src/lib.rs b/runtime/common/src/lib.rs index 8fd6aab84..398dda2f7 100644 --- a/runtime/common/src/lib.rs +++ b/runtime/common/src/lib.rs @@ -94,9 +94,6 @@ where mut fees_then_tips: impl Iterator>, ) { if let Some(fees) = fees_then_tips.next() { - // substrate - use frame_support::traits::Imbalance; - // Balances pallet automatically burns dropped Negative Imbalances by decreasing // total_supply accordingly as frame_support::traits::OnUnbalanced<_>>::on_unbalanced( diff --git a/runtime/crab/src/pallets/democracy.rs b/runtime/crab/src/pallets/democracy.rs index 5f15bc375..be256e81d 100644 --- a/runtime/crab/src/pallets/democracy.rs +++ b/runtime/crab/src/pallets/democracy.rs @@ -55,6 +55,7 @@ impl pallet_democracy::Config for Runtime { type RuntimeEvent = RuntimeEvent; type Scheduler = Scheduler; type Slash = Treasury; + type SubmitOrigin = frame_system::EnsureSigned; // Any single technical committee member may veto a coming council proposal, however they can // only do it once and it lasts only for the cool-off period. type VetoOrigin = pallet_collective::EnsureMember; diff --git a/runtime/darwinia/src/pallets/democracy.rs b/runtime/darwinia/src/pallets/democracy.rs index a4c809347..206137e13 100644 --- a/runtime/darwinia/src/pallets/democracy.rs +++ b/runtime/darwinia/src/pallets/democracy.rs @@ -55,6 +55,7 @@ impl pallet_democracy::Config for Runtime { type RuntimeEvent = RuntimeEvent; type Scheduler = Scheduler; type Slash = Treasury; + type SubmitOrigin = frame_system::EnsureSigned; // Any single technical committee member may veto a coming council proposal, however they can // only do it once and it lasts only for the cool-off period. type VetoOrigin = pallet_collective::EnsureMember; diff --git a/runtime/pangolin/src/pallets/democracy.rs b/runtime/pangolin/src/pallets/democracy.rs index a4c809347..206137e13 100644 --- a/runtime/pangolin/src/pallets/democracy.rs +++ b/runtime/pangolin/src/pallets/democracy.rs @@ -55,6 +55,7 @@ impl pallet_democracy::Config for Runtime { type RuntimeEvent = RuntimeEvent; type Scheduler = Scheduler; type Slash = Treasury; + type SubmitOrigin = frame_system::EnsureSigned; // Any single technical committee member may veto a coming council proposal, however they can // only do it once and it lasts only for the cool-off period. type VetoOrigin = pallet_collective::EnsureMember; diff --git a/runtime/pangoro/src/pallets/democracy.rs b/runtime/pangoro/src/pallets/democracy.rs index a4c809347..206137e13 100644 --- a/runtime/pangoro/src/pallets/democracy.rs +++ b/runtime/pangoro/src/pallets/democracy.rs @@ -55,6 +55,7 @@ impl pallet_democracy::Config for Runtime { type RuntimeEvent = RuntimeEvent; type Scheduler = Scheduler; type Slash = Treasury; + type SubmitOrigin = frame_system::EnsureSigned; // Any single technical committee member may veto a coming council proposal, however they can // only do it once and it lasts only for the cool-off period. type VetoOrigin = pallet_collective::EnsureMember; From 608913a2140a29f13fc00a144351383c6ef9b2e2 Mon Sep 17 00:00:00 2001 From: Xavier Lau Date: Mon, 22 May 2023 19:39:00 +0800 Subject: [PATCH 14/27] Companion of paritytech/substrate#13305 --- runtime/crab/src/pallets/elections_phragmen.rs | 1 + runtime/darwinia/src/pallets/elections_phragmen.rs | 1 + runtime/pangolin/src/pallets/elections_phragmen.rs | 1 + runtime/pangoro/src/pallets/elections_phragmen.rs | 1 + 4 files changed, 4 insertions(+) diff --git a/runtime/crab/src/pallets/elections_phragmen.rs b/runtime/crab/src/pallets/elections_phragmen.rs index f992fae83..3082173fa 100644 --- a/runtime/crab/src/pallets/elections_phragmen.rs +++ b/runtime/crab/src/pallets/elections_phragmen.rs @@ -37,6 +37,7 @@ impl pallet_elections_phragmen::Config for Runtime { type LoserCandidate = Treasury; type MaxCandidates = ConstU32; type MaxVoters = ConstU32<{ 10 * MAX_CANDIDATES }>; + type MaxVotesPerVoter = ConstU32<16>; type PalletId = PhragmenElectionPalletId; type RuntimeEvent = RuntimeEvent; // Daily council elections. diff --git a/runtime/darwinia/src/pallets/elections_phragmen.rs b/runtime/darwinia/src/pallets/elections_phragmen.rs index 220df24cb..5087e770a 100644 --- a/runtime/darwinia/src/pallets/elections_phragmen.rs +++ b/runtime/darwinia/src/pallets/elections_phragmen.rs @@ -37,6 +37,7 @@ impl pallet_elections_phragmen::Config for Runtime { type LoserCandidate = Treasury; type MaxCandidates = ConstU32; type MaxVoters = ConstU32<{ 10 * MAX_CANDIDATES }>; + type MaxVotesPerVoter = ConstU32<16>; type PalletId = PhragmenElectionPalletId; type RuntimeEvent = RuntimeEvent; // Daily council elections. diff --git a/runtime/pangolin/src/pallets/elections_phragmen.rs b/runtime/pangolin/src/pallets/elections_phragmen.rs index 220df24cb..5087e770a 100644 --- a/runtime/pangolin/src/pallets/elections_phragmen.rs +++ b/runtime/pangolin/src/pallets/elections_phragmen.rs @@ -37,6 +37,7 @@ impl pallet_elections_phragmen::Config for Runtime { type LoserCandidate = Treasury; type MaxCandidates = ConstU32; type MaxVoters = ConstU32<{ 10 * MAX_CANDIDATES }>; + type MaxVotesPerVoter = ConstU32<16>; type PalletId = PhragmenElectionPalletId; type RuntimeEvent = RuntimeEvent; // Daily council elections. diff --git a/runtime/pangoro/src/pallets/elections_phragmen.rs b/runtime/pangoro/src/pallets/elections_phragmen.rs index 220df24cb..5087e770a 100644 --- a/runtime/pangoro/src/pallets/elections_phragmen.rs +++ b/runtime/pangoro/src/pallets/elections_phragmen.rs @@ -37,6 +37,7 @@ impl pallet_elections_phragmen::Config for Runtime { type LoserCandidate = Treasury; type MaxCandidates = ConstU32; type MaxVoters = ConstU32<{ 10 * MAX_CANDIDATES }>; + type MaxVotesPerVoter = ConstU32<16>; type PalletId = PhragmenElectionPalletId; type RuntimeEvent = RuntimeEvent; // Daily council elections. From 25695dd67c105ba44743ea916bbc095aeec877dd Mon Sep 17 00:00:00 2001 From: Xavier Lau Date: Mon, 22 May 2023 19:45:48 +0800 Subject: [PATCH 15/27] Companion of paritytech/frontier#1050 --- pallet/message-gadget/src/tests.rs | 1 + runtime/crab/src/pallets/evm.rs | 1 + runtime/darwinia/src/pallets/evm.rs | 1 + runtime/pangolin/src/pallets/evm.rs | 1 + runtime/pangoro/src/pallets/evm.rs | 1 + 5 files changed, 5 insertions(+) diff --git a/pallet/message-gadget/src/tests.rs b/pallet/message-gadget/src/tests.rs index 51d366114..a262bb1e4 100644 --- a/pallet/message-gadget/src/tests.rs +++ b/pallet/message-gadget/src/tests.rs @@ -90,6 +90,7 @@ impl pallet_evm::Config for Runtime { type PrecompilesValue = (); type Runner = pallet_evm::runner::stack::Runner; type RuntimeEvent = RuntimeEvent; + type Timestamp = Timestamp; type WeightPerGas = (); type WithdrawOrigin = pallet_evm::EnsureAddressNever; } diff --git a/runtime/crab/src/pallets/evm.rs b/runtime/crab/src/pallets/evm.rs index 726564d21..929e1f0cd 100644 --- a/runtime/crab/src/pallets/evm.rs +++ b/runtime/crab/src/pallets/evm.rs @@ -167,6 +167,7 @@ impl pallet_evm::Config for Runtime { type PrecompilesValue = PrecompilesValue; type Runner = pallet_evm::runner::stack::Runner; type RuntimeEvent = RuntimeEvent; + type Timestamp = Timestamp; type WeightPerGas = WeightPerGas; type WithdrawOrigin = pallet_evm::EnsureAddressNever; } diff --git a/runtime/darwinia/src/pallets/evm.rs b/runtime/darwinia/src/pallets/evm.rs index 8b45ce46a..dcc2078a5 100644 --- a/runtime/darwinia/src/pallets/evm.rs +++ b/runtime/darwinia/src/pallets/evm.rs @@ -167,6 +167,7 @@ impl pallet_evm::Config for Runtime { type PrecompilesValue = PrecompilesValue; type Runner = pallet_evm::runner::stack::Runner; type RuntimeEvent = RuntimeEvent; + type Timestamp = Timestamp; type WeightPerGas = WeightPerGas; type WithdrawOrigin = pallet_evm::EnsureAddressNever; } diff --git a/runtime/pangolin/src/pallets/evm.rs b/runtime/pangolin/src/pallets/evm.rs index 719c53ab4..01e884f92 100644 --- a/runtime/pangolin/src/pallets/evm.rs +++ b/runtime/pangolin/src/pallets/evm.rs @@ -167,6 +167,7 @@ impl pallet_evm::Config for Runtime { type PrecompilesValue = PrecompilesValue; type Runner = pallet_evm::runner::stack::Runner; type RuntimeEvent = RuntimeEvent; + type Timestamp = Timestamp; type WeightPerGas = WeightPerGas; type WithdrawOrigin = pallet_evm::EnsureAddressNever; } diff --git a/runtime/pangoro/src/pallets/evm.rs b/runtime/pangoro/src/pallets/evm.rs index d6e506173..ee0ca177d 100644 --- a/runtime/pangoro/src/pallets/evm.rs +++ b/runtime/pangoro/src/pallets/evm.rs @@ -165,6 +165,7 @@ impl pallet_evm::Config for Runtime { type PrecompilesValue = PrecompilesValue; type Runner = pallet_evm::runner::stack::Runner; type RuntimeEvent = RuntimeEvent; + type Timestamp = Timestamp; type WeightPerGas = WeightPerGas; type WithdrawOrigin = pallet_evm::EnsureAddressNever; } From d437742975c629e9b302cb0a45af47b4c3636cf4 Mon Sep 17 00:00:00 2001 From: Xavier Lau Date: Mon, 22 May 2023 19:45:56 +0800 Subject: [PATCH 16/27] TODO weight --- runtime/crab/src/weights/pallet_assets.rs | 4 +++ runtime/crab/src/weights/pallet_democracy.rs | 24 ++++++++++++++++++ runtime/darwinia/src/weights/pallet_assets.rs | 4 +++ .../darwinia/src/weights/pallet_democracy.rs | 25 +++++++++++++++++++ runtime/pangolin/src/weights/pallet_assets.rs | 5 ++++ .../pangolin/src/weights/pallet_democracy.rs | 24 ++++++++++++++++++ runtime/pangoro/src/weights/pallet_assets.rs | 4 +++ .../pangoro/src/weights/pallet_democracy.rs | 24 ++++++++++++++++++ 8 files changed, 114 insertions(+) diff --git a/runtime/crab/src/weights/pallet_assets.rs b/runtime/crab/src/weights/pallet_assets.rs index e9060d464..48855920e 100644 --- a/runtime/crab/src/weights/pallet_assets.rs +++ b/runtime/crab/src/weights/pallet_assets.rs @@ -273,4 +273,8 @@ impl pallet_assets::WeightInfo for WeightInfo { .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } + + fn set_min_balance() -> Weight { + todo!() + } } diff --git a/runtime/crab/src/weights/pallet_democracy.rs b/runtime/crab/src/weights/pallet_democracy.rs index 73ce3007e..fd2236f00 100644 --- a/runtime/crab/src/weights/pallet_democracy.rs +++ b/runtime/crab/src/weights/pallet_democracy.rs @@ -249,4 +249,28 @@ impl pallet_democracy::WeightInfo for WeightInfo { .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } + + fn set_external_metadata() -> Weight { + todo!() + } + + fn clear_external_metadata() -> Weight { + todo!() + } + + fn set_proposal_metadata() -> Weight { + todo!() + } + + fn clear_proposal_metadata() -> Weight { + todo!() + } + + fn set_referendum_metadata() -> Weight { + todo!() + } + + fn clear_referendum_metadata() -> Weight { + todo!() + } } diff --git a/runtime/darwinia/src/weights/pallet_assets.rs b/runtime/darwinia/src/weights/pallet_assets.rs index a250176bc..7bb99c0db 100644 --- a/runtime/darwinia/src/weights/pallet_assets.rs +++ b/runtime/darwinia/src/weights/pallet_assets.rs @@ -273,4 +273,8 @@ impl pallet_assets::WeightInfo for WeightInfo { .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } + + fn set_min_balance() -> Weight { + todo!() + } } diff --git a/runtime/darwinia/src/weights/pallet_democracy.rs b/runtime/darwinia/src/weights/pallet_democracy.rs index 59edf8b2b..726f04c71 100644 --- a/runtime/darwinia/src/weights/pallet_democracy.rs +++ b/runtime/darwinia/src/weights/pallet_democracy.rs @@ -111,6 +111,7 @@ impl pallet_democracy::WeightInfo for WeightInfo { .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(7)) } + // Storage: Democracy NextExternal (r:1 w:1) // Storage: Democracy Blacklist (r:1 w:0) fn external_propose() -> Weight { @@ -249,4 +250,28 @@ impl pallet_democracy::WeightInfo for WeightInfo { .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } + + fn set_external_metadata() -> Weight { + todo!() + } + + fn clear_external_metadata() -> Weight { + todo!() + } + + fn set_proposal_metadata() -> Weight { + todo!() + } + + fn clear_proposal_metadata() -> Weight { + todo!() + } + + fn set_referendum_metadata() -> Weight { + todo!() + } + + fn clear_referendum_metadata() -> Weight { + todo!() + } } diff --git a/runtime/pangolin/src/weights/pallet_assets.rs b/runtime/pangolin/src/weights/pallet_assets.rs index b664b84a1..d2c4d4943 100644 --- a/runtime/pangolin/src/weights/pallet_assets.rs +++ b/runtime/pangolin/src/weights/pallet_assets.rs @@ -56,6 +56,7 @@ use sp_std::marker::PhantomData; /// Weight functions for `pallet_assets`. pub struct WeightInfo(PhantomData); impl pallet_assets::WeightInfo for WeightInfo { + // Storage: Assets Asset (r:1 w:1) fn create() -> Weight { // Minimum execution time: 33_960 nanoseconds. @@ -273,4 +274,8 @@ impl pallet_assets::WeightInfo for WeightInfo { .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } + + fn set_min_balance() -> Weight { + todo!() + } } diff --git a/runtime/pangolin/src/weights/pallet_democracy.rs b/runtime/pangolin/src/weights/pallet_democracy.rs index 10c5241a1..e009d0973 100644 --- a/runtime/pangolin/src/weights/pallet_democracy.rs +++ b/runtime/pangolin/src/weights/pallet_democracy.rs @@ -249,4 +249,28 @@ impl pallet_democracy::WeightInfo for WeightInfo { .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } + + fn set_external_metadata() -> Weight { + todo!() + } + + fn clear_external_metadata() -> Weight { + todo!() + } + + fn set_proposal_metadata() -> Weight { + todo!() + } + + fn clear_proposal_metadata() -> Weight { + todo!() + } + + fn set_referendum_metadata() -> Weight { + todo!() + } + + fn clear_referendum_metadata() -> Weight { + todo!() + } } diff --git a/runtime/pangoro/src/weights/pallet_assets.rs b/runtime/pangoro/src/weights/pallet_assets.rs index 1e61ebba9..d4819056a 100644 --- a/runtime/pangoro/src/weights/pallet_assets.rs +++ b/runtime/pangoro/src/weights/pallet_assets.rs @@ -269,4 +269,8 @@ impl pallet_assets::WeightInfo for WeightInfo { .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } + + fn set_min_balance() -> Weight { + todo!() + } } diff --git a/runtime/pangoro/src/weights/pallet_democracy.rs b/runtime/pangoro/src/weights/pallet_democracy.rs index 020778694..67b0ed6d0 100644 --- a/runtime/pangoro/src/weights/pallet_democracy.rs +++ b/runtime/pangoro/src/weights/pallet_democracy.rs @@ -249,4 +249,28 @@ impl pallet_democracy::WeightInfo for WeightInfo { .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } + + fn set_external_metadata() -> Weight { + todo!() + } + + fn clear_external_metadata() -> Weight { + todo!() + } + + fn set_proposal_metadata() -> Weight { + todo!() + } + + fn clear_proposal_metadata() -> Weight { + todo!() + } + + fn set_referendum_metadata() -> Weight { + todo!() + } + + fn clear_referendum_metadata() -> Weight { + todo!() + } } From 637a5809edaf3cbe66613eb74a445a4feb20da16 Mon Sep 17 00:00:00 2001 From: Xavier Lau Date: Mon, 22 May 2023 19:47:18 +0800 Subject: [PATCH 17/27] TODO weight --- pallet/message-gadget/src/tests.rs | 1 + runtime/crab/src/pallets/evm.rs | 1 + runtime/darwinia/src/pallets/evm.rs | 1 + runtime/pangolin/src/pallets/evm.rs | 1 + runtime/pangoro/src/pallets/evm.rs | 1 + 5 files changed, 5 insertions(+) diff --git a/pallet/message-gadget/src/tests.rs b/pallet/message-gadget/src/tests.rs index a262bb1e4..c612671c8 100644 --- a/pallet/message-gadget/src/tests.rs +++ b/pallet/message-gadget/src/tests.rs @@ -89,6 +89,7 @@ impl pallet_evm::Config for Runtime { type PrecompilesType = (); type PrecompilesValue = (); type Runner = pallet_evm::runner::stack::Runner; + type WeightInfo = (); type RuntimeEvent = RuntimeEvent; type Timestamp = Timestamp; type WeightPerGas = (); diff --git a/runtime/crab/src/pallets/evm.rs b/runtime/crab/src/pallets/evm.rs index 929e1f0cd..dd212544d 100644 --- a/runtime/crab/src/pallets/evm.rs +++ b/runtime/crab/src/pallets/evm.rs @@ -168,6 +168,7 @@ impl pallet_evm::Config for Runtime { type Runner = pallet_evm::runner::stack::Runner; type RuntimeEvent = RuntimeEvent; type Timestamp = Timestamp; + type WeightInfo = (); type WeightPerGas = WeightPerGas; type WithdrawOrigin = pallet_evm::EnsureAddressNever; } diff --git a/runtime/darwinia/src/pallets/evm.rs b/runtime/darwinia/src/pallets/evm.rs index dcc2078a5..7476b0b5b 100644 --- a/runtime/darwinia/src/pallets/evm.rs +++ b/runtime/darwinia/src/pallets/evm.rs @@ -168,6 +168,7 @@ impl pallet_evm::Config for Runtime { type Runner = pallet_evm::runner::stack::Runner; type RuntimeEvent = RuntimeEvent; type Timestamp = Timestamp; + type WeightInfo = (); type WeightPerGas = WeightPerGas; type WithdrawOrigin = pallet_evm::EnsureAddressNever; } diff --git a/runtime/pangolin/src/pallets/evm.rs b/runtime/pangolin/src/pallets/evm.rs index 01e884f92..c4be6c07e 100644 --- a/runtime/pangolin/src/pallets/evm.rs +++ b/runtime/pangolin/src/pallets/evm.rs @@ -168,6 +168,7 @@ impl pallet_evm::Config for Runtime { type Runner = pallet_evm::runner::stack::Runner; type RuntimeEvent = RuntimeEvent; type Timestamp = Timestamp; + type WeightInfo = (); type WeightPerGas = WeightPerGas; type WithdrawOrigin = pallet_evm::EnsureAddressNever; } diff --git a/runtime/pangoro/src/pallets/evm.rs b/runtime/pangoro/src/pallets/evm.rs index ee0ca177d..b43f175e5 100644 --- a/runtime/pangoro/src/pallets/evm.rs +++ b/runtime/pangoro/src/pallets/evm.rs @@ -166,6 +166,7 @@ impl pallet_evm::Config for Runtime { type Runner = pallet_evm::runner::stack::Runner; type RuntimeEvent = RuntimeEvent; type Timestamp = Timestamp; + type WeightInfo = (); type WeightPerGas = WeightPerGas; type WithdrawOrigin = pallet_evm::EnsureAddressNever; } From 6caab1f64a010ba7a94e71ea3fc00cb089daf3e4 Mon Sep 17 00:00:00 2001 From: Xavier Lau Date: Mon, 22 May 2023 19:48:57 +0800 Subject: [PATCH 18/27] Companion of paritytech/frontier#1040 Signed-off-by: Xavier Lau --- node/src/command.rs | 4 ++++ node/src/rpc.rs | 2 +- node/src/service/instant_finalize.rs | 3 +-- node/src/service/mod.rs | 6 ++---- pallet/message-gadget/src/tests.rs | 3 ++- pallet/message-transact/src/mock.rs | 1 + runtime/crab/src/pallets/ethereum.rs | 1 + runtime/darwinia/src/pallets/ethereum.rs | 1 + runtime/pangolin/src/pallets/ethereum.rs | 1 + runtime/pangoro/src/pallets/ethereum.rs | 1 + 10 files changed, 15 insertions(+), 8 deletions(-) diff --git a/node/src/command.rs b/node/src/command.rs index f47e8c1a7..7144ea17c 100644 --- a/node/src/command.rs +++ b/node/src/command.rs @@ -698,6 +698,7 @@ pub fn run() -> Result<()> { if chain_spec.is_crab() { return service::start_dev_node::( config, + id, ð_rpc_config, ) .map_err(Into::into); @@ -707,6 +708,7 @@ pub fn run() -> Result<()> { if chain_spec.is_darwinia() { return service::start_dev_node::( config, + id, ð_rpc_config, ) .map_err(Into::into) @@ -716,6 +718,7 @@ pub fn run() -> Result<()> { if chain_spec.is_pangolin() { return service::start_dev_node::( config, + id, ð_rpc_config, ) .map_err(Into::into) @@ -725,6 +728,7 @@ pub fn run() -> Result<()> { if chain_spec.is_pangoro() { return service::start_dev_node::( config, + id, ð_rpc_config, ) .map_err(Into::into) diff --git a/node/src/rpc.rs b/node/src/rpc.rs index e31bcf649..420983543 100644 --- a/node/src/rpc.rs +++ b/node/src/rpc.rs @@ -47,7 +47,7 @@ pub struct FullDeps { /// The Node authority flag pub is_authority: bool, /// Network service - pub network: Arc>, + pub network: Arc>, /// EthFilterApi pool. pub filter_pool: Option, /// Backend. diff --git a/node/src/service/instant_finalize.rs b/node/src/service/instant_finalize.rs index 2e1ca2a52..428fb668c 100644 --- a/node/src/service/instant_finalize.rs +++ b/node/src/service/instant_finalize.rs @@ -46,9 +46,8 @@ where async fn import_block( &mut self, mut block_import_params: sc_consensus::BlockImportParams, - cache: std::collections::HashMap>, ) -> Result { block_import_params.finalized = true; - self.0.import_block(block_import_params, cache).await + self.0.import_block(block_import_params).await } } diff --git a/node/src/service/mod.rs b/node/src/service/mod.rs index 5a1890e48..fe6af5104 100644 --- a/node/src/service/mod.rs +++ b/node/src/service/mod.rs @@ -275,7 +275,7 @@ where &sc_service::TaskManager, Arc, Arc>>, - Arc>, + Arc>, sp_keystore::SyncCryptoStorePtr, bool, ) -> Result< @@ -330,9 +330,6 @@ where spawn_handle: task_manager.spawn_handle(), relay_chain_interface: relay_chain_interface.clone(), import_queue, - block_announce_validator_builder: Some(Box::new(|_| { - Box::new(block_announce_validator) - })), }) .await?; @@ -674,6 +671,7 @@ where /// !!! WARNING: DO NOT USE ELSEWHERE pub fn start_dev_node( mut config: sc_service::Configuration, + para_id: cumulus_primitives_core::ParaId, eth_rpc_config: &crate::cli::EthRpcConfig, ) -> Result where diff --git a/pallet/message-gadget/src/tests.rs b/pallet/message-gadget/src/tests.rs index c612671c8..9eb2946de 100644 --- a/pallet/message-gadget/src/tests.rs +++ b/pallet/message-gadget/src/tests.rs @@ -81,6 +81,7 @@ impl pallet_evm::Config for Runtime { type CallOrigin = pallet_evm::EnsureAddressRoot; type ChainId = (); type Currency = Balances; + type ExtraDataLength = (); type FeeCalculator = (); type FindAuthor = (); type GasWeightMapping = pallet_evm::FixedGasWeightMapping; @@ -89,9 +90,9 @@ impl pallet_evm::Config for Runtime { type PrecompilesType = (); type PrecompilesValue = (); type Runner = pallet_evm::runner::stack::Runner; - type WeightInfo = (); type RuntimeEvent = RuntimeEvent; type Timestamp = Timestamp; + type WeightInfo = (); type WeightPerGas = (); type WithdrawOrigin = pallet_evm::EnsureAddressNever; } diff --git a/pallet/message-transact/src/mock.rs b/pallet/message-transact/src/mock.rs index 4593b438f..73f92a434 100644 --- a/pallet/message-transact/src/mock.rs +++ b/pallet/message-transact/src/mock.rs @@ -139,6 +139,7 @@ frame_support::parameter_types! { } impl pallet_ethereum::Config for TestRuntime { + type ExtraDataLength = (); type PostLogContent = PostBlockAndTxnHashes; type RuntimeEvent = RuntimeEvent; type StateRoot = IntermediateStateRoot; diff --git a/runtime/crab/src/pallets/ethereum.rs b/runtime/crab/src/pallets/ethereum.rs index cb4da4755..3141e919a 100644 --- a/runtime/crab/src/pallets/ethereum.rs +++ b/runtime/crab/src/pallets/ethereum.rs @@ -24,6 +24,7 @@ frame_support::parameter_types! { } impl pallet_ethereum::Config for Runtime { + type ExtraDataLength = ConstU32<64>; type PostLogContent = PostBlockAndTxnHashes; type RuntimeEvent = RuntimeEvent; type StateRoot = pallet_ethereum::IntermediateStateRoot; diff --git a/runtime/darwinia/src/pallets/ethereum.rs b/runtime/darwinia/src/pallets/ethereum.rs index cb4da4755..3141e919a 100644 --- a/runtime/darwinia/src/pallets/ethereum.rs +++ b/runtime/darwinia/src/pallets/ethereum.rs @@ -24,6 +24,7 @@ frame_support::parameter_types! { } impl pallet_ethereum::Config for Runtime { + type ExtraDataLength = ConstU32<64>; type PostLogContent = PostBlockAndTxnHashes; type RuntimeEvent = RuntimeEvent; type StateRoot = pallet_ethereum::IntermediateStateRoot; diff --git a/runtime/pangolin/src/pallets/ethereum.rs b/runtime/pangolin/src/pallets/ethereum.rs index cb4da4755..3141e919a 100644 --- a/runtime/pangolin/src/pallets/ethereum.rs +++ b/runtime/pangolin/src/pallets/ethereum.rs @@ -24,6 +24,7 @@ frame_support::parameter_types! { } impl pallet_ethereum::Config for Runtime { + type ExtraDataLength = ConstU32<64>; type PostLogContent = PostBlockAndTxnHashes; type RuntimeEvent = RuntimeEvent; type StateRoot = pallet_ethereum::IntermediateStateRoot; diff --git a/runtime/pangoro/src/pallets/ethereum.rs b/runtime/pangoro/src/pallets/ethereum.rs index cb4da4755..3141e919a 100644 --- a/runtime/pangoro/src/pallets/ethereum.rs +++ b/runtime/pangoro/src/pallets/ethereum.rs @@ -24,6 +24,7 @@ frame_support::parameter_types! { } impl pallet_ethereum::Config for Runtime { + type ExtraDataLength = ConstU32<64>; type PostLogContent = PostBlockAndTxnHashes; type RuntimeEvent = RuntimeEvent; type StateRoot = pallet_ethereum::IntermediateStateRoot; From 75f01d5bfc376a1d2a203f324ca124e357123ca6 Mon Sep 17 00:00:00 2001 From: Xavier Lau Date: Mon, 22 May 2023 20:17:34 +0800 Subject: [PATCH 19/27] Remove unused dep --- Cargo.lock | 1 - Cargo.toml | 1 - node/Cargo.toml | 1 - 3 files changed, 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 6f859418c..d0b88cc88 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2497,7 +2497,6 @@ dependencies = [ "sp-api", "sp-block-builder", "sp-blockchain", - "sp-consensus", "sp-consensus-aura", "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", "sp-io", diff --git a/Cargo.toml b/Cargo.toml index 210d55758..13359d0db 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -177,7 +177,6 @@ sp-api = { git = "https://github.com/parityt sp-arithmetic = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false } sp-block-builder = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false } sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } -sp-consensus = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40" } sp-consensus-aura = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false } sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false } sp-inherents = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.40", default-features = false } diff --git a/node/Cargo.toml b/node/Cargo.toml index 8621e418e..034323a4d 100644 --- a/node/Cargo.toml +++ b/node/Cargo.toml @@ -83,7 +83,6 @@ sc-transaction-pool-api = { workspace = true } sp-api = { workspace = true, features = ["std"] } sp-block-builder = { workspace = true, features = ["std"] } sp-blockchain = { workspace = true } -sp-consensus = { workspace = true } sp-consensus-aura = { workspace = true, features = ["std"] } sp-core = { workspace = true, features = ["std"] } sp-io = { workspace = true, optional = true, features = ["std"] } From f80e7b9c10f808ba9c59098ac10206dbd0420d4c Mon Sep 17 00:00:00 2001 From: Guantong Date: Tue, 23 May 2023 10:10:05 +0800 Subject: [PATCH 20/27] Try fix dev node paritytech/substrate#12828 --- node/src/service/mod.rs | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/node/src/service/mod.rs b/node/src/service/mod.rs index fe6af5104..12700a735 100644 --- a/node/src/service/mod.rs +++ b/node/src/service/mod.rs @@ -322,7 +322,7 @@ where let import_queue_service = import_queue.service(); let (network, system_rpc_tx, tx_handler_controller, start_network, sync_service) = - sc_service::build_network(cumulus_client_service::BuildNetworkParams { + cumulus_client_service::build_network(cumulus_client_service::BuildNetworkParams { parachain_config: ¶chain_config, client: client.clone(), transaction_pool: transaction_pool.clone(), @@ -708,16 +708,15 @@ where } = new_partial::(&config, eth_rpc_config)?; let (network, system_rpc_tx, tx_handler_controller, start_network, sync_service) = - sc_service::build_network(cumulus_client_service::BuildNetworkParams { - parachain_config: &config, + sc_service::build_network(sc_service::BuildNetworkParams { + config: &config, client: client.clone(), transaction_pool: transaction_pool.clone(), - para_id, spawn_handle: task_manager.spawn_handle(), - relay_chain_interface: relay_chain_interface.clone(), import_queue, - }) - .await?; + block_announce_validator_builder: None, + warp_sync_params: None, + })?; if config.offchain_worker.enabled { let offchain_workers = Arc::new(sc_offchain::OffchainWorkers::new_with_options( @@ -808,8 +807,8 @@ where force_authoring, backoff_authoring_blocks, keystore: keystore_container.sync_keystore(), - sync_oracle: network.clone(), - justification_sync_link: network.clone(), + sync_oracle: sync_service.clone(), + justification_sync_link: sync_service.clone(), // We got around 500ms for proposing block_proposal_slot_portion: cumulus_client_consensus_aura::SlotProportion::new( 1f32 / 24f32, From c27fcdfcf623567e46d52ce74519e25a231c0bbf Mon Sep 17 00:00:00 2001 From: bear Date: Tue, 23 May 2023 14:10:32 +0800 Subject: [PATCH 21/27] Fix the frontier part (#1154) --- node/src/frontier_service.rs | 9 +++++++- node/src/rpc.rs | 40 ++++++++++++++++++++++++++++++------ node/src/service/mod.rs | 40 ++++++++++++++++++++++++++++++++---- 3 files changed, 78 insertions(+), 11 deletions(-) diff --git a/node/src/frontier_service.rs b/node/src/frontier_service.rs index d430c3e60..be983371b 100644 --- a/node/src/frontier_service.rs +++ b/node/src/frontier_service.rs @@ -28,7 +28,9 @@ use crate::cli::{Cli, EthRpcConfig, TracingApi}; use dc_primitives::{BlockNumber, Hash, Hashing}; // frontier use fc_db::Backend as FrontierBackend; -use fc_mapping_sync::{MappingSyncWorker, SyncStrategy}; +use fc_mapping_sync::{ + EthereumBlockNotification, EthereumBlockNotificationSinks, MappingSyncWorker, SyncStrategy, +}; use fc_rpc::{EthTask, OverrideHandle}; use fc_rpc_core::types::{FeeHistoryCache, FeeHistoryCacheLimit, FilterPool}; // moonbeam @@ -36,6 +38,7 @@ use moonbeam_rpc_debug::{DebugHandler, DebugRequester}; use moonbeam_rpc_trace::{CacheRequester as TraceFilterCacheRequester, CacheTask}; // substrate use sc_cli::SubstrateCli; +use sc_network_sync::SyncingService; use sc_service::{BasePath, Configuration, TaskManager}; #[derive(Clone)] @@ -54,6 +57,8 @@ pub fn spawn_frontier_tasks( overrides: Arc>, fee_history_cache: FeeHistoryCache, fee_history_cache_limit: FeeHistoryCacheLimit, + sync: Arc>, + pubsub_notification_sinks: Arc>>, eth_rpc_config: EthRpcConfig, ) -> RpcRequesters where @@ -85,6 +90,8 @@ where 3, 0, SyncStrategy::Parachain, + sync, + pubsub_notification_sinks, ) .for_each(|()| future::ready(())), ); diff --git a/node/src/rpc.rs b/node/src/rpc.rs index 420983543..c0ff2280e 100644 --- a/node/src/rpc.rs +++ b/node/src/rpc.rs @@ -24,7 +24,7 @@ pub use sc_rpc::{DenyUnsafe, SubscriptionTaskExecutor}; // std -use std::sync::Arc; +use std::{collections::BTreeMap, sync::Arc}; // darwinia use dc_primitives::*; // moonbeam @@ -47,7 +47,9 @@ pub struct FullDeps { /// The Node authority flag pub is_authority: bool, /// Network service - pub network: Arc>, + pub network: Arc>, + /// Chain syncing service + pub sync: Arc>, /// EthFilterApi pool. pub filter_pool: Option, /// Backend. @@ -62,6 +64,8 @@ pub struct FullDeps { pub overrides: Arc>, /// Cache for Ethereum block data. pub block_data_cache: Arc>, + /// Mandated parent hashes for a given block hash. + pub forced_parent_hashes: Option>, } /// EVM tracing rpc server config @@ -70,10 +74,28 @@ pub struct TracingConfig { pub trace_filter_max_count: u32, } +/// Default Ethereum RPC config +pub struct DefaultEthConfig(std::marker::PhantomData<(C, BE)>); + +impl fc_rpc::EthConfig for DefaultEthConfig +where + C: sc_client_api::StorageProvider + Sync + Send + 'static, + BE: sc_client_api::Backend + 'static, +{ + type EstimateGasAdapter = (); + type RuntimeStorageOverride = + fc_rpc::frontier_backend_client::SystemAccountId20StorageOverride; +} + /// Instantiate all RPC extensions. -pub fn create_full( +pub fn create_full>( deps: FullDeps, subscription_task_executor: sc_rpc::SubscriptionTaskExecutor, + pubsub_notification_sinks: Arc< + fc_mapping_sync::EthereumBlockNotificationSinks< + fc_mapping_sync::EthereumBlockNotification, + >, + >, maybe_tracing_config: Option, ) -> Result> where @@ -82,9 +104,10 @@ where C: 'static + Send + Sync + + sc_client_api::backend::AuxStore + sc_client_api::backend::StorageProvider + sc_client_api::BlockchainEvents - + sc_client_api::backend::AuxStore + + sp_api::CallApiAt + sp_api::ProvideRuntimeApi + sp_blockchain::HeaderBackend + sp_blockchain::HeaderMetadata, @@ -114,6 +137,7 @@ where deny_unsafe, is_authority, network, + sync, filter_pool, backend, max_past_logs, @@ -121,6 +145,7 @@ where fee_history_cache_limit, overrides, block_data_cache, + forced_parent_hashes, } = deps; module.merge(System::new(client.clone(), pool.clone(), deny_unsafe).into_rpc())?; @@ -131,7 +156,7 @@ where pool.clone(), graph, >::None, - network.clone(), + sync.clone(), vec![], overrides.clone(), backend.clone(), @@ -140,7 +165,9 @@ where fee_history_cache, fee_history_cache_limit, 10, + forced_parent_hashes, ) + .replace_config::() .into_rpc(), )?; @@ -162,9 +189,10 @@ where EthPubSub::new( pool, client.clone(), - network.clone(), + sync.clone(), subscription_task_executor, overrides, + pubsub_notification_sinks, ) .into_rpc(), )?; diff --git a/node/src/service/mod.rs b/node/src/service/mod.rs index 12700a735..e1cbf8de3 100644 --- a/node/src/service/mod.rs +++ b/node/src/service/mod.rs @@ -350,6 +350,10 @@ where eth_rpc_config.eth_statuses_cache, prometheus_registry.clone(), )); + let pubsub_notification_sinks: fc_mapping_sync::EthereumBlockNotificationSinks< + fc_mapping_sync::EthereumBlockNotification, + > = Default::default(); + let pubsub_notification_sinks = Arc::new(pubsub_notification_sinks); // for ethereum-compatibility rpc. parachain_config.rpc_id_provider = Some(Box::new(fc_rpc::EthereumSubIdProvider)); let tracing_requesters = frontier_service::spawn_frontier_tasks( @@ -361,6 +365,8 @@ where overrides.clone(), fee_history_cache.clone(), fee_history_cache_limit, + sync_service.clone(), + pubsub_notification_sinks.clone(), eth_rpc_config.clone(), ); let rpc_builder = { @@ -374,6 +380,7 @@ where let max_past_logs = eth_rpc_config.max_past_logs; let collator = parachain_config.role.is_authority(); let eth_rpc_config = eth_rpc_config.clone(); + let sync_service = sync_service.clone(); Box::new(move |deny_unsafe, subscription_task_executor| { let deps = crate::rpc::FullDeps { @@ -383,6 +390,7 @@ where deny_unsafe, is_authority: collator, network: network.clone(), + sync: sync_service.clone(), filter_pool: filter_pool.clone(), backend: frontier_backend.clone(), max_past_logs, @@ -390,14 +398,16 @@ where fee_history_cache_limit, overrides: overrides.clone(), block_data_cache: block_data_cache.clone(), + forced_parent_hashes: None, }; if eth_rpc_config.tracing_api.contains(&TracingApi::Debug) || eth_rpc_config.tracing_api.contains(&TracingApi::Trace) { - crate::rpc::create_full( + crate::rpc::create_full::<_, _, _, _, crate::rpc::DefaultEthConfig<_, _>>( deps, subscription_task_executor, + pubsub_notification_sinks.clone(), Some(crate::rpc::TracingConfig { tracing_requesters: tracing_requesters.clone(), trace_filter_max_count: eth_rpc_config.tracing_max_count, @@ -405,7 +415,13 @@ where ) .map_err(Into::into) } else { - crate::rpc::create_full(deps, subscription_task_executor, None).map_err(Into::into) + crate::rpc::create_full::<_, _, _, _, crate::rpc::DefaultEthConfig<_, _>>( + deps, + subscription_task_executor, + pubsub_notification_sinks.clone(), + None, + ) + .map_err(Into::into) } }) }; @@ -837,6 +853,10 @@ where eth_rpc_config.eth_statuses_cache, prometheus_registry, )); + let pubsub_notification_sinks: fc_mapping_sync::EthereumBlockNotificationSinks< + fc_mapping_sync::EthereumBlockNotification, + > = Default::default(); + let pubsub_notification_sinks = Arc::new(pubsub_notification_sinks); // for ethereum-compatibility rpc. config.rpc_id_provider = Some(Box::new(fc_rpc::EthereumSubIdProvider)); let tracing_requesters = frontier_service::spawn_frontier_tasks( @@ -848,6 +868,8 @@ where overrides.clone(), fee_history_cache.clone(), fee_history_cache_limit, + sync_service.clone(), + pubsub_notification_sinks.clone(), eth_rpc_config.clone(), ); let rpc_extensions_builder = { @@ -861,6 +883,7 @@ where let max_past_logs = eth_rpc_config.max_past_logs; let collator = config.role.is_authority(); let eth_rpc_config = eth_rpc_config.clone(); + let sync_service = sync_service.clone(); Box::new(move |deny_unsafe, subscription_task_executor| { let deps = crate::rpc::FullDeps { @@ -870,6 +893,7 @@ where deny_unsafe, is_authority: collator, network: network.clone(), + sync: sync_service.clone(), filter_pool: filter_pool.clone(), backend: frontier_backend.clone(), max_past_logs, @@ -877,14 +901,16 @@ where fee_history_cache_limit, overrides: overrides.clone(), block_data_cache: block_data_cache.clone(), + forced_parent_hashes: None, }; if eth_rpc_config.tracing_api.contains(&TracingApi::Debug) || eth_rpc_config.tracing_api.contains(&TracingApi::Trace) { - crate::rpc::create_full( + crate::rpc::create_full::<_, _, _, _, crate::rpc::DefaultEthConfig<_, _>>( deps, subscription_task_executor, + pubsub_notification_sinks.clone(), Some(crate::rpc::TracingConfig { tracing_requesters: tracing_requesters.clone(), trace_filter_max_count: eth_rpc_config.tracing_max_count, @@ -892,7 +918,13 @@ where ) .map_err(Into::into) } else { - crate::rpc::create_full(deps, subscription_task_executor, None).map_err(Into::into) + crate::rpc::create_full::<_, _, _, _, crate::rpc::DefaultEthConfig<_, _>>( + deps, + subscription_task_executor, + pubsub_notification_sinks.clone(), + None, + ) + .map_err(Into::into) } }) }; From bf775ff04d9ac760a8f133c5320becaf6d528f41 Mon Sep 17 00:00:00 2001 From: Guantong Date: Tue, 23 May 2023 14:16:07 +0800 Subject: [PATCH 22/27] Fix dev node --- node/src/command.rs | 4 ---- node/src/service/mod.rs | 1 - 2 files changed, 5 deletions(-) diff --git a/node/src/command.rs b/node/src/command.rs index 7144ea17c..f47e8c1a7 100644 --- a/node/src/command.rs +++ b/node/src/command.rs @@ -698,7 +698,6 @@ pub fn run() -> Result<()> { if chain_spec.is_crab() { return service::start_dev_node::( config, - id, ð_rpc_config, ) .map_err(Into::into); @@ -708,7 +707,6 @@ pub fn run() -> Result<()> { if chain_spec.is_darwinia() { return service::start_dev_node::( config, - id, ð_rpc_config, ) .map_err(Into::into) @@ -718,7 +716,6 @@ pub fn run() -> Result<()> { if chain_spec.is_pangolin() { return service::start_dev_node::( config, - id, ð_rpc_config, ) .map_err(Into::into) @@ -728,7 +725,6 @@ pub fn run() -> Result<()> { if chain_spec.is_pangoro() { return service::start_dev_node::( config, - id, ð_rpc_config, ) .map_err(Into::into) diff --git a/node/src/service/mod.rs b/node/src/service/mod.rs index e1cbf8de3..a472987e3 100644 --- a/node/src/service/mod.rs +++ b/node/src/service/mod.rs @@ -687,7 +687,6 @@ where /// !!! WARNING: DO NOT USE ELSEWHERE pub fn start_dev_node( mut config: sc_service::Configuration, - para_id: cumulus_primitives_core::ParaId, eth_rpc_config: &crate::cli::EthRpcConfig, ) -> Result where From 10e4206bea3b659933175eb49bd2472a37258b5f Mon Sep 17 00:00:00 2001 From: Xavier Lau Date: Tue, 23 May 2023 14:32:15 +0800 Subject: [PATCH 23/27] Fmt --- node/src/rpc.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/node/src/rpc.rs b/node/src/rpc.rs index c0ff2280e..17d678402 100644 --- a/node/src/rpc.rs +++ b/node/src/rpc.rs @@ -76,7 +76,6 @@ pub struct TracingConfig { /// Default Ethereum RPC config pub struct DefaultEthConfig(std::marker::PhantomData<(C, BE)>); - impl fc_rpc::EthConfig for DefaultEthConfig where C: sc_client_api::StorageProvider + Sync + Send + 'static, @@ -88,7 +87,7 @@ where } /// Instantiate all RPC extensions. -pub fn create_full>( +pub fn create_full( deps: FullDeps, subscription_task_executor: sc_rpc::SubscriptionTaskExecutor, pubsub_notification_sinks: Arc< @@ -118,6 +117,7 @@ where + substrate_frame_rpc_system::AccountNonceApi, P: 'static + Sync + Send + sc_transaction_pool_api::TransactionPool, A: 'static + sc_transaction_pool::ChainApi, + EC: fc_rpc::EthConfig, { // frontier use fc_rpc::{ From b96768000973126254ce7ea03b1dbf1fd7dc4d0c Mon Sep 17 00:00:00 2001 From: Xavier Lau Date: Tue, 23 May 2023 14:47:02 +0800 Subject: [PATCH 24/27] Bump moonbeam --- Cargo.lock | 1256 +++++++++++++----------------------- core/primitives/Cargo.toml | 2 +- 2 files changed, 444 insertions(+), 814 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index d0b88cc88..fecaba268 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -866,9 +866,9 @@ dependencies = [ "frame-system", "parity-scale-codec", "scale-info", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", "sp-runtime", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-std", ] [[package]] @@ -883,9 +883,9 @@ dependencies = [ "scale-info", "serde", "sp-consensus-grandpa", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", "sp-runtime", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-std", ] [[package]] @@ -898,7 +898,7 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-runtime", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-std", ] [[package]] @@ -914,8 +914,8 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", + "sp-std", ] [[package]] @@ -928,7 +928,7 @@ dependencies = [ "frame-support", "parity-scale-codec", "scale-info", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", ] [[package]] @@ -944,9 +944,9 @@ dependencies = [ "scale-info", "serde", "sp-api", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", "sp-runtime", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-std", "sp-version", ] @@ -962,11 +962,11 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", "sp-io", "sp-runtime", "sp-state-machine", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-std", "sp-trie", "trie-db", ] @@ -983,7 +983,7 @@ dependencies = [ "sp-application-crypto", "sp-consensus-grandpa", "sp-runtime", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-std", ] [[package]] @@ -1011,11 +1011,11 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-api", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", "sp-io", "sp-runtime", "sp-state-machine", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-std", "sp-trie", ] @@ -1057,9 +1057,9 @@ dependencies = [ [[package]] name = "bumpalo" -version = "3.12.2" +version = "3.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3c6ed94e98ecff0c12dd1b04c15ec0d7d9458ca8fe806cea6f12954efe74c63b" +checksum = "a3e2c3daef883ecc1b5d58c15adae93470a91d425f3532ba1695849656af3fc1" [[package]] name = "byte-slice-cast" @@ -1560,14 +1560,14 @@ dependencies = [ "sp-api", "sp-block-builder", "sp-consensus-aura", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", "sp-inherents", "sp-io", "sp-keyring", "sp-offchain", "sp-runtime", "sp-session", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-std", "sp-transaction-pool", "sp-version", "static_assertions", @@ -1584,7 +1584,7 @@ version = "0.93.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2bc42ba2e232e5b20ff7dc299a812d53337dadce9a7e39a238e6a5cb82d2e57b" dependencies = [ - "cranelift-entity 0.93.2", + "cranelift-entity", ] [[package]] @@ -1598,7 +1598,7 @@ dependencies = [ "cranelift-bforest", "cranelift-codegen-meta", "cranelift-codegen-shared", - "cranelift-entity 0.93.2", + "cranelift-entity", "cranelift-isle", "gimli 0.26.2", "hashbrown 0.12.3", @@ -1623,15 +1623,6 @@ version = "0.93.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "687e14e3f5775248930e0d5a84195abef8b829958e9794bf8d525104993612b4" -[[package]] -name = "cranelift-entity" -version = "0.88.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "87a0f1b2fdc18776956370cf8d9b009ded3f855350c480c1c52142510961f352" -dependencies = [ - "serde", -] - [[package]] name = "cranelift-entity" version = "0.93.2" @@ -1677,13 +1668,13 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3852ce4b088b44ac4e29459573943009a70d1b192c8d77ef949b4e814f656fc1" dependencies = [ "cranelift-codegen", - "cranelift-entity 0.93.2", + "cranelift-entity", "cranelift-frontend", "itertools", "log", "smallvec", - "wasmparser 0.100.0", - "wasmtime-types 6.0.2", + "wasmparser", + "wasmtime-types", ] [[package]] @@ -1840,7 +1831,7 @@ dependencies = [ "sc-chain-spec", "sc-cli", "sc-service", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", "sp-runtime", "url", ] @@ -1863,7 +1854,7 @@ dependencies = [ "sc-client-api", "sp-api", "sp-consensus", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", "sp-runtime", "tracing", ] @@ -1889,7 +1880,7 @@ dependencies = [ "sp-blockchain", "sp-consensus", "sp-consensus-aura", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", "sp-inherents", "sp-keystore", "sp-runtime", @@ -1938,7 +1929,7 @@ dependencies = [ "sc-client-api", "sp-blockchain", "sp-consensus", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", "sp-runtime", "sp-state-machine", "tracing", @@ -1998,7 +1989,7 @@ dependencies = [ "sp-api", "sp-blockchain", "sp-consensus", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", "sp-runtime", "sp-transaction-pool", ] @@ -2016,7 +2007,7 @@ dependencies = [ "sp-application-crypto", "sp-consensus-aura", "sp-runtime", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-std", ] [[package]] @@ -2032,7 +2023,7 @@ dependencies = [ "scale-info", "sp-io", "sp-runtime", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-std", "xcm", ] @@ -2053,13 +2044,13 @@ dependencies = [ "parity-scale-codec", "polkadot-parachain", "scale-info", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-externalities 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", + "sp-externalities", "sp-inherents", "sp-io", "sp-runtime", "sp-state-machine", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-std", "sp-trie", "sp-version", "xcm", @@ -2087,7 +2078,7 @@ dependencies = [ "pallet-session", "parity-scale-codec", "sp-runtime", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-std", ] [[package]] @@ -2102,7 +2093,7 @@ dependencies = [ "scale-info", "sp-io", "sp-runtime", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-std", "xcm", ] @@ -2122,7 +2113,7 @@ dependencies = [ "scale-info", "sp-io", "sp-runtime", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-std", "xcm", "xcm-executor", ] @@ -2138,7 +2129,7 @@ dependencies = [ "polkadot-primitives", "sp-api", "sp-runtime", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-std", "sp-trie", "xcm", ] @@ -2156,12 +2147,12 @@ dependencies = [ "sc-client-api", "scale-info", "sp-api", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", "sp-inherents", "sp-runtime", "sp-state-machine", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-storage 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-std", + "sp-storage", "sp-trie", "tracing", ] @@ -2175,7 +2166,7 @@ dependencies = [ "futures 0.3.28", "parity-scale-codec", "sp-inherents", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-std", "sp-timestamp", ] @@ -2191,7 +2182,7 @@ dependencies = [ "polkadot-runtime-common", "sp-io", "sp-runtime", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-std", "xcm", "xcm-builder", "xcm-executor", @@ -2217,7 +2208,7 @@ dependencies = [ "sc-tracing", "sp-api", "sp-consensus", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", "sp-runtime", "sp-state-machine", ] @@ -2296,9 +2287,9 @@ dependencies = [ "sp-api", "sp-authority-discovery", "sp-consensus-babe", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", "sp-state-machine", - "sp-storage 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-storage", "tokio", "tracing", "url", @@ -2314,7 +2305,7 @@ dependencies = [ "polkadot-primitives", "sp-runtime", "sp-state-machine", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-std", ] [[package]] @@ -2498,7 +2489,7 @@ dependencies = [ "sp-block-builder", "sp-blockchain", "sp-consensus-aura", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", "sp-io", "sp-keystore", "sp-offchain", @@ -2533,11 +2524,11 @@ dependencies = [ "pallet-vesting", "parity-scale-codec", "scale-info", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", "sp-io", "sp-keyring", "sp-runtime", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-std", "sp-version", ] @@ -2558,10 +2549,10 @@ dependencies = [ "pallet-treasury", "parity-scale-codec", "smallvec", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", "sp-io", "sp-runtime", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-std", "xcm", "xcm-builder", "xcm-executor", @@ -2582,10 +2573,10 @@ dependencies = [ "pallet-timestamp", "parity-scale-codec", "scale-info", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", "sp-io", "sp-runtime", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-std", ] [[package]] @@ -2601,10 +2592,10 @@ dependencies = [ "libsecp256k1", "parity-scale-codec", "scale-info", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", "sp-io", "sp-runtime", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-std", "sp-version", ] @@ -2620,10 +2611,10 @@ dependencies = [ "pallet-timestamp", "parity-scale-codec", "scale-info", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", "sp-io", "sp-runtime", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-std", ] [[package]] @@ -2649,10 +2640,10 @@ dependencies = [ "rlp", "scale-info", "sha3", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", "sp-io", "sp-runtime", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-std", ] [[package]] @@ -2670,10 +2661,10 @@ dependencies = [ "precompile-utils", "scale-info", "sha3", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", "sp-io", "sp-runtime", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-std", ] [[package]] @@ -2691,7 +2682,7 @@ dependencies = [ "precompile-utils", "rand 0.8.5", "sha2 0.10.6", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-std", ] [[package]] @@ -2708,10 +2699,10 @@ dependencies = [ "parity-scale-codec", "precompile-utils", "scale-info", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", "sp-io", "sp-runtime", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-std", ] [[package]] @@ -2729,10 +2720,10 @@ dependencies = [ "parity-scale-codec", "precompile-utils", "scale-info", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", "sp-io", "sp-runtime", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-std", ] [[package]] @@ -2748,10 +2739,10 @@ dependencies = [ "parity-scale-codec", "precompile-utils", "scale-info", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", "sp-io", "sp-runtime", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-std", ] [[package]] @@ -2844,14 +2835,14 @@ dependencies = [ "sp-api", "sp-block-builder", "sp-consensus-aura", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", "sp-inherents", "sp-io", "sp-keyring", "sp-offchain", "sp-runtime", "sp-session", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-std", "sp-transaction-pool", "sp-version", "static_assertions", @@ -2881,10 +2872,10 @@ dependencies = [ "parity-scale-codec", "pretty_env_logger", "scale-info", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", "sp-io", "sp-runtime", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-std", "substrate-test-utils", ] @@ -2952,7 +2943,7 @@ version = "6.3.0" dependencies = [ "dc-types", "fp-account", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", "sp-runtime", ] @@ -3377,17 +3368,6 @@ version = "1.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e48c92028aaa870e83d51c64e5d4e0b6981b360c522198c23959f219a4e1b15b" -[[package]] -name = "errno" -version = "0.2.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f639046355ee4f37944e44f60642c6f3a7efa3cf6b78c78a0d989a8ce6c396a1" -dependencies = [ - "errno-dragonfly", - "libc", - "winapi", -] - [[package]] name = "errno" version = "0.3.1" @@ -3561,7 +3541,7 @@ dependencies = [ [[package]] name = "evm-tracing-events" version = "0.1.0" -source = "git+https://github.com/darwinia-network/moonbeam?branch=polkadot-v0.9.40#14597e44456b8798ab4da464150cc50cafcd731b" +source = "git+https://github.com/darwinia-network/moonbeam?branch=polkadot-v0.9.40#38eebe64a43423bab9ac3a2d755b996373745558" dependencies = [ "environmental", "ethereum", @@ -3570,7 +3550,7 @@ dependencies = [ "evm-gasometer", "evm-runtime", "parity-scale-codec", - "sp-runtime-interface 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-runtime-interface", ] [[package]] @@ -3715,7 +3695,7 @@ dependencies = [ "sc-client-db", "smallvec", "sp-blockchain", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", "sp-database", "sp-runtime", ] @@ -3781,11 +3761,11 @@ dependencies = [ "sp-block-builder", "sp-blockchain", "sp-consensus", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", "sp-io", "sp-runtime", "sp-state-machine", - "sp-storage 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-storage", "substrate-prometheus-endpoint", "tokio", ] @@ -3818,7 +3798,7 @@ dependencies = [ "sp-blockchain", "sp-io", "sp-runtime", - "sp-storage 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-storage", ] [[package]] @@ -3984,11 +3964,11 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", "sp-io", "sp-runtime", - "sp-runtime-interface 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-runtime-interface", + "sp-std", ] [[package]] @@ -3998,9 +3978,9 @@ source = "git+https://github.com/darwinia-network/frontier?branch=polkadot-v0.9. dependencies = [ "ethereum", "parity-scale-codec", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", "sp-runtime", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-std", ] [[package]] @@ -4014,7 +3994,7 @@ dependencies = [ "frame-support", "num_enum", "parity-scale-codec", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-std", ] [[package]] @@ -4026,9 +4006,9 @@ dependencies = [ "frame-support", "parity-scale-codec", "serde", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", "sp-runtime", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-std", ] [[package]] @@ -4042,10 +4022,10 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-api", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", "sp-runtime", "sp-state-machine", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-std", ] [[package]] @@ -4091,12 +4071,12 @@ dependencies = [ "serde", "sp-api", "sp-application-crypto", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", "sp-io", "sp-runtime", - "sp-runtime-interface 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-storage 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-runtime-interface", + "sp-std", + "sp-storage", "static_assertions", ] @@ -4133,15 +4113,15 @@ dependencies = [ "serde_json", "sp-api", "sp-blockchain", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", "sp-database", - "sp-externalities 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-externalities", "sp-inherents", "sp-keystore", "sp-runtime", "sp-state-machine", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-storage 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-std", + "sp-storage", "sp-trie", "thiserror", "thousands", @@ -4169,10 +4149,10 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-arithmetic", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", "sp-npos-elections", "sp-runtime", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-std", ] [[package]] @@ -4185,11 +4165,11 @@ dependencies = [ "frame-try-runtime", "parity-scale-codec", "scale-info", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", "sp-io", "sp-runtime", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-tracing 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-std", + "sp-tracing", ] [[package]] @@ -4213,7 +4193,7 @@ dependencies = [ "log", "parity-scale-codec", "serde", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", "sp-io", "sp-runtime", "substrate-rpc-client", @@ -4240,15 +4220,15 @@ dependencies = [ "smallvec", "sp-api", "sp-arithmetic", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", "sp-core-hashing-proc-macro", "sp-inherents", "sp-io", "sp-runtime", "sp-staking", "sp-state-machine", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-tracing 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-std", + "sp-tracing", "sp-weights", "tt-call", ] @@ -4300,10 +4280,10 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", "sp-io", "sp-runtime", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-std", "sp-version", "sp-weights", ] @@ -4318,9 +4298,9 @@ dependencies = [ "frame-system", "parity-scale-codec", "scale-info", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", "sp-runtime", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-std", ] [[package]] @@ -4341,7 +4321,7 @@ dependencies = [ "parity-scale-codec", "sp-api", "sp-runtime", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-std", ] [[package]] @@ -5113,12 +5093,6 @@ dependencies = [ "webrtc-util", ] -[[package]] -name = "io-lifetimes" -version = "0.7.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "59ce5ef949d49ee85593fc4d3f3f95ad61657076395cbbce23e2121fc5542074" - [[package]] name = "io-lifetimes" version = "1.0.10" @@ -5161,7 +5135,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "adcf93614601c8129ddf72e2d5633df827ba6551541c6d8c59520a371475be1f" dependencies = [ "hermit-abi 0.3.1", - "io-lifetimes 1.0.10", + "io-lifetimes", "rustix 0.37.19", "windows-sys 0.48.0", ] @@ -5423,7 +5397,7 @@ dependencies = [ "sp-block-builder", "sp-consensus-babe", "sp-consensus-beefy", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", "sp-inherents", "sp-io", "sp-mmr-primitives", @@ -5432,7 +5406,7 @@ dependencies = [ "sp-runtime", "sp-session", "sp-staking", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-std", "sp-transaction-pool", "sp-version", "static_assertions", @@ -5451,7 +5425,7 @@ dependencies = [ "polkadot-primitives", "polkadot-runtime-common", "smallvec", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", "sp-runtime", "sp-weights", ] @@ -6092,12 +6066,6 @@ dependencies = [ "nalgebra", ] -[[package]] -name = "linux-raw-sys" -version = "0.0.46" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d4d2456c373231a208ad294c33dc5bff30051eafd954cd4caae83a712b12854d" - [[package]] name = "linux-raw-sys" version = "0.1.4" @@ -6377,7 +6345,7 @@ dependencies = [ "sp-blockchain", "sp-consensus", "sp-consensus-beefy", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", "sp-mmr-primitives", "sp-runtime", ] @@ -6393,7 +6361,7 @@ dependencies = [ "serde", "sp-api", "sp-blockchain", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", "sp-mmr-primitives", "sp-runtime", ] @@ -6428,7 +6396,7 @@ dependencies = [ [[package]] name = "moonbeam-client-evm-tracing" version = "0.1.0" -source = "git+https://github.com/darwinia-network/moonbeam?branch=polkadot-v0.9.40#14597e44456b8798ab4da464150cc50cafcd731b" +source = "git+https://github.com/darwinia-network/moonbeam?branch=polkadot-v0.9.40#38eebe64a43423bab9ac3a2d755b996373745558" dependencies = [ "ethereum-types 0.14.1", "evm-tracing-events", @@ -6437,13 +6405,13 @@ dependencies = [ "parity-scale-codec", "serde", "serde_json", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-std", ] [[package]] name = "moonbeam-evm-tracer" version = "0.1.0" -source = "git+https://github.com/darwinia-network/moonbeam?branch=polkadot-v0.9.40#14597e44456b8798ab4da464150cc50cafcd731b" +source = "git+https://github.com/darwinia-network/moonbeam?branch=polkadot-v0.9.40#38eebe64a43423bab9ac3a2d755b996373745558" dependencies = [ "ethereum-types 0.14.1", "evm", @@ -6454,29 +6422,29 @@ dependencies = [ "moonbeam-primitives-ext", "pallet-evm", "parity-scale-codec", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", "sp-io", "sp-runtime", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-std", ] [[package]] name = "moonbeam-primitives-ext" version = "0.1.0" -source = "git+https://github.com/darwinia-network/moonbeam?branch=polkadot-v0.9.40#14597e44456b8798ab4da464150cc50cafcd731b" +source = "git+https://github.com/darwinia-network/moonbeam?branch=polkadot-v0.9.40#38eebe64a43423bab9ac3a2d755b996373745558" dependencies = [ "ethereum-types 0.14.1", "evm-tracing-events", "parity-scale-codec", - "sp-externalities 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-runtime-interface 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-externalities", + "sp-runtime-interface", + "sp-std", ] [[package]] name = "moonbeam-rpc-core-debug" version = "0.1.0" -source = "git+https://github.com/darwinia-network/moonbeam?branch=polkadot-v0.9.40#14597e44456b8798ab4da464150cc50cafcd731b" +source = "git+https://github.com/darwinia-network/moonbeam?branch=polkadot-v0.9.40#38eebe64a43423bab9ac3a2d755b996373745558" dependencies = [ "ethereum-types 0.14.1", "futures 0.3.28", @@ -6485,13 +6453,13 @@ dependencies = [ "moonbeam-rpc-core-types", "serde", "serde_json", - "sp-core 7.0.0 (git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.37)", + "sp-core", ] [[package]] name = "moonbeam-rpc-core-trace" version = "0.6.0" -source = "git+https://github.com/darwinia-network/moonbeam?branch=polkadot-v0.9.40#14597e44456b8798ab4da464150cc50cafcd731b" +source = "git+https://github.com/darwinia-network/moonbeam?branch=polkadot-v0.9.40#38eebe64a43423bab9ac3a2d755b996373745558" dependencies = [ "ethereum-types 0.14.1", "futures 0.3.28", @@ -6505,7 +6473,7 @@ dependencies = [ [[package]] name = "moonbeam-rpc-core-types" version = "0.1.0" -source = "git+https://github.com/darwinia-network/moonbeam?branch=polkadot-v0.9.40#14597e44456b8798ab4da464150cc50cafcd731b" +source = "git+https://github.com/darwinia-network/moonbeam?branch=polkadot-v0.9.40#38eebe64a43423bab9ac3a2d755b996373745558" dependencies = [ "ethereum-types 0.14.1", "serde", @@ -6515,7 +6483,7 @@ dependencies = [ [[package]] name = "moonbeam-rpc-debug" version = "0.1.0" -source = "git+https://github.com/darwinia-network/moonbeam?branch=polkadot-v0.9.40#14597e44456b8798ab4da464150cc50cafcd731b" +source = "git+https://github.com/darwinia-network/moonbeam?branch=polkadot-v0.9.40#38eebe64a43423bab9ac3a2d755b996373745558" dependencies = [ "ethereum", "ethereum-types 0.14.1", @@ -6536,7 +6504,7 @@ dependencies = [ "sp-api", "sp-block-builder", "sp-blockchain", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", "sp-io", "sp-runtime", "tokio", @@ -6545,7 +6513,7 @@ dependencies = [ [[package]] name = "moonbeam-rpc-primitives-debug" version = "0.1.0" -source = "git+https://github.com/darwinia-network/moonbeam?branch=polkadot-v0.9.40#14597e44456b8798ab4da464150cc50cafcd731b" +source = "git+https://github.com/darwinia-network/moonbeam?branch=polkadot-v0.9.40#38eebe64a43423bab9ac3a2d755b996373745558" dependencies = [ "environmental", "ethereum", @@ -6554,16 +6522,16 @@ dependencies = [ "parity-scale-codec", "serde", "sp-api", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", "sp-io", "sp-runtime", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-std", ] [[package]] name = "moonbeam-rpc-trace" version = "0.6.0" -source = "git+https://github.com/darwinia-network/moonbeam?branch=polkadot-v0.9.40#14597e44456b8798ab4da464150cc50cafcd731b" +source = "git+https://github.com/darwinia-network/moonbeam?branch=polkadot-v0.9.40#38eebe64a43423bab9ac3a2d755b996373745558" dependencies = [ "ethereum", "ethereum-types 0.14.1", @@ -6588,7 +6556,7 @@ dependencies = [ "sp-blockchain", "sp-io", "sp-runtime", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-std", "sp-transaction-pool", "tokio", "tracing", @@ -7216,10 +7184,10 @@ dependencies = [ "orml-utilities", "parity-scale-codec", "scale-info", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", "sp-io", "sp-runtime", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-std", "xcm", ] @@ -7233,7 +7201,7 @@ dependencies = [ "scale-info", "sp-io", "sp-runtime", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-std", ] [[package]] @@ -7284,9 +7252,9 @@ dependencies = [ "frame-system", "parity-scale-codec", "scale-info", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", "sp-runtime", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-std", ] [[package]] @@ -7302,7 +7270,7 @@ dependencies = [ "sp-application-crypto", "sp-consensus-aura", "sp-runtime", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-std", ] [[package]] @@ -7318,7 +7286,7 @@ dependencies = [ "sp-application-crypto", "sp-authority-discovery", "sp-runtime", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-std", ] [[package]] @@ -7332,7 +7300,7 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-runtime", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-std", ] [[package]] @@ -7356,7 +7324,7 @@ dependencies = [ "sp-runtime", "sp-session", "sp-staking", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-std", ] [[package]] @@ -7372,11 +7340,11 @@ dependencies = [ "pallet-balances", "parity-scale-codec", "scale-info", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", "sp-io", "sp-runtime", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-tracing 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-std", + "sp-tracing", ] [[package]] @@ -7391,7 +7359,7 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-runtime", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-std", ] [[package]] @@ -7410,7 +7378,7 @@ dependencies = [ "sp-runtime", "sp-session", "sp-staking", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-std", ] [[package]] @@ -7431,10 +7399,10 @@ dependencies = [ "serde", "sp-api", "sp-consensus-beefy", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", "sp-io", "sp-runtime", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-std", ] [[package]] @@ -7449,10 +7417,10 @@ dependencies = [ "pallet-treasury", "parity-scale-codec", "scale-info", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", "sp-io", "sp-runtime", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-std", ] [[package]] @@ -7466,9 +7434,9 @@ dependencies = [ "frame-system", "parity-scale-codec", "scale-info", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", "sp-runtime", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-std", ] [[package]] @@ -7489,7 +7457,7 @@ dependencies = [ "serde", "sp-consensus-grandpa", "sp-runtime", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-std", "sp-trie", ] @@ -7509,9 +7477,9 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", "sp-runtime", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-std", ] [[package]] @@ -7529,9 +7497,9 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", "sp-runtime", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-std", "sp-trie", ] @@ -7548,10 +7516,10 @@ dependencies = [ "pallet-treasury", "parity-scale-codec", "scale-info", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", "sp-io", "sp-runtime", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-std", ] [[package]] @@ -7565,10 +7533,10 @@ dependencies = [ "log", "parity-scale-codec", "scale-info", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", "sp-io", "sp-runtime", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-std", ] [[package]] @@ -7585,7 +7553,7 @@ dependencies = [ "serde", "sp-io", "sp-runtime", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-std", ] [[package]] @@ -7600,10 +7568,10 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", "sp-io", "sp-runtime", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-std", ] [[package]] @@ -7621,11 +7589,11 @@ dependencies = [ "rand 0.8.5", "scale-info", "sp-arithmetic", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", "sp-io", "sp-npos-elections", "sp-runtime", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-std", "strum", ] @@ -7653,11 +7621,11 @@ dependencies = [ "log", "parity-scale-codec", "scale-info", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", "sp-io", "sp-npos-elections", "sp-runtime", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-std", ] [[package]] @@ -7680,13 +7648,13 @@ dependencies = [ "scale-info", "sp-io", "sp-runtime", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-std", ] [[package]] name = "pallet-ethereum-xcm" version = "1.0.0-dev" -source = "git+https://github.com/darwinia-network/moonbeam?branch=polkadot-v0.9.40#14597e44456b8798ab4da464150cc50cafcd731b" +source = "git+https://github.com/darwinia-network/moonbeam?branch=polkadot-v0.9.40#38eebe64a43423bab9ac3a2d755b996373745558" dependencies = [ "ethereum", "ethereum-types 0.14.1", @@ -7704,7 +7672,7 @@ dependencies = [ "serde", "sp-io", "sp-runtime", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-std", "xcm-primitives", ] @@ -7726,10 +7694,10 @@ dependencies = [ "parity-scale-codec", "rlp", "scale-info", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", "sp-io", "sp-runtime", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-std", ] [[package]] @@ -7746,7 +7714,7 @@ version = "2.0.0-dev" source = "git+https://github.com/darwinia-network/frontier?branch=polkadot-v0.9.40#2e4442aad4b1ff0e64b0605b29689d0848d9dc9f" dependencies = [ "fp-evm", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", "substrate-bn", ] @@ -7794,7 +7762,7 @@ dependencies = [ "sp-io", "sp-runtime", "sp-staking", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-std", ] [[package]] @@ -7810,10 +7778,10 @@ dependencies = [ "pallet-timestamp", "parity-scale-codec", "scale-info", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", "sp-io", "sp-runtime", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-std", ] [[package]] @@ -7831,12 +7799,12 @@ dependencies = [ "scale-info", "sp-application-crypto", "sp-consensus-grandpa", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", "sp-io", "sp-runtime", "sp-session", "sp-staking", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-std", ] [[package]] @@ -7852,7 +7820,7 @@ dependencies = [ "scale-info", "sp-io", "sp-runtime", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-std", ] [[package]] @@ -7868,11 +7836,11 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-application-crypto", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", "sp-io", "sp-runtime", "sp-staking", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-std", ] [[package]] @@ -7885,11 +7853,11 @@ dependencies = [ "frame-system", "parity-scale-codec", "scale-info", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", "sp-io", "sp-keyring", "sp-runtime", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-std", ] [[package]] @@ -7903,10 +7871,10 @@ dependencies = [ "log", "parity-scale-codec", "scale-info", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", "sp-io", "sp-runtime", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-std", ] [[package]] @@ -7919,11 +7887,11 @@ dependencies = [ "frame-system", "parity-scale-codec", "scale-info", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", "sp-io", "sp-mmr-primitives", "sp-runtime", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-std", ] [[package]] @@ -7939,7 +7907,7 @@ dependencies = [ "scale-info", "sp-io", "sp-runtime", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-std", ] [[package]] @@ -7953,9 +7921,9 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-arithmetic", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", "sp-runtime", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-std", ] [[package]] @@ -7968,11 +7936,11 @@ dependencies = [ "log", "parity-scale-codec", "scale-info", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", "sp-io", "sp-runtime", "sp-staking", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-std", ] [[package]] @@ -7990,9 +7958,9 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-runtime", - "sp-runtime-interface 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-runtime-interface", "sp-staking", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-std", ] [[package]] @@ -8003,7 +7971,7 @@ dependencies = [ "pallet-nomination-pools", "parity-scale-codec", "sp-api", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-std", ] [[package]] @@ -8020,7 +7988,7 @@ dependencies = [ "serde", "sp-runtime", "sp-staking", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-std", ] [[package]] @@ -8044,7 +8012,7 @@ dependencies = [ "scale-info", "sp-runtime", "sp-staking", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-std", ] [[package]] @@ -8058,10 +8026,10 @@ dependencies = [ "log", "parity-scale-codec", "scale-info", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", "sp-io", "sp-runtime", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-std", ] [[package]] @@ -8076,7 +8044,7 @@ dependencies = [ "scale-info", "sp-io", "sp-runtime", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-std", ] [[package]] @@ -8091,10 +8059,10 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-arithmetic", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", "sp-io", "sp-runtime", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-std", ] [[package]] @@ -8109,7 +8077,7 @@ dependencies = [ "scale-info", "sp-io", "sp-runtime", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-std", ] [[package]] @@ -8128,7 +8096,7 @@ dependencies = [ "sp-arithmetic", "sp-io", "sp-runtime", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-std", ] [[package]] @@ -8144,7 +8112,7 @@ dependencies = [ "scale-info", "sp-io", "sp-runtime", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-std", "sp-weights", ] @@ -8160,12 +8128,12 @@ dependencies = [ "pallet-timestamp", "parity-scale-codec", "scale-info", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", "sp-io", "sp-runtime", "sp-session", "sp-staking", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-std", "sp-trie", ] @@ -8182,7 +8150,7 @@ dependencies = [ "rand 0.8.5", "sp-runtime", "sp-session", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-std", ] [[package]] @@ -8196,7 +8164,7 @@ dependencies = [ "rand_chacha 0.2.2", "scale-info", "sp-runtime", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-std", ] [[package]] @@ -8219,7 +8187,7 @@ dependencies = [ "sp-io", "sp-runtime", "sp-staking", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-std", ] [[package]] @@ -8262,10 +8230,10 @@ dependencies = [ "log", "parity-scale-codec", "scale-info", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", "sp-io", "sp-runtime", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-std", ] [[package]] @@ -8279,7 +8247,7 @@ dependencies = [ "scale-info", "sp-io", "sp-runtime", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-std", ] [[package]] @@ -8296,7 +8264,7 @@ dependencies = [ "sp-inherents", "sp-io", "sp-runtime", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-std", "sp-timestamp", ] @@ -8313,10 +8281,10 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", "sp-io", "sp-runtime", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-std", ] [[package]] @@ -8329,10 +8297,10 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", "sp-io", "sp-runtime", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-std", ] [[package]] @@ -8345,7 +8313,7 @@ dependencies = [ "parity-scale-codec", "sp-api", "sp-blockchain", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", "sp-rpc", "sp-runtime", "sp-weights", @@ -8377,7 +8345,7 @@ dependencies = [ "scale-info", "serde", "sp-runtime", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-std", ] [[package]] @@ -8390,10 +8358,10 @@ dependencies = [ "frame-system", "parity-scale-codec", "scale-info", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", "sp-io", "sp-runtime", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-std", ] [[package]] @@ -8408,7 +8376,7 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-runtime", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-std", ] [[package]] @@ -8423,7 +8391,7 @@ dependencies = [ "scale-info", "sp-api", "sp-runtime", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-std", ] [[package]] @@ -8439,10 +8407,10 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", "sp-io", "sp-runtime", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-std", "xcm", "xcm-executor", ] @@ -8460,7 +8428,7 @@ dependencies = [ "scale-info", "sp-io", "sp-runtime", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-std", "xcm", "xcm-builder", "xcm-executor", @@ -8556,14 +8524,14 @@ dependencies = [ "sp-api", "sp-block-builder", "sp-consensus-aura", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", "sp-inherents", "sp-io", "sp-keyring", "sp-offchain", "sp-runtime", "sp-session", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-std", "sp-transaction-pool", "sp-version", "static_assertions", @@ -8664,14 +8632,14 @@ dependencies = [ "sp-api", "sp-block-builder", "sp-consensus-aura", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", "sp-inherents", "sp-io", "sp-keyring", "sp-offchain", "sp-runtime", "sp-session", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-std", "sp-transaction-pool", "sp-version", "static_assertions", @@ -9027,7 +8995,7 @@ dependencies = [ "polkadot-node-subsystem-util", "polkadot-primitives", "rand 0.8.5", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", "sp-keystore", "thiserror", "tracing-gum", @@ -9074,7 +9042,7 @@ dependencies = [ "sc-storage-monitor", "sc-sysinfo", "sc-tracing", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", "sp-io", "sp-keyring", "substrate-build-script-utils", @@ -9114,14 +9082,14 @@ dependencies = [ "sp-consensus-babe", "sp-consensus-beefy", "sp-consensus-grandpa", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", "sp-inherents", "sp-keyring", "sp-mmr-primitives", "sp-offchain", "sp-runtime", "sp-session", - "sp-storage 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-storage", "sp-timestamp", "sp-transaction-pool", "westend-runtime", @@ -9142,7 +9110,7 @@ dependencies = [ "polkadot-node-subsystem", "polkadot-node-subsystem-util", "polkadot-primitives", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", "sp-keystore", "sp-runtime", "thiserror", @@ -9156,9 +9124,9 @@ source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe dependencies = [ "parity-scale-codec", "scale-info", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", "sp-runtime", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-std", ] [[package]] @@ -9195,7 +9163,7 @@ dependencies = [ "polkadot-node-primitives", "polkadot-primitives", "reed-solomon-novelpoly", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", "sp-trie", "thiserror", ] @@ -9215,7 +9183,7 @@ dependencies = [ "rand_chacha 0.3.1", "sc-network", "sp-application-crypto", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", "sp-keystore", "tracing-gum", ] @@ -9255,7 +9223,7 @@ dependencies = [ "polkadot-node-subsystem", "polkadot-node-subsystem-util", "polkadot-primitives", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", "sp-maybe-compressed-blob", "thiserror", "tracing-gum", @@ -9475,12 +9443,12 @@ dependencies = [ "sc-executor-common", "sc-executor-wasmtime", "slotmap", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-externalities 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", + "sp-externalities", "sp-io", "sp-maybe-compressed-blob", - "sp-tracing 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-wasm-interface 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-tracing", + "sp-wasm-interface", "tempfile", "tikv-jemalloc-ctl", "tokio", @@ -9531,7 +9499,7 @@ dependencies = [ "polkadot-node-primitives", "polkadot-primitives", "sc-network", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", "thiserror", "tokio", ] @@ -9592,7 +9560,7 @@ dependencies = [ "sp-application-crypto", "sp-consensus-babe", "sp-consensus-vrf", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", "sp-keystore", "sp-maybe-compressed-blob", "sp-runtime", @@ -9660,7 +9628,7 @@ dependencies = [ "prioritized-metered-channel", "rand 0.8.5", "sp-application-crypto", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", "sp-keystore", "thiserror", "tracing-gum", @@ -9684,7 +9652,7 @@ dependencies = [ "polkadot-primitives", "sc-client-api", "sp-api", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", "tikv-jemalloc-ctl", "tracing-gum", ] @@ -9701,9 +9669,9 @@ dependencies = [ "polkadot-core-primitives", "scale-info", "serde", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", "sp-runtime", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-std", ] [[package]] @@ -9739,13 +9707,13 @@ dependencies = [ "sp-arithmetic", "sp-authority-discovery", "sp-consensus-slots", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", "sp-inherents", "sp-io", "sp-keystore", "sp-runtime", "sp-staking", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-std", ] [[package]] @@ -9851,7 +9819,7 @@ dependencies = [ "sp-block-builder", "sp-consensus-babe", "sp-consensus-beefy", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", "sp-inherents", "sp-io", "sp-mmr-primitives", @@ -9860,7 +9828,7 @@ dependencies = [ "sp-runtime", "sp-session", "sp-staking", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-std", "sp-transaction-pool", "sp-version", "static_assertions", @@ -9904,14 +9872,14 @@ dependencies = [ "serde_derive", "slot-range-helper", "sp-api", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", "sp-inherents", "sp-io", "sp-npos-elections", "sp-runtime", "sp-session", "sp-staking", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-std", "static_assertions", "xcm", ] @@ -9925,7 +9893,7 @@ dependencies = [ "polkadot-primitives", "polkadot-runtime-common", "smallvec", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", "sp-runtime", "sp-weights", ] @@ -9938,8 +9906,8 @@ dependencies = [ "bs58", "parity-scale-codec", "polkadot-primitives", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-tracing 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-std", + "sp-tracing", ] [[package]] @@ -9973,14 +9941,14 @@ dependencies = [ "serde", "sp-api", "sp-application-crypto", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", "sp-inherents", "sp-io", "sp-keystore", "sp-runtime", "sp-session", "sp-staking", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-std", "static_assertions", "xcm", "xcm-executor", @@ -10078,7 +10046,7 @@ dependencies = [ "sp-consensus-babe", "sp-consensus-beefy", "sp-consensus-grandpa", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", "sp-inherents", "sp-io", "sp-keystore", @@ -10087,7 +10055,7 @@ dependencies = [ "sp-runtime", "sp-session", "sp-state-machine", - "sp-storage 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-storage", "sp-timestamp", "sp-transaction-pool", "sp-trie", @@ -10126,7 +10094,7 @@ source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.40#95fe dependencies = [ "parity-scale-codec", "polkadot-primitives", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", ] [[package]] @@ -10204,7 +10172,7 @@ checksum = "5b40af805b3121feab8a3c29f04d8ad262fa8e0561883e7653e024ae4479e6de" [[package]] name = "precompile-utils" version = "0.1.0" -source = "git+https://github.com/darwinia-network/moonbeam?branch=polkadot-v0.9.40#14597e44456b8798ab4da464150cc50cafcd731b" +source = "git+https://github.com/darwinia-network/moonbeam?branch=polkadot-v0.9.40#38eebe64a43423bab9ac3a2d755b996373745558" dependencies = [ "affix", "derive_more", @@ -10226,16 +10194,16 @@ dependencies = [ "serde", "sha3", "similar-asserts", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", "sp-io", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-std", "xcm", ] [[package]] name = "precompile-utils-macro" version = "0.1.0" -source = "git+https://github.com/darwinia-network/moonbeam?branch=polkadot-v0.9.40#14597e44456b8798ab4da464150cc50cafcd731b" +source = "git+https://github.com/darwinia-network/moonbeam?branch=polkadot-v0.9.40#38eebe64a43423bab9ac3a2d755b996373745558" dependencies = [ "case", "num_enum", @@ -10762,13 +10730,13 @@ dependencies = [ [[package]] name = "regex" -version = "1.8.1" +version = "1.8.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "af83e617f331cc6ae2da5443c602dfa5af81e517212d9d611a5b3ba1777b5370" +checksum = "d1a59b5d8e97dee33696bf13c5ba8ab85341c002922fba050069326b9c498974" dependencies = [ "aho-corasick 1.0.1", "memchr", - "regex-syntax 0.7.1", + "regex-syntax 0.7.2", ] [[package]] @@ -10788,9 +10756,9 @@ checksum = "f162c6dd7b008981e4d40210aca20b4bd0f9b60ca9271061b07f78537722f2e1" [[package]] name = "regex-syntax" -version = "0.7.1" +version = "0.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a5996294f19bd3aae0453a862ad728f60e6600695733dd5df01da90c54363a3c" +checksum = "436b050e76ed2903236f032a59761c1eb99e1b0aead2c257922771dab1fc8c78" [[package]] name = "region" @@ -11057,7 +11025,7 @@ dependencies = [ "sp-block-builder", "sp-consensus-babe", "sp-consensus-beefy", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", "sp-inherents", "sp-io", "sp-mmr-primitives", @@ -11065,7 +11033,7 @@ dependencies = [ "sp-runtime", "sp-session", "sp-staking", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-std", "sp-transaction-pool", "sp-version", "static_assertions", @@ -11084,7 +11052,7 @@ dependencies = [ "polkadot-primitives", "polkadot-runtime-common", "smallvec", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", "sp-runtime", "sp-weights", ] @@ -11186,20 +11154,6 @@ dependencies = [ "nom", ] -[[package]] -name = "rustix" -version = "0.35.13" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "727a1a6d65f786ec22df8a81ca3121107f235970dc1705ed681d3e6e8b9cd5f9" -dependencies = [ - "bitflags", - "errno 0.2.8", - "io-lifetimes 0.7.5", - "libc", - "linux-raw-sys 0.0.46", - "windows-sys 0.42.0", -] - [[package]] name = "rustix" version = "0.36.14" @@ -11207,8 +11161,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "14e4d67015953998ad0eb82887a0eb0129e18a7e2f3b7b0f6c422fddcd503d62" dependencies = [ "bitflags", - "errno 0.3.1", - "io-lifetimes 1.0.10", + "errno", + "io-lifetimes", "libc", "linux-raw-sys 0.1.4", "windows-sys 0.45.0", @@ -11221,8 +11175,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "acf8729d8542766f1b2cf77eb034d52f40d375bb8b615d0b147089946e16613d" dependencies = [ "bitflags", - "errno 0.3.1", - "io-lifetimes 1.0.10", + "errno", + "io-lifetimes", "libc", "linux-raw-sys 0.3.8", "windows-sys 0.48.0", @@ -11321,8 +11275,8 @@ version = "4.1.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ "log", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-wasm-interface 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", + "sp-wasm-interface", "thiserror", ] @@ -11347,7 +11301,7 @@ dependencies = [ "sp-api", "sp-authority-discovery", "sp-blockchain", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", "sp-keystore", "sp-runtime", "substrate-prometheus-endpoint", @@ -11371,7 +11325,7 @@ dependencies = [ "sp-api", "sp-blockchain", "sp-consensus", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", "sp-inherents", "sp-runtime", "substrate-prometheus-endpoint", @@ -11387,7 +11341,7 @@ dependencies = [ "sp-api", "sp-block-builder", "sp-blockchain", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", "sp-inherents", "sp-runtime", ] @@ -11406,7 +11360,7 @@ dependencies = [ "serde", "serde_json", "sp-blockchain", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", "sp-runtime", "sp-state-machine", ] @@ -11451,7 +11405,7 @@ dependencies = [ "serde", "serde_json", "sp-blockchain", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", "sp-keyring", "sp-keystore", "sp-panic-handler", @@ -11478,13 +11432,13 @@ dependencies = [ "sp-api", "sp-blockchain", "sp-consensus", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", "sp-database", - "sp-externalities 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-externalities", "sp-keystore", "sp-runtime", "sp-state-machine", - "sp-storage 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-storage", "substrate-prometheus-endpoint", ] @@ -11507,7 +11461,7 @@ dependencies = [ "schnellru", "sp-arithmetic", "sp-blockchain", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", "sp-database", "sp-runtime", "sp-state-machine", @@ -11532,7 +11486,7 @@ dependencies = [ "sp-api", "sp-blockchain", "sp-consensus", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", "sp-runtime", "sp-state-machine", "substrate-prometheus-endpoint", @@ -11560,7 +11514,7 @@ dependencies = [ "sp-consensus", "sp-consensus-aura", "sp-consensus-slots", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", "sp-inherents", "sp-keystore", "sp-runtime", @@ -11599,7 +11553,7 @@ dependencies = [ "sp-consensus-babe", "sp-consensus-slots", "sp-consensus-vrf", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", "sp-inherents", "sp-keystore", "sp-runtime", @@ -11623,7 +11577,7 @@ dependencies = [ "sp-blockchain", "sp-consensus", "sp-consensus-babe", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", "sp-keystore", "sp-runtime", "thiserror", @@ -11655,7 +11609,7 @@ dependencies = [ "sp-blockchain", "sp-consensus", "sp-consensus-beefy", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", "sp-keystore", "sp-mmr-primitives", "sp-runtime", @@ -11678,7 +11632,7 @@ dependencies = [ "sc-rpc", "serde", "sp-consensus-beefy", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", "sp-runtime", "thiserror", ] @@ -11729,7 +11683,7 @@ dependencies = [ "sp-blockchain", "sp-consensus", "sp-consensus-grandpa", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", "sp-keystore", "sp-runtime", "substrate-prometheus-endpoint", @@ -11751,7 +11705,7 @@ dependencies = [ "sc-rpc", "serde", "sp-blockchain", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", "sp-runtime", "thiserror", ] @@ -11773,7 +11727,7 @@ dependencies = [ "sp-blockchain", "sp-consensus", "sp-consensus-slots", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", "sp-inherents", "sp-runtime", "sp-state-machine", @@ -11791,14 +11745,14 @@ dependencies = [ "sc-executor-wasmi", "sc-executor-wasmtime", "sp-api", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-externalities 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", + "sp-externalities", "sp-io", "sp-panic-handler", - "sp-runtime-interface 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-runtime-interface", "sp-trie", "sp-version", - "sp-wasm-interface 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-wasm-interface", "tracing", "wasmi", ] @@ -11810,7 +11764,7 @@ source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98 dependencies = [ "sc-allocator", "sp-maybe-compressed-blob", - "sp-wasm-interface 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-wasm-interface", "thiserror", "wasm-instrument", "wasmi", @@ -11824,8 +11778,8 @@ dependencies = [ "log", "sc-allocator", "sc-executor-common", - "sp-runtime-interface 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-wasm-interface 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-runtime-interface", + "sp-wasm-interface", "wasmi", ] @@ -11842,9 +11796,9 @@ dependencies = [ "rustix 0.36.14", "sc-allocator", "sc-executor-common", - "sp-runtime-interface 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-wasm-interface 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "wasmtime 6.0.2", + "sp-runtime-interface", + "sp-wasm-interface", + "wasmtime", ] [[package]] @@ -11873,7 +11827,7 @@ dependencies = [ "parking_lot 0.12.1", "serde_json", "sp-application-crypto", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", "sp-keystore", "thiserror", ] @@ -11914,7 +11868,7 @@ dependencies = [ "sp-arithmetic", "sp-blockchain", "sp-consensus", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", "sp-runtime", "substrate-prometheus-endpoint", "thiserror", @@ -12006,7 +11960,7 @@ dependencies = [ "sc-network-common", "sc-peerset", "sp-blockchain", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", "sp-runtime", "thiserror", ] @@ -12039,7 +11993,7 @@ dependencies = [ "sp-blockchain", "sp-consensus", "sp-consensus-grandpa", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", "sp-runtime", "substrate-prometheus-endpoint", "thiserror", @@ -12089,7 +12043,7 @@ dependencies = [ "sc-peerset", "sc-utils", "sp-api", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", "sp-offchain", "sp-runtime", "threadpool", @@ -12138,7 +12092,7 @@ dependencies = [ "serde_json", "sp-api", "sp-blockchain", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", "sp-keystore", "sp-offchain", "sp-rpc", @@ -12160,7 +12114,7 @@ dependencies = [ "scale-info", "serde", "serde_json", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", "sp-rpc", "sp-runtime", "sp-version", @@ -12201,7 +12155,7 @@ dependencies = [ "serde", "sp-api", "sp-blockchain", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", "sp-runtime", "sp-version", "thiserror", @@ -12254,13 +12208,13 @@ dependencies = [ "sp-api", "sp-blockchain", "sp-consensus", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-externalities 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", + "sp-externalities", "sp-keystore", "sp-runtime", "sp-session", "sp-state-machine", - "sp-storage 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-storage", "sp-transaction-pool", "sp-transaction-storage-proof", "sp-trie", @@ -12282,7 +12236,7 @@ dependencies = [ "log", "parity-scale-codec", "parking_lot 0.12.1", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", ] [[package]] @@ -12296,7 +12250,7 @@ dependencies = [ "log", "sc-client-db", "sc-utils", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", "thiserror", "tokio", ] @@ -12334,9 +12288,9 @@ dependencies = [ "sc-telemetry", "serde", "serde_json", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", "sp-io", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-std", ] [[package]] @@ -12379,10 +12333,10 @@ dependencies = [ "serde", "sp-api", "sp-blockchain", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", "sp-rpc", "sp-runtime", - "sp-tracing 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-tracing", "thiserror", "tracing", "tracing-log", @@ -12419,9 +12373,9 @@ dependencies = [ "serde", "sp-api", "sp-blockchain", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", "sp-runtime", - "sp-tracing 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-tracing", "sp-transaction-pool", "substrate-prometheus-endpoint", "thiserror", @@ -12862,7 +12816,7 @@ dependencies = [ "parity-scale-codec", "paste", "sp-runtime", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-std", ] [[package]] @@ -12939,10 +12893,10 @@ dependencies = [ "log", "parity-scale-codec", "sp-api-proc-macro", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", "sp-runtime", "sp-state-machine", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-std", "sp-trie", "sp-version", "thiserror", @@ -12970,9 +12924,9 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", "sp-io", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-std", ] [[package]] @@ -12985,7 +12939,7 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-std", "static_assertions", ] @@ -12999,7 +12953,7 @@ dependencies = [ "sp-api", "sp-application-crypto", "sp-runtime", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-std", ] [[package]] @@ -13011,7 +12965,7 @@ dependencies = [ "sp-api", "sp-inherents", "sp-runtime", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-std", ] [[package]] @@ -13040,7 +12994,7 @@ dependencies = [ "async-trait", "futures 0.3.28", "log", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", "sp-inherents", "sp-runtime", "sp-state-machine", @@ -13061,7 +13015,7 @@ dependencies = [ "sp-consensus-slots", "sp-inherents", "sp-runtime", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-std", "sp-timestamp", ] @@ -13080,11 +13034,11 @@ dependencies = [ "sp-consensus", "sp-consensus-slots", "sp-consensus-vrf", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", "sp-inherents", "sp-keystore", "sp-runtime", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-std", "sp-timestamp", ] @@ -13099,11 +13053,11 @@ dependencies = [ "serde", "sp-api", "sp-application-crypto", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", "sp-io", "sp-mmr-primitives", "sp-runtime", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-std", "strum", ] @@ -13119,10 +13073,10 @@ dependencies = [ "serde", "sp-api", "sp-application-crypto", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", "sp-keystore", "sp-runtime", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-std", ] [[package]] @@ -13133,7 +13087,7 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-std", "sp-timestamp", ] @@ -13145,51 +13099,9 @@ dependencies = [ "parity-scale-codec", "scale-info", "schnorrkel", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", "sp-runtime", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", -] - -[[package]] -name = "sp-core" -version = "7.0.0" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.37#e66537fcb5bfbf804202b397195fd4fc23db008e" -dependencies = [ - "array-bytes 4.2.0", - "base58", - "bitflags", - "blake2", - "dyn-clonable", - "ed25519-zebra", - "futures 0.3.28", - "hash-db 0.15.2", - "hash256-std-hasher", - "impl-serde", - "lazy_static", - "libsecp256k1", - "log", - "merlin", - "parity-scale-codec", - "parking_lot 0.12.1", - "primitive-types 0.12.1", - "rand 0.8.5", - "regex", - "scale-info", - "schnorrkel", - "secp256k1", - "secrecy", - "serde", - "sp-core-hashing 5.0.0 (git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.37)", - "sp-debug-derive 5.0.0 (git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.37)", - "sp-externalities 0.13.0 (git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.37)", - "sp-runtime-interface 7.0.0 (git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.37)", - "sp-std 5.0.0 (git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.37)", - "sp-storage 7.0.0 (git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.37)", - "ss58-registry", - "substrate-bip39", - "thiserror", - "tiny-bip39", - "zeroize", + "sp-std", ] [[package]] @@ -13222,12 +13134,12 @@ dependencies = [ "secp256k1", "secrecy", "serde", - "sp-core-hashing 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-debug-derive 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-externalities 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-runtime-interface 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-storage 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core-hashing", + "sp-debug-derive", + "sp-externalities", + "sp-runtime-interface", + "sp-std", + "sp-storage", "ss58-registry", "substrate-bip39", "thiserror", @@ -13235,20 +13147,6 @@ dependencies = [ "zeroize", ] -[[package]] -name = "sp-core-hashing" -version = "5.0.0" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.37#e66537fcb5bfbf804202b397195fd4fc23db008e" -dependencies = [ - "blake2", - "byteorder", - "digest 0.10.7", - "sha2 0.10.6", - "sha3", - "sp-std 5.0.0 (git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.37)", - "twox-hash", -] - [[package]] name = "sp-core-hashing" version = "5.0.0" @@ -13259,7 +13157,7 @@ dependencies = [ "digest 0.10.7", "sha2 0.10.6", "sha3", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-std", "twox-hash", ] @@ -13270,7 +13168,7 @@ source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98 dependencies = [ "proc-macro2", "quote", - "sp-core-hashing 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core-hashing", "syn 1.0.109", ] @@ -13283,16 +13181,6 @@ dependencies = [ "parking_lot 0.12.1", ] -[[package]] -name = "sp-debug-derive" -version = "5.0.0" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.37#e66537fcb5bfbf804202b397195fd4fc23db008e" -dependencies = [ - "proc-macro2", - "quote", - "syn 1.0.109", -] - [[package]] name = "sp-debug-derive" version = "5.0.0" @@ -13303,17 +13191,6 @@ dependencies = [ "syn 1.0.109", ] -[[package]] -name = "sp-externalities" -version = "0.13.0" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.37#e66537fcb5bfbf804202b397195fd4fc23db008e" -dependencies = [ - "environmental", - "parity-scale-codec", - "sp-std 5.0.0 (git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.37)", - "sp-storage 7.0.0 (git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.37)", -] - [[package]] name = "sp-externalities" version = "0.13.0" @@ -13321,8 +13198,8 @@ source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98 dependencies = [ "environmental", "parity-scale-codec", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-storage 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-std", + "sp-storage", ] [[package]] @@ -13334,9 +13211,9 @@ dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", "scale-info", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", "sp-runtime", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-std", "thiserror", ] @@ -13353,13 +13230,13 @@ dependencies = [ "log", "parity-scale-codec", "secp256k1", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-externalities 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", + "sp-externalities", "sp-keystore", - "sp-runtime-interface 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-runtime-interface", "sp-state-machine", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-tracing 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-std", + "sp-tracing", "sp-trie", "tracing", "tracing-core", @@ -13371,7 +13248,7 @@ version = "7.0.0" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ "lazy_static", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", "sp-runtime", "strum", ] @@ -13388,8 +13265,8 @@ dependencies = [ "parking_lot 0.12.1", "schnorrkel", "serde", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-externalities 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", + "sp-externalities", "thiserror", ] @@ -13413,10 +13290,10 @@ dependencies = [ "scale-info", "serde", "sp-api", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-debug-derive 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", + "sp-debug-derive", "sp-runtime", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-std", "thiserror", ] @@ -13429,9 +13306,9 @@ dependencies = [ "scale-info", "serde", "sp-arithmetic", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", "sp-runtime", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-std", ] [[package]] @@ -13440,7 +13317,7 @@ version = "4.0.0-dev" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ "sp-api", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", "sp-runtime", ] @@ -13461,7 +13338,7 @@ source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98 dependencies = [ "rustc-hash", "serde", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", ] [[package]] @@ -13480,30 +13357,12 @@ dependencies = [ "serde", "sp-application-crypto", "sp-arithmetic", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", "sp-io", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-std", "sp-weights", ] -[[package]] -name = "sp-runtime-interface" -version = "7.0.0" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.37#e66537fcb5bfbf804202b397195fd4fc23db008e" -dependencies = [ - "bytes", - "impl-trait-for-tuples", - "parity-scale-codec", - "primitive-types 0.12.1", - "sp-externalities 0.13.0 (git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.37)", - "sp-runtime-interface-proc-macro 6.0.0 (git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.37)", - "sp-std 5.0.0 (git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.37)", - "sp-storage 7.0.0 (git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.37)", - "sp-tracing 6.0.0 (git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.37)", - "sp-wasm-interface 7.0.0 (git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.37)", - "static_assertions", -] - [[package]] name = "sp-runtime-interface" version = "7.0.0" @@ -13513,27 +13372,15 @@ dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", "primitive-types 0.12.1", - "sp-externalities 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-runtime-interface-proc-macro 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-storage 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-tracing 6.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-wasm-interface 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-externalities", + "sp-runtime-interface-proc-macro", + "sp-std", + "sp-storage", + "sp-tracing", + "sp-wasm-interface", "static_assertions", ] -[[package]] -name = "sp-runtime-interface-proc-macro" -version = "6.0.0" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.37#e66537fcb5bfbf804202b397195fd4fc23db008e" -dependencies = [ - "Inflector", - "proc-macro-crate", - "proc-macro2", - "quote", - "syn 1.0.109", -] - [[package]] name = "sp-runtime-interface-proc-macro" version = "6.0.0" @@ -13554,10 +13401,10 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-api", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", "sp-runtime", "sp-staking", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-std", ] [[package]] @@ -13567,9 +13414,9 @@ source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98 dependencies = [ "parity-scale-codec", "scale-info", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", "sp-runtime", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-std", ] [[package]] @@ -13583,38 +13430,20 @@ dependencies = [ "parking_lot 0.12.1", "rand 0.8.5", "smallvec", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-externalities 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", + "sp-externalities", "sp-panic-handler", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-std", "sp-trie", "thiserror", "tracing", ] -[[package]] -name = "sp-std" -version = "5.0.0" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.37#e66537fcb5bfbf804202b397195fd4fc23db008e" - [[package]] name = "sp-std" version = "5.0.0" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" -[[package]] -name = "sp-storage" -version = "7.0.0" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.37#e66537fcb5bfbf804202b397195fd4fc23db008e" -dependencies = [ - "impl-serde", - "parity-scale-codec", - "ref-cast", - "serde", - "sp-debug-derive 5.0.0 (git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.37)", - "sp-std 5.0.0 (git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.37)", -] - [[package]] name = "sp-storage" version = "7.0.0" @@ -13624,8 +13453,8 @@ dependencies = [ "parity-scale-codec", "ref-cast", "serde", - "sp-debug-derive 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-debug-derive", + "sp-std", ] [[package]] @@ -13639,29 +13468,17 @@ dependencies = [ "parity-scale-codec", "sp-inherents", "sp-runtime", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-std", "thiserror", ] -[[package]] -name = "sp-tracing" -version = "6.0.0" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.37#e66537fcb5bfbf804202b397195fd4fc23db008e" -dependencies = [ - "parity-scale-codec", - "sp-std 5.0.0 (git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.37)", - "tracing", - "tracing-core", - "tracing-subscriber 0.2.25", -] - [[package]] name = "sp-tracing" version = "6.0.0" source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40#98f2e3451c9143278ec53c6718940aeabcd3b68a" dependencies = [ "parity-scale-codec", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-std", "tracing", "tracing-core", "tracing-subscriber 0.2.25", @@ -13685,10 +13502,10 @@ dependencies = [ "log", "parity-scale-codec", "scale-info", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", "sp-inherents", "sp-runtime", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-std", "sp-trie", ] @@ -13707,8 +13524,8 @@ dependencies = [ "parking_lot 0.12.1", "scale-info", "schnellru", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", + "sp-std", "thiserror", "tracing", "trie-db", @@ -13727,7 +13544,7 @@ dependencies = [ "serde", "sp-core-hashing-proc-macro", "sp-runtime", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-std", "sp-version-proc-macro", "thiserror", ] @@ -13743,19 +13560,6 @@ dependencies = [ "syn 1.0.109", ] -[[package]] -name = "sp-wasm-interface" -version = "7.0.0" -source = "git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.37#e66537fcb5bfbf804202b397195fd4fc23db008e" -dependencies = [ - "impl-trait-for-tuples", - "log", - "parity-scale-codec", - "sp-std 5.0.0 (git+https://github.com/purestake/substrate?branch=moonbeam-polkadot-v0.9.37)", - "wasmi", - "wasmtime 1.0.2", -] - [[package]] name = "sp-wasm-interface" version = "7.0.0" @@ -13765,9 +13569,9 @@ dependencies = [ "impl-trait-for-tuples", "log", "parity-scale-codec", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-std", "wasmi", - "wasmtime 6.0.2", + "wasmtime", ] [[package]] @@ -13780,9 +13584,9 @@ dependencies = [ "serde", "smallvec", "sp-arithmetic", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-debug-derive 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", + "sp-debug-derive", + "sp-std", ] [[package]] @@ -13988,7 +13792,7 @@ dependencies = [ "sp-api", "sp-block-builder", "sp-blockchain", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", "sp-runtime", ] @@ -14029,7 +13833,7 @@ dependencies = [ "sc-rpc-api", "scale-info", "serde", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", "sp-runtime", "sp-state-machine", "sp-trie", @@ -14798,9 +14602,9 @@ dependencies = [ "sp-api", "sp-consensus-aura", "sp-consensus-babe", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-debug-derive 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", - "sp-externalities 0.13.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", + "sp-debug-derive", + "sp-externalities", "sp-inherents", "sp-io", "sp-keystore", @@ -15252,15 +15056,6 @@ dependencies = [ "region", ] -[[package]] -name = "wasmparser" -version = "0.89.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ab5d3e08b13876f96dd55608d03cd4883a0545884932d5adf11925876c96daef" -dependencies = [ - "indexmap", -] - [[package]] name = "wasmparser" version = "0.100.0" @@ -15271,31 +15066,6 @@ dependencies = [ "url", ] -[[package]] -name = "wasmtime" -version = "1.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4ad5af6ba38311282f2a21670d96e78266e8c8e2f38cbcd52c254df6ccbc7731" -dependencies = [ - "anyhow", - "bincode", - "cfg-if", - "indexmap", - "libc", - "log", - "object 0.29.0", - "once_cell", - "paste", - "psm", - "serde", - "target-lexicon", - "wasmparser 0.89.1", - "wasmtime-environ 1.0.2", - "wasmtime-jit 1.0.2", - "wasmtime-runtime 1.0.2", - "windows-sys 0.36.1", -] - [[package]] name = "wasmtime" version = "6.0.2" @@ -15315,24 +15085,15 @@ dependencies = [ "rayon", "serde", "target-lexicon", - "wasmparser 0.100.0", + "wasmparser", "wasmtime-cache", "wasmtime-cranelift", - "wasmtime-environ 6.0.2", - "wasmtime-jit 6.0.2", - "wasmtime-runtime 6.0.2", + "wasmtime-environ", + "wasmtime-jit", + "wasmtime-runtime", "windows-sys 0.42.0", ] -[[package]] -name = "wasmtime-asm-macros" -version = "1.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "45de63ddfc8b9223d1adc8f7b2ee5f35d1f6d112833934ad7ea66e4f4339e597" -dependencies = [ - "cfg-if", -] - [[package]] name = "wasmtime-asm-macros" version = "6.0.2" @@ -15370,7 +15131,7 @@ checksum = "3c366bb8647e01fd08cb5589976284b00abfded5529b33d7e7f3f086c68304a4" dependencies = [ "anyhow", "cranelift-codegen", - "cranelift-entity 0.93.2", + "cranelift-entity", "cranelift-frontend", "cranelift-native", "cranelift-wasm", @@ -15379,27 +15140,8 @@ dependencies = [ "object 0.29.0", "target-lexicon", "thiserror", - "wasmparser 0.100.0", - "wasmtime-environ 6.0.2", -] - -[[package]] -name = "wasmtime-environ" -version = "1.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ebb881c61f4f627b5d45c54e629724974f8a8890d455bcbe634330cc27309644" -dependencies = [ - "anyhow", - "cranelift-entity 0.88.2", - "gimli 0.26.2", - "indexmap", - "log", - "object 0.29.0", - "serde", - "target-lexicon", - "thiserror", - "wasmparser 0.89.1", - "wasmtime-types 1.0.2", + "wasmparser", + "wasmtime-environ", ] [[package]] @@ -15409,7 +15151,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "47b8b50962eae38ee319f7b24900b7cf371f03eebdc17400c1dc8575fc10c9a7" dependencies = [ "anyhow", - "cranelift-entity 0.93.2", + "cranelift-entity", "gimli 0.26.2", "indexmap", "log", @@ -15417,32 +15159,8 @@ dependencies = [ "serde", "target-lexicon", "thiserror", - "wasmparser 0.100.0", - "wasmtime-types 6.0.2", -] - -[[package]] -name = "wasmtime-jit" -version = "1.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1985c628011fe26adf5e23a5301bdc79b245e0e338f14bb58b39e4e25e4d8681" -dependencies = [ - "addr2line 0.17.0", - "anyhow", - "bincode", - "cfg-if", - "cpp_demangle", - "gimli 0.26.2", - "log", - "object 0.29.0", - "rustc-demangle", - "rustix 0.35.13", - "serde", - "target-lexicon", - "thiserror", - "wasmtime-environ 1.0.2", - "wasmtime-runtime 1.0.2", - "windows-sys 0.36.1", + "wasmparser", + "wasmtime-types", ] [[package]] @@ -15462,22 +15180,13 @@ dependencies = [ "rustc-demangle", "serde", "target-lexicon", - "wasmtime-environ 6.0.2", - "wasmtime-jit-debug 6.0.2", + "wasmtime-environ", + "wasmtime-jit-debug", "wasmtime-jit-icache-coherence", - "wasmtime-runtime 6.0.2", + "wasmtime-runtime", "windows-sys 0.42.0", ] -[[package]] -name = "wasmtime-jit-debug" -version = "1.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f671b588486f5ccec8c5a3dba6b4c07eac2e66ab8c60e6f4e53717c77f709731" -dependencies = [ - "once_cell", -] - [[package]] name = "wasmtime-jit-debug" version = "6.0.2" @@ -15500,30 +15209,6 @@ dependencies = [ "windows-sys 0.42.0", ] -[[package]] -name = "wasmtime-runtime" -version = "1.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ee8f92ad4b61736339c29361da85769ebc200f184361959d1792832e592a1afd" -dependencies = [ - "anyhow", - "cc", - "cfg-if", - "indexmap", - "libc", - "log", - "mach", - "memoffset 0.6.5", - "paste", - "rand 0.8.5", - "rustix 0.35.13", - "thiserror", - "wasmtime-asm-macros 1.0.2", - "wasmtime-environ 1.0.2", - "wasmtime-jit-debug 1.0.2", - "windows-sys 0.36.1", -] - [[package]] name = "wasmtime-runtime" version = "6.0.2" @@ -15542,34 +15227,22 @@ dependencies = [ "paste", "rand 0.8.5", "rustix 0.36.14", - "wasmtime-asm-macros 6.0.2", - "wasmtime-environ 6.0.2", - "wasmtime-jit-debug 6.0.2", + "wasmtime-asm-macros", + "wasmtime-environ", + "wasmtime-jit-debug", "windows-sys 0.42.0", ] -[[package]] -name = "wasmtime-types" -version = "1.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d23d61cb4c46e837b431196dd06abb11731541021916d03476a178b54dc07aeb" -dependencies = [ - "cranelift-entity 0.88.2", - "serde", - "thiserror", - "wasmparser 0.89.1", -] - [[package]] name = "wasmtime-types" version = "6.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "83e5572c5727c1ee7e8f28717aaa8400e4d22dcbd714ea5457d85b5005206568" dependencies = [ - "cranelift-entity 0.93.2", + "cranelift-entity", "serde", "thiserror", - "wasmparser 0.100.0", + "wasmparser", ] [[package]] @@ -15893,7 +15566,7 @@ dependencies = [ "sp-block-builder", "sp-consensus-babe", "sp-consensus-beefy", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", "sp-inherents", "sp-io", "sp-mmr-primitives", @@ -15902,7 +15575,7 @@ dependencies = [ "sp-runtime", "sp-session", "sp-staking", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-std", "sp-transaction-pool", "sp-version", "substrate-wasm-builder", @@ -15921,7 +15594,7 @@ dependencies = [ "polkadot-primitives", "polkadot-runtime-common", "smallvec", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", "sp-runtime", "sp-weights", ] @@ -16006,19 +15679,6 @@ dependencies = [ "windows-targets 0.48.0", ] -[[package]] -name = "windows-sys" -version = "0.36.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ea04155a16a59f9eab786fe12a4a450e75cdb175f9e0d80da1e17db09f55b8d2" -dependencies = [ - "windows_aarch64_msvc 0.36.1", - "windows_i686_gnu 0.36.1", - "windows_i686_msvc 0.36.1", - "windows_x86_64_gnu 0.36.1", - "windows_x86_64_msvc 0.36.1", -] - [[package]] name = "windows-sys" version = "0.42.0" @@ -16100,12 +15760,6 @@ version = "0.34.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "17cffbe740121affb56fad0fc0e421804adf0ae00891205213b5cecd30db881d" -[[package]] -name = "windows_aarch64_msvc" -version = "0.36.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9bb8c3fd39ade2d67e9874ac4f3db21f0d710bee00fe7cab16949ec184eeaa47" - [[package]] name = "windows_aarch64_msvc" version = "0.42.2" @@ -16124,12 +15778,6 @@ version = "0.34.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2564fde759adb79129d9b4f54be42b32c89970c18ebf93124ca8870a498688ed" -[[package]] -name = "windows_i686_gnu" -version = "0.36.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "180e6ccf01daf4c426b846dfc66db1fc518f074baa793aa7d9b9aaeffad6a3b6" - [[package]] name = "windows_i686_gnu" version = "0.42.2" @@ -16148,12 +15796,6 @@ version = "0.34.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9cd9d32ba70453522332c14d38814bceeb747d80b3958676007acadd7e166956" -[[package]] -name = "windows_i686_msvc" -version = "0.36.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e2e7917148b2812d1eeafaeb22a97e4813dfa60a3f8f78ebe204bcc88f12f024" - [[package]] name = "windows_i686_msvc" version = "0.42.2" @@ -16172,12 +15814,6 @@ version = "0.34.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cfce6deae227ee8d356d19effc141a509cc503dfd1f850622ec4b0f84428e1f4" -[[package]] -name = "windows_x86_64_gnu" -version = "0.36.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4dcd171b8776c41b97521e5da127a2d86ad280114807d0b2ab1e462bc764d9e1" - [[package]] name = "windows_x86_64_gnu" version = "0.42.2" @@ -16208,12 +15844,6 @@ version = "0.34.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d19538ccc21819d01deaf88d6a17eae6596a12e9aafdbb97916fb49896d89de9" -[[package]] -name = "windows_x86_64_msvc" -version = "0.36.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c811ca4a8c853ef420abd8592ba53ddbbac90410fab6903b3e79972a631f7680" - [[package]] name = "windows_x86_64_msvc" version = "0.42.2" @@ -16344,7 +15974,7 @@ dependencies = [ "sp-arithmetic", "sp-io", "sp-runtime", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-std", "xcm", "xcm-executor", ] @@ -16361,10 +15991,10 @@ dependencies = [ "log", "parity-scale-codec", "sp-arithmetic", - "sp-core 7.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-core", "sp-io", "sp-runtime", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-std", "sp-weights", "xcm", ] @@ -16372,7 +16002,7 @@ dependencies = [ [[package]] name = "xcm-primitives" version = "0.1.0" -source = "git+https://github.com/darwinia-network/moonbeam?branch=polkadot-v0.9.40#14597e44456b8798ab4da464150cc50cafcd731b" +source = "git+https://github.com/darwinia-network/moonbeam?branch=polkadot-v0.9.40#38eebe64a43423bab9ac3a2d755b996373745558" dependencies = [ "cumulus-primitives-core", "ethereum", @@ -16389,7 +16019,7 @@ dependencies = [ "sha3", "sp-io", "sp-runtime", - "sp-std 5.0.0 (git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.40)", + "sp-std", "xcm", "xcm-builder", "xcm-executor", diff --git a/core/primitives/Cargo.toml b/core/primitives/Cargo.toml index edc8b0f91..3c25f09e6 100644 --- a/core/primitives/Cargo.toml +++ b/core/primitives/Cargo.toml @@ -10,7 +10,7 @@ version.workspace = true # darwinia dc-types = { workspace = true } -# moonbeam +# frontier fp-account = { workspace = true } # substrate From f634f406140738282dd74ab512228f2211e88781 Mon Sep 17 00:00:00 2001 From: Xavier Lau Date: Tue, 23 May 2023 14:55:31 +0800 Subject: [PATCH 25/27] Bump moonbeam --- Cargo.lock | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index fecaba268..78260be29 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3541,7 +3541,7 @@ dependencies = [ [[package]] name = "evm-tracing-events" version = "0.1.0" -source = "git+https://github.com/darwinia-network/moonbeam?branch=polkadot-v0.9.40#38eebe64a43423bab9ac3a2d755b996373745558" +source = "git+https://github.com/darwinia-network/moonbeam?branch=polkadot-v0.9.40#51d02a6f53ddf6319d29194f4b2d3ef179e90195" dependencies = [ "environmental", "ethereum", @@ -6396,7 +6396,7 @@ dependencies = [ [[package]] name = "moonbeam-client-evm-tracing" version = "0.1.0" -source = "git+https://github.com/darwinia-network/moonbeam?branch=polkadot-v0.9.40#38eebe64a43423bab9ac3a2d755b996373745558" +source = "git+https://github.com/darwinia-network/moonbeam?branch=polkadot-v0.9.40#51d02a6f53ddf6319d29194f4b2d3ef179e90195" dependencies = [ "ethereum-types 0.14.1", "evm-tracing-events", @@ -6411,7 +6411,7 @@ dependencies = [ [[package]] name = "moonbeam-evm-tracer" version = "0.1.0" -source = "git+https://github.com/darwinia-network/moonbeam?branch=polkadot-v0.9.40#38eebe64a43423bab9ac3a2d755b996373745558" +source = "git+https://github.com/darwinia-network/moonbeam?branch=polkadot-v0.9.40#51d02a6f53ddf6319d29194f4b2d3ef179e90195" dependencies = [ "ethereum-types 0.14.1", "evm", @@ -6431,7 +6431,7 @@ dependencies = [ [[package]] name = "moonbeam-primitives-ext" version = "0.1.0" -source = "git+https://github.com/darwinia-network/moonbeam?branch=polkadot-v0.9.40#38eebe64a43423bab9ac3a2d755b996373745558" +source = "git+https://github.com/darwinia-network/moonbeam?branch=polkadot-v0.9.40#51d02a6f53ddf6319d29194f4b2d3ef179e90195" dependencies = [ "ethereum-types 0.14.1", "evm-tracing-events", @@ -6444,7 +6444,7 @@ dependencies = [ [[package]] name = "moonbeam-rpc-core-debug" version = "0.1.0" -source = "git+https://github.com/darwinia-network/moonbeam?branch=polkadot-v0.9.40#38eebe64a43423bab9ac3a2d755b996373745558" +source = "git+https://github.com/darwinia-network/moonbeam?branch=polkadot-v0.9.40#51d02a6f53ddf6319d29194f4b2d3ef179e90195" dependencies = [ "ethereum-types 0.14.1", "futures 0.3.28", @@ -6459,7 +6459,7 @@ dependencies = [ [[package]] name = "moonbeam-rpc-core-trace" version = "0.6.0" -source = "git+https://github.com/darwinia-network/moonbeam?branch=polkadot-v0.9.40#38eebe64a43423bab9ac3a2d755b996373745558" +source = "git+https://github.com/darwinia-network/moonbeam?branch=polkadot-v0.9.40#51d02a6f53ddf6319d29194f4b2d3ef179e90195" dependencies = [ "ethereum-types 0.14.1", "futures 0.3.28", @@ -6473,7 +6473,7 @@ dependencies = [ [[package]] name = "moonbeam-rpc-core-types" version = "0.1.0" -source = "git+https://github.com/darwinia-network/moonbeam?branch=polkadot-v0.9.40#38eebe64a43423bab9ac3a2d755b996373745558" +source = "git+https://github.com/darwinia-network/moonbeam?branch=polkadot-v0.9.40#51d02a6f53ddf6319d29194f4b2d3ef179e90195" dependencies = [ "ethereum-types 0.14.1", "serde", @@ -6483,7 +6483,7 @@ dependencies = [ [[package]] name = "moonbeam-rpc-debug" version = "0.1.0" -source = "git+https://github.com/darwinia-network/moonbeam?branch=polkadot-v0.9.40#38eebe64a43423bab9ac3a2d755b996373745558" +source = "git+https://github.com/darwinia-network/moonbeam?branch=polkadot-v0.9.40#51d02a6f53ddf6319d29194f4b2d3ef179e90195" dependencies = [ "ethereum", "ethereum-types 0.14.1", @@ -6513,7 +6513,7 @@ dependencies = [ [[package]] name = "moonbeam-rpc-primitives-debug" version = "0.1.0" -source = "git+https://github.com/darwinia-network/moonbeam?branch=polkadot-v0.9.40#38eebe64a43423bab9ac3a2d755b996373745558" +source = "git+https://github.com/darwinia-network/moonbeam?branch=polkadot-v0.9.40#51d02a6f53ddf6319d29194f4b2d3ef179e90195" dependencies = [ "environmental", "ethereum", @@ -6531,7 +6531,7 @@ dependencies = [ [[package]] name = "moonbeam-rpc-trace" version = "0.6.0" -source = "git+https://github.com/darwinia-network/moonbeam?branch=polkadot-v0.9.40#38eebe64a43423bab9ac3a2d755b996373745558" +source = "git+https://github.com/darwinia-network/moonbeam?branch=polkadot-v0.9.40#51d02a6f53ddf6319d29194f4b2d3ef179e90195" dependencies = [ "ethereum", "ethereum-types 0.14.1", @@ -7654,7 +7654,7 @@ dependencies = [ [[package]] name = "pallet-ethereum-xcm" version = "1.0.0-dev" -source = "git+https://github.com/darwinia-network/moonbeam?branch=polkadot-v0.9.40#38eebe64a43423bab9ac3a2d755b996373745558" +source = "git+https://github.com/darwinia-network/moonbeam?branch=polkadot-v0.9.40#51d02a6f53ddf6319d29194f4b2d3ef179e90195" dependencies = [ "ethereum", "ethereum-types 0.14.1", @@ -10172,7 +10172,7 @@ checksum = "5b40af805b3121feab8a3c29f04d8ad262fa8e0561883e7653e024ae4479e6de" [[package]] name = "precompile-utils" version = "0.1.0" -source = "git+https://github.com/darwinia-network/moonbeam?branch=polkadot-v0.9.40#38eebe64a43423bab9ac3a2d755b996373745558" +source = "git+https://github.com/darwinia-network/moonbeam?branch=polkadot-v0.9.40#51d02a6f53ddf6319d29194f4b2d3ef179e90195" dependencies = [ "affix", "derive_more", @@ -10203,7 +10203,7 @@ dependencies = [ [[package]] name = "precompile-utils-macro" version = "0.1.0" -source = "git+https://github.com/darwinia-network/moonbeam?branch=polkadot-v0.9.40#38eebe64a43423bab9ac3a2d755b996373745558" +source = "git+https://github.com/darwinia-network/moonbeam?branch=polkadot-v0.9.40#51d02a6f53ddf6319d29194f4b2d3ef179e90195" dependencies = [ "case", "num_enum", @@ -16002,7 +16002,7 @@ dependencies = [ [[package]] name = "xcm-primitives" version = "0.1.0" -source = "git+https://github.com/darwinia-network/moonbeam?branch=polkadot-v0.9.40#38eebe64a43423bab9ac3a2d755b996373745558" +source = "git+https://github.com/darwinia-network/moonbeam?branch=polkadot-v0.9.40#51d02a6f53ddf6319d29194f4b2d3ef179e90195" dependencies = [ "cumulus-primitives-core", "ethereum", From d919bc73761764e345b477b537db111b40ff839b Mon Sep 17 00:00:00 2001 From: Xavier Lau Date: Tue, 23 May 2023 14:55:52 +0800 Subject: [PATCH 26/27] Remove unnecessary clone --- node/src/rpc.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/node/src/rpc.rs b/node/src/rpc.rs index 17d678402..9902e777e 100644 --- a/node/src/rpc.rs +++ b/node/src/rpc.rs @@ -189,7 +189,7 @@ where EthPubSub::new( pool, client.clone(), - sync.clone(), + sync, subscription_task_executor, overrides, pubsub_notification_sinks, From cf9f1fb4869b39c1fc5f968ede97a859c01a5adb Mon Sep 17 00:00:00 2001 From: Xavier Lau Date: Tue, 23 May 2023 15:03:13 +0800 Subject: [PATCH 27/27] Fix tests --- pallet/message-gadget/src/tests.rs | 1 - pallet/message-transact/src/mock.rs | 2 ++ precompile/assets/src/mock.rs | 2 ++ precompile/deposit/src/mock.rs | 2 ++ precompile/staking/src/mock.rs | 2 ++ precompile/state-storage/src/mock.rs | 2 ++ 6 files changed, 10 insertions(+), 1 deletion(-) diff --git a/pallet/message-gadget/src/tests.rs b/pallet/message-gadget/src/tests.rs index 9eb2946de..24fbcffed 100644 --- a/pallet/message-gadget/src/tests.rs +++ b/pallet/message-gadget/src/tests.rs @@ -81,7 +81,6 @@ impl pallet_evm::Config for Runtime { type CallOrigin = pallet_evm::EnsureAddressRoot; type ChainId = (); type Currency = Balances; - type ExtraDataLength = (); type FeeCalculator = (); type FindAuthor = (); type GasWeightMapping = pallet_evm::FixedGasWeightMapping; diff --git a/pallet/message-transact/src/mock.rs b/pallet/message-transact/src/mock.rs index 73f92a434..030c9c44a 100644 --- a/pallet/message-transact/src/mock.rs +++ b/pallet/message-transact/src/mock.rs @@ -130,6 +130,8 @@ impl pallet_evm::Config for TestRuntime { type PrecompilesValue = (); type Runner = pallet_evm::runner::stack::Runner; type RuntimeEvent = RuntimeEvent; + type Timestamp = Timestamp; + type WeightInfo = (); type WeightPerGas = WeightPerGas; type WithdrawOrigin = pallet_evm::EnsureAddressNever; } diff --git a/precompile/assets/src/mock.rs b/precompile/assets/src/mock.rs index c42b997fe..3d4243f2c 100644 --- a/precompile/assets/src/mock.rs +++ b/precompile/assets/src/mock.rs @@ -168,6 +168,8 @@ impl pallet_evm::Config for TestRuntime { type PrecompilesValue = PrecompilesValue; type Runner = pallet_evm::runner::stack::Runner; type RuntimeEvent = RuntimeEvent; + type Timestamp = Timestamp; + type WeightInfo = (); type WeightPerGas = WeightPerGas; type WithdrawOrigin = pallet_evm::EnsureAddressNever; } diff --git a/precompile/deposit/src/mock.rs b/precompile/deposit/src/mock.rs index 5cc6e41b5..e7a6174ef 100644 --- a/precompile/deposit/src/mock.rs +++ b/precompile/deposit/src/mock.rs @@ -170,6 +170,8 @@ impl pallet_evm::Config for TestRuntime { type PrecompilesValue = PrecompilesValue; type Runner = pallet_evm::runner::stack::Runner; type RuntimeEvent = RuntimeEvent; + type Timestamp = Timestamp; + type WeightInfo = (); type WeightPerGas = WeightPerGas; type WithdrawOrigin = pallet_evm::EnsureAddressNever; } diff --git a/precompile/staking/src/mock.rs b/precompile/staking/src/mock.rs index 0b9655161..cfc1e7bf7 100644 --- a/precompile/staking/src/mock.rs +++ b/precompile/staking/src/mock.rs @@ -174,6 +174,8 @@ impl pallet_evm::Config for TestRuntime { type PrecompilesValue = PrecompilesValue; type Runner = pallet_evm::runner::stack::Runner; type RuntimeEvent = RuntimeEvent; + type Timestamp = Timestamp; + type WeightInfo = (); type WeightPerGas = WeightPerGas; type WithdrawOrigin = pallet_evm::EnsureAddressNever; } diff --git a/precompile/state-storage/src/mock.rs b/precompile/state-storage/src/mock.rs index 48e06ec2d..df83150ca 100644 --- a/precompile/state-storage/src/mock.rs +++ b/precompile/state-storage/src/mock.rs @@ -155,6 +155,8 @@ impl pallet_evm::Config for TestRuntime { type PrecompilesValue = PrecompilesValue; type Runner = pallet_evm::runner::stack::Runner; type RuntimeEvent = RuntimeEvent; + type Timestamp = Timestamp; + type WeightInfo = (); type WeightPerGas = WeightPerGas; type WithdrawOrigin = pallet_evm::EnsureAddressNever; }