diff --git a/Cargo.lock b/Cargo.lock index f3e9154a9920..3f1ddd5051a0 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -423,7 +423,7 @@ dependencies = [ [[package]] name = "beefy-gadget" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "async-trait", "beefy-primitives", @@ -459,7 +459,7 @@ dependencies = [ [[package]] name = "beefy-gadget-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "beefy-gadget", "beefy-primitives", @@ -479,7 +479,7 @@ dependencies = [ [[package]] name = "beefy-merkle-tree" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "beefy-primitives", "sp-api", @@ -488,7 +488,7 @@ dependencies = [ [[package]] name = "beefy-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "parity-scale-codec", "scale-info", @@ -1983,7 +1983,7 @@ checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" [[package]] name = "fork-tree" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "parity-scale-codec", ] @@ -2001,7 +2001,7 @@ dependencies = [ [[package]] name = "frame-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "frame-support", "frame-system", @@ -2024,7 +2024,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "Inflector", "chrono", @@ -2075,7 +2075,7 @@ dependencies = [ [[package]] name = "frame-election-provider-solution-type" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -2086,7 +2086,7 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "frame-election-provider-solution-type", "frame-support", @@ -2102,7 +2102,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "frame-support", "frame-system", @@ -2131,7 +2131,7 @@ dependencies = [ [[package]] name = "frame-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "bitflags", "frame-metadata", @@ -2162,7 +2162,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "Inflector", "cfg-expr", @@ -2176,7 +2176,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate", @@ -2188,7 +2188,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "proc-macro2", "quote", @@ -2198,7 +2198,7 @@ dependencies = [ [[package]] name = "frame-support-test" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "frame-support", "frame-support-test-pallet", @@ -2221,7 +2221,7 @@ dependencies = [ [[package]] name = "frame-support-test-pallet" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "frame-support", "frame-system", @@ -2232,7 +2232,7 @@ dependencies = [ [[package]] name = "frame-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "frame-support", "log", @@ -2249,7 +2249,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "frame-benchmarking", "frame-support", @@ -2264,7 +2264,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "parity-scale-codec", "sp-api", @@ -2273,7 +2273,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "frame-support", "parity-scale-codec", @@ -2456,7 +2456,7 @@ dependencies = [ [[package]] name = "generate-bags" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "chrono", "frame-election-provider-support", @@ -4829,7 +4829,7 @@ checksum = "20448fd678ec04e6ea15bbe0476874af65e98a01515d667aa49f1434dc44ebf4" [[package]] name = "pallet-assets" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "frame-benchmarking", "frame-support", @@ -4843,7 +4843,7 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "frame-support", "frame-system", @@ -4859,7 +4859,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "frame-support", "frame-system", @@ -4874,7 +4874,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "frame-benchmarking", "frame-support", @@ -4898,7 +4898,7 @@ dependencies = [ [[package]] name = "pallet-bags-list" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4918,7 +4918,7 @@ dependencies = [ [[package]] name = "pallet-bags-list-remote-tests" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "frame-election-provider-support", "frame-support", @@ -4937,7 +4937,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "frame-benchmarking", "frame-support", @@ -4952,7 +4952,7 @@ dependencies = [ [[package]] name = "pallet-beefy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "beefy-primitives", "frame-support", @@ -4968,7 +4968,7 @@ dependencies = [ [[package]] name = "pallet-beefy-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "beefy-merkle-tree", "beefy-primitives", @@ -4991,7 +4991,7 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "frame-benchmarking", "frame-support", @@ -5009,7 +5009,7 @@ dependencies = [ [[package]] name = "pallet-child-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "frame-benchmarking", "frame-support", @@ -5028,7 +5028,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "frame-benchmarking", "frame-support", @@ -5045,7 +5045,7 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "frame-benchmarking", "frame-support", @@ -5061,7 +5061,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5084,7 +5084,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-support-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5097,7 +5097,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "frame-benchmarking", "frame-support", @@ -5115,7 +5115,7 @@ dependencies = [ [[package]] name = "pallet-gilt" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "frame-benchmarking", "frame-support", @@ -5130,7 +5130,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "frame-benchmarking", "frame-support", @@ -5153,7 +5153,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "enumflags2", "frame-benchmarking", @@ -5169,7 +5169,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "frame-benchmarking", "frame-support", @@ -5189,7 +5189,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "frame-benchmarking", "frame-support", @@ -5206,7 +5206,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "frame-benchmarking", "frame-support", @@ -5223,7 +5223,7 @@ dependencies = [ [[package]] name = "pallet-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "ckb-merkle-mountain-range", "frame-benchmarking", @@ -5241,7 +5241,7 @@ dependencies = [ [[package]] name = "pallet-mmr-rpc" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -5256,7 +5256,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "frame-benchmarking", "frame-support", @@ -5271,7 +5271,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "frame-support", "frame-system", @@ -5288,7 +5288,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-benchmarking" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5307,7 +5307,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-runtime-api" version = "1.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "parity-scale-codec", "sp-api", @@ -5317,7 +5317,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "frame-support", "frame-system", @@ -5334,7 +5334,7 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5357,7 +5357,7 @@ dependencies = [ [[package]] name = "pallet-preimage" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "frame-benchmarking", "frame-support", @@ -5373,7 +5373,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "frame-benchmarking", "frame-support", @@ -5388,7 +5388,7 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "frame-benchmarking", "frame-support", @@ -5403,7 +5403,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "frame-benchmarking", "frame-support", @@ -5419,7 +5419,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "frame-support", "frame-system", @@ -5440,7 +5440,7 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "frame-benchmarking", "frame-support", @@ -5456,7 +5456,7 @@ dependencies = [ [[package]] name = "pallet-society" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "frame-support", "frame-system", @@ -5470,7 +5470,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5493,7 +5493,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -5504,7 +5504,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-fn" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "log", "sp-arithmetic", @@ -5513,7 +5513,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "frame-support", "frame-system", @@ -5527,7 +5527,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "frame-benchmarking", "frame-support", @@ -5545,7 +5545,7 @@ dependencies = [ [[package]] name = "pallet-tips" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "frame-benchmarking", "frame-support", @@ -5564,7 +5564,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "frame-support", "frame-system", @@ -5580,7 +5580,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "jsonrpsee", "pallet-transaction-payment-rpc-runtime-api", @@ -5595,7 +5595,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -5606,7 +5606,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "frame-benchmarking", "frame-support", @@ -5623,7 +5623,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "frame-benchmarking", "frame-support", @@ -5639,7 +5639,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "frame-benchmarking", "frame-support", @@ -8115,7 +8115,7 @@ dependencies = [ [[package]] name = "remote-externalities" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "env_logger 0.9.0", "jsonrpsee", @@ -8457,7 +8457,7 @@ dependencies = [ [[package]] name = "sc-allocator" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "log", "sp-core", @@ -8468,7 +8468,7 @@ dependencies = [ [[package]] name = "sc-authority-discovery" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "async-trait", "futures", @@ -8495,7 +8495,7 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "futures", "futures-timer", @@ -8518,7 +8518,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -8534,7 +8534,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "impl-trait-for-tuples", "memmap2 0.5.0", @@ -8551,7 +8551,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -8562,7 +8562,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "chrono", "clap", @@ -8601,7 +8601,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "fnv", "futures", @@ -8629,7 +8629,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "hash-db", "kvdb", @@ -8654,7 +8654,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "async-trait", "futures", @@ -8678,7 +8678,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "async-trait", "fork-tree", @@ -8720,7 +8720,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "futures", "jsonrpsee", @@ -8742,7 +8742,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "fork-tree", "parity-scale-codec", @@ -8755,7 +8755,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "async-trait", "futures", @@ -8780,7 +8780,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "lazy_static", "lru 0.7.8", @@ -8807,7 +8807,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "environmental", "parity-scale-codec", @@ -8823,7 +8823,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmi" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "log", "parity-scale-codec", @@ -8838,7 +8838,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "cfg-if 1.0.0", "libc", @@ -8859,7 +8859,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "ahash", "async-trait", @@ -8900,7 +8900,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "finality-grandpa", "futures", @@ -8921,7 +8921,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "ansi_term", "futures", @@ -8938,7 +8938,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "async-trait", "hex", @@ -8953,7 +8953,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "async-trait", "asynchronous-codec", @@ -9002,7 +9002,7 @@ dependencies = [ [[package]] name = "sc-network-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "async-trait", "bitflags", @@ -9025,7 +9025,7 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "ahash", "futures", @@ -9043,7 +9043,7 @@ dependencies = [ [[package]] name = "sc-network-light" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "futures", "hex", @@ -9064,7 +9064,7 @@ dependencies = [ [[package]] name = "sc-network-sync" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "fork-tree", "futures", @@ -9092,7 +9092,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "bytes", "fnv", @@ -9122,7 +9122,7 @@ dependencies = [ [[package]] name = "sc-peerset" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "futures", "libp2p", @@ -9135,7 +9135,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -9144,7 +9144,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "futures", "hash-db", @@ -9174,7 +9174,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "futures", "jsonrpsee", @@ -9197,7 +9197,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "futures", "jsonrpsee", @@ -9210,7 +9210,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "async-trait", "directories", @@ -9277,7 +9277,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "log", "parity-scale-codec", @@ -9291,7 +9291,7 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -9310,7 +9310,7 @@ dependencies = [ [[package]] name = "sc-sysinfo" version = "6.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "futures", "libc", @@ -9329,7 +9329,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "chrono", "futures", @@ -9347,7 +9347,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "ansi_term", "atty", @@ -9378,7 +9378,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -9389,7 +9389,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "futures", "futures-timer", @@ -9415,7 +9415,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "futures", "log", @@ -9428,7 +9428,7 @@ dependencies = [ [[package]] name = "sc-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "futures", "futures-timer", @@ -9913,7 +9913,7 @@ dependencies = [ [[package]] name = "sp-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "hash-db", "log", @@ -9931,7 +9931,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "blake2", "proc-macro-crate", @@ -9943,7 +9943,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "parity-scale-codec", "scale-info", @@ -9956,7 +9956,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "integer-sqrt", "num-traits", @@ -9971,7 +9971,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "parity-scale-codec", "scale-info", @@ -9984,7 +9984,7 @@ dependencies = [ [[package]] name = "sp-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "async-trait", "parity-scale-codec", @@ -9996,7 +9996,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "parity-scale-codec", "sp-api", @@ -10008,7 +10008,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "futures", "log", @@ -10026,7 +10026,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "async-trait", "futures", @@ -10045,7 +10045,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "async-trait", "merlin", @@ -10068,7 +10068,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "parity-scale-codec", "scale-info", @@ -10082,7 +10082,7 @@ dependencies = [ [[package]] name = "sp-consensus-vrf" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "parity-scale-codec", "scale-info", @@ -10095,7 +10095,7 @@ dependencies = [ [[package]] name = "sp-core" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "base58", "bitflags", @@ -10141,7 +10141,7 @@ dependencies = [ [[package]] name = "sp-core-hashing" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "blake2", "byteorder", @@ -10155,7 +10155,7 @@ dependencies = [ [[package]] name = "sp-core-hashing-proc-macro" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "proc-macro2", "quote", @@ -10166,7 +10166,7 @@ dependencies = [ [[package]] name = "sp-database" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "kvdb", "parking_lot 0.12.1", @@ -10175,7 +10175,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "proc-macro2", "quote", @@ -10185,7 +10185,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "environmental", "parity-scale-codec", @@ -10196,7 +10196,7 @@ dependencies = [ [[package]] name = "sp-finality-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "finality-grandpa", "log", @@ -10214,7 +10214,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -10228,7 +10228,7 @@ dependencies = [ [[package]] name = "sp-io" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "bytes", "futures", @@ -10254,7 +10254,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "lazy_static", "sp-core", @@ -10265,7 +10265,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "async-trait", "futures", @@ -10282,7 +10282,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "thiserror", "zstd", @@ -10291,7 +10291,7 @@ dependencies = [ [[package]] name = "sp-mmr-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "log", "parity-scale-codec", @@ -10306,7 +10306,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "parity-scale-codec", "scale-info", @@ -10320,7 +10320,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "sp-api", "sp-core", @@ -10330,7 +10330,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "backtrace", "lazy_static", @@ -10340,7 +10340,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "rustc-hash", "serde", @@ -10350,7 +10350,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "either", "hash256-std-hasher", @@ -10372,7 +10372,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "bytes", "impl-trait-for-tuples", @@ -10390,7 +10390,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "Inflector", "proc-macro-crate", @@ -10402,7 +10402,7 @@ dependencies = [ [[package]] name = "sp-sandbox" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "log", "parity-scale-codec", @@ -10416,7 +10416,7 @@ dependencies = [ [[package]] name = "sp-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "parity-scale-codec", "scale-info", @@ -10430,7 +10430,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "parity-scale-codec", "scale-info", @@ -10441,7 +10441,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "hash-db", "log", @@ -10463,12 +10463,12 @@ dependencies = [ [[package]] name = "sp-std" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" [[package]] name = "sp-storage" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10481,7 +10481,7 @@ dependencies = [ [[package]] name = "sp-tasks" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "log", "sp-core", @@ -10494,7 +10494,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "async-trait", "futures-timer", @@ -10510,7 +10510,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "parity-scale-codec", "sp-std", @@ -10522,7 +10522,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "sp-api", "sp-runtime", @@ -10531,7 +10531,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "async-trait", "log", @@ -10547,7 +10547,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "ahash", "hash-db", @@ -10570,7 +10570,7 @@ dependencies = [ [[package]] name = "sp-version" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10587,7 +10587,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "parity-scale-codec", "proc-macro2", @@ -10598,7 +10598,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "impl-trait-for-tuples", "log", @@ -10772,7 +10772,7 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "platforms", ] @@ -10780,7 +10780,7 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "frame-system-rpc-runtime-api", "futures", @@ -10801,7 +10801,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "futures-util", "hyper", @@ -10814,7 +10814,7 @@ dependencies = [ [[package]] name = "substrate-state-trie-migration-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "jsonrpsee", "log", @@ -10835,7 +10835,7 @@ dependencies = [ [[package]] name = "substrate-test-client" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "async-trait", "futures", @@ -10861,7 +10861,7 @@ dependencies = [ [[package]] name = "substrate-test-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "futures", "substrate-test-utils-derive", @@ -10871,7 +10871,7 @@ dependencies = [ [[package]] name = "substrate-test-utils-derive" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -10882,7 +10882,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "ansi_term", "build-helper", @@ -11596,7 +11596,7 @@ checksum = "59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642" [[package]] name = "try-runtime-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#324a18e3c5cbf333672c54f9367f530ea976928d" +source = "git+https://github.com/paritytech/substrate?branch=master#ed12e6065c505a5225e2156985a75d1fb75fa0a4" dependencies = [ "clap", "frame-try-runtime", diff --git a/runtime/common/src/crowdloan/migration.rs b/runtime/common/src/crowdloan/migration.rs index 023faef61cf9..775d70f92458 100644 --- a/runtime/common/src/crowdloan/migration.rs +++ b/runtime/common/src/crowdloan/migration.rs @@ -90,7 +90,7 @@ pub mod crowdloan_index_migration { /// This migration converts crowdloans to use a crowdloan index rather than the parachain id as a /// unique identifier. This makes it easier to swap two crowdloans between parachains. pub fn migrate() -> frame_support::weights::Weight { - let mut weight = Weight::new(); + let mut weight = Weight::zero(); // First migrate `NextTrieIndex` counter to `NextFundIndex`. diff --git a/runtime/common/src/lib.rs b/runtime/common/src/lib.rs index 84c9745d7a23..24ed3b90d99c 100644 --- a/runtime/common/src/lib.rs +++ b/runtime/common/src/lib.rs @@ -69,7 +69,7 @@ pub const AVERAGE_ON_INITIALIZE_RATIO: Perbill = Perbill::from_percent(1); /// by Operational extrinsics. pub const NORMAL_DISPATCH_RATIO: Perbill = Perbill::from_percent(75); /// We allow for 2 seconds of compute with a 6 second average block time. -pub const MAXIMUM_BLOCK_WEIGHT: Weight = WEIGHT_PER_SECOND.scalar_saturating_mul(2); +pub const MAXIMUM_BLOCK_WEIGHT: Weight = WEIGHT_PER_SECOND.saturating_mul(2); const_assert!(NORMAL_DISPATCH_RATIO.deconstruct() >= AVERAGE_ON_INITIALIZE_RATIO.deconstruct()); diff --git a/runtime/common/src/slots/migration.rs b/runtime/common/src/slots/migration.rs index 82dd392451b8..33d221b209d5 100644 --- a/runtime/common/src/slots/migration.rs +++ b/runtime/common/src/slots/migration.rs @@ -51,7 +51,7 @@ pub mod slots_crowdloan_index_migration { } pub fn migrate() -> frame_support::weights::Weight { - let mut weight = Weight::new(); + let mut weight = Weight::zero(); for (para_id, mut leases) in Leases::::iter() { weight = weight.saturating_add(T::DbWeight::get().reads(2)); diff --git a/runtime/kusama/constants/src/weights/block_weights.rs b/runtime/kusama/constants/src/weights/block_weights.rs index 03eaa710b4d9..608a0206ba44 100644 --- a/runtime/kusama/constants/src/weights/block_weights.rs +++ b/runtime/kusama/constants/src/weights/block_weights.rs @@ -54,7 +54,7 @@ parameter_types! { /// 99th: 6_332_047 /// 95th: 6_308_225 /// 75th: 6_236_204 - pub const BlockExecutionWeight: Weight = WEIGHT_PER_NANOS.scalar_saturating_mul(6_192_341); + pub const BlockExecutionWeight: Weight = WEIGHT_PER_NANOS.saturating_mul(6_192_341); } #[cfg(test)] @@ -69,8 +69,8 @@ mod test_weights { let w = super::BlockExecutionWeight::get(); // At least 100 µs. - assert!(w >= 100 * constants::WEIGHT_PER_MICROS, "Weight should be at least 100 µs."); + assert!(w >= 100u64 * constants::WEIGHT_PER_MICROS, "Weight should be at least 100 µs."); // At most 50 ms. - assert!(w <= 50 * constants::WEIGHT_PER_MILLIS, "Weight should be at most 50 ms."); + assert!(w <= 50u64 * constants::WEIGHT_PER_MILLIS, "Weight should be at most 50 ms."); } } diff --git a/runtime/kusama/constants/src/weights/extrinsic_weights.rs b/runtime/kusama/constants/src/weights/extrinsic_weights.rs index f08cfc9322f0..7e27196cb4b9 100644 --- a/runtime/kusama/constants/src/weights/extrinsic_weights.rs +++ b/runtime/kusama/constants/src/weights/extrinsic_weights.rs @@ -53,7 +53,7 @@ parameter_types! { /// 99th: 87_527 /// 95th: 86_901 /// 75th: 86_308 - pub const ExtrinsicBaseWeight: Weight = WEIGHT_PER_NANOS.scalar_saturating_mul(86_309); + pub const ExtrinsicBaseWeight: Weight = WEIGHT_PER_NANOS.saturating_mul(86_309); } #[cfg(test)] @@ -68,7 +68,7 @@ mod test_weights { let w = super::ExtrinsicBaseWeight::get(); // At least 10 µs. - assert!(w >= 10 * constants::WEIGHT_PER_MICROS, "Weight should be at least 10 µs."); + assert!(w >= 10u64 * constants::WEIGHT_PER_MICROS, "Weight should be at least 10 µs."); // At most 1 ms. assert!(w <= constants::WEIGHT_PER_MILLIS, "Weight should be at most 1 ms."); } diff --git a/runtime/kusama/src/lib.rs b/runtime/kusama/src/lib.rs index e46627a7cf03..9997abcf3c9b 100644 --- a/runtime/kusama/src/lib.rs +++ b/runtime/kusama/src/lib.rs @@ -1141,7 +1141,7 @@ impl parachains_paras::Config for Runtime { } parameter_types! { - pub const FirstMessageFactorPercent: Weight = Weight::from_ref_time(100); + pub const FirstMessageFactorPercent: u64 = 100; } impl parachains_ump::Config for Runtime { diff --git a/runtime/kusama/src/weights/frame_benchmarking_baseline.rs b/runtime/kusama/src/weights/frame_benchmarking_baseline.rs index 3b34415ad3a9..71a4dd5cce5e 100644 --- a/runtime/kusama/src/weights/frame_benchmarking_baseline.rs +++ b/runtime/kusama/src/weights/frame_benchmarking_baseline.rs @@ -68,14 +68,14 @@ impl frame_benchmarking::baseline::WeightInfo for Weigh fn sr25519_verification(i: u32, ) -> Weight { Weight::from_ref_time(0 as RefTimeWeight) // Standard Error: 38_000 - .saturating_add(Weight::from_ref_time(47_929_000 as RefTimeWeight).scalar_saturating_mul(i as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(47_929_000 as RefTimeWeight).saturating_mul(i as RefTimeWeight)) } // Storage: Skipped Metadata (r:0 w:0) /// The range of component `i` is `[0, 1000]`. fn storage_read(i: u32, ) -> Weight { Weight::from_ref_time(0 as RefTimeWeight) // Standard Error: 4_000 - .saturating_add(Weight::from_ref_time(2_101_000 as RefTimeWeight).scalar_saturating_mul(i as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(2_101_000 as RefTimeWeight).saturating_mul(i as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads((1 as RefTimeWeight).saturating_mul(i as RefTimeWeight))) } // Storage: Skipped Metadata (r:0 w:0) @@ -83,7 +83,7 @@ impl frame_benchmarking::baseline::WeightInfo for Weigh fn storage_write(i: u32, ) -> Weight { Weight::from_ref_time(0 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(330_000 as RefTimeWeight).scalar_saturating_mul(i as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(330_000 as RefTimeWeight).saturating_mul(i as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes((1 as RefTimeWeight).saturating_mul(i as RefTimeWeight))) } } diff --git a/runtime/kusama/src/weights/frame_election_provider_support.rs b/runtime/kusama/src/weights/frame_election_provider_support.rs index 5b360500e56d..e0818ee9354a 100644 --- a/runtime/kusama/src/weights/frame_election_provider_support.rs +++ b/runtime/kusama/src/weights/frame_election_provider_support.rs @@ -50,9 +50,9 @@ impl frame_election_provider_support::WeightInfo for We fn phragmen(v: u32, _t: u32, d: u32, ) -> Weight { Weight::from_ref_time(0 as RefTimeWeight) // Standard Error: 87_000 - .saturating_add(Weight::from_ref_time(22_196_000 as RefTimeWeight).scalar_saturating_mul(v as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(22_196_000 as RefTimeWeight).saturating_mul(v as RefTimeWeight)) // Standard Error: 7_520_000 - .saturating_add(Weight::from_ref_time(3_555_366_000 as RefTimeWeight).scalar_saturating_mul(d as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(3_555_366_000 as RefTimeWeight).saturating_mul(d as RefTimeWeight)) } /// The range of component `v` is `[1000, 2000]`. /// The range of component `t` is `[500, 1000]`. @@ -60,8 +60,8 @@ impl frame_election_provider_support::WeightInfo for We fn phragmms(v: u32, _t: u32, d: u32, ) -> Weight { Weight::from_ref_time(0 as RefTimeWeight) // Standard Error: 74_000 - .saturating_add(Weight::from_ref_time(15_098_000 as RefTimeWeight).scalar_saturating_mul(v as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(15_098_000 as RefTimeWeight).saturating_mul(v as RefTimeWeight)) // Standard Error: 6_402_000 - .saturating_add(Weight::from_ref_time(2_580_118_000 as RefTimeWeight).scalar_saturating_mul(d as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(2_580_118_000 as RefTimeWeight).saturating_mul(d as RefTimeWeight)) } } diff --git a/runtime/kusama/src/weights/frame_system.rs b/runtime/kusama/src/weights/frame_system.rs index 2277ecf7641b..b4c6521d134c 100644 --- a/runtime/kusama/src/weights/frame_system.rs +++ b/runtime/kusama/src/weights/frame_system.rs @@ -48,13 +48,13 @@ impl frame_system::WeightInfo for WeightInfo { fn remark(b: u32, ) -> Weight { Weight::from_ref_time(0 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(1_000 as RefTimeWeight).scalar_saturating_mul(b as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(1_000 as RefTimeWeight).saturating_mul(b as RefTimeWeight)) } /// The range of component `b` is `[0, 3932160]`. fn remark_with_event(b: u32, ) -> Weight { Weight::from_ref_time(0 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).scalar_saturating_mul(b as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).saturating_mul(b as RefTimeWeight)) } // Storage: System Digest (r:1 w:1) // Storage: unknown [0x3a686561707061676573] (r:0 w:1) @@ -68,7 +68,7 @@ impl frame_system::WeightInfo for WeightInfo { fn set_storage(i: u32, ) -> Weight { Weight::from_ref_time(0 as RefTimeWeight) // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(550_000 as RefTimeWeight).scalar_saturating_mul(i as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(550_000 as RefTimeWeight).saturating_mul(i as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes((1 as RefTimeWeight).saturating_mul(i as RefTimeWeight))) } // Storage: Skipped Metadata (r:0 w:0) @@ -76,7 +76,7 @@ impl frame_system::WeightInfo for WeightInfo { fn kill_storage(i: u32, ) -> Weight { Weight::from_ref_time(0 as RefTimeWeight) // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(441_000 as RefTimeWeight).scalar_saturating_mul(i as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(441_000 as RefTimeWeight).saturating_mul(i as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes((1 as RefTimeWeight).saturating_mul(i as RefTimeWeight))) } // Storage: Skipped Metadata (r:0 w:0) @@ -84,7 +84,7 @@ impl frame_system::WeightInfo for WeightInfo { fn kill_prefix(p: u32, ) -> Weight { Weight::from_ref_time(0 as RefTimeWeight) // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(955_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(955_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes((1 as RefTimeWeight).saturating_mul(p as RefTimeWeight))) } } diff --git a/runtime/kusama/src/weights/pallet_bounties.rs b/runtime/kusama/src/weights/pallet_bounties.rs index f0c6f8b3925b..153d28e596ba 100644 --- a/runtime/kusama/src/weights/pallet_bounties.rs +++ b/runtime/kusama/src/weights/pallet_bounties.rs @@ -52,7 +52,7 @@ impl pallet_bounties::WeightInfo for WeightInfo { fn propose_bounty(d: u32, ) -> Weight { Weight::from_ref_time(26_654_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(1_000 as RefTimeWeight).scalar_saturating_mul(d as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(1_000 as RefTimeWeight).saturating_mul(d as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(4 as RefTimeWeight)) } @@ -130,7 +130,7 @@ impl pallet_bounties::WeightInfo for WeightInfo { fn spend_funds(b: u32, ) -> Weight { Weight::from_ref_time(0 as RefTimeWeight) // Standard Error: 30_000 - .saturating_add(Weight::from_ref_time(30_775_000 as RefTimeWeight).scalar_saturating_mul(b as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(30_775_000 as RefTimeWeight).saturating_mul(b as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads((3 as RefTimeWeight).saturating_mul(b as RefTimeWeight))) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) diff --git a/runtime/kusama/src/weights/pallet_child_bounties.rs b/runtime/kusama/src/weights/pallet_child_bounties.rs index 5a2e2e9754dd..d6a8cd07a382 100644 --- a/runtime/kusama/src/weights/pallet_child_bounties.rs +++ b/runtime/kusama/src/weights/pallet_child_bounties.rs @@ -54,7 +54,7 @@ impl pallet_child_bounties::WeightInfo for WeightInfo Weight { Weight::from_ref_time(48_890_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(1_000 as RefTimeWeight).scalar_saturating_mul(d as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(1_000 as RefTimeWeight).saturating_mul(d as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(5 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(6 as RefTimeWeight)) } diff --git a/runtime/kusama/src/weights/pallet_collective_council.rs b/runtime/kusama/src/weights/pallet_collective_council.rs index 49d794763166..7ce49603ad7e 100644 --- a/runtime/kusama/src/weights/pallet_collective_council.rs +++ b/runtime/kusama/src/weights/pallet_collective_council.rs @@ -51,11 +51,11 @@ impl pallet_collective::WeightInfo for WeightInfo { fn set_members(m: u32, n: u32, p: u32, ) -> Weight { Weight::from_ref_time(0 as RefTimeWeight) // Standard Error: 6_000 - .saturating_add(Weight::from_ref_time(14_448_000 as RefTimeWeight).scalar_saturating_mul(m as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(14_448_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight)) // Standard Error: 6_000 - .saturating_add(Weight::from_ref_time(85_000 as RefTimeWeight).scalar_saturating_mul(n as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(85_000 as RefTimeWeight).saturating_mul(n as RefTimeWeight)) // Standard Error: 6_000 - .saturating_add(Weight::from_ref_time(19_620_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(19_620_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads((1 as RefTimeWeight).saturating_mul(p as RefTimeWeight))) .saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight)) @@ -65,9 +65,9 @@ impl pallet_collective::WeightInfo for WeightInfo { fn execute(b: u32, m: u32, ) -> Weight { Weight::from_ref_time(22_536_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).scalar_saturating_mul(b as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).saturating_mul(b as RefTimeWeight)) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(84_000 as RefTimeWeight).scalar_saturating_mul(m as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(84_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight)) } // Storage: Instance1Collective Members (r:1 w:0) @@ -75,9 +75,9 @@ impl pallet_collective::WeightInfo for WeightInfo { fn propose_execute(b: u32, m: u32, ) -> Weight { Weight::from_ref_time(27_600_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).scalar_saturating_mul(b as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).saturating_mul(b as RefTimeWeight)) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(161_000 as RefTimeWeight).scalar_saturating_mul(m as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(161_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight)) } // Storage: Instance1Collective Members (r:1 w:0) @@ -88,11 +88,11 @@ impl pallet_collective::WeightInfo for WeightInfo { fn propose_proposed(b: u32, m: u32, p: u32, ) -> Weight { Weight::from_ref_time(42_192_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(4_000 as RefTimeWeight).scalar_saturating_mul(b as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(4_000 as RefTimeWeight).saturating_mul(b as RefTimeWeight)) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(87_000 as RefTimeWeight).scalar_saturating_mul(m as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(87_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight)) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(361_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(361_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(4 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(4 as RefTimeWeight)) } @@ -101,7 +101,7 @@ impl pallet_collective::WeightInfo for WeightInfo { fn vote(m: u32, ) -> Weight { Weight::from_ref_time(32_307_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(199_000 as RefTimeWeight).scalar_saturating_mul(m as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(199_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) } @@ -112,9 +112,9 @@ impl pallet_collective::WeightInfo for WeightInfo { fn close_early_disapproved(m: u32, p: u32, ) -> Weight { Weight::from_ref_time(41_436_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(170_000 as RefTimeWeight).scalar_saturating_mul(m as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(170_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight)) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(333_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(333_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight)) } @@ -125,11 +125,11 @@ impl pallet_collective::WeightInfo for WeightInfo { fn close_early_approved(b: u32, m: u32, p: u32, ) -> Weight { Weight::from_ref_time(57_836_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).scalar_saturating_mul(b as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).saturating_mul(b as RefTimeWeight)) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(170_000 as RefTimeWeight).scalar_saturating_mul(m as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(170_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight)) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(339_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(339_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(4 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight)) } @@ -141,9 +141,9 @@ impl pallet_collective::WeightInfo for WeightInfo { fn close_disapproved(m: u32, p: u32, ) -> Weight { Weight::from_ref_time(45_551_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(172_000 as RefTimeWeight).scalar_saturating_mul(m as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(172_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight)) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(338_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(338_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(4 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight)) } @@ -155,11 +155,11 @@ impl pallet_collective::WeightInfo for WeightInfo { fn close_approved(b: u32, m: u32, p: u32, ) -> Weight { Weight::from_ref_time(61_497_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).scalar_saturating_mul(b as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).saturating_mul(b as RefTimeWeight)) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(171_000 as RefTimeWeight).scalar_saturating_mul(m as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(171_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight)) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(343_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(343_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(5 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight)) } @@ -169,7 +169,7 @@ impl pallet_collective::WeightInfo for WeightInfo { fn disapprove_proposal(p: u32, ) -> Weight { Weight::from_ref_time(25_573_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(335_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(335_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight)) } diff --git a/runtime/kusama/src/weights/pallet_collective_technical_committee.rs b/runtime/kusama/src/weights/pallet_collective_technical_committee.rs index 582cda9faff4..4cede6730dda 100644 --- a/runtime/kusama/src/weights/pallet_collective_technical_committee.rs +++ b/runtime/kusama/src/weights/pallet_collective_technical_committee.rs @@ -51,11 +51,11 @@ impl pallet_collective::WeightInfo for WeightInfo { fn set_members(m: u32, n: u32, p: u32, ) -> Weight { Weight::from_ref_time(0 as RefTimeWeight) // Standard Error: 6_000 - .saturating_add(Weight::from_ref_time(14_473_000 as RefTimeWeight).scalar_saturating_mul(m as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(14_473_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight)) // Standard Error: 6_000 - .saturating_add(Weight::from_ref_time(73_000 as RefTimeWeight).scalar_saturating_mul(n as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(73_000 as RefTimeWeight).saturating_mul(n as RefTimeWeight)) // Standard Error: 6_000 - .saturating_add(Weight::from_ref_time(19_551_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(19_551_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads((1 as RefTimeWeight).saturating_mul(p as RefTimeWeight))) .saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight)) @@ -65,9 +65,9 @@ impl pallet_collective::WeightInfo for WeightInfo { fn execute(b: u32, m: u32, ) -> Weight { Weight::from_ref_time(22_690_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).scalar_saturating_mul(b as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).saturating_mul(b as RefTimeWeight)) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(80_000 as RefTimeWeight).scalar_saturating_mul(m as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(80_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight)) } // Storage: Instance2Collective Members (r:1 w:0) @@ -75,9 +75,9 @@ impl pallet_collective::WeightInfo for WeightInfo { fn propose_execute(b: u32, m: u32, ) -> Weight { Weight::from_ref_time(27_473_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).scalar_saturating_mul(b as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).saturating_mul(b as RefTimeWeight)) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(159_000 as RefTimeWeight).scalar_saturating_mul(m as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(159_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight)) } // Storage: Instance2Collective Members (r:1 w:0) @@ -88,11 +88,11 @@ impl pallet_collective::WeightInfo for WeightInfo { fn propose_proposed(b: u32, m: u32, p: u32, ) -> Weight { Weight::from_ref_time(42_047_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(4_000 as RefTimeWeight).scalar_saturating_mul(b as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(4_000 as RefTimeWeight).saturating_mul(b as RefTimeWeight)) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(85_000 as RefTimeWeight).scalar_saturating_mul(m as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(85_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight)) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(360_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(360_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(4 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(4 as RefTimeWeight)) } @@ -101,7 +101,7 @@ impl pallet_collective::WeightInfo for WeightInfo { fn vote(m: u32, ) -> Weight { Weight::from_ref_time(32_023_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(199_000 as RefTimeWeight).scalar_saturating_mul(m as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(199_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) } @@ -112,9 +112,9 @@ impl pallet_collective::WeightInfo for WeightInfo { fn close_early_disapproved(m: u32, p: u32, ) -> Weight { Weight::from_ref_time(41_107_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(171_000 as RefTimeWeight).scalar_saturating_mul(m as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(171_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight)) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(332_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(332_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight)) } @@ -125,11 +125,11 @@ impl pallet_collective::WeightInfo for WeightInfo { fn close_early_approved(b: u32, m: u32, p: u32, ) -> Weight { Weight::from_ref_time(57_783_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).scalar_saturating_mul(b as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).saturating_mul(b as RefTimeWeight)) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(167_000 as RefTimeWeight).scalar_saturating_mul(m as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(167_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight)) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(336_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(336_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(4 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight)) } @@ -141,9 +141,9 @@ impl pallet_collective::WeightInfo for WeightInfo { fn close_disapproved(m: u32, p: u32, ) -> Weight { Weight::from_ref_time(45_646_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(170_000 as RefTimeWeight).scalar_saturating_mul(m as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(170_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight)) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(335_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(335_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(4 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight)) } @@ -155,11 +155,11 @@ impl pallet_collective::WeightInfo for WeightInfo { fn close_approved(b: u32, m: u32, p: u32, ) -> Weight { Weight::from_ref_time(61_376_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).scalar_saturating_mul(b as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).saturating_mul(b as RefTimeWeight)) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(172_000 as RefTimeWeight).scalar_saturating_mul(m as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(172_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight)) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(339_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(339_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(5 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight)) } @@ -169,7 +169,7 @@ impl pallet_collective::WeightInfo for WeightInfo { fn disapprove_proposal(p: u32, ) -> Weight { Weight::from_ref_time(25_286_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(336_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(336_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight)) } diff --git a/runtime/kusama/src/weights/pallet_democracy.rs b/runtime/kusama/src/weights/pallet_democracy.rs index 05df67494e63..ebbe05d705de 100644 --- a/runtime/kusama/src/weights/pallet_democracy.rs +++ b/runtime/kusama/src/weights/pallet_democracy.rs @@ -58,7 +58,7 @@ impl pallet_democracy::WeightInfo for WeightInfo { fn second(s: u32, ) -> Weight { Weight::from_ref_time(27_807_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(69_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(69_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) } @@ -69,7 +69,7 @@ impl pallet_democracy::WeightInfo for WeightInfo { fn vote_new(r: u32, ) -> Weight { Weight::from_ref_time(35_336_000 as RefTimeWeight) // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(120_000 as RefTimeWeight).scalar_saturating_mul(r as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(120_000 as RefTimeWeight).saturating_mul(r as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight)) } @@ -80,7 +80,7 @@ impl pallet_democracy::WeightInfo for WeightInfo { fn vote_existing(r: u32, ) -> Weight { Weight::from_ref_time(35_107_000 as RefTimeWeight) // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(123_000 as RefTimeWeight).scalar_saturating_mul(r as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(123_000 as RefTimeWeight).saturating_mul(r as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight)) } @@ -101,7 +101,7 @@ impl pallet_democracy::WeightInfo for WeightInfo { fn blacklist(p: u32, ) -> Weight { Weight::from_ref_time(52_116_000 as RefTimeWeight) // Standard Error: 6_000 - .saturating_add(Weight::from_ref_time(194_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(194_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(5 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(6 as RefTimeWeight)) } @@ -111,7 +111,7 @@ impl pallet_democracy::WeightInfo for WeightInfo { fn external_propose(v: u32, ) -> Weight { Weight::from_ref_time(10_194_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(10_000 as RefTimeWeight).scalar_saturating_mul(v as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(10_000 as RefTimeWeight).saturating_mul(v as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) } @@ -139,7 +139,7 @@ impl pallet_democracy::WeightInfo for WeightInfo { fn veto_external(v: u32, ) -> Weight { Weight::from_ref_time(18_536_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(42_000 as RefTimeWeight).scalar_saturating_mul(v as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(42_000 as RefTimeWeight).saturating_mul(v as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight)) } @@ -150,7 +150,7 @@ impl pallet_democracy::WeightInfo for WeightInfo { fn cancel_proposal(p: u32, ) -> Weight { Weight::from_ref_time(42_174_000 as RefTimeWeight) // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(164_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(164_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight)) } @@ -165,7 +165,7 @@ impl pallet_democracy::WeightInfo for WeightInfo { fn cancel_queued(r: u32, ) -> Weight { Weight::from_ref_time(23_252_000 as RefTimeWeight) // Standard Error: 5_000 - .saturating_add(Weight::from_ref_time(2_242_000 as RefTimeWeight).scalar_saturating_mul(r as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(2_242_000 as RefTimeWeight).saturating_mul(r as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight)) } @@ -176,7 +176,7 @@ impl pallet_democracy::WeightInfo for WeightInfo { fn on_initialize_base(r: u32, ) -> Weight { Weight::from_ref_time(1_457_000 as RefTimeWeight) // Standard Error: 3_000 - .saturating_add(Weight::from_ref_time(2_956_000 as RefTimeWeight).scalar_saturating_mul(r as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(2_956_000 as RefTimeWeight).saturating_mul(r as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads((1 as RefTimeWeight).saturating_mul(r as RefTimeWeight))) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) @@ -191,7 +191,7 @@ impl pallet_democracy::WeightInfo for WeightInfo { fn on_initialize_base_with_launch_period(r: u32, ) -> Weight { Weight::from_ref_time(6_240_000 as RefTimeWeight) // Standard Error: 3_000 - .saturating_add(Weight::from_ref_time(2_963_000 as RefTimeWeight).scalar_saturating_mul(r as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(2_963_000 as RefTimeWeight).saturating_mul(r as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(5 as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads((1 as RefTimeWeight).saturating_mul(r as RefTimeWeight))) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) @@ -203,7 +203,7 @@ impl pallet_democracy::WeightInfo for WeightInfo { fn delegate(r: u32, ) -> Weight { Weight::from_ref_time(34_480_000 as RefTimeWeight) // Standard Error: 5_000 - .saturating_add(Weight::from_ref_time(3_908_000 as RefTimeWeight).scalar_saturating_mul(r as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(3_908_000 as RefTimeWeight).saturating_mul(r as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(4 as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads((1 as RefTimeWeight).saturating_mul(r as RefTimeWeight))) .saturating_add(T::DbWeight::get().writes(4 as RefTimeWeight)) @@ -215,7 +215,7 @@ impl pallet_democracy::WeightInfo for WeightInfo { fn undelegate(r: u32, ) -> Weight { Weight::from_ref_time(17_446_000 as RefTimeWeight) // Standard Error: 6_000 - .saturating_add(Weight::from_ref_time(3_917_000 as RefTimeWeight).scalar_saturating_mul(r as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(3_917_000 as RefTimeWeight).saturating_mul(r as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads((1 as RefTimeWeight).saturating_mul(r as RefTimeWeight))) .saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight)) @@ -231,7 +231,7 @@ impl pallet_democracy::WeightInfo for WeightInfo { fn note_preimage(b: u32, ) -> Weight { Weight::from_ref_time(25_720_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).scalar_saturating_mul(b as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).saturating_mul(b as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) } @@ -240,7 +240,7 @@ impl pallet_democracy::WeightInfo for WeightInfo { fn note_imminent_preimage(b: u32, ) -> Weight { Weight::from_ref_time(17_884_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).scalar_saturating_mul(b as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).saturating_mul(b as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) } @@ -250,7 +250,7 @@ impl pallet_democracy::WeightInfo for WeightInfo { fn reap_preimage(b: u32, ) -> Weight { Weight::from_ref_time(24_695_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(1_000 as RefTimeWeight).scalar_saturating_mul(b as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(1_000 as RefTimeWeight).saturating_mul(b as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) } @@ -261,7 +261,7 @@ impl pallet_democracy::WeightInfo for WeightInfo { fn unlock_remove(r: u32, ) -> Weight { Weight::from_ref_time(22_207_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(36_000 as RefTimeWeight).scalar_saturating_mul(r as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(36_000 as RefTimeWeight).saturating_mul(r as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight)) } @@ -272,7 +272,7 @@ impl pallet_democracy::WeightInfo for WeightInfo { fn unlock_set(r: u32, ) -> Weight { Weight::from_ref_time(21_561_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(110_000 as RefTimeWeight).scalar_saturating_mul(r as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(110_000 as RefTimeWeight).saturating_mul(r as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight)) } @@ -282,7 +282,7 @@ impl pallet_democracy::WeightInfo for WeightInfo { fn remove_vote(r: u32, ) -> Weight { Weight::from_ref_time(13_204_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(105_000 as RefTimeWeight).scalar_saturating_mul(r as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(105_000 as RefTimeWeight).saturating_mul(r as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight)) } @@ -292,7 +292,7 @@ impl pallet_democracy::WeightInfo for WeightInfo { fn remove_other_vote(r: u32, ) -> Weight { Weight::from_ref_time(12_994_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(106_000 as RefTimeWeight).scalar_saturating_mul(r as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(106_000 as RefTimeWeight).saturating_mul(r as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight)) } diff --git a/runtime/kusama/src/weights/pallet_election_provider_multi_phase.rs b/runtime/kusama/src/weights/pallet_election_provider_multi_phase.rs index c30a533c423a..7f4b32b87670 100644 --- a/runtime/kusama/src/weights/pallet_election_provider_multi_phase.rs +++ b/runtime/kusama/src/weights/pallet_election_provider_multi_phase.rs @@ -91,9 +91,9 @@ impl pallet_election_provider_multi_phase::WeightInfo f fn create_snapshot_internal(v: u32, t: u32, ) -> Weight { Weight::from_ref_time(37_912_000 as RefTimeWeight) // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(549_000 as RefTimeWeight).scalar_saturating_mul(v as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(549_000 as RefTimeWeight).saturating_mul(v as RefTimeWeight)) // Standard Error: 5_000 - .saturating_add(Weight::from_ref_time(69_000 as RefTimeWeight).scalar_saturating_mul(t as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(69_000 as RefTimeWeight).saturating_mul(t as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight)) } // Storage: ElectionProviderMultiPhase SignedSubmissionIndices (r:1 w:1) @@ -111,9 +111,9 @@ impl pallet_election_provider_multi_phase::WeightInfo f fn elect_queued(a: u32, d: u32, ) -> Weight { Weight::from_ref_time(0 as RefTimeWeight) // Standard Error: 13_000 - .saturating_add(Weight::from_ref_time(1_310_000 as RefTimeWeight).scalar_saturating_mul(a as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(1_310_000 as RefTimeWeight).saturating_mul(a as RefTimeWeight)) // Standard Error: 20_000 - .saturating_add(Weight::from_ref_time(246_000 as RefTimeWeight).scalar_saturating_mul(d as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(246_000 as RefTimeWeight).saturating_mul(d as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(7 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(9 as RefTimeWeight)) } @@ -142,11 +142,11 @@ impl pallet_election_provider_multi_phase::WeightInfo f fn submit_unsigned(v: u32, _t: u32, a: u32, d: u32, ) -> Weight { Weight::from_ref_time(196_420_000 as RefTimeWeight) // Standard Error: 7_000 - .saturating_add(Weight::from_ref_time(887_000 as RefTimeWeight).scalar_saturating_mul(v as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(887_000 as RefTimeWeight).saturating_mul(v as RefTimeWeight)) // Standard Error: 24_000 - .saturating_add(Weight::from_ref_time(10_943_000 as RefTimeWeight).scalar_saturating_mul(a as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(10_943_000 as RefTimeWeight).saturating_mul(a as RefTimeWeight)) // Standard Error: 36_000 - .saturating_add(Weight::from_ref_time(1_604_000 as RefTimeWeight).scalar_saturating_mul(d as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(1_604_000 as RefTimeWeight).saturating_mul(d as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(7 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) } @@ -161,13 +161,13 @@ impl pallet_election_provider_multi_phase::WeightInfo f fn feasibility_check(v: u32, t: u32, a: u32, d: u32, ) -> Weight { Weight::from_ref_time(0 as RefTimeWeight) // Standard Error: 5_000 - .saturating_add(Weight::from_ref_time(907_000 as RefTimeWeight).scalar_saturating_mul(v as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(907_000 as RefTimeWeight).saturating_mul(v as RefTimeWeight)) // Standard Error: 11_000 - .saturating_add(Weight::from_ref_time(64_000 as RefTimeWeight).scalar_saturating_mul(t as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(64_000 as RefTimeWeight).saturating_mul(t as RefTimeWeight)) // Standard Error: 19_000 - .saturating_add(Weight::from_ref_time(8_768_000 as RefTimeWeight).scalar_saturating_mul(a as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(8_768_000 as RefTimeWeight).saturating_mul(a as RefTimeWeight)) // Standard Error: 29_000 - .saturating_add(Weight::from_ref_time(912_000 as RefTimeWeight).scalar_saturating_mul(d as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(912_000 as RefTimeWeight).saturating_mul(d as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(4 as RefTimeWeight)) } } diff --git a/runtime/kusama/src/weights/pallet_elections_phragmen.rs b/runtime/kusama/src/weights/pallet_elections_phragmen.rs index ade650d3ef1d..d955a2baee2e 100644 --- a/runtime/kusama/src/weights/pallet_elections_phragmen.rs +++ b/runtime/kusama/src/weights/pallet_elections_phragmen.rs @@ -53,7 +53,7 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn fn vote_equal(v: u32, ) -> Weight { Weight::from_ref_time(24_107_000 as RefTimeWeight) // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(184_000 as RefTimeWeight).scalar_saturating_mul(v as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(184_000 as RefTimeWeight).saturating_mul(v as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(5 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight)) } @@ -66,7 +66,7 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn fn vote_more(v: u32, ) -> Weight { Weight::from_ref_time(36_869_000 as RefTimeWeight) // Standard Error: 5_000 - .saturating_add(Weight::from_ref_time(165_000 as RefTimeWeight).scalar_saturating_mul(v as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(165_000 as RefTimeWeight).saturating_mul(v as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(5 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight)) } @@ -79,7 +79,7 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn fn vote_less(v: u32, ) -> Weight { Weight::from_ref_time(36_445_000 as RefTimeWeight) // Standard Error: 4_000 - .saturating_add(Weight::from_ref_time(199_000 as RefTimeWeight).scalar_saturating_mul(v as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(199_000 as RefTimeWeight).saturating_mul(v as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(5 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight)) } @@ -97,7 +97,7 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn fn submit_candidacy(c: u32, ) -> Weight { Weight::from_ref_time(25_946_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(101_000 as RefTimeWeight).scalar_saturating_mul(c as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(101_000 as RefTimeWeight).saturating_mul(c as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) } @@ -106,7 +106,7 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn fn renounce_candidacy_candidate(c: u32, ) -> Weight { Weight::from_ref_time(22_945_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(69_000 as RefTimeWeight).scalar_saturating_mul(c as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(69_000 as RefTimeWeight).saturating_mul(c as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) } @@ -152,7 +152,7 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn fn clean_defunct_voters(v: u32, _d: u32, ) -> Weight { Weight::from_ref_time(0 as RefTimeWeight) // Standard Error: 85_000 - .saturating_add(Weight::from_ref_time(61_507_000 as RefTimeWeight).scalar_saturating_mul(v as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(61_507_000 as RefTimeWeight).saturating_mul(v as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(4 as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads((3 as RefTimeWeight).saturating_mul(v as RefTimeWeight))) .saturating_add(T::DbWeight::get().writes((3 as RefTimeWeight).saturating_mul(v as RefTimeWeight))) @@ -172,9 +172,9 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn fn election_phragmen(c: u32, v: u32, e: u32, ) -> Weight { Weight::from_ref_time(0 as RefTimeWeight) // Standard Error: 1_864_000 - .saturating_add(Weight::from_ref_time(167_385_000 as RefTimeWeight).scalar_saturating_mul(v as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(167_385_000 as RefTimeWeight).saturating_mul(v as RefTimeWeight)) // Standard Error: 124_000 - .saturating_add(Weight::from_ref_time(9_721_000 as RefTimeWeight).scalar_saturating_mul(e as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(9_721_000 as RefTimeWeight).saturating_mul(e as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(265 as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads((1 as RefTimeWeight).saturating_mul(c as RefTimeWeight))) .saturating_add(T::DbWeight::get().reads((1 as RefTimeWeight).saturating_mul(v as RefTimeWeight))) diff --git a/runtime/kusama/src/weights/pallet_gilt.rs b/runtime/kusama/src/weights/pallet_gilt.rs index ae81deb9afb7..dec9f70fc540 100644 --- a/runtime/kusama/src/weights/pallet_gilt.rs +++ b/runtime/kusama/src/weights/pallet_gilt.rs @@ -50,7 +50,7 @@ impl pallet_gilt::WeightInfo for WeightInfo { fn place_bid(l: u32, ) -> Weight { Weight::from_ref_time(36_767_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(115_000 as RefTimeWeight).scalar_saturating_mul(l as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(115_000 as RefTimeWeight).saturating_mul(l as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight)) } @@ -67,7 +67,7 @@ impl pallet_gilt::WeightInfo for WeightInfo { fn retract_bid(l: u32, ) -> Weight { Weight::from_ref_time(37_108_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(94_000 as RefTimeWeight).scalar_saturating_mul(l as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(94_000 as RefTimeWeight).saturating_mul(l as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight)) } @@ -97,7 +97,7 @@ impl pallet_gilt::WeightInfo for WeightInfo { fn pursue_target_per_item(b: u32, ) -> Weight { Weight::from_ref_time(21_464_000 as RefTimeWeight) // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(4_387_000 as RefTimeWeight).scalar_saturating_mul(b as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(4_387_000 as RefTimeWeight).saturating_mul(b as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes((1 as RefTimeWeight).saturating_mul(b as RefTimeWeight))) @@ -110,7 +110,7 @@ impl pallet_gilt::WeightInfo for WeightInfo { fn pursue_target_per_queue(q: u32, ) -> Weight { Weight::from_ref_time(12_881_000 as RefTimeWeight) // Standard Error: 8_000 - .saturating_add(Weight::from_ref_time(8_285_000 as RefTimeWeight).scalar_saturating_mul(q as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(8_285_000 as RefTimeWeight).saturating_mul(q as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads((1 as RefTimeWeight).saturating_mul(q as RefTimeWeight))) .saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight)) diff --git a/runtime/kusama/src/weights/pallet_identity.rs b/runtime/kusama/src/weights/pallet_identity.rs index 1f2b68cf0bf0..428475d9be48 100644 --- a/runtime/kusama/src/weights/pallet_identity.rs +++ b/runtime/kusama/src/weights/pallet_identity.rs @@ -49,7 +49,7 @@ impl pallet_identity::WeightInfo for WeightInfo { fn add_registrar(r: u32, ) -> Weight { Weight::from_ref_time(16_146_000 as RefTimeWeight) // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(164_000 as RefTimeWeight).scalar_saturating_mul(r as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(164_000 as RefTimeWeight).saturating_mul(r as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) } @@ -59,9 +59,9 @@ impl pallet_identity::WeightInfo for WeightInfo { fn set_identity(r: u32, x: u32, ) -> Weight { Weight::from_ref_time(28_556_000 as RefTimeWeight) // Standard Error: 7_000 - .saturating_add(Weight::from_ref_time(208_000 as RefTimeWeight).scalar_saturating_mul(r as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(208_000 as RefTimeWeight).saturating_mul(r as RefTimeWeight)) // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(371_000 as RefTimeWeight).scalar_saturating_mul(x as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(371_000 as RefTimeWeight).saturating_mul(x as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) } @@ -72,7 +72,7 @@ impl pallet_identity::WeightInfo for WeightInfo { fn set_subs_new(s: u32, ) -> Weight { Weight::from_ref_time(25_214_000 as RefTimeWeight) // Standard Error: 6_000 - .saturating_add(Weight::from_ref_time(3_032_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(3_032_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads((1 as RefTimeWeight).saturating_mul(s as RefTimeWeight))) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) @@ -85,7 +85,7 @@ impl pallet_identity::WeightInfo for WeightInfo { fn set_subs_old(p: u32, ) -> Weight { Weight::from_ref_time(26_402_000 as RefTimeWeight) // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(916_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(916_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes((1 as RefTimeWeight).saturating_mul(p as RefTimeWeight))) @@ -99,11 +99,11 @@ impl pallet_identity::WeightInfo for WeightInfo { fn clear_identity(r: u32, s: u32, x: u32, ) -> Weight { Weight::from_ref_time(32_822_000 as RefTimeWeight) // Standard Error: 5_000 - .saturating_add(Weight::from_ref_time(74_000 as RefTimeWeight).scalar_saturating_mul(r as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(74_000 as RefTimeWeight).saturating_mul(r as RefTimeWeight)) // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(909_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(909_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(166_000 as RefTimeWeight).scalar_saturating_mul(x as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(166_000 as RefTimeWeight).saturating_mul(x as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes((1 as RefTimeWeight).saturating_mul(s as RefTimeWeight))) @@ -115,9 +115,9 @@ impl pallet_identity::WeightInfo for WeightInfo { fn request_judgement(r: u32, x: u32, ) -> Weight { Weight::from_ref_time(30_696_000 as RefTimeWeight) // Standard Error: 4_000 - .saturating_add(Weight::from_ref_time(163_000 as RefTimeWeight).scalar_saturating_mul(r as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(163_000 as RefTimeWeight).saturating_mul(r as RefTimeWeight)) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(377_000 as RefTimeWeight).scalar_saturating_mul(x as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(377_000 as RefTimeWeight).saturating_mul(x as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) } @@ -127,9 +127,9 @@ impl pallet_identity::WeightInfo for WeightInfo { fn cancel_request(r: u32, x: u32, ) -> Weight { Weight::from_ref_time(28_144_000 as RefTimeWeight) // Standard Error: 4_000 - .saturating_add(Weight::from_ref_time(144_000 as RefTimeWeight).scalar_saturating_mul(r as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(144_000 as RefTimeWeight).saturating_mul(r as RefTimeWeight)) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(363_000 as RefTimeWeight).scalar_saturating_mul(x as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(363_000 as RefTimeWeight).saturating_mul(x as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) } @@ -138,7 +138,7 @@ impl pallet_identity::WeightInfo for WeightInfo { fn set_fee(r: u32, ) -> Weight { Weight::from_ref_time(7_135_000 as RefTimeWeight) // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(135_000 as RefTimeWeight).scalar_saturating_mul(r as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(135_000 as RefTimeWeight).saturating_mul(r as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) } @@ -147,7 +147,7 @@ impl pallet_identity::WeightInfo for WeightInfo { fn set_account_id(r: u32, ) -> Weight { Weight::from_ref_time(6_861_000 as RefTimeWeight) // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(140_000 as RefTimeWeight).scalar_saturating_mul(r as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(140_000 as RefTimeWeight).saturating_mul(r as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) } @@ -156,7 +156,7 @@ impl pallet_identity::WeightInfo for WeightInfo { fn set_fields(r: u32, ) -> Weight { Weight::from_ref_time(7_143_000 as RefTimeWeight) // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(133_000 as RefTimeWeight).scalar_saturating_mul(r as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(133_000 as RefTimeWeight).saturating_mul(r as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) } @@ -167,9 +167,9 @@ impl pallet_identity::WeightInfo for WeightInfo { fn provide_judgement(r: u32, x: u32, ) -> Weight { Weight::from_ref_time(21_902_000 as RefTimeWeight) // Standard Error: 6_000 - .saturating_add(Weight::from_ref_time(109_000 as RefTimeWeight).scalar_saturating_mul(r as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(109_000 as RefTimeWeight).saturating_mul(r as RefTimeWeight)) // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(378_000 as RefTimeWeight).scalar_saturating_mul(x as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(378_000 as RefTimeWeight).saturating_mul(x as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) } @@ -183,7 +183,7 @@ impl pallet_identity::WeightInfo for WeightInfo { fn kill_identity(_r: u32, s: u32, _x: u32, ) -> Weight { Weight::from_ref_time(48_712_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(903_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(903_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes((1 as RefTimeWeight).saturating_mul(s as RefTimeWeight))) @@ -195,7 +195,7 @@ impl pallet_identity::WeightInfo for WeightInfo { fn add_sub(s: u32, ) -> Weight { Weight::from_ref_time(33_860_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(97_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(97_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight)) } @@ -205,7 +205,7 @@ impl pallet_identity::WeightInfo for WeightInfo { fn rename_sub(s: u32, ) -> Weight { Weight::from_ref_time(12_063_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(27_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(27_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) } @@ -216,7 +216,7 @@ impl pallet_identity::WeightInfo for WeightInfo { fn remove_sub(s: u32, ) -> Weight { Weight::from_ref_time(34_418_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(84_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(84_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight)) } @@ -226,7 +226,7 @@ impl pallet_identity::WeightInfo for WeightInfo { fn quit_sub(s: u32, ) -> Weight { Weight::from_ref_time(24_186_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(77_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(77_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight)) } diff --git a/runtime/kusama/src/weights/pallet_im_online.rs b/runtime/kusama/src/weights/pallet_im_online.rs index 054304d06548..956ab856a292 100644 --- a/runtime/kusama/src/weights/pallet_im_online.rs +++ b/runtime/kusama/src/weights/pallet_im_online.rs @@ -54,9 +54,9 @@ impl pallet_im_online::WeightInfo for WeightInfo { fn validate_unsigned_and_then_heartbeat(k: u32, e: u32, ) -> Weight { Weight::from_ref_time(76_307_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(25_000 as RefTimeWeight).scalar_saturating_mul(k as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(25_000 as RefTimeWeight).saturating_mul(k as RefTimeWeight)) // Standard Error: 4_000 - .saturating_add(Weight::from_ref_time(339_000 as RefTimeWeight).scalar_saturating_mul(e as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(339_000 as RefTimeWeight).saturating_mul(e as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(4 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) } diff --git a/runtime/kusama/src/weights/pallet_membership.rs b/runtime/kusama/src/weights/pallet_membership.rs index 1f5f14689f75..5902f10124fc 100644 --- a/runtime/kusama/src/weights/pallet_membership.rs +++ b/runtime/kusama/src/weights/pallet_membership.rs @@ -52,7 +52,7 @@ impl pallet_membership::WeightInfo for WeightInfo { fn add_member(m: u32, ) -> Weight { Weight::from_ref_time(17_986_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(61_000 as RefTimeWeight).scalar_saturating_mul(m as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(61_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight)) } @@ -65,7 +65,7 @@ impl pallet_membership::WeightInfo for WeightInfo { fn remove_member(m: u32, ) -> Weight { Weight::from_ref_time(20_684_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(49_000 as RefTimeWeight).scalar_saturating_mul(m as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(49_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight)) } @@ -78,7 +78,7 @@ impl pallet_membership::WeightInfo for WeightInfo { fn swap_member(m: u32, ) -> Weight { Weight::from_ref_time(20_694_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(61_000 as RefTimeWeight).scalar_saturating_mul(m as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(61_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight)) } @@ -91,7 +91,7 @@ impl pallet_membership::WeightInfo for WeightInfo { fn reset_member(m: u32, ) -> Weight { Weight::from_ref_time(19_769_000 as RefTimeWeight) // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(186_000 as RefTimeWeight).scalar_saturating_mul(m as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(186_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight)) } @@ -104,7 +104,7 @@ impl pallet_membership::WeightInfo for WeightInfo { fn change_key(m: u32, ) -> Weight { Weight::from_ref_time(20_908_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(58_000 as RefTimeWeight).scalar_saturating_mul(m as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(58_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(4 as RefTimeWeight)) } @@ -115,7 +115,7 @@ impl pallet_membership::WeightInfo for WeightInfo { fn set_prime(m: u32, ) -> Weight { Weight::from_ref_time(7_054_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(10_000 as RefTimeWeight).scalar_saturating_mul(m as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(10_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight)) } @@ -125,7 +125,7 @@ impl pallet_membership::WeightInfo for WeightInfo { fn clear_prime(m: u32, ) -> Weight { Weight::from_ref_time(3_942_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(1_000 as RefTimeWeight).scalar_saturating_mul(m as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(1_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight)) } } diff --git a/runtime/kusama/src/weights/pallet_multisig.rs b/runtime/kusama/src/weights/pallet_multisig.rs index 801e6abd3bf6..f028e947b6f9 100644 --- a/runtime/kusama/src/weights/pallet_multisig.rs +++ b/runtime/kusama/src/weights/pallet_multisig.rs @@ -48,7 +48,7 @@ impl pallet_multisig::WeightInfo for WeightInfo { fn as_multi_threshold_1(z: u32, ) -> Weight { Weight::from_ref_time(15_530_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(1_000 as RefTimeWeight).scalar_saturating_mul(z as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(1_000 as RefTimeWeight).saturating_mul(z as RefTimeWeight)) } // Storage: Multisig Multisigs (r:1 w:1) // Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0) @@ -57,9 +57,9 @@ impl pallet_multisig::WeightInfo for WeightInfo { fn as_multi_create(s: u32, z: u32, ) -> Weight { Weight::from_ref_time(32_158_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(100_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(100_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).scalar_saturating_mul(z as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).saturating_mul(z as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) } @@ -71,9 +71,9 @@ impl pallet_multisig::WeightInfo for WeightInfo { fn as_multi_create_store(s: u32, z: u32, ) -> Weight { Weight::from_ref_time(35_654_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(103_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(103_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).scalar_saturating_mul(z as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).saturating_mul(z as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight)) } @@ -83,9 +83,9 @@ impl pallet_multisig::WeightInfo for WeightInfo { fn as_multi_approve(s: u32, z: u32, ) -> Weight { Weight::from_ref_time(21_105_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(100_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(100_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).scalar_saturating_mul(z as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).saturating_mul(z as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) } @@ -96,9 +96,9 @@ impl pallet_multisig::WeightInfo for WeightInfo { fn as_multi_approve_store(s: u32, z: u32, ) -> Weight { Weight::from_ref_time(33_427_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(117_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(117_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).scalar_saturating_mul(z as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).saturating_mul(z as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight)) } @@ -110,9 +110,9 @@ impl pallet_multisig::WeightInfo for WeightInfo { fn as_multi_complete(s: u32, z: u32, ) -> Weight { Weight::from_ref_time(43_547_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(129_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(129_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).scalar_saturating_mul(z as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).saturating_mul(z as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight)) } @@ -122,7 +122,7 @@ impl pallet_multisig::WeightInfo for WeightInfo { fn approve_as_multi_create(s: u32, ) -> Weight { Weight::from_ref_time(31_185_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(114_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(114_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) } @@ -132,7 +132,7 @@ impl pallet_multisig::WeightInfo for WeightInfo { fn approve_as_multi_approve(s: u32, ) -> Weight { Weight::from_ref_time(20_549_000 as RefTimeWeight) // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(107_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(107_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) } @@ -143,7 +143,7 @@ impl pallet_multisig::WeightInfo for WeightInfo { fn approve_as_multi_complete(s: u32, ) -> Weight { Weight::from_ref_time(65_686_000 as RefTimeWeight) // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(130_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(130_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight)) } @@ -153,7 +153,7 @@ impl pallet_multisig::WeightInfo for WeightInfo { fn cancel_as_multi(s: u32, ) -> Weight { Weight::from_ref_time(47_339_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(112_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(112_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight)) } diff --git a/runtime/kusama/src/weights/pallet_nomination_pools.rs b/runtime/kusama/src/weights/pallet_nomination_pools.rs index d9223b8fd541..b1954a90b96a 100644 --- a/runtime/kusama/src/weights/pallet_nomination_pools.rs +++ b/runtime/kusama/src/weights/pallet_nomination_pools.rs @@ -126,7 +126,7 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo fn pool_withdraw_unbonded(s: u32, ) -> Weight { Weight::from_ref_time(40_979_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(31_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(31_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(4 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight)) } @@ -142,7 +142,7 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo fn withdraw_unbonded_update(s: u32, ) -> Weight { Weight::from_ref_time(79_501_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(41_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(41_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(8 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(7 as RefTimeWeight)) } @@ -169,7 +169,7 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo fn withdraw_unbonded_kill(s: u32, ) -> Weight { Weight::from_ref_time(139_080_000 as RefTimeWeight) // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(7_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(7_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(19 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(16 as RefTimeWeight)) } @@ -216,7 +216,7 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo fn nominate(n: u32, ) -> Weight { Weight::from_ref_time(50_212_000 as RefTimeWeight) // Standard Error: 4_000 - .saturating_add(Weight::from_ref_time(2_152_000 as RefTimeWeight).scalar_saturating_mul(n as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(2_152_000 as RefTimeWeight).saturating_mul(n as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(12 as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads((1 as RefTimeWeight).saturating_mul(n as RefTimeWeight))) .saturating_add(T::DbWeight::get().writes(5 as RefTimeWeight)) @@ -235,7 +235,7 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo fn set_metadata(n: u32, ) -> Weight { Weight::from_ref_time(14_203_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(1_000 as RefTimeWeight).scalar_saturating_mul(n as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(1_000 as RefTimeWeight).saturating_mul(n as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight)) } diff --git a/runtime/kusama/src/weights/pallet_preimage.rs b/runtime/kusama/src/weights/pallet_preimage.rs index 42e071f0fb0b..a861906ee1a0 100644 --- a/runtime/kusama/src/weights/pallet_preimage.rs +++ b/runtime/kusama/src/weights/pallet_preimage.rs @@ -50,7 +50,7 @@ impl pallet_preimage::WeightInfo for WeightInfo { fn note_preimage(s: u32, ) -> Weight { Weight::from_ref_time(0 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight)) } @@ -60,7 +60,7 @@ impl pallet_preimage::WeightInfo for WeightInfo { fn note_requested_preimage(s: u32, ) -> Weight { Weight::from_ref_time(0 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) } @@ -70,7 +70,7 @@ impl pallet_preimage::WeightInfo for WeightInfo { fn note_no_deposit_preimage(s: u32, ) -> Weight { Weight::from_ref_time(0 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) } diff --git a/runtime/kusama/src/weights/pallet_proxy.rs b/runtime/kusama/src/weights/pallet_proxy.rs index 686c7d8d04d3..c5237ff3c7a2 100644 --- a/runtime/kusama/src/weights/pallet_proxy.rs +++ b/runtime/kusama/src/weights/pallet_proxy.rs @@ -49,7 +49,7 @@ impl pallet_proxy::WeightInfo for WeightInfo { fn proxy(p: u32, ) -> Weight { Weight::from_ref_time(17_720_000 as RefTimeWeight) // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(70_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(70_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight)) } // Storage: Proxy Proxies (r:1 w:0) @@ -60,9 +60,9 @@ impl pallet_proxy::WeightInfo for WeightInfo { fn proxy_announced(a: u32, p: u32, ) -> Weight { Weight::from_ref_time(33_323_000 as RefTimeWeight) // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(187_000 as RefTimeWeight).scalar_saturating_mul(a as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(187_000 as RefTimeWeight).saturating_mul(a as RefTimeWeight)) // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(49_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(49_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight)) } @@ -73,9 +73,9 @@ impl pallet_proxy::WeightInfo for WeightInfo { fn remove_announcement(a: u32, p: u32, ) -> Weight { Weight::from_ref_time(22_697_000 as RefTimeWeight) // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(170_000 as RefTimeWeight).scalar_saturating_mul(a as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(170_000 as RefTimeWeight).saturating_mul(a as RefTimeWeight)) // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(12_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(12_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight)) } @@ -86,9 +86,9 @@ impl pallet_proxy::WeightInfo for WeightInfo { fn reject_announcement(a: u32, p: u32, ) -> Weight { Weight::from_ref_time(22_575_000 as RefTimeWeight) // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(177_000 as RefTimeWeight).scalar_saturating_mul(a as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(177_000 as RefTimeWeight).saturating_mul(a as RefTimeWeight)) // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(6_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(6_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight)) } @@ -100,9 +100,9 @@ impl pallet_proxy::WeightInfo for WeightInfo { fn announce(a: u32, p: u32, ) -> Weight { Weight::from_ref_time(30_349_000 as RefTimeWeight) // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(168_000 as RefTimeWeight).scalar_saturating_mul(a as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(168_000 as RefTimeWeight).saturating_mul(a as RefTimeWeight)) // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(41_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(41_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight)) } @@ -111,7 +111,7 @@ impl pallet_proxy::WeightInfo for WeightInfo { fn add_proxy(p: u32, ) -> Weight { Weight::from_ref_time(25_144_000 as RefTimeWeight) // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(105_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(105_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) } @@ -120,7 +120,7 @@ impl pallet_proxy::WeightInfo for WeightInfo { fn remove_proxy(p: u32, ) -> Weight { Weight::from_ref_time(24_770_000 as RefTimeWeight) // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(131_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(131_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) } @@ -129,7 +129,7 @@ impl pallet_proxy::WeightInfo for WeightInfo { fn remove_proxies(p: u32, ) -> Weight { Weight::from_ref_time(20_974_000 as RefTimeWeight) // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(72_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(72_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) } @@ -139,7 +139,7 @@ impl pallet_proxy::WeightInfo for WeightInfo { fn anonymous(p: u32, ) -> Weight { Weight::from_ref_time(28_658_000 as RefTimeWeight) // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(30_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(30_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) } @@ -148,7 +148,7 @@ impl pallet_proxy::WeightInfo for WeightInfo { fn kill_anonymous(p: u32, ) -> Weight { Weight::from_ref_time(22_082_000 as RefTimeWeight) // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(56_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(56_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) } diff --git a/runtime/kusama/src/weights/pallet_scheduler.rs b/runtime/kusama/src/weights/pallet_scheduler.rs index 0dae115c5e59..ab4e331a2844 100644 --- a/runtime/kusama/src/weights/pallet_scheduler.rs +++ b/runtime/kusama/src/weights/pallet_scheduler.rs @@ -52,7 +52,7 @@ impl pallet_scheduler::WeightInfo for WeightInfo { fn on_initialize_periodic_named_resolved(s: u32, ) -> Weight { Weight::from_ref_time(1_256_000 as RefTimeWeight) // Standard Error: 42_000 - .saturating_add(Weight::from_ref_time(26_925_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(26_925_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads((3 as RefTimeWeight).saturating_mul(s as RefTimeWeight))) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) @@ -66,7 +66,7 @@ impl pallet_scheduler::WeightInfo for WeightInfo { fn on_initialize_named_resolved(s: u32, ) -> Weight { Weight::from_ref_time(921_000 as RefTimeWeight) // Standard Error: 35_000 - .saturating_add(Weight::from_ref_time(21_922_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(21_922_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads((2 as RefTimeWeight).saturating_mul(s as RefTimeWeight))) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) @@ -79,7 +79,7 @@ impl pallet_scheduler::WeightInfo for WeightInfo { fn on_initialize_periodic_resolved(s: u32, ) -> Weight { Weight::from_ref_time(0 as RefTimeWeight) // Standard Error: 62_000 - .saturating_add(Weight::from_ref_time(24_926_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(24_926_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads((3 as RefTimeWeight).saturating_mul(s as RefTimeWeight))) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) @@ -92,7 +92,7 @@ impl pallet_scheduler::WeightInfo for WeightInfo { fn on_initialize_resolved(s: u32, ) -> Weight { Weight::from_ref_time(10_674_000 as RefTimeWeight) // Standard Error: 31_000 - .saturating_add(Weight::from_ref_time(20_631_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(20_631_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads((2 as RefTimeWeight).saturating_mul(s as RefTimeWeight))) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) @@ -105,7 +105,7 @@ impl pallet_scheduler::WeightInfo for WeightInfo { fn on_initialize_named_aborted(s: u32, ) -> Weight { Weight::from_ref_time(2_607_000 as RefTimeWeight) // Standard Error: 20_000 - .saturating_add(Weight::from_ref_time(10_009_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(10_009_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads((1 as RefTimeWeight).saturating_mul(s as RefTimeWeight))) .saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight)) @@ -117,7 +117,7 @@ impl pallet_scheduler::WeightInfo for WeightInfo { fn on_initialize_aborted(s: u32, ) -> Weight { Weight::from_ref_time(3_381_000 as RefTimeWeight) // Standard Error: 17_000 - .saturating_add(Weight::from_ref_time(7_945_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(7_945_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads((1 as RefTimeWeight).saturating_mul(s as RefTimeWeight))) .saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight)) @@ -128,7 +128,7 @@ impl pallet_scheduler::WeightInfo for WeightInfo { fn on_initialize_periodic_named(s: u32, ) -> Weight { Weight::from_ref_time(6_676_000 as RefTimeWeight) // Standard Error: 25_000 - .saturating_add(Weight::from_ref_time(16_966_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(16_966_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads((1 as RefTimeWeight).saturating_mul(s as RefTimeWeight))) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) @@ -139,7 +139,7 @@ impl pallet_scheduler::WeightInfo for WeightInfo { fn on_initialize_periodic(s: u32, ) -> Weight { Weight::from_ref_time(8_899_000 as RefTimeWeight) // Standard Error: 24_000 - .saturating_add(Weight::from_ref_time(14_630_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(14_630_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads((1 as RefTimeWeight).saturating_mul(s as RefTimeWeight))) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) @@ -151,7 +151,7 @@ impl pallet_scheduler::WeightInfo for WeightInfo { fn on_initialize_named(s: u32, ) -> Weight { Weight::from_ref_time(8_583_000 as RefTimeWeight) // Standard Error: 19_000 - .saturating_add(Weight::from_ref_time(12_228_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(12_228_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes((1 as RefTimeWeight).saturating_mul(s as RefTimeWeight))) @@ -161,7 +161,7 @@ impl pallet_scheduler::WeightInfo for WeightInfo { fn on_initialize(s: u32, ) -> Weight { Weight::from_ref_time(8_544_000 as RefTimeWeight) // Standard Error: 19_000 - .saturating_add(Weight::from_ref_time(11_364_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(11_364_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) } @@ -170,7 +170,7 @@ impl pallet_scheduler::WeightInfo for WeightInfo { fn schedule(s: u32, ) -> Weight { Weight::from_ref_time(19_060_000 as RefTimeWeight) // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(46_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(46_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) } @@ -180,7 +180,7 @@ impl pallet_scheduler::WeightInfo for WeightInfo { fn cancel(s: u32, ) -> Weight { Weight::from_ref_time(17_694_000 as RefTimeWeight) // Standard Error: 7_000 - .saturating_add(Weight::from_ref_time(2_368_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(2_368_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight)) } @@ -190,7 +190,7 @@ impl pallet_scheduler::WeightInfo for WeightInfo { fn schedule_named(s: u32, ) -> Weight { Weight::from_ref_time(22_258_000 as RefTimeWeight) // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(60_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(60_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight)) } @@ -200,7 +200,7 @@ impl pallet_scheduler::WeightInfo for WeightInfo { fn cancel_named(s: u32, ) -> Weight { Weight::from_ref_time(18_882_000 as RefTimeWeight) // Standard Error: 7_000 - .saturating_add(Weight::from_ref_time(2_379_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(2_379_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight)) } diff --git a/runtime/kusama/src/weights/pallet_staking.rs b/runtime/kusama/src/weights/pallet_staking.rs index 5fd96e8feb4d..c010414ec80a 100644 --- a/runtime/kusama/src/weights/pallet_staking.rs +++ b/runtime/kusama/src/weights/pallet_staking.rs @@ -87,7 +87,7 @@ impl pallet_staking::WeightInfo for WeightInfo { fn withdraw_unbonded_update(s: u32, ) -> Weight { Weight::from_ref_time(32_006_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(27_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(27_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(4 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight)) } @@ -132,7 +132,7 @@ impl pallet_staking::WeightInfo for WeightInfo { fn kick(k: u32, ) -> Weight { Weight::from_ref_time(11_581_000 as RefTimeWeight) // Standard Error: 11_000 - .saturating_add(Weight::from_ref_time(8_835_000 as RefTimeWeight).scalar_saturating_mul(k as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(8_835_000 as RefTimeWeight).saturating_mul(k as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads((1 as RefTimeWeight).saturating_mul(k as RefTimeWeight))) .saturating_add(T::DbWeight::get().writes((1 as RefTimeWeight).saturating_mul(k as RefTimeWeight))) @@ -152,7 +152,7 @@ impl pallet_staking::WeightInfo for WeightInfo { fn nominate(n: u32, ) -> Weight { Weight::from_ref_time(52_135_000 as RefTimeWeight) // Standard Error: 5_000 - .saturating_add(Weight::from_ref_time(3_209_000 as RefTimeWeight).scalar_saturating_mul(n as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(3_209_000 as RefTimeWeight).saturating_mul(n as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(12 as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads((1 as RefTimeWeight).saturating_mul(n as RefTimeWeight))) .saturating_add(T::DbWeight::get().writes(6 as RefTimeWeight)) @@ -208,7 +208,7 @@ impl pallet_staking::WeightInfo for WeightInfo { fn set_invulnerables(v: u32, ) -> Weight { Weight::from_ref_time(3_866_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(10_000 as RefTimeWeight).scalar_saturating_mul(v as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(10_000 as RefTimeWeight).saturating_mul(v as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) } // Storage: Staking Bonded (r:1 w:1) @@ -228,7 +228,7 @@ impl pallet_staking::WeightInfo for WeightInfo { fn force_unstake(s: u32, ) -> Weight { Weight::from_ref_time(58_815_000 as RefTimeWeight) // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(904_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(904_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(11 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(12 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes((1 as RefTimeWeight).saturating_mul(s as RefTimeWeight))) @@ -238,7 +238,7 @@ impl pallet_staking::WeightInfo for WeightInfo { fn cancel_deferred_slash(s: u32, ) -> Weight { Weight::from_ref_time(3_402_940_000 as RefTimeWeight) // Standard Error: 237_000 - .saturating_add(Weight::from_ref_time(19_758_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(19_758_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) } @@ -256,7 +256,7 @@ impl pallet_staking::WeightInfo for WeightInfo { fn payout_stakers_dead_controller(n: u32, ) -> Weight { Weight::from_ref_time(73_127_000 as RefTimeWeight) // Standard Error: 22_000 - .saturating_add(Weight::from_ref_time(26_095_000 as RefTimeWeight).scalar_saturating_mul(n as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(26_095_000 as RefTimeWeight).saturating_mul(n as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(10 as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads((3 as RefTimeWeight).saturating_mul(n as RefTimeWeight))) .saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight)) @@ -277,7 +277,7 @@ impl pallet_staking::WeightInfo for WeightInfo { fn payout_stakers_alive_staked(n: u32, ) -> Weight { Weight::from_ref_time(80_071_000 as RefTimeWeight) // Standard Error: 25_000 - .saturating_add(Weight::from_ref_time(34_679_000 as RefTimeWeight).scalar_saturating_mul(n as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(34_679_000 as RefTimeWeight).saturating_mul(n as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(11 as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads((5 as RefTimeWeight).saturating_mul(n as RefTimeWeight))) .saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight)) @@ -293,7 +293,7 @@ impl pallet_staking::WeightInfo for WeightInfo { fn rebond(l: u32, ) -> Weight { Weight::from_ref_time(69_288_000 as RefTimeWeight) // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(51_000 as RefTimeWeight).scalar_saturating_mul(l as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(51_000 as RefTimeWeight).saturating_mul(l as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(9 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(8 as RefTimeWeight)) } @@ -310,7 +310,7 @@ impl pallet_staking::WeightInfo for WeightInfo { fn set_history_depth(e: u32, ) -> Weight { Weight::from_ref_time(0 as RefTimeWeight) // Standard Error: 83_000 - .saturating_add(Weight::from_ref_time(21_591_000 as RefTimeWeight).scalar_saturating_mul(e as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(21_591_000 as RefTimeWeight).saturating_mul(e as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(4 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes((7 as RefTimeWeight).saturating_mul(e as RefTimeWeight))) @@ -332,7 +332,7 @@ impl pallet_staking::WeightInfo for WeightInfo { fn reap_stash(s: u32, ) -> Weight { Weight::from_ref_time(64_446_000 as RefTimeWeight) // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(899_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(899_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(12 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(12 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes((1 as RefTimeWeight).saturating_mul(s as RefTimeWeight))) @@ -361,9 +361,9 @@ impl pallet_staking::WeightInfo for WeightInfo { fn new_era(v: u32, n: u32, ) -> Weight { Weight::from_ref_time(0 as RefTimeWeight) // Standard Error: 1_296_000 - .saturating_add(Weight::from_ref_time(286_045_000 as RefTimeWeight).scalar_saturating_mul(v as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(286_045_000 as RefTimeWeight).saturating_mul(v as RefTimeWeight)) // Standard Error: 125_000 - .saturating_add(Weight::from_ref_time(37_667_000 as RefTimeWeight).scalar_saturating_mul(n as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(37_667_000 as RefTimeWeight).saturating_mul(n as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(192 as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads((5 as RefTimeWeight).saturating_mul(v as RefTimeWeight))) .saturating_add(T::DbWeight::get().reads((4 as RefTimeWeight).saturating_mul(n as RefTimeWeight))) @@ -385,11 +385,11 @@ impl pallet_staking::WeightInfo for WeightInfo { fn get_npos_voters(v: u32, n: u32, s: u32, ) -> Weight { Weight::from_ref_time(0 as RefTimeWeight) // Standard Error: 108_000 - .saturating_add(Weight::from_ref_time(24_629_000 as RefTimeWeight).scalar_saturating_mul(v as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(24_629_000 as RefTimeWeight).saturating_mul(v as RefTimeWeight)) // Standard Error: 108_000 - .saturating_add(Weight::from_ref_time(22_598_000 as RefTimeWeight).scalar_saturating_mul(n as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(22_598_000 as RefTimeWeight).saturating_mul(n as RefTimeWeight)) // Standard Error: 2_778_000 - .saturating_add(Weight::from_ref_time(59_951_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(59_951_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(186 as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads((5 as RefTimeWeight).saturating_mul(v as RefTimeWeight))) .saturating_add(T::DbWeight::get().reads((4 as RefTimeWeight).saturating_mul(n as RefTimeWeight))) @@ -402,7 +402,7 @@ impl pallet_staking::WeightInfo for WeightInfo { fn get_npos_targets(v: u32, ) -> Weight { Weight::from_ref_time(0 as RefTimeWeight) // Standard Error: 40_000 - .saturating_add(Weight::from_ref_time(7_752_000 as RefTimeWeight).scalar_saturating_mul(v as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(7_752_000 as RefTimeWeight).saturating_mul(v as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads((1 as RefTimeWeight).saturating_mul(v as RefTimeWeight))) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) diff --git a/runtime/kusama/src/weights/pallet_tips.rs b/runtime/kusama/src/weights/pallet_tips.rs index 514e15eaae40..77e38af16da6 100644 --- a/runtime/kusama/src/weights/pallet_tips.rs +++ b/runtime/kusama/src/weights/pallet_tips.rs @@ -50,7 +50,7 @@ impl pallet_tips::WeightInfo for WeightInfo { fn report_awesome(r: u32, ) -> Weight { Weight::from_ref_time(28_045_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).scalar_saturating_mul(r as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).saturating_mul(r as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight)) } @@ -69,9 +69,9 @@ impl pallet_tips::WeightInfo for WeightInfo { fn tip_new(r: u32, t: u32, ) -> Weight { Weight::from_ref_time(19_125_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).scalar_saturating_mul(r as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).saturating_mul(r as RefTimeWeight)) // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(41_000 as RefTimeWeight).scalar_saturating_mul(t as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(41_000 as RefTimeWeight).saturating_mul(t as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight)) } @@ -81,7 +81,7 @@ impl pallet_tips::WeightInfo for WeightInfo { fn tip(t: u32, ) -> Weight { Weight::from_ref_time(10_895_000 as RefTimeWeight) // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(158_000 as RefTimeWeight).scalar_saturating_mul(t as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(158_000 as RefTimeWeight).saturating_mul(t as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) } @@ -93,7 +93,7 @@ impl pallet_tips::WeightInfo for WeightInfo { fn close_tip(t: u32, ) -> Weight { Weight::from_ref_time(42_301_000 as RefTimeWeight) // Standard Error: 4_000 - .saturating_add(Weight::from_ref_time(154_000 as RefTimeWeight).scalar_saturating_mul(t as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(154_000 as RefTimeWeight).saturating_mul(t as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight)) } @@ -103,7 +103,7 @@ impl pallet_tips::WeightInfo for WeightInfo { fn slash_tip(t: u32, ) -> Weight { Weight::from_ref_time(16_548_000 as RefTimeWeight) // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(21_000 as RefTimeWeight).scalar_saturating_mul(t as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(21_000 as RefTimeWeight).saturating_mul(t as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight)) } diff --git a/runtime/kusama/src/weights/pallet_treasury.rs b/runtime/kusama/src/weights/pallet_treasury.rs index e14ea0267e15..573d33c3cc3d 100644 --- a/runtime/kusama/src/weights/pallet_treasury.rs +++ b/runtime/kusama/src/weights/pallet_treasury.rs @@ -67,7 +67,7 @@ impl pallet_treasury::WeightInfo for WeightInfo { fn approve_proposal(p: u32, ) -> Weight { Weight::from_ref_time(10_082_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(36_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(36_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) } @@ -85,7 +85,7 @@ impl pallet_treasury::WeightInfo for WeightInfo { fn on_initialize_proposals(p: u32, ) -> Weight { Weight::from_ref_time(36_270_000 as RefTimeWeight) // Standard Error: 32_000 - .saturating_add(Weight::from_ref_time(30_142_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(30_142_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads((3 as RefTimeWeight).saturating_mul(p as RefTimeWeight))) .saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight)) diff --git a/runtime/kusama/src/weights/pallet_utility.rs b/runtime/kusama/src/weights/pallet_utility.rs index 37cc138bb64e..2e454c0cd41f 100644 --- a/runtime/kusama/src/weights/pallet_utility.rs +++ b/runtime/kusama/src/weights/pallet_utility.rs @@ -48,7 +48,7 @@ impl pallet_utility::WeightInfo for WeightInfo { fn batch(c: u32, ) -> Weight { Weight::from_ref_time(12_531_000 as RefTimeWeight) // Standard Error: 3_000 - .saturating_add(Weight::from_ref_time(4_931_000 as RefTimeWeight).scalar_saturating_mul(c as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(4_931_000 as RefTimeWeight).saturating_mul(c as RefTimeWeight)) } fn as_derivative() -> Weight { Weight::from_ref_time(5_661_000 as RefTimeWeight) @@ -57,7 +57,7 @@ impl pallet_utility::WeightInfo for WeightInfo { fn batch_all(c: u32, ) -> Weight { Weight::from_ref_time(14_076_000 as RefTimeWeight) // Standard Error: 3_000 - .saturating_add(Weight::from_ref_time(5_323_000 as RefTimeWeight).scalar_saturating_mul(c as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(5_323_000 as RefTimeWeight).saturating_mul(c as RefTimeWeight)) } fn dispatch_as() -> Weight { Weight::from_ref_time(13_176_000 as RefTimeWeight) @@ -66,6 +66,6 @@ impl pallet_utility::WeightInfo for WeightInfo { fn force_batch(c: u32, ) -> Weight { Weight::from_ref_time(20_747_000 as RefTimeWeight) // Standard Error: 3_000 - .saturating_add(Weight::from_ref_time(4_917_000 as RefTimeWeight).scalar_saturating_mul(c as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(4_917_000 as RefTimeWeight).saturating_mul(c as RefTimeWeight)) } } diff --git a/runtime/kusama/src/weights/pallet_vesting.rs b/runtime/kusama/src/weights/pallet_vesting.rs index 66768b118cf8..18f9e4dca2ac 100644 --- a/runtime/kusama/src/weights/pallet_vesting.rs +++ b/runtime/kusama/src/weights/pallet_vesting.rs @@ -51,9 +51,9 @@ impl pallet_vesting::WeightInfo for WeightInfo { fn vest_locked(l: u32, s: u32, ) -> Weight { Weight::from_ref_time(29_030_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(75_000 as RefTimeWeight).scalar_saturating_mul(l as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(75_000 as RefTimeWeight).saturating_mul(l as RefTimeWeight)) // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(162_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(162_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight)) } @@ -64,9 +64,9 @@ impl pallet_vesting::WeightInfo for WeightInfo { fn vest_unlocked(l: u32, s: u32, ) -> Weight { Weight::from_ref_time(29_535_000 as RefTimeWeight) // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(69_000 as RefTimeWeight).scalar_saturating_mul(l as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(69_000 as RefTimeWeight).saturating_mul(l as RefTimeWeight)) // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(113_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(113_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight)) } @@ -78,9 +78,9 @@ impl pallet_vesting::WeightInfo for WeightInfo { fn vest_other_locked(l: u32, s: u32, ) -> Weight { Weight::from_ref_time(29_237_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(75_000 as RefTimeWeight).scalar_saturating_mul(l as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(75_000 as RefTimeWeight).saturating_mul(l as RefTimeWeight)) // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(160_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(160_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight)) } @@ -92,9 +92,9 @@ impl pallet_vesting::WeightInfo for WeightInfo { fn vest_other_unlocked(l: u32, s: u32, ) -> Weight { Weight::from_ref_time(29_750_000 as RefTimeWeight) // Standard Error: 3_000 - .saturating_add(Weight::from_ref_time(84_000 as RefTimeWeight).scalar_saturating_mul(l as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(84_000 as RefTimeWeight).saturating_mul(l as RefTimeWeight)) // Standard Error: 5_000 - .saturating_add(Weight::from_ref_time(109_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(109_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight)) } @@ -106,9 +106,9 @@ impl pallet_vesting::WeightInfo for WeightInfo { fn vested_transfer(l: u32, s: u32, ) -> Weight { Weight::from_ref_time(44_092_000 as RefTimeWeight) // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(71_000 as RefTimeWeight).scalar_saturating_mul(l as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(71_000 as RefTimeWeight).saturating_mul(l as RefTimeWeight)) // Standard Error: 4_000 - .saturating_add(Weight::from_ref_time(134_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(134_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight)) } @@ -120,9 +120,9 @@ impl pallet_vesting::WeightInfo for WeightInfo { fn force_vested_transfer(l: u32, s: u32, ) -> Weight { Weight::from_ref_time(44_003_000 as RefTimeWeight) // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(72_000 as RefTimeWeight).scalar_saturating_mul(l as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(72_000 as RefTimeWeight).saturating_mul(l as RefTimeWeight)) // Standard Error: 4_000 - .saturating_add(Weight::from_ref_time(119_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(119_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(4 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(4 as RefTimeWeight)) } @@ -134,9 +134,9 @@ impl pallet_vesting::WeightInfo for WeightInfo { fn not_unlocking_merge_schedules(l: u32, s: u32, ) -> Weight { Weight::from_ref_time(29_853_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(77_000 as RefTimeWeight).scalar_saturating_mul(l as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(77_000 as RefTimeWeight).saturating_mul(l as RefTimeWeight)) // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(153_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(153_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight)) } @@ -148,9 +148,9 @@ impl pallet_vesting::WeightInfo for WeightInfo { fn unlocking_merge_schedules(l: u32, s: u32, ) -> Weight { Weight::from_ref_time(29_466_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(81_000 as RefTimeWeight).scalar_saturating_mul(l as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(81_000 as RefTimeWeight).saturating_mul(l as RefTimeWeight)) // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(158_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(158_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight)) } diff --git a/runtime/kusama/src/weights/runtime_common_crowdloan.rs b/runtime/kusama/src/weights/runtime_common_crowdloan.rs index 56d5929d9577..8fcc60e03ac4 100644 --- a/runtime/kusama/src/weights/runtime_common_crowdloan.rs +++ b/runtime/kusama/src/weights/runtime_common_crowdloan.rs @@ -78,7 +78,7 @@ impl runtime_common::crowdloan::WeightInfo for WeightIn fn refund(k: u32, ) -> Weight { Weight::from_ref_time(0 as RefTimeWeight) // Standard Error: 17_000 - .saturating_add(Weight::from_ref_time(19_652_000 as RefTimeWeight).scalar_saturating_mul(k as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(19_652_000 as RefTimeWeight).saturating_mul(k as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads((2 as RefTimeWeight).saturating_mul(k as RefTimeWeight))) .saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight)) @@ -125,7 +125,7 @@ impl runtime_common::crowdloan::WeightInfo for WeightIn fn on_initialize(n: u32, ) -> Weight { Weight::from_ref_time(0 as RefTimeWeight) // Standard Error: 43_000 - .saturating_add(Weight::from_ref_time(51_696_000 as RefTimeWeight).scalar_saturating_mul(n as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(51_696_000 as RefTimeWeight).saturating_mul(n as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(5 as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads((5 as RefTimeWeight).saturating_mul(n as RefTimeWeight))) .saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight)) diff --git a/runtime/kusama/src/weights/runtime_common_slots.rs b/runtime/kusama/src/weights/runtime_common_slots.rs index fdfd44cfc8ea..3cded535b86b 100644 --- a/runtime/kusama/src/weights/runtime_common_slots.rs +++ b/runtime/kusama/src/weights/runtime_common_slots.rs @@ -62,9 +62,9 @@ impl runtime_common::slots::WeightInfo for WeightInfo Weight { Weight::from_ref_time(0 as RefTimeWeight) // Standard Error: 30_000 - .saturating_add(Weight::from_ref_time(6_882_000 as RefTimeWeight).scalar_saturating_mul(c as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(6_882_000 as RefTimeWeight).saturating_mul(c as RefTimeWeight)) // Standard Error: 30_000 - .saturating_add(Weight::from_ref_time(17_866_000 as RefTimeWeight).scalar_saturating_mul(t as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(17_866_000 as RefTimeWeight).saturating_mul(t as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(4 as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads((1 as RefTimeWeight).saturating_mul(c as RefTimeWeight))) .saturating_add(T::DbWeight::get().reads((3 as RefTimeWeight).saturating_mul(t as RefTimeWeight))) diff --git a/runtime/kusama/src/weights/runtime_parachains_hrmp.rs b/runtime/kusama/src/weights/runtime_parachains_hrmp.rs index e97b9a73a25f..539598867dac 100644 --- a/runtime/kusama/src/weights/runtime_parachains_hrmp.rs +++ b/runtime/kusama/src/weights/runtime_parachains_hrmp.rs @@ -89,9 +89,9 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf fn force_clean_hrmp(i: u32, e: u32, ) -> Weight { Weight::from_ref_time(0 as RefTimeWeight) // Standard Error: 22_000 - .saturating_add(Weight::from_ref_time(9_971_000 as RefTimeWeight).scalar_saturating_mul(i as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(9_971_000 as RefTimeWeight).saturating_mul(i as RefTimeWeight)) // Standard Error: 22_000 - .saturating_add(Weight::from_ref_time(9_951_000 as RefTimeWeight).scalar_saturating_mul(e as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(9_951_000 as RefTimeWeight).saturating_mul(e as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads((2 as RefTimeWeight).saturating_mul(i as RefTimeWeight))) .saturating_add(T::DbWeight::get().reads((2 as RefTimeWeight).saturating_mul(e as RefTimeWeight))) @@ -111,7 +111,7 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf fn force_process_hrmp_open(c: u32, ) -> Weight { Weight::from_ref_time(0 as RefTimeWeight) // Standard Error: 35_000 - .saturating_add(Weight::from_ref_time(23_340_000 as RefTimeWeight).scalar_saturating_mul(c as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(23_340_000 as RefTimeWeight).saturating_mul(c as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads((7 as RefTimeWeight).saturating_mul(c as RefTimeWeight))) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) @@ -127,7 +127,7 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf fn force_process_hrmp_close(c: u32, ) -> Weight { Weight::from_ref_time(0 as RefTimeWeight) // Standard Error: 23_000 - .saturating_add(Weight::from_ref_time(13_159_000 as RefTimeWeight).scalar_saturating_mul(c as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(13_159_000 as RefTimeWeight).saturating_mul(c as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads((3 as RefTimeWeight).saturating_mul(c as RefTimeWeight))) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) @@ -140,7 +140,7 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf fn hrmp_cancel_open_request(c: u32, ) -> Weight { Weight::from_ref_time(26_400_000 as RefTimeWeight) // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(51_000 as RefTimeWeight).scalar_saturating_mul(c as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(51_000 as RefTimeWeight).saturating_mul(c as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight)) } @@ -150,7 +150,7 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf fn clean_open_channel_requests(c: u32, ) -> Weight { Weight::from_ref_time(0 as RefTimeWeight) // Standard Error: 7_000 - .saturating_add(Weight::from_ref_time(3_786_000 as RefTimeWeight).scalar_saturating_mul(c as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(3_786_000 as RefTimeWeight).saturating_mul(c as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads((1 as RefTimeWeight).saturating_mul(c as RefTimeWeight))) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) diff --git a/runtime/kusama/src/weights/runtime_parachains_initializer.rs b/runtime/kusama/src/weights/runtime_parachains_initializer.rs index 35620272391f..5f278837ca77 100644 --- a/runtime/kusama/src/weights/runtime_parachains_initializer.rs +++ b/runtime/kusama/src/weights/runtime_parachains_initializer.rs @@ -49,7 +49,7 @@ impl runtime_parachains::initializer::WeightInfo for We fn force_approve(d: u32, ) -> Weight { Weight::from_ref_time(6_367_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).scalar_saturating_mul(d as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).saturating_mul(d as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) } diff --git a/runtime/kusama/src/weights/runtime_parachains_paras.rs b/runtime/kusama/src/weights/runtime_parachains_paras.rs index 9cb73438d232..28115ad5ec8d 100644 --- a/runtime/kusama/src/weights/runtime_parachains_paras.rs +++ b/runtime/kusama/src/weights/runtime_parachains_paras.rs @@ -54,7 +54,7 @@ impl runtime_parachains::paras::WeightInfo for WeightIn fn force_set_current_code(c: u32, ) -> Weight { Weight::from_ref_time(0 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).scalar_saturating_mul(c as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).saturating_mul(c as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(4 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(6 as RefTimeWeight)) } @@ -63,7 +63,7 @@ impl runtime_parachains::paras::WeightInfo for WeightIn fn force_set_current_head(s: u32, ) -> Weight { Weight::from_ref_time(0 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(1_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(1_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) } // Storage: Paras FutureCodeHash (r:1 w:1) @@ -80,7 +80,7 @@ impl runtime_parachains::paras::WeightInfo for WeightIn fn force_schedule_code_upgrade(c: u32, ) -> Weight { Weight::from_ref_time(0 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).scalar_saturating_mul(c as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).saturating_mul(c as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(8 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(8 as RefTimeWeight)) } @@ -91,7 +91,7 @@ impl runtime_parachains::paras::WeightInfo for WeightIn fn force_note_new_head(s: u32, ) -> Weight { Weight::from_ref_time(0 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(1_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(1_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight)) } @@ -108,7 +108,7 @@ impl runtime_parachains::paras::WeightInfo for WeightIn fn add_trusted_validation_code(c: u32, ) -> Weight { Weight::from_ref_time(0 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).scalar_saturating_mul(c as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).saturating_mul(c as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) } diff --git a/runtime/kusama/src/weights/runtime_parachains_paras_inherent.rs b/runtime/kusama/src/weights/runtime_parachains_paras_inherent.rs index 7b17f990a5af..3532b6285342 100644 --- a/runtime/kusama/src/weights/runtime_parachains_paras_inherent.rs +++ b/runtime/kusama/src/weights/runtime_parachains_paras_inherent.rs @@ -78,7 +78,7 @@ impl runtime_parachains::paras_inherent::WeightInfo for fn enter_variable_disputes(v: u32, ) -> Weight { Weight::from_ref_time(382_740_000 as RefTimeWeight) // Standard Error: 25_000 - .saturating_add(Weight::from_ref_time(48_643_000 as RefTimeWeight).scalar_saturating_mul(v as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(48_643_000 as RefTimeWeight).saturating_mul(v as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(28 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(18 as RefTimeWeight)) } @@ -150,7 +150,7 @@ impl runtime_parachains::paras_inherent::WeightInfo for fn enter_backed_candidates_variable(v: u32, ) -> Weight { Weight::from_ref_time(1_067_738_000 as RefTimeWeight) // Standard Error: 48_000 - .saturating_add(Weight::from_ref_time(47_926_000 as RefTimeWeight).scalar_saturating_mul(v as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(47_926_000 as RefTimeWeight).saturating_mul(v as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(28 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(16 as RefTimeWeight)) } diff --git a/runtime/kusama/src/weights/runtime_parachains_ump.rs b/runtime/kusama/src/weights/runtime_parachains_ump.rs index a22b8af249df..579d42b9c70b 100644 --- a/runtime/kusama/src/weights/runtime_parachains_ump.rs +++ b/runtime/kusama/src/weights/runtime_parachains_ump.rs @@ -48,7 +48,7 @@ impl runtime_parachains::ump::WeightInfo for WeightInfo fn process_upward_message(s: u32, ) -> Weight { Weight::from_ref_time(5_919_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) } // Storage: Ump NeedsDispatch (r:1 w:1) // Storage: Ump NextDispatchRoundStartWith (r:1 w:1) diff --git a/runtime/kusama/src/weights/xcm/mod.rs b/runtime/kusama/src/weights/xcm/mod.rs index 4be001f2706c..1e173cf33e00 100644 --- a/runtime/kusama/src/weights/xcm/mod.rs +++ b/runtime/kusama/src/weights/xcm/mod.rs @@ -48,8 +48,8 @@ impl WeighMultiAssets for MultiAssetFilter { AssetTypes::Balances => balances_weight, AssetTypes::Unknown => Weight::MAX, }) - .fold(Weight::new(), |acc, x| acc.saturating_add(x)), - Self::Wild(_) => balances_weight.scalar_saturating_mul(MAX_ASSETS as u64), + .fold(Weight::zero(), |acc, x| acc.saturating_add(x)), + Self::Wild(_) => balances_weight.saturating_mul(MAX_ASSETS as u64), }; weight.ref_time() @@ -66,7 +66,7 @@ impl WeighMultiAssets for MultiAssets { AssetTypes::Balances => balances_weight, AssetTypes::Unknown => Weight::MAX, }) - .fold(Weight::new(), |acc, x| acc.saturating_add(x)); + .fold(Weight::zero(), |acc, x| acc.saturating_add(x)); weight.ref_time() } diff --git a/runtime/parachains/src/configuration.rs b/runtime/parachains/src/configuration.rs index 98ee6e3cd648..bc97e84e95b5 100644 --- a/runtime/parachains/src/configuration.rs +++ b/runtime/parachains/src/configuration.rs @@ -285,7 +285,7 @@ impl> Default for HostConfiguration Pallet { pub(crate) fn initializer_initialize(now: T::BlockNumber) -> Weight { let config = >::config(); - let mut weight = Weight::new(); + let mut weight = Weight::zero(); for (session_index, candidate_hash, mut dispute) in >::iter() { weight += T::DbWeight::get().reads_writes(1, 0); diff --git a/runtime/parachains/src/hrmp.rs b/runtime/parachains/src/hrmp.rs index b6775ccbeae9..7cfedad08094 100644 --- a/runtime/parachains/src/hrmp.rs +++ b/runtime/parachains/src/hrmp.rs @@ -953,7 +953,7 @@ impl Pallet { } pub(crate) fn prune_hrmp(recipient: ParaId, new_hrmp_watermark: T::BlockNumber) -> Weight { - let mut weight = Weight::new(); + let mut weight = Weight::zero(); // sift through the incoming messages digest to collect the paras that sent at least one // message to this parachain between the old and new watermarks. @@ -1020,7 +1020,7 @@ impl Pallet { sender: ParaId, out_hrmp_msgs: Vec>, ) -> Weight { - let mut weight = Weight::new(); + let mut weight = Weight::zero(); let now = >::block_number(); for out_msg in out_hrmp_msgs { diff --git a/runtime/parachains/src/mock.rs b/runtime/parachains/src/mock.rs index 8bd8fafaaa84..09bc1a2b8b6c 100644 --- a/runtime/parachains/src/mock.rs +++ b/runtime/parachains/src/mock.rs @@ -222,7 +222,7 @@ impl crate::paras::Config for Test { impl crate::dmp::Config for Test {} parameter_types! { - pub const FirstMessageFactorPercent: Weight = Weight::from_ref_time(100); + pub const FirstMessageFactorPercent: u64 = 100; } impl crate::ump::Config for Test { diff --git a/runtime/parachains/src/paras/mod.rs b/runtime/parachains/src/paras/mod.rs index 54e4d791485a..e87db00f7b17 100644 --- a/runtime/parachains/src/paras/mod.rs +++ b/runtime/parachains/src/paras/mod.rs @@ -449,7 +449,7 @@ impl WeightInfo for TestWeightInfo { } fn include_pvf_check_statement() -> Weight { // This special value is to distinguish from the finalizing variants above in tests. - Weight::MAX - Weight::one() + Weight::MAX - Weight::from_ref_time(1) } } @@ -1372,7 +1372,7 @@ impl Pallet { sessions_observed: SessionIndex, cfg: &configuration::HostConfiguration, ) -> Weight { - let mut weight = Weight::new(); + let mut weight = Weight::zero(); for cause in causes { weight += T::DbWeight::get().reads_writes(3, 2); Self::deposit_event(Event::PvfCheckAccepted(*code_hash, cause.para_id())); @@ -1417,7 +1417,7 @@ impl Pallet { relay_parent_number: T::BlockNumber, cfg: &configuration::HostConfiguration, ) -> Weight { - let mut weight = Weight::new(); + let mut weight = Weight::zero(); // Compute the relay-chain block number starting at which the code upgrade is ready to be // applied. @@ -1457,7 +1457,7 @@ impl Pallet { code_hash: &ValidationCodeHash, causes: Vec>, ) -> Weight { - let mut weight = Weight::new(); + let mut weight = Weight::zero(); for cause in causes { // Whenever PVF pre-checking is started or a new cause is added to it, the RC is bumped. @@ -1746,7 +1746,7 @@ impl Pallet { code: ValidationCode, cfg: &configuration::HostConfiguration, ) -> Weight { - let mut weight = Weight::new(); + let mut weight = Weight::zero(); weight += T::DbWeight::get().reads_writes(3, 2); Self::deposit_event(Event::PvfCheckStarted(code_hash, cause.para_id())); diff --git a/runtime/parachains/src/paras_inherent/weights.rs b/runtime/parachains/src/paras_inherent/weights.rs index 3cb73475b10a..c1680659dc54 100644 --- a/runtime/parachains/src/paras_inherent/weights.rs +++ b/runtime/parachains/src/paras_inherent/weights.rs @@ -99,12 +99,12 @@ pub fn multi_dispute_statement_sets_weight< .as_ref() .iter() .map(|d| dispute_statement_set_weight::(d)) - .fold(Weight::new(), |acc_weight, weight| acc_weight.saturating_add(weight)) + .fold(Weight::zero(), |acc_weight, weight| acc_weight.saturating_add(weight)) } pub fn signed_bitfields_weight(bitfields_len: usize) -> Weight { <::WeightInfo as WeightInfo>::enter_bitfields() - .saturating_mul(Weight::from_ref_time(bitfields_len as u64)) + .saturating_mul(bitfields_len as u64) } pub fn backed_candidate_weight( @@ -125,5 +125,5 @@ pub fn backed_candidates_weight( candidates .iter() .map(|c| backed_candidate_weight::(c)) - .fold(Weight::new(), |acc, x| acc.saturating_add(x)) + .fold(Weight::zero(), |acc, x| acc.saturating_add(x)) } diff --git a/runtime/parachains/src/ump.rs b/runtime/parachains/src/ump.rs index e0a1b46f9a17..1fb3d5ada90b 100644 --- a/runtime/parachains/src/ump.rs +++ b/runtime/parachains/src/ump.rs @@ -229,7 +229,7 @@ pub mod pallet { /// stalls the queue in doing so. More than 100 will provide additional weight for the first message only. /// /// Generally you'll want this to be a bit more - 150 or 200 would be good values. - type FirstMessageFactorPercent: Get; + type FirstMessageFactorPercent: Get; /// Origin which is allowed to execute overweight messages. type ExecuteOverweightOrigin: EnsureOrigin; @@ -387,7 +387,7 @@ impl Pallet { /// Iterate over all paras that were noted for offboarding and remove all the data /// associated with them. fn perform_outgoing_para_cleanup(outgoing: &[ParaId]) -> Weight { - let mut weight: Weight = Weight::new(); + let mut weight: Weight = Weight::zero(); for outgoing_para in outgoing { weight = weight.saturating_add(Self::clean_ump_after_outgoing(outgoing_para)); } @@ -469,7 +469,7 @@ impl Pallet { para: ParaId, upward_messages: Vec, ) -> Weight { - let mut weight = Weight::new(); + let mut weight = Weight::zero(); if !upward_messages.is_empty() { let (extra_count, extra_size) = upward_messages @@ -505,7 +505,7 @@ impl Pallet { /// Devote some time into dispatching pending upward messages. pub(crate) fn process_pending_upward_messages() -> Weight { - let mut weight_used = Weight::new(); + let mut weight_used = Weight::zero(); let config = >::config(); let mut cursor = NeedsDispatchCursor::new::(); diff --git a/runtime/polkadot/constants/src/weights/block_weights.rs b/runtime/polkadot/constants/src/weights/block_weights.rs index 62c9909bbf06..3539b432e337 100644 --- a/runtime/polkadot/constants/src/weights/block_weights.rs +++ b/runtime/polkadot/constants/src/weights/block_weights.rs @@ -54,7 +54,7 @@ parameter_types! { /// 99th: 6_131_246 /// 95th: 5_988_921 /// 75th: 5_885_724 - pub const BlockExecutionWeight: Weight = WEIGHT_PER_NANOS.scalar_saturating_mul(5_849_907); + pub const BlockExecutionWeight: Weight = WEIGHT_PER_NANOS.saturating_mul(5_849_907); } #[cfg(test)] @@ -69,8 +69,8 @@ mod test_weights { let w = super::BlockExecutionWeight::get(); // At least 100 µs. - assert!(w >= 100 * constants::WEIGHT_PER_MICROS, "Weight should be at least 100 µs."); + assert!(w >= 100u64 * constants::WEIGHT_PER_MICROS, "Weight should be at least 100 µs."); // At most 50 ms. - assert!(w <= 50 * constants::WEIGHT_PER_MILLIS, "Weight should be at most 50 ms."); + assert!(w <= 50u64 * constants::WEIGHT_PER_MILLIS, "Weight should be at most 50 ms."); } } diff --git a/runtime/polkadot/constants/src/weights/extrinsic_weights.rs b/runtime/polkadot/constants/src/weights/extrinsic_weights.rs index bc1f347ca369..c240a886c4bb 100644 --- a/runtime/polkadot/constants/src/weights/extrinsic_weights.rs +++ b/runtime/polkadot/constants/src/weights/extrinsic_weights.rs @@ -53,7 +53,7 @@ parameter_types! { /// 99th: 86_269 /// 95th: 85_510 /// 75th: 85_216 - pub const ExtrinsicBaseWeight: Weight = WEIGHT_PER_NANOS.scalar_saturating_mul(85_212); + pub const ExtrinsicBaseWeight: Weight = WEIGHT_PER_NANOS.saturating_mul(85_212); } #[cfg(test)] @@ -68,7 +68,7 @@ mod test_weights { let w = super::ExtrinsicBaseWeight::get(); // At least 10 µs. - assert!(w >= 10 * constants::WEIGHT_PER_MICROS, "Weight should be at least 10 µs."); + assert!(w >= 10u64 * constants::WEIGHT_PER_MICROS, "Weight should be at least 10 µs."); // At most 1 ms. assert!(w <= constants::WEIGHT_PER_MILLIS, "Weight should be at most 1 ms."); } diff --git a/runtime/polkadot/src/lib.rs b/runtime/polkadot/src/lib.rs index f519c0ec05e3..d6d561bfd54c 100644 --- a/runtime/polkadot/src/lib.rs +++ b/runtime/polkadot/src/lib.rs @@ -1272,7 +1272,7 @@ impl parachains_paras::Config for Runtime { } parameter_types! { - pub const FirstMessageFactorPercent: Weight = Weight::from_ref_time(100); + pub const FirstMessageFactorPercent: u64 = 100; } impl parachains_ump::Config for Runtime { diff --git a/runtime/polkadot/src/weights/frame_benchmarking_baseline.rs b/runtime/polkadot/src/weights/frame_benchmarking_baseline.rs index 3a9d295548ce..9814ce0bc3c1 100644 --- a/runtime/polkadot/src/weights/frame_benchmarking_baseline.rs +++ b/runtime/polkadot/src/weights/frame_benchmarking_baseline.rs @@ -64,20 +64,20 @@ impl frame_benchmarking::baseline::WeightInfo for Weigh fn hashing(i: u32, ) -> Weight { Weight::from_ref_time(19_362_503_000 as RefTimeWeight) // Standard Error: 194_000 - .saturating_add(Weight::from_ref_time(389_000 as RefTimeWeight).scalar_saturating_mul(i as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(389_000 as RefTimeWeight).saturating_mul(i as RefTimeWeight)) } /// The range of component `i` is `[1, 100]`. fn sr25519_verification(i: u32, ) -> Weight { Weight::from_ref_time(0 as RefTimeWeight) // Standard Error: 39_000 - .saturating_add(Weight::from_ref_time(47_745_000 as RefTimeWeight).scalar_saturating_mul(i as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(47_745_000 as RefTimeWeight).saturating_mul(i as RefTimeWeight)) } // Storage: Skipped Metadata (r:0 w:0) /// The range of component `i` is `[0, 1000]`. fn storage_read(i: u32, ) -> Weight { Weight::from_ref_time(0 as RefTimeWeight) // Standard Error: 3_000 - .saturating_add(Weight::from_ref_time(2_129_000 as RefTimeWeight).scalar_saturating_mul(i as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(2_129_000 as RefTimeWeight).saturating_mul(i as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads((1 as RefTimeWeight).saturating_mul(i as RefTimeWeight))) } // Storage: Skipped Metadata (r:0 w:0) @@ -85,7 +85,7 @@ impl frame_benchmarking::baseline::WeightInfo for Weigh fn storage_write(i: u32, ) -> Weight { Weight::from_ref_time(0 as RefTimeWeight) // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(330_000 as RefTimeWeight).scalar_saturating_mul(i as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(330_000 as RefTimeWeight).saturating_mul(i as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes((1 as RefTimeWeight).saturating_mul(i as RefTimeWeight))) } } diff --git a/runtime/polkadot/src/weights/frame_election_provider_support.rs b/runtime/polkadot/src/weights/frame_election_provider_support.rs index 638d17358cc3..26a2ed3fb1dd 100644 --- a/runtime/polkadot/src/weights/frame_election_provider_support.rs +++ b/runtime/polkadot/src/weights/frame_election_provider_support.rs @@ -50,9 +50,9 @@ impl frame_election_provider_support::WeightInfo for We fn phragmen(v: u32, _t: u32, d: u32, ) -> Weight { Weight::from_ref_time(0 as RefTimeWeight) // Standard Error: 94_000 - .saturating_add(Weight::from_ref_time(22_018_000 as RefTimeWeight).scalar_saturating_mul(v as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(22_018_000 as RefTimeWeight).saturating_mul(v as RefTimeWeight)) // Standard Error: 8_192_000 - .saturating_add(Weight::from_ref_time(3_552_773_000 as RefTimeWeight).scalar_saturating_mul(d as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(3_552_773_000 as RefTimeWeight).saturating_mul(d as RefTimeWeight)) } /// The range of component `v` is `[1000, 2000]`. /// The range of component `t` is `[500, 1000]`. @@ -60,8 +60,8 @@ impl frame_election_provider_support::WeightInfo for We fn phragmms(v: u32, _t: u32, d: u32, ) -> Weight { Weight::from_ref_time(0 as RefTimeWeight) // Standard Error: 74_000 - .saturating_add(Weight::from_ref_time(14_903_000 as RefTimeWeight).scalar_saturating_mul(v as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(14_903_000 as RefTimeWeight).saturating_mul(v as RefTimeWeight)) // Standard Error: 6_457_000 - .saturating_add(Weight::from_ref_time(2_556_711_000 as RefTimeWeight).scalar_saturating_mul(d as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(2_556_711_000 as RefTimeWeight).saturating_mul(d as RefTimeWeight)) } } diff --git a/runtime/polkadot/src/weights/frame_system.rs b/runtime/polkadot/src/weights/frame_system.rs index b58548589c7f..e277fae3d9c0 100644 --- a/runtime/polkadot/src/weights/frame_system.rs +++ b/runtime/polkadot/src/weights/frame_system.rs @@ -48,13 +48,13 @@ impl frame_system::WeightInfo for WeightInfo { fn remark(b: u32, ) -> Weight { Weight::from_ref_time(0 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(1_000 as RefTimeWeight).scalar_saturating_mul(b as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(1_000 as RefTimeWeight).saturating_mul(b as RefTimeWeight)) } /// The range of component `b` is `[0, 3932160]`. fn remark_with_event(b: u32, ) -> Weight { Weight::from_ref_time(0 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).scalar_saturating_mul(b as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).saturating_mul(b as RefTimeWeight)) } // Storage: System Digest (r:1 w:1) // Storage: unknown [0x3a686561707061676573] (r:0 w:1) @@ -68,7 +68,7 @@ impl frame_system::WeightInfo for WeightInfo { fn set_storage(i: u32, ) -> Weight { Weight::from_ref_time(0 as RefTimeWeight) // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(546_000 as RefTimeWeight).scalar_saturating_mul(i as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(546_000 as RefTimeWeight).saturating_mul(i as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes((1 as RefTimeWeight).saturating_mul(i as RefTimeWeight))) } // Storage: Skipped Metadata (r:0 w:0) @@ -76,7 +76,7 @@ impl frame_system::WeightInfo for WeightInfo { fn kill_storage(i: u32, ) -> Weight { Weight::from_ref_time(0 as RefTimeWeight) // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(444_000 as RefTimeWeight).scalar_saturating_mul(i as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(444_000 as RefTimeWeight).saturating_mul(i as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes((1 as RefTimeWeight).saturating_mul(i as RefTimeWeight))) } // Storage: Skipped Metadata (r:0 w:0) @@ -84,7 +84,7 @@ impl frame_system::WeightInfo for WeightInfo { fn kill_prefix(p: u32, ) -> Weight { Weight::from_ref_time(0 as RefTimeWeight) // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(961_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(961_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes((1 as RefTimeWeight).saturating_mul(p as RefTimeWeight))) } } diff --git a/runtime/polkadot/src/weights/pallet_bounties.rs b/runtime/polkadot/src/weights/pallet_bounties.rs index fea914f5cd07..19f075dc6452 100644 --- a/runtime/polkadot/src/weights/pallet_bounties.rs +++ b/runtime/polkadot/src/weights/pallet_bounties.rs @@ -52,7 +52,7 @@ impl pallet_bounties::WeightInfo for WeightInfo { fn propose_bounty(d: u32, ) -> Weight { Weight::from_ref_time(26_205_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(1_000 as RefTimeWeight).scalar_saturating_mul(d as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(1_000 as RefTimeWeight).saturating_mul(d as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(4 as RefTimeWeight)) } @@ -130,7 +130,7 @@ impl pallet_bounties::WeightInfo for WeightInfo { fn spend_funds(b: u32, ) -> Weight { Weight::from_ref_time(0 as RefTimeWeight) // Standard Error: 28_000 - .saturating_add(Weight::from_ref_time(29_706_000 as RefTimeWeight).scalar_saturating_mul(b as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(29_706_000 as RefTimeWeight).saturating_mul(b as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads((3 as RefTimeWeight).saturating_mul(b as RefTimeWeight))) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) diff --git a/runtime/polkadot/src/weights/pallet_child_bounties.rs b/runtime/polkadot/src/weights/pallet_child_bounties.rs index a1ac05f80654..8c6c73aa40b1 100644 --- a/runtime/polkadot/src/weights/pallet_child_bounties.rs +++ b/runtime/polkadot/src/weights/pallet_child_bounties.rs @@ -54,7 +54,7 @@ impl pallet_child_bounties::WeightInfo for WeightInfo Weight { Weight::from_ref_time(47_819_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(1_000 as RefTimeWeight).scalar_saturating_mul(d as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(1_000 as RefTimeWeight).saturating_mul(d as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(5 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(6 as RefTimeWeight)) } diff --git a/runtime/polkadot/src/weights/pallet_collective_council.rs b/runtime/polkadot/src/weights/pallet_collective_council.rs index 620974e78432..c565dca36577 100644 --- a/runtime/polkadot/src/weights/pallet_collective_council.rs +++ b/runtime/polkadot/src/weights/pallet_collective_council.rs @@ -51,11 +51,11 @@ impl pallet_collective::WeightInfo for WeightInfo { fn set_members(m: u32, n: u32, p: u32, ) -> Weight { Weight::from_ref_time(0 as RefTimeWeight) // Standard Error: 6_000 - .saturating_add(Weight::from_ref_time(14_248_000 as RefTimeWeight).scalar_saturating_mul(m as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(14_248_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight)) // Standard Error: 6_000 - .saturating_add(Weight::from_ref_time(320_000 as RefTimeWeight).scalar_saturating_mul(n as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(320_000 as RefTimeWeight).saturating_mul(n as RefTimeWeight)) // Standard Error: 6_000 - .saturating_add(Weight::from_ref_time(19_166_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(19_166_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads((1 as RefTimeWeight).saturating_mul(p as RefTimeWeight))) .saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight)) @@ -65,9 +65,9 @@ impl pallet_collective::WeightInfo for WeightInfo { fn execute(b: u32, m: u32, ) -> Weight { Weight::from_ref_time(21_101_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).scalar_saturating_mul(b as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).saturating_mul(b as RefTimeWeight)) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(83_000 as RefTimeWeight).scalar_saturating_mul(m as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(83_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight)) } // Storage: Instance1Collective Members (r:1 w:0) @@ -75,9 +75,9 @@ impl pallet_collective::WeightInfo for WeightInfo { fn propose_execute(b: u32, m: u32, ) -> Weight { Weight::from_ref_time(25_378_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).scalar_saturating_mul(b as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).saturating_mul(b as RefTimeWeight)) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(163_000 as RefTimeWeight).scalar_saturating_mul(m as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(163_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight)) } // Storage: Instance1Collective Members (r:1 w:0) @@ -88,11 +88,11 @@ impl pallet_collective::WeightInfo for WeightInfo { fn propose_proposed(b: u32, m: u32, p: u32, ) -> Weight { Weight::from_ref_time(40_063_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(4_000 as RefTimeWeight).scalar_saturating_mul(b as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(4_000 as RefTimeWeight).saturating_mul(b as RefTimeWeight)) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(88_000 as RefTimeWeight).scalar_saturating_mul(m as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(88_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight)) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(373_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(373_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(4 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(4 as RefTimeWeight)) } @@ -101,7 +101,7 @@ impl pallet_collective::WeightInfo for WeightInfo { fn vote(m: u32, ) -> Weight { Weight::from_ref_time(31_307_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(196_000 as RefTimeWeight).scalar_saturating_mul(m as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(196_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) } @@ -112,9 +112,9 @@ impl pallet_collective::WeightInfo for WeightInfo { fn close_early_disapproved(m: u32, p: u32, ) -> Weight { Weight::from_ref_time(39_515_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(165_000 as RefTimeWeight).scalar_saturating_mul(m as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(165_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight)) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(343_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(343_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight)) } @@ -125,11 +125,11 @@ impl pallet_collective::WeightInfo for WeightInfo { fn close_early_approved(b: u32, m: u32, p: u32, ) -> Weight { Weight::from_ref_time(54_757_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).scalar_saturating_mul(b as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).saturating_mul(b as RefTimeWeight)) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(163_000 as RefTimeWeight).scalar_saturating_mul(m as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(163_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight)) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(340_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(340_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(4 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight)) } @@ -141,9 +141,9 @@ impl pallet_collective::WeightInfo for WeightInfo { fn close_disapproved(m: u32, p: u32, ) -> Weight { Weight::from_ref_time(43_851_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(167_000 as RefTimeWeight).scalar_saturating_mul(m as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(167_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight)) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(344_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(344_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(4 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight)) } @@ -155,11 +155,11 @@ impl pallet_collective::WeightInfo for WeightInfo { fn close_approved(b: u32, m: u32, p: u32, ) -> Weight { Weight::from_ref_time(57_946_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).scalar_saturating_mul(b as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).saturating_mul(b as RefTimeWeight)) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(168_000 as RefTimeWeight).scalar_saturating_mul(m as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(168_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight)) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(344_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(344_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(5 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight)) } @@ -169,7 +169,7 @@ impl pallet_collective::WeightInfo for WeightInfo { fn disapprove_proposal(p: u32, ) -> Weight { Weight::from_ref_time(24_228_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(348_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(348_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight)) } diff --git a/runtime/polkadot/src/weights/pallet_collective_technical_committee.rs b/runtime/polkadot/src/weights/pallet_collective_technical_committee.rs index c936a25fedc7..1514741cfa93 100644 --- a/runtime/polkadot/src/weights/pallet_collective_technical_committee.rs +++ b/runtime/polkadot/src/weights/pallet_collective_technical_committee.rs @@ -51,11 +51,11 @@ impl pallet_collective::WeightInfo for WeightInfo { fn set_members(m: u32, n: u32, p: u32, ) -> Weight { Weight::from_ref_time(0 as RefTimeWeight) // Standard Error: 6_000 - .saturating_add(Weight::from_ref_time(14_085_000 as RefTimeWeight).scalar_saturating_mul(m as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(14_085_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight)) // Standard Error: 6_000 - .saturating_add(Weight::from_ref_time(40_000 as RefTimeWeight).scalar_saturating_mul(n as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(40_000 as RefTimeWeight).saturating_mul(n as RefTimeWeight)) // Standard Error: 6_000 - .saturating_add(Weight::from_ref_time(19_086_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(19_086_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads((1 as RefTimeWeight).saturating_mul(p as RefTimeWeight))) .saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight)) @@ -65,9 +65,9 @@ impl pallet_collective::WeightInfo for WeightInfo { fn execute(b: u32, m: u32, ) -> Weight { Weight::from_ref_time(21_082_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).scalar_saturating_mul(b as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).saturating_mul(b as RefTimeWeight)) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(79_000 as RefTimeWeight).scalar_saturating_mul(m as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(79_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight)) } // Storage: Instance2Collective Members (r:1 w:0) @@ -75,9 +75,9 @@ impl pallet_collective::WeightInfo for WeightInfo { fn propose_execute(b: u32, m: u32, ) -> Weight { Weight::from_ref_time(25_580_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).scalar_saturating_mul(b as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).saturating_mul(b as RefTimeWeight)) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(157_000 as RefTimeWeight).scalar_saturating_mul(m as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(157_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight)) } // Storage: Instance2Collective Members (r:1 w:0) @@ -88,11 +88,11 @@ impl pallet_collective::WeightInfo for WeightInfo { fn propose_proposed(b: u32, m: u32, p: u32, ) -> Weight { Weight::from_ref_time(40_015_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(4_000 as RefTimeWeight).scalar_saturating_mul(b as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(4_000 as RefTimeWeight).saturating_mul(b as RefTimeWeight)) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(85_000 as RefTimeWeight).scalar_saturating_mul(m as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(85_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight)) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(371_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(371_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(4 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(4 as RefTimeWeight)) } @@ -101,7 +101,7 @@ impl pallet_collective::WeightInfo for WeightInfo { fn vote(m: u32, ) -> Weight { Weight::from_ref_time(31_124_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(195_000 as RefTimeWeight).scalar_saturating_mul(m as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(195_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) } @@ -112,9 +112,9 @@ impl pallet_collective::WeightInfo for WeightInfo { fn close_early_disapproved(m: u32, p: u32, ) -> Weight { Weight::from_ref_time(39_289_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(167_000 as RefTimeWeight).scalar_saturating_mul(m as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(167_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight)) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(342_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(342_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight)) } @@ -125,11 +125,11 @@ impl pallet_collective::WeightInfo for WeightInfo { fn close_early_approved(b: u32, m: u32, p: u32, ) -> Weight { Weight::from_ref_time(54_722_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).scalar_saturating_mul(b as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).saturating_mul(b as RefTimeWeight)) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(163_000 as RefTimeWeight).scalar_saturating_mul(m as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(163_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight)) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(339_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(339_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(4 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight)) } @@ -141,9 +141,9 @@ impl pallet_collective::WeightInfo for WeightInfo { fn close_disapproved(m: u32, p: u32, ) -> Weight { Weight::from_ref_time(43_840_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(168_000 as RefTimeWeight).scalar_saturating_mul(m as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(168_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight)) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(340_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(340_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(4 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight)) } @@ -155,11 +155,11 @@ impl pallet_collective::WeightInfo for WeightInfo { fn close_approved(b: u32, m: u32, p: u32, ) -> Weight { Weight::from_ref_time(58_145_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).scalar_saturating_mul(b as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).saturating_mul(b as RefTimeWeight)) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(168_000 as RefTimeWeight).scalar_saturating_mul(m as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(168_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight)) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(341_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(341_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(5 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight)) } @@ -169,7 +169,7 @@ impl pallet_collective::WeightInfo for WeightInfo { fn disapprove_proposal(p: u32, ) -> Weight { Weight::from_ref_time(24_137_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(348_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(348_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight)) } diff --git a/runtime/polkadot/src/weights/pallet_democracy.rs b/runtime/polkadot/src/weights/pallet_democracy.rs index c1c7c9be9dd5..9d7a3218c462 100644 --- a/runtime/polkadot/src/weights/pallet_democracy.rs +++ b/runtime/polkadot/src/weights/pallet_democracy.rs @@ -58,7 +58,7 @@ impl pallet_democracy::WeightInfo for WeightInfo { fn second(s: u32, ) -> Weight { Weight::from_ref_time(27_380_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(67_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(67_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) } @@ -69,7 +69,7 @@ impl pallet_democracy::WeightInfo for WeightInfo { fn vote_new(r: u32, ) -> Weight { Weight::from_ref_time(35_299_000 as RefTimeWeight) // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(117_000 as RefTimeWeight).scalar_saturating_mul(r as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(117_000 as RefTimeWeight).saturating_mul(r as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight)) } @@ -80,7 +80,7 @@ impl pallet_democracy::WeightInfo for WeightInfo { fn vote_existing(r: u32, ) -> Weight { Weight::from_ref_time(35_585_000 as RefTimeWeight) // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(110_000 as RefTimeWeight).scalar_saturating_mul(r as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(110_000 as RefTimeWeight).saturating_mul(r as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight)) } @@ -101,7 +101,7 @@ impl pallet_democracy::WeightInfo for WeightInfo { fn blacklist(p: u32, ) -> Weight { Weight::from_ref_time(51_416_000 as RefTimeWeight) // Standard Error: 6_000 - .saturating_add(Weight::from_ref_time(181_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(181_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(5 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(6 as RefTimeWeight)) } @@ -111,7 +111,7 @@ impl pallet_democracy::WeightInfo for WeightInfo { fn external_propose(v: u32, ) -> Weight { Weight::from_ref_time(9_901_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(10_000 as RefTimeWeight).scalar_saturating_mul(v as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(10_000 as RefTimeWeight).saturating_mul(v as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) } @@ -139,7 +139,7 @@ impl pallet_democracy::WeightInfo for WeightInfo { fn veto_external(v: u32, ) -> Weight { Weight::from_ref_time(18_457_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(45_000 as RefTimeWeight).scalar_saturating_mul(v as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(45_000 as RefTimeWeight).saturating_mul(v as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight)) } @@ -150,7 +150,7 @@ impl pallet_democracy::WeightInfo for WeightInfo { fn cancel_proposal(p: u32, ) -> Weight { Weight::from_ref_time(42_442_000 as RefTimeWeight) // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(150_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(150_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight)) } @@ -165,7 +165,7 @@ impl pallet_democracy::WeightInfo for WeightInfo { fn cancel_queued(r: u32, ) -> Weight { Weight::from_ref_time(22_952_000 as RefTimeWeight) // Standard Error: 4_000 - .saturating_add(Weight::from_ref_time(1_756_000 as RefTimeWeight).scalar_saturating_mul(r as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(1_756_000 as RefTimeWeight).saturating_mul(r as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight)) } @@ -176,7 +176,7 @@ impl pallet_democracy::WeightInfo for WeightInfo { fn on_initialize_base(r: u32, ) -> Weight { Weight::from_ref_time(1_874_000 as RefTimeWeight) // Standard Error: 4_000 - .saturating_add(Weight::from_ref_time(2_927_000 as RefTimeWeight).scalar_saturating_mul(r as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(2_927_000 as RefTimeWeight).saturating_mul(r as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads((1 as RefTimeWeight).saturating_mul(r as RefTimeWeight))) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) @@ -191,7 +191,7 @@ impl pallet_democracy::WeightInfo for WeightInfo { fn on_initialize_base_with_launch_period(r: u32, ) -> Weight { Weight::from_ref_time(4_956_000 as RefTimeWeight) // Standard Error: 19_000 - .saturating_add(Weight::from_ref_time(3_013_000 as RefTimeWeight).scalar_saturating_mul(r as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(3_013_000 as RefTimeWeight).saturating_mul(r as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(5 as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads((1 as RefTimeWeight).saturating_mul(r as RefTimeWeight))) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) @@ -203,7 +203,7 @@ impl pallet_democracy::WeightInfo for WeightInfo { fn delegate(r: u32, ) -> Weight { Weight::from_ref_time(35_923_000 as RefTimeWeight) // Standard Error: 5_000 - .saturating_add(Weight::from_ref_time(3_904_000 as RefTimeWeight).scalar_saturating_mul(r as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(3_904_000 as RefTimeWeight).saturating_mul(r as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(4 as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads((1 as RefTimeWeight).saturating_mul(r as RefTimeWeight))) .saturating_add(T::DbWeight::get().writes(4 as RefTimeWeight)) @@ -215,7 +215,7 @@ impl pallet_democracy::WeightInfo for WeightInfo { fn undelegate(r: u32, ) -> Weight { Weight::from_ref_time(20_735_000 as RefTimeWeight) // Standard Error: 5_000 - .saturating_add(Weight::from_ref_time(3_853_000 as RefTimeWeight).scalar_saturating_mul(r as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(3_853_000 as RefTimeWeight).saturating_mul(r as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads((1 as RefTimeWeight).saturating_mul(r as RefTimeWeight))) .saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight)) @@ -231,7 +231,7 @@ impl pallet_democracy::WeightInfo for WeightInfo { fn note_preimage(b: u32, ) -> Weight { Weight::from_ref_time(25_748_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).scalar_saturating_mul(b as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).saturating_mul(b as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) } @@ -240,7 +240,7 @@ impl pallet_democracy::WeightInfo for WeightInfo { fn note_imminent_preimage(b: u32, ) -> Weight { Weight::from_ref_time(17_855_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).scalar_saturating_mul(b as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).saturating_mul(b as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) } @@ -250,7 +250,7 @@ impl pallet_democracy::WeightInfo for WeightInfo { fn reap_preimage(b: u32, ) -> Weight { Weight::from_ref_time(24_856_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(1_000 as RefTimeWeight).scalar_saturating_mul(b as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(1_000 as RefTimeWeight).saturating_mul(b as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) } @@ -261,7 +261,7 @@ impl pallet_democracy::WeightInfo for WeightInfo { fn unlock_remove(r: u32, ) -> Weight { Weight::from_ref_time(22_749_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(33_000 as RefTimeWeight).scalar_saturating_mul(r as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(33_000 as RefTimeWeight).saturating_mul(r as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight)) } @@ -272,7 +272,7 @@ impl pallet_democracy::WeightInfo for WeightInfo { fn unlock_set(r: u32, ) -> Weight { Weight::from_ref_time(21_921_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(102_000 as RefTimeWeight).scalar_saturating_mul(r as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(102_000 as RefTimeWeight).saturating_mul(r as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight)) } @@ -282,7 +282,7 @@ impl pallet_democracy::WeightInfo for WeightInfo { fn remove_vote(r: u32, ) -> Weight { Weight::from_ref_time(13_586_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(98_000 as RefTimeWeight).scalar_saturating_mul(r as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(98_000 as RefTimeWeight).saturating_mul(r as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight)) } @@ -292,7 +292,7 @@ impl pallet_democracy::WeightInfo for WeightInfo { fn remove_other_vote(r: u32, ) -> Weight { Weight::from_ref_time(13_599_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(96_000 as RefTimeWeight).scalar_saturating_mul(r as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(96_000 as RefTimeWeight).saturating_mul(r as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight)) } diff --git a/runtime/polkadot/src/weights/pallet_election_provider_multi_phase.rs b/runtime/polkadot/src/weights/pallet_election_provider_multi_phase.rs index f91641564de5..b80045b753d1 100644 --- a/runtime/polkadot/src/weights/pallet_election_provider_multi_phase.rs +++ b/runtime/polkadot/src/weights/pallet_election_provider_multi_phase.rs @@ -91,9 +91,9 @@ impl pallet_election_provider_multi_phase::WeightInfo f fn create_snapshot_internal(v: u32, t: u32, ) -> Weight { Weight::from_ref_time(0 as RefTimeWeight) // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(406_000 as RefTimeWeight).scalar_saturating_mul(v as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(406_000 as RefTimeWeight).saturating_mul(v as RefTimeWeight)) // Standard Error: 5_000 - .saturating_add(Weight::from_ref_time(62_000 as RefTimeWeight).scalar_saturating_mul(t as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(62_000 as RefTimeWeight).saturating_mul(t as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight)) } // Storage: ElectionProviderMultiPhase SignedSubmissionIndices (r:1 w:1) @@ -111,9 +111,9 @@ impl pallet_election_provider_multi_phase::WeightInfo f fn elect_queued(a: u32, d: u32, ) -> Weight { Weight::from_ref_time(113_324_000 as RefTimeWeight) // Standard Error: 7_000 - .saturating_add(Weight::from_ref_time(342_000 as RefTimeWeight).scalar_saturating_mul(a as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(342_000 as RefTimeWeight).saturating_mul(a as RefTimeWeight)) // Standard Error: 11_000 - .saturating_add(Weight::from_ref_time(54_000 as RefTimeWeight).scalar_saturating_mul(d as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(54_000 as RefTimeWeight).saturating_mul(d as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(7 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(9 as RefTimeWeight)) } @@ -142,13 +142,13 @@ impl pallet_election_provider_multi_phase::WeightInfo f fn submit_unsigned(v: u32, t: u32, a: u32, d: u32, ) -> Weight { Weight::from_ref_time(0 as RefTimeWeight) // Standard Error: 5_000 - .saturating_add(Weight::from_ref_time(850_000 as RefTimeWeight).scalar_saturating_mul(v as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(850_000 as RefTimeWeight).saturating_mul(v as RefTimeWeight)) // Standard Error: 11_000 - .saturating_add(Weight::from_ref_time(11_000 as RefTimeWeight).scalar_saturating_mul(t as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(11_000 as RefTimeWeight).saturating_mul(t as RefTimeWeight)) // Standard Error: 19_000 - .saturating_add(Weight::from_ref_time(7_957_000 as RefTimeWeight).scalar_saturating_mul(a as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(7_957_000 as RefTimeWeight).saturating_mul(a as RefTimeWeight)) // Standard Error: 28_000 - .saturating_add(Weight::from_ref_time(1_659_000 as RefTimeWeight).scalar_saturating_mul(d as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(1_659_000 as RefTimeWeight).saturating_mul(d as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(7 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) } @@ -163,13 +163,13 @@ impl pallet_election_provider_multi_phase::WeightInfo f fn feasibility_check(v: u32, t: u32, a: u32, d: u32, ) -> Weight { Weight::from_ref_time(0 as RefTimeWeight) // Standard Error: 4_000 - .saturating_add(Weight::from_ref_time(856_000 as RefTimeWeight).scalar_saturating_mul(v as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(856_000 as RefTimeWeight).saturating_mul(v as RefTimeWeight)) // Standard Error: 9_000 - .saturating_add(Weight::from_ref_time(63_000 as RefTimeWeight).scalar_saturating_mul(t as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(63_000 as RefTimeWeight).saturating_mul(t as RefTimeWeight)) // Standard Error: 16_000 - .saturating_add(Weight::from_ref_time(5_762_000 as RefTimeWeight).scalar_saturating_mul(a as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(5_762_000 as RefTimeWeight).saturating_mul(a as RefTimeWeight)) // Standard Error: 24_000 - .saturating_add(Weight::from_ref_time(1_360_000 as RefTimeWeight).scalar_saturating_mul(d as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(1_360_000 as RefTimeWeight).saturating_mul(d as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(4 as RefTimeWeight)) } } diff --git a/runtime/polkadot/src/weights/pallet_elections_phragmen.rs b/runtime/polkadot/src/weights/pallet_elections_phragmen.rs index f4d07b81949a..adb07b5bc6f1 100644 --- a/runtime/polkadot/src/weights/pallet_elections_phragmen.rs +++ b/runtime/polkadot/src/weights/pallet_elections_phragmen.rs @@ -53,7 +53,7 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn fn vote_equal(v: u32, ) -> Weight { Weight::from_ref_time(24_201_000 as RefTimeWeight) // Standard Error: 3_000 - .saturating_add(Weight::from_ref_time(157_000 as RefTimeWeight).scalar_saturating_mul(v as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(157_000 as RefTimeWeight).saturating_mul(v as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(5 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight)) } @@ -66,7 +66,7 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn fn vote_more(v: u32, ) -> Weight { Weight::from_ref_time(36_619_000 as RefTimeWeight) // Standard Error: 3_000 - .saturating_add(Weight::from_ref_time(161_000 as RefTimeWeight).scalar_saturating_mul(v as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(161_000 as RefTimeWeight).saturating_mul(v as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(5 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight)) } @@ -79,7 +79,7 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn fn vote_less(v: u32, ) -> Weight { Weight::from_ref_time(36_953_000 as RefTimeWeight) // Standard Error: 3_000 - .saturating_add(Weight::from_ref_time(121_000 as RefTimeWeight).scalar_saturating_mul(v as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(121_000 as RefTimeWeight).saturating_mul(v as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(5 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight)) } @@ -97,7 +97,7 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn fn submit_candidacy(c: u32, ) -> Weight { Weight::from_ref_time(26_285_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(98_000 as RefTimeWeight).scalar_saturating_mul(c as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(98_000 as RefTimeWeight).saturating_mul(c as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) } @@ -106,7 +106,7 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn fn renounce_candidacy_candidate(c: u32, ) -> Weight { Weight::from_ref_time(23_041_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(64_000 as RefTimeWeight).scalar_saturating_mul(c as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(64_000 as RefTimeWeight).saturating_mul(c as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) } @@ -152,7 +152,7 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn fn clean_defunct_voters(v: u32, _d: u32, ) -> Weight { Weight::from_ref_time(0 as RefTimeWeight) // Standard Error: 74_000 - .saturating_add(Weight::from_ref_time(61_573_000 as RefTimeWeight).scalar_saturating_mul(v as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(61_573_000 as RefTimeWeight).saturating_mul(v as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(4 as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads((3 as RefTimeWeight).saturating_mul(v as RefTimeWeight))) .saturating_add(T::DbWeight::get().writes((3 as RefTimeWeight).saturating_mul(v as RefTimeWeight))) @@ -172,9 +172,9 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn fn election_phragmen(c: u32, v: u32, e: u32, ) -> Weight { Weight::from_ref_time(0 as RefTimeWeight) // Standard Error: 1_489_000 - .saturating_add(Weight::from_ref_time(138_137_000 as RefTimeWeight).scalar_saturating_mul(v as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(138_137_000 as RefTimeWeight).saturating_mul(v as RefTimeWeight)) // Standard Error: 99_000 - .saturating_add(Weight::from_ref_time(7_943_000 as RefTimeWeight).scalar_saturating_mul(e as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(7_943_000 as RefTimeWeight).saturating_mul(e as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(269 as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads((1 as RefTimeWeight).saturating_mul(c as RefTimeWeight))) .saturating_add(T::DbWeight::get().reads((1 as RefTimeWeight).saturating_mul(v as RefTimeWeight))) diff --git a/runtime/polkadot/src/weights/pallet_identity.rs b/runtime/polkadot/src/weights/pallet_identity.rs index 915bde46c88b..ba8ffe9c7336 100644 --- a/runtime/polkadot/src/weights/pallet_identity.rs +++ b/runtime/polkadot/src/weights/pallet_identity.rs @@ -49,7 +49,7 @@ impl pallet_identity::WeightInfo for WeightInfo { fn add_registrar(r: u32, ) -> Weight { Weight::from_ref_time(15_723_000 as RefTimeWeight) // Standard Error: 3_000 - .saturating_add(Weight::from_ref_time(163_000 as RefTimeWeight).scalar_saturating_mul(r as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(163_000 as RefTimeWeight).saturating_mul(r as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) } @@ -59,9 +59,9 @@ impl pallet_identity::WeightInfo for WeightInfo { fn set_identity(r: u32, x: u32, ) -> Weight { Weight::from_ref_time(28_673_000 as RefTimeWeight) // Standard Error: 6_000 - .saturating_add(Weight::from_ref_time(188_000 as RefTimeWeight).scalar_saturating_mul(r as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(188_000 as RefTimeWeight).saturating_mul(r as RefTimeWeight)) // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(335_000 as RefTimeWeight).scalar_saturating_mul(x as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(335_000 as RefTimeWeight).saturating_mul(x as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) } @@ -72,7 +72,7 @@ impl pallet_identity::WeightInfo for WeightInfo { fn set_subs_new(s: u32, ) -> Weight { Weight::from_ref_time(25_786_000 as RefTimeWeight) // Standard Error: 4_000 - .saturating_add(Weight::from_ref_time(2_924_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(2_924_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads((1 as RefTimeWeight).saturating_mul(s as RefTimeWeight))) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) @@ -85,7 +85,7 @@ impl pallet_identity::WeightInfo for WeightInfo { fn set_subs_old(p: u32, ) -> Weight { Weight::from_ref_time(25_940_000 as RefTimeWeight) // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(917_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(917_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes((1 as RefTimeWeight).saturating_mul(p as RefTimeWeight))) @@ -99,11 +99,11 @@ impl pallet_identity::WeightInfo for WeightInfo { fn clear_identity(r: u32, s: u32, x: u32, ) -> Weight { Weight::from_ref_time(30_589_000 as RefTimeWeight) // Standard Error: 9_000 - .saturating_add(Weight::from_ref_time(106_000 as RefTimeWeight).scalar_saturating_mul(r as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(106_000 as RefTimeWeight).saturating_mul(r as RefTimeWeight)) // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(929_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(929_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(168_000 as RefTimeWeight).scalar_saturating_mul(x as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(168_000 as RefTimeWeight).saturating_mul(x as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes((1 as RefTimeWeight).saturating_mul(s as RefTimeWeight))) @@ -115,9 +115,9 @@ impl pallet_identity::WeightInfo for WeightInfo { fn request_judgement(r: u32, x: u32, ) -> Weight { Weight::from_ref_time(30_524_000 as RefTimeWeight) // Standard Error: 3_000 - .saturating_add(Weight::from_ref_time(160_000 as RefTimeWeight).scalar_saturating_mul(r as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(160_000 as RefTimeWeight).saturating_mul(r as RefTimeWeight)) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(339_000 as RefTimeWeight).scalar_saturating_mul(x as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(339_000 as RefTimeWeight).saturating_mul(x as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) } @@ -127,9 +127,9 @@ impl pallet_identity::WeightInfo for WeightInfo { fn cancel_request(r: u32, x: u32, ) -> Weight { Weight::from_ref_time(28_075_000 as RefTimeWeight) // Standard Error: 3_000 - .saturating_add(Weight::from_ref_time(114_000 as RefTimeWeight).scalar_saturating_mul(r as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(114_000 as RefTimeWeight).saturating_mul(r as RefTimeWeight)) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(330_000 as RefTimeWeight).scalar_saturating_mul(x as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(330_000 as RefTimeWeight).saturating_mul(x as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) } @@ -138,7 +138,7 @@ impl pallet_identity::WeightInfo for WeightInfo { fn set_fee(r: u32, ) -> Weight { Weight::from_ref_time(6_835_000 as RefTimeWeight) // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(133_000 as RefTimeWeight).scalar_saturating_mul(r as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(133_000 as RefTimeWeight).saturating_mul(r as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) } @@ -147,7 +147,7 @@ impl pallet_identity::WeightInfo for WeightInfo { fn set_account_id(r: u32, ) -> Weight { Weight::from_ref_time(6_829_000 as RefTimeWeight) // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(119_000 as RefTimeWeight).scalar_saturating_mul(r as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(119_000 as RefTimeWeight).saturating_mul(r as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) } @@ -156,7 +156,7 @@ impl pallet_identity::WeightInfo for WeightInfo { fn set_fields(r: u32, ) -> Weight { Weight::from_ref_time(7_029_000 as RefTimeWeight) // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(118_000 as RefTimeWeight).scalar_saturating_mul(r as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(118_000 as RefTimeWeight).saturating_mul(r as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) } @@ -167,9 +167,9 @@ impl pallet_identity::WeightInfo for WeightInfo { fn provide_judgement(r: u32, x: u32, ) -> Weight { Weight::from_ref_time(21_589_000 as RefTimeWeight) // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(112_000 as RefTimeWeight).scalar_saturating_mul(r as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(112_000 as RefTimeWeight).saturating_mul(r as RefTimeWeight)) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(339_000 as RefTimeWeight).scalar_saturating_mul(x as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(339_000 as RefTimeWeight).saturating_mul(x as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) } @@ -183,9 +183,9 @@ impl pallet_identity::WeightInfo for WeightInfo { fn kill_identity(r: u32, s: u32, _x: u32, ) -> Weight { Weight::from_ref_time(46_356_000 as RefTimeWeight) // Standard Error: 11_000 - .saturating_add(Weight::from_ref_time(93_000 as RefTimeWeight).scalar_saturating_mul(r as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(93_000 as RefTimeWeight).saturating_mul(r as RefTimeWeight)) // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(932_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(932_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes((1 as RefTimeWeight).saturating_mul(s as RefTimeWeight))) @@ -197,7 +197,7 @@ impl pallet_identity::WeightInfo for WeightInfo { fn add_sub(s: u32, ) -> Weight { Weight::from_ref_time(33_155_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(87_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(87_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight)) } @@ -207,7 +207,7 @@ impl pallet_identity::WeightInfo for WeightInfo { fn rename_sub(s: u32, ) -> Weight { Weight::from_ref_time(12_099_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(28_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(28_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) } @@ -218,7 +218,7 @@ impl pallet_identity::WeightInfo for WeightInfo { fn remove_sub(s: u32, ) -> Weight { Weight::from_ref_time(34_432_000 as RefTimeWeight) // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(72_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(72_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight)) } @@ -228,7 +228,7 @@ impl pallet_identity::WeightInfo for WeightInfo { fn quit_sub(s: u32, ) -> Weight { Weight::from_ref_time(23_989_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(72_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(72_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight)) } diff --git a/runtime/polkadot/src/weights/pallet_im_online.rs b/runtime/polkadot/src/weights/pallet_im_online.rs index 9c057a108904..301739e00bc4 100644 --- a/runtime/polkadot/src/weights/pallet_im_online.rs +++ b/runtime/polkadot/src/weights/pallet_im_online.rs @@ -54,9 +54,9 @@ impl pallet_im_online::WeightInfo for WeightInfo { fn validate_unsigned_and_then_heartbeat(k: u32, e: u32, ) -> Weight { Weight::from_ref_time(75_125_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(26_000 as RefTimeWeight).scalar_saturating_mul(k as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(26_000 as RefTimeWeight).saturating_mul(k as RefTimeWeight)) // Standard Error: 3_000 - .saturating_add(Weight::from_ref_time(309_000 as RefTimeWeight).scalar_saturating_mul(e as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(309_000 as RefTimeWeight).saturating_mul(e as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(4 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) } diff --git a/runtime/polkadot/src/weights/pallet_membership.rs b/runtime/polkadot/src/weights/pallet_membership.rs index 3c3bf21377d5..5589f44aab6d 100644 --- a/runtime/polkadot/src/weights/pallet_membership.rs +++ b/runtime/polkadot/src/weights/pallet_membership.rs @@ -52,7 +52,7 @@ impl pallet_membership::WeightInfo for WeightInfo { fn add_member(m: u32, ) -> Weight { Weight::from_ref_time(18_204_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(55_000 as RefTimeWeight).scalar_saturating_mul(m as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(55_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight)) } @@ -65,7 +65,7 @@ impl pallet_membership::WeightInfo for WeightInfo { fn remove_member(m: u32, ) -> Weight { Weight::from_ref_time(20_617_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(45_000 as RefTimeWeight).scalar_saturating_mul(m as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(45_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight)) } @@ -78,7 +78,7 @@ impl pallet_membership::WeightInfo for WeightInfo { fn swap_member(m: u32, ) -> Weight { Weight::from_ref_time(20_686_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(59_000 as RefTimeWeight).scalar_saturating_mul(m as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(59_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight)) } @@ -91,7 +91,7 @@ impl pallet_membership::WeightInfo for WeightInfo { fn reset_member(m: u32, ) -> Weight { Weight::from_ref_time(20_032_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(179_000 as RefTimeWeight).scalar_saturating_mul(m as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(179_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight)) } @@ -104,7 +104,7 @@ impl pallet_membership::WeightInfo for WeightInfo { fn change_key(m: u32, ) -> Weight { Weight::from_ref_time(21_386_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(56_000 as RefTimeWeight).scalar_saturating_mul(m as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(56_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(4 as RefTimeWeight)) } @@ -115,7 +115,7 @@ impl pallet_membership::WeightInfo for WeightInfo { fn set_prime(m: u32, ) -> Weight { Weight::from_ref_time(7_077_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(11_000 as RefTimeWeight).scalar_saturating_mul(m as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(11_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight)) } @@ -125,7 +125,7 @@ impl pallet_membership::WeightInfo for WeightInfo { fn clear_prime(m: u32, ) -> Weight { Weight::from_ref_time(3_931_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(1_000 as RefTimeWeight).scalar_saturating_mul(m as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(1_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight)) } } diff --git a/runtime/polkadot/src/weights/pallet_multisig.rs b/runtime/polkadot/src/weights/pallet_multisig.rs index deeb5f21a4a7..ca552ea82b6e 100644 --- a/runtime/polkadot/src/weights/pallet_multisig.rs +++ b/runtime/polkadot/src/weights/pallet_multisig.rs @@ -48,7 +48,7 @@ impl pallet_multisig::WeightInfo for WeightInfo { fn as_multi_threshold_1(z: u32, ) -> Weight { Weight::from_ref_time(13_989_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(1_000 as RefTimeWeight).scalar_saturating_mul(z as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(1_000 as RefTimeWeight).saturating_mul(z as RefTimeWeight)) } // Storage: Multisig Multisigs (r:1 w:1) // Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0) @@ -57,9 +57,9 @@ impl pallet_multisig::WeightInfo for WeightInfo { fn as_multi_create(s: u32, z: u32, ) -> Weight { Weight::from_ref_time(30_373_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(104_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(104_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).scalar_saturating_mul(z as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).saturating_mul(z as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) } @@ -71,9 +71,9 @@ impl pallet_multisig::WeightInfo for WeightInfo { fn as_multi_create_store(s: u32, z: u32, ) -> Weight { Weight::from_ref_time(32_912_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(108_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(108_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).scalar_saturating_mul(z as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).saturating_mul(z as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight)) } @@ -83,9 +83,9 @@ impl pallet_multisig::WeightInfo for WeightInfo { fn as_multi_approve(s: u32, z: u32, ) -> Weight { Weight::from_ref_time(19_525_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(106_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(106_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).scalar_saturating_mul(z as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).saturating_mul(z as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) } @@ -96,9 +96,9 @@ impl pallet_multisig::WeightInfo for WeightInfo { fn as_multi_approve_store(s: u32, z: u32, ) -> Weight { Weight::from_ref_time(31_081_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(126_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(126_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).scalar_saturating_mul(z as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).saturating_mul(z as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight)) } @@ -110,9 +110,9 @@ impl pallet_multisig::WeightInfo for WeightInfo { fn as_multi_complete(s: u32, z: u32, ) -> Weight { Weight::from_ref_time(44_011_000 as RefTimeWeight) // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(101_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(101_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).scalar_saturating_mul(z as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).saturating_mul(z as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight)) } @@ -122,7 +122,7 @@ impl pallet_multisig::WeightInfo for WeightInfo { fn approve_as_multi_create(s: u32, ) -> Weight { Weight::from_ref_time(29_889_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(105_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(105_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) } @@ -132,7 +132,7 @@ impl pallet_multisig::WeightInfo for WeightInfo { fn approve_as_multi_approve(s: u32, ) -> Weight { Weight::from_ref_time(19_135_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(110_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(110_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) } @@ -143,7 +143,7 @@ impl pallet_multisig::WeightInfo for WeightInfo { fn approve_as_multi_complete(s: u32, ) -> Weight { Weight::from_ref_time(61_253_000 as RefTimeWeight) // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(139_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(139_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight)) } @@ -153,7 +153,7 @@ impl pallet_multisig::WeightInfo for WeightInfo { fn cancel_as_multi(s: u32, ) -> Weight { Weight::from_ref_time(44_745_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(116_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(116_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight)) } diff --git a/runtime/polkadot/src/weights/pallet_nomination_pools.rs b/runtime/polkadot/src/weights/pallet_nomination_pools.rs index 390ef321be04..f1b840e71282 100644 --- a/runtime/polkadot/src/weights/pallet_nomination_pools.rs +++ b/runtime/polkadot/src/weights/pallet_nomination_pools.rs @@ -126,7 +126,7 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo fn pool_withdraw_unbonded(s: u32, ) -> Weight { Weight::from_ref_time(41_173_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(31_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(31_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(4 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight)) } @@ -142,7 +142,7 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo fn withdraw_unbonded_update(s: u32, ) -> Weight { Weight::from_ref_time(80_122_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(39_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(39_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(8 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(7 as RefTimeWeight)) } @@ -169,7 +169,7 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo fn withdraw_unbonded_kill(s: u32, ) -> Weight { Weight::from_ref_time(137_635_000 as RefTimeWeight) // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(1_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(1_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(19 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(16 as RefTimeWeight)) } @@ -216,7 +216,7 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo fn nominate(n: u32, ) -> Weight { Weight::from_ref_time(49_620_000 as RefTimeWeight) // Standard Error: 7_000 - .saturating_add(Weight::from_ref_time(2_222_000 as RefTimeWeight).scalar_saturating_mul(n as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(2_222_000 as RefTimeWeight).saturating_mul(n as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(12 as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads((1 as RefTimeWeight).saturating_mul(n as RefTimeWeight))) .saturating_add(T::DbWeight::get().writes(5 as RefTimeWeight)) diff --git a/runtime/polkadot/src/weights/pallet_preimage.rs b/runtime/polkadot/src/weights/pallet_preimage.rs index 1f33ced55db1..49c31b17bcb3 100644 --- a/runtime/polkadot/src/weights/pallet_preimage.rs +++ b/runtime/polkadot/src/weights/pallet_preimage.rs @@ -50,7 +50,7 @@ impl pallet_preimage::WeightInfo for WeightInfo { fn note_preimage(s: u32, ) -> Weight { Weight::from_ref_time(0 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight)) } @@ -60,7 +60,7 @@ impl pallet_preimage::WeightInfo for WeightInfo { fn note_requested_preimage(s: u32, ) -> Weight { Weight::from_ref_time(0 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) } @@ -70,7 +70,7 @@ impl pallet_preimage::WeightInfo for WeightInfo { fn note_no_deposit_preimage(s: u32, ) -> Weight { Weight::from_ref_time(0 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) } diff --git a/runtime/polkadot/src/weights/pallet_proxy.rs b/runtime/polkadot/src/weights/pallet_proxy.rs index 910524d36e39..eb17addca26d 100644 --- a/runtime/polkadot/src/weights/pallet_proxy.rs +++ b/runtime/polkadot/src/weights/pallet_proxy.rs @@ -49,7 +49,7 @@ impl pallet_proxy::WeightInfo for WeightInfo { fn proxy(p: u32, ) -> Weight { Weight::from_ref_time(17_881_000 as RefTimeWeight) // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(62_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(62_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight)) } // Storage: Proxy Proxies (r:1 w:0) @@ -60,9 +60,9 @@ impl pallet_proxy::WeightInfo for WeightInfo { fn proxy_announced(a: u32, p: u32, ) -> Weight { Weight::from_ref_time(33_622_000 as RefTimeWeight) // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(160_000 as RefTimeWeight).scalar_saturating_mul(a as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(160_000 as RefTimeWeight).saturating_mul(a as RefTimeWeight)) // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(43_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(43_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight)) } @@ -73,9 +73,9 @@ impl pallet_proxy::WeightInfo for WeightInfo { fn remove_announcement(a: u32, p: u32, ) -> Weight { Weight::from_ref_time(22_694_000 as RefTimeWeight) // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(160_000 as RefTimeWeight).scalar_saturating_mul(a as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(160_000 as RefTimeWeight).saturating_mul(a as RefTimeWeight)) // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(8_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(8_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight)) } @@ -86,9 +86,9 @@ impl pallet_proxy::WeightInfo for WeightInfo { fn reject_announcement(a: u32, p: u32, ) -> Weight { Weight::from_ref_time(23_041_000 as RefTimeWeight) // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(152_000 as RefTimeWeight).scalar_saturating_mul(a as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(152_000 as RefTimeWeight).saturating_mul(a as RefTimeWeight)) // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight)) } @@ -100,9 +100,9 @@ impl pallet_proxy::WeightInfo for WeightInfo { fn announce(a: u32, p: u32, ) -> Weight { Weight::from_ref_time(30_007_000 as RefTimeWeight) // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(164_000 as RefTimeWeight).scalar_saturating_mul(a as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(164_000 as RefTimeWeight).saturating_mul(a as RefTimeWeight)) // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(46_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(46_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight)) } @@ -111,7 +111,7 @@ impl pallet_proxy::WeightInfo for WeightInfo { fn add_proxy(p: u32, ) -> Weight { Weight::from_ref_time(25_173_000 as RefTimeWeight) // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(90_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(90_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) } @@ -120,7 +120,7 @@ impl pallet_proxy::WeightInfo for WeightInfo { fn remove_proxy(p: u32, ) -> Weight { Weight::from_ref_time(25_002_000 as RefTimeWeight) // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(113_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(113_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) } @@ -129,7 +129,7 @@ impl pallet_proxy::WeightInfo for WeightInfo { fn remove_proxies(p: u32, ) -> Weight { Weight::from_ref_time(21_348_000 as RefTimeWeight) // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(54_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(54_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) } @@ -139,7 +139,7 @@ impl pallet_proxy::WeightInfo for WeightInfo { fn anonymous(p: u32, ) -> Weight { Weight::from_ref_time(28_480_000 as RefTimeWeight) // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(27_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(27_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) } @@ -148,7 +148,7 @@ impl pallet_proxy::WeightInfo for WeightInfo { fn kill_anonymous(p: u32, ) -> Weight { Weight::from_ref_time(22_099_000 as RefTimeWeight) // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(71_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(71_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) } diff --git a/runtime/polkadot/src/weights/pallet_scheduler.rs b/runtime/polkadot/src/weights/pallet_scheduler.rs index 4048ac72a1c5..1c7590b0ead9 100644 --- a/runtime/polkadot/src/weights/pallet_scheduler.rs +++ b/runtime/polkadot/src/weights/pallet_scheduler.rs @@ -52,7 +52,7 @@ impl pallet_scheduler::WeightInfo for WeightInfo { fn on_initialize_periodic_named_resolved(s: u32, ) -> Weight { Weight::from_ref_time(3_445_000 as RefTimeWeight) // Standard Error: 39_000 - .saturating_add(Weight::from_ref_time(25_402_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(25_402_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads((3 as RefTimeWeight).saturating_mul(s as RefTimeWeight))) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) @@ -66,7 +66,7 @@ impl pallet_scheduler::WeightInfo for WeightInfo { fn on_initialize_named_resolved(s: u32, ) -> Weight { Weight::from_ref_time(3_668_000 as RefTimeWeight) // Standard Error: 35_000 - .saturating_add(Weight::from_ref_time(20_334_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(20_334_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads((2 as RefTimeWeight).saturating_mul(s as RefTimeWeight))) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) @@ -79,7 +79,7 @@ impl pallet_scheduler::WeightInfo for WeightInfo { fn on_initialize_periodic_resolved(s: u32, ) -> Weight { Weight::from_ref_time(125_000 as RefTimeWeight) // Standard Error: 37_000 - .saturating_add(Weight::from_ref_time(23_169_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(23_169_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads((3 as RefTimeWeight).saturating_mul(s as RefTimeWeight))) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) @@ -92,7 +92,7 @@ impl pallet_scheduler::WeightInfo for WeightInfo { fn on_initialize_resolved(s: u32, ) -> Weight { Weight::from_ref_time(7_788_000 as RefTimeWeight) // Standard Error: 53_000 - .saturating_add(Weight::from_ref_time(19_336_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(19_336_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads((2 as RefTimeWeight).saturating_mul(s as RefTimeWeight))) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) @@ -105,7 +105,7 @@ impl pallet_scheduler::WeightInfo for WeightInfo { fn on_initialize_named_aborted(s: u32, ) -> Weight { Weight::from_ref_time(4_356_000 as RefTimeWeight) // Standard Error: 16_000 - .saturating_add(Weight::from_ref_time(8_792_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(8_792_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads((1 as RefTimeWeight).saturating_mul(s as RefTimeWeight))) .saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight)) @@ -117,7 +117,7 @@ impl pallet_scheduler::WeightInfo for WeightInfo { fn on_initialize_aborted(s: u32, ) -> Weight { Weight::from_ref_time(5_559_000 as RefTimeWeight) // Standard Error: 12_000 - .saturating_add(Weight::from_ref_time(6_664_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(6_664_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads((1 as RefTimeWeight).saturating_mul(s as RefTimeWeight))) .saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight)) @@ -128,7 +128,7 @@ impl pallet_scheduler::WeightInfo for WeightInfo { fn on_initialize_periodic_named(s: u32, ) -> Weight { Weight::from_ref_time(10_201_000 as RefTimeWeight) // Standard Error: 24_000 - .saturating_add(Weight::from_ref_time(15_168_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(15_168_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads((1 as RefTimeWeight).saturating_mul(s as RefTimeWeight))) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) @@ -139,7 +139,7 @@ impl pallet_scheduler::WeightInfo for WeightInfo { fn on_initialize_periodic(s: u32, ) -> Weight { Weight::from_ref_time(10_698_000 as RefTimeWeight) // Standard Error: 20_000 - .saturating_add(Weight::from_ref_time(12_938_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(12_938_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads((1 as RefTimeWeight).saturating_mul(s as RefTimeWeight))) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) @@ -151,7 +151,7 @@ impl pallet_scheduler::WeightInfo for WeightInfo { fn on_initialize_named(s: u32, ) -> Weight { Weight::from_ref_time(11_043_000 as RefTimeWeight) // Standard Error: 18_000 - .saturating_add(Weight::from_ref_time(10_555_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(10_555_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes((1 as RefTimeWeight).saturating_mul(s as RefTimeWeight))) @@ -161,7 +161,7 @@ impl pallet_scheduler::WeightInfo for WeightInfo { fn on_initialize(s: u32, ) -> Weight { Weight::from_ref_time(11_488_000 as RefTimeWeight) // Standard Error: 18_000 - .saturating_add(Weight::from_ref_time(9_623_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(9_623_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) } @@ -170,7 +170,7 @@ impl pallet_scheduler::WeightInfo for WeightInfo { fn schedule(s: u32, ) -> Weight { Weight::from_ref_time(19_103_000 as RefTimeWeight) // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(48_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(48_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) } @@ -180,7 +180,7 @@ impl pallet_scheduler::WeightInfo for WeightInfo { fn cancel(s: u32, ) -> Weight { Weight::from_ref_time(18_526_000 as RefTimeWeight) // Standard Error: 5_000 - .saturating_add(Weight::from_ref_time(1_845_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(1_845_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight)) } @@ -190,7 +190,7 @@ impl pallet_scheduler::WeightInfo for WeightInfo { fn schedule_named(s: u32, ) -> Weight { Weight::from_ref_time(22_422_000 as RefTimeWeight) // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(59_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(59_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight)) } @@ -200,7 +200,7 @@ impl pallet_scheduler::WeightInfo for WeightInfo { fn cancel_named(s: u32, ) -> Weight { Weight::from_ref_time(20_181_000 as RefTimeWeight) // Standard Error: 5_000 - .saturating_add(Weight::from_ref_time(1_852_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(1_852_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight)) } diff --git a/runtime/polkadot/src/weights/pallet_staking.rs b/runtime/polkadot/src/weights/pallet_staking.rs index b4dd895d80fc..25e5bae635a3 100644 --- a/runtime/polkadot/src/weights/pallet_staking.rs +++ b/runtime/polkadot/src/weights/pallet_staking.rs @@ -87,7 +87,7 @@ impl pallet_staking::WeightInfo for WeightInfo { fn withdraw_unbonded_update(s: u32, ) -> Weight { Weight::from_ref_time(31_282_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(32_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(32_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(4 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight)) } @@ -132,7 +132,7 @@ impl pallet_staking::WeightInfo for WeightInfo { fn kick(k: u32, ) -> Weight { Weight::from_ref_time(11_488_000 as RefTimeWeight) // Standard Error: 12_000 - .saturating_add(Weight::from_ref_time(8_257_000 as RefTimeWeight).scalar_saturating_mul(k as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(8_257_000 as RefTimeWeight).saturating_mul(k as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads((1 as RefTimeWeight).saturating_mul(k as RefTimeWeight))) .saturating_add(T::DbWeight::get().writes((1 as RefTimeWeight).saturating_mul(k as RefTimeWeight))) @@ -152,7 +152,7 @@ impl pallet_staking::WeightInfo for WeightInfo { fn nominate(n: u32, ) -> Weight { Weight::from_ref_time(52_331_000 as RefTimeWeight) // Standard Error: 6_000 - .saturating_add(Weight::from_ref_time(3_297_000 as RefTimeWeight).scalar_saturating_mul(n as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(3_297_000 as RefTimeWeight).saturating_mul(n as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(12 as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads((1 as RefTimeWeight).saturating_mul(n as RefTimeWeight))) .saturating_add(T::DbWeight::get().writes(6 as RefTimeWeight)) @@ -208,7 +208,7 @@ impl pallet_staking::WeightInfo for WeightInfo { fn set_invulnerables(v: u32, ) -> Weight { Weight::from_ref_time(3_706_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(10_000 as RefTimeWeight).scalar_saturating_mul(v as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(10_000 as RefTimeWeight).saturating_mul(v as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) } // Storage: Staking Bonded (r:1 w:1) @@ -228,7 +228,7 @@ impl pallet_staking::WeightInfo for WeightInfo { fn force_unstake(s: u32, ) -> Weight { Weight::from_ref_time(58_154_000 as RefTimeWeight) // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(894_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(894_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(11 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(12 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes((1 as RefTimeWeight).saturating_mul(s as RefTimeWeight))) @@ -238,7 +238,7 @@ impl pallet_staking::WeightInfo for WeightInfo { fn cancel_deferred_slash(s: u32, ) -> Weight { Weight::from_ref_time(2_565_318_000 as RefTimeWeight) // Standard Error: 176_000 - .saturating_add(Weight::from_ref_time(14_870_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(14_870_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) } @@ -256,7 +256,7 @@ impl pallet_staking::WeightInfo for WeightInfo { fn payout_stakers_dead_controller(n: u32, ) -> Weight { Weight::from_ref_time(79_314_000 as RefTimeWeight) // Standard Error: 20_000 - .saturating_add(Weight::from_ref_time(25_615_000 as RefTimeWeight).scalar_saturating_mul(n as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(25_615_000 as RefTimeWeight).saturating_mul(n as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(10 as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads((3 as RefTimeWeight).saturating_mul(n as RefTimeWeight))) .saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight)) @@ -277,7 +277,7 @@ impl pallet_staking::WeightInfo for WeightInfo { fn payout_stakers_alive_staked(n: u32, ) -> Weight { Weight::from_ref_time(100_678_000 as RefTimeWeight) // Standard Error: 26_000 - .saturating_add(Weight::from_ref_time(34_451_000 as RefTimeWeight).scalar_saturating_mul(n as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(34_451_000 as RefTimeWeight).saturating_mul(n as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(11 as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads((5 as RefTimeWeight).saturating_mul(n as RefTimeWeight))) .saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight)) @@ -293,7 +293,7 @@ impl pallet_staking::WeightInfo for WeightInfo { fn rebond(l: u32, ) -> Weight { Weight::from_ref_time(68_008_000 as RefTimeWeight) // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(68_000 as RefTimeWeight).scalar_saturating_mul(l as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(68_000 as RefTimeWeight).saturating_mul(l as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(9 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(8 as RefTimeWeight)) } @@ -310,7 +310,7 @@ impl pallet_staking::WeightInfo for WeightInfo { fn set_history_depth(e: u32, ) -> Weight { Weight::from_ref_time(0 as RefTimeWeight) // Standard Error: 84_000 - .saturating_add(Weight::from_ref_time(21_963_000 as RefTimeWeight).scalar_saturating_mul(e as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(21_963_000 as RefTimeWeight).saturating_mul(e as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(4 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes((7 as RefTimeWeight).saturating_mul(e as RefTimeWeight))) @@ -332,7 +332,7 @@ impl pallet_staking::WeightInfo for WeightInfo { fn reap_stash(s: u32, ) -> Weight { Weight::from_ref_time(66_394_000 as RefTimeWeight) // Standard Error: 4_000 - .saturating_add(Weight::from_ref_time(874_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(874_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(12 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(12 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes((1 as RefTimeWeight).saturating_mul(s as RefTimeWeight))) @@ -361,9 +361,9 @@ impl pallet_staking::WeightInfo for WeightInfo { fn new_era(v: u32, n: u32, ) -> Weight { Weight::from_ref_time(0 as RefTimeWeight) // Standard Error: 1_253_000 - .saturating_add(Weight::from_ref_time(288_357_000 as RefTimeWeight).scalar_saturating_mul(v as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(288_357_000 as RefTimeWeight).saturating_mul(v as RefTimeWeight)) // Standard Error: 120_000 - .saturating_add(Weight::from_ref_time(38_464_000 as RefTimeWeight).scalar_saturating_mul(n as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(38_464_000 as RefTimeWeight).saturating_mul(n as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(187 as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads((5 as RefTimeWeight).saturating_mul(v as RefTimeWeight))) .saturating_add(T::DbWeight::get().reads((4 as RefTimeWeight).saturating_mul(n as RefTimeWeight))) @@ -385,11 +385,11 @@ impl pallet_staking::WeightInfo for WeightInfo { fn get_npos_voters(v: u32, n: u32, s: u32, ) -> Weight { Weight::from_ref_time(0 as RefTimeWeight) // Standard Error: 117_000 - .saturating_add(Weight::from_ref_time(25_453_000 as RefTimeWeight).scalar_saturating_mul(v as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(25_453_000 as RefTimeWeight).saturating_mul(v as RefTimeWeight)) // Standard Error: 117_000 - .saturating_add(Weight::from_ref_time(22_630_000 as RefTimeWeight).scalar_saturating_mul(n as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(22_630_000 as RefTimeWeight).saturating_mul(n as RefTimeWeight)) // Standard Error: 2_987_000 - .saturating_add(Weight::from_ref_time(45_604_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(45_604_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(181 as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads((5 as RefTimeWeight).saturating_mul(v as RefTimeWeight))) .saturating_add(T::DbWeight::get().reads((4 as RefTimeWeight).saturating_mul(n as RefTimeWeight))) @@ -402,7 +402,7 @@ impl pallet_staking::WeightInfo for WeightInfo { fn get_npos_targets(v: u32, ) -> Weight { Weight::from_ref_time(0 as RefTimeWeight) // Standard Error: 37_000 - .saturating_add(Weight::from_ref_time(7_545_000 as RefTimeWeight).scalar_saturating_mul(v as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(7_545_000 as RefTimeWeight).saturating_mul(v as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads((1 as RefTimeWeight).saturating_mul(v as RefTimeWeight))) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) diff --git a/runtime/polkadot/src/weights/pallet_tips.rs b/runtime/polkadot/src/weights/pallet_tips.rs index af99d0b26124..77554af50f84 100644 --- a/runtime/polkadot/src/weights/pallet_tips.rs +++ b/runtime/polkadot/src/weights/pallet_tips.rs @@ -50,7 +50,7 @@ impl pallet_tips::WeightInfo for WeightInfo { fn report_awesome(r: u32, ) -> Weight { Weight::from_ref_time(27_718_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).scalar_saturating_mul(r as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).saturating_mul(r as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight)) } @@ -69,9 +69,9 @@ impl pallet_tips::WeightInfo for WeightInfo { fn tip_new(r: u32, t: u32, ) -> Weight { Weight::from_ref_time(18_664_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).scalar_saturating_mul(r as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).saturating_mul(r as RefTimeWeight)) // Standard Error: 3_000 - .saturating_add(Weight::from_ref_time(63_000 as RefTimeWeight).scalar_saturating_mul(t as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(63_000 as RefTimeWeight).saturating_mul(t as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight)) } @@ -81,7 +81,7 @@ impl pallet_tips::WeightInfo for WeightInfo { fn tip(t: u32, ) -> Weight { Weight::from_ref_time(10_863_000 as RefTimeWeight) // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(162_000 as RefTimeWeight).scalar_saturating_mul(t as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(162_000 as RefTimeWeight).saturating_mul(t as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) } @@ -93,7 +93,7 @@ impl pallet_tips::WeightInfo for WeightInfo { fn close_tip(t: u32, ) -> Weight { Weight::from_ref_time(41_570_000 as RefTimeWeight) // Standard Error: 5_000 - .saturating_add(Weight::from_ref_time(195_000 as RefTimeWeight).scalar_saturating_mul(t as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(195_000 as RefTimeWeight).saturating_mul(t as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight)) } @@ -103,7 +103,7 @@ impl pallet_tips::WeightInfo for WeightInfo { fn slash_tip(t: u32, ) -> Weight { Weight::from_ref_time(16_365_000 as RefTimeWeight) // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(11_000 as RefTimeWeight).scalar_saturating_mul(t as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(11_000 as RefTimeWeight).saturating_mul(t as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight)) } diff --git a/runtime/polkadot/src/weights/pallet_treasury.rs b/runtime/polkadot/src/weights/pallet_treasury.rs index a01f6caa7999..9be3fb27f96c 100644 --- a/runtime/polkadot/src/weights/pallet_treasury.rs +++ b/runtime/polkadot/src/weights/pallet_treasury.rs @@ -67,7 +67,7 @@ impl pallet_treasury::WeightInfo for WeightInfo { fn approve_proposal(p: u32, ) -> Weight { Weight::from_ref_time(9_927_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(38_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(38_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) } @@ -85,7 +85,7 @@ impl pallet_treasury::WeightInfo for WeightInfo { fn on_initialize_proposals(p: u32, ) -> Weight { Weight::from_ref_time(17_797_000 as RefTimeWeight) // Standard Error: 28_000 - .saturating_add(Weight::from_ref_time(29_621_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(29_621_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads((3 as RefTimeWeight).saturating_mul(p as RefTimeWeight))) .saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight)) diff --git a/runtime/polkadot/src/weights/pallet_utility.rs b/runtime/polkadot/src/weights/pallet_utility.rs index 848054d33f8f..c509e9dc564b 100644 --- a/runtime/polkadot/src/weights/pallet_utility.rs +++ b/runtime/polkadot/src/weights/pallet_utility.rs @@ -48,7 +48,7 @@ impl pallet_utility::WeightInfo for WeightInfo { fn batch(c: u32, ) -> Weight { Weight::from_ref_time(14_546_000 as RefTimeWeight) // Standard Error: 3_000 - .saturating_add(Weight::from_ref_time(4_678_000 as RefTimeWeight).scalar_saturating_mul(c as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(4_678_000 as RefTimeWeight).saturating_mul(c as RefTimeWeight)) } fn as_derivative() -> Weight { Weight::from_ref_time(5_507_000 as RefTimeWeight) @@ -57,7 +57,7 @@ impl pallet_utility::WeightInfo for WeightInfo { fn batch_all(c: u32, ) -> Weight { Weight::from_ref_time(12_316_000 as RefTimeWeight) // Standard Error: 4_000 - .saturating_add(Weight::from_ref_time(4_969_000 as RefTimeWeight).scalar_saturating_mul(c as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(4_969_000 as RefTimeWeight).saturating_mul(c as RefTimeWeight)) } fn dispatch_as() -> Weight { Weight::from_ref_time(12_904_000 as RefTimeWeight) @@ -66,6 +66,6 @@ impl pallet_utility::WeightInfo for WeightInfo { fn force_batch(c: u32, ) -> Weight { Weight::from_ref_time(15_799_000 as RefTimeWeight) // Standard Error: 3_000 - .saturating_add(Weight::from_ref_time(4_646_000 as RefTimeWeight).scalar_saturating_mul(c as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(4_646_000 as RefTimeWeight).saturating_mul(c as RefTimeWeight)) } } diff --git a/runtime/polkadot/src/weights/pallet_vesting.rs b/runtime/polkadot/src/weights/pallet_vesting.rs index 80d37f31b3e6..62ceb9c5b054 100644 --- a/runtime/polkadot/src/weights/pallet_vesting.rs +++ b/runtime/polkadot/src/weights/pallet_vesting.rs @@ -51,9 +51,9 @@ impl pallet_vesting::WeightInfo for WeightInfo { fn vest_locked(l: u32, s: u32, ) -> Weight { Weight::from_ref_time(28_194_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(75_000 as RefTimeWeight).scalar_saturating_mul(l as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(75_000 as RefTimeWeight).saturating_mul(l as RefTimeWeight)) // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(161_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(161_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight)) } @@ -64,9 +64,9 @@ impl pallet_vesting::WeightInfo for WeightInfo { fn vest_unlocked(l: u32, s: u32, ) -> Weight { Weight::from_ref_time(28_109_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(67_000 as RefTimeWeight).scalar_saturating_mul(l as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(67_000 as RefTimeWeight).saturating_mul(l as RefTimeWeight)) // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(134_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(134_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight)) } @@ -78,9 +78,9 @@ impl pallet_vesting::WeightInfo for WeightInfo { fn vest_other_locked(l: u32, s: u32, ) -> Weight { Weight::from_ref_time(28_316_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(75_000 as RefTimeWeight).scalar_saturating_mul(l as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(75_000 as RefTimeWeight).saturating_mul(l as RefTimeWeight)) // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(154_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(154_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight)) } @@ -92,9 +92,9 @@ impl pallet_vesting::WeightInfo for WeightInfo { fn vest_other_unlocked(l: u32, s: u32, ) -> Weight { Weight::from_ref_time(28_998_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(62_000 as RefTimeWeight).scalar_saturating_mul(l as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(62_000 as RefTimeWeight).saturating_mul(l as RefTimeWeight)) // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(106_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(106_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight)) } @@ -106,9 +106,9 @@ impl pallet_vesting::WeightInfo for WeightInfo { fn vested_transfer(l: u32, s: u32, ) -> Weight { Weight::from_ref_time(42_983_000 as RefTimeWeight) // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(73_000 as RefTimeWeight).scalar_saturating_mul(l as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(73_000 as RefTimeWeight).saturating_mul(l as RefTimeWeight)) // Standard Error: 3_000 - .saturating_add(Weight::from_ref_time(126_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(126_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight)) } @@ -120,9 +120,9 @@ impl pallet_vesting::WeightInfo for WeightInfo { fn force_vested_transfer(l: u32, s: u32, ) -> Weight { Weight::from_ref_time(42_800_000 as RefTimeWeight) // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(57_000 as RefTimeWeight).scalar_saturating_mul(l as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(57_000 as RefTimeWeight).saturating_mul(l as RefTimeWeight)) // Standard Error: 4_000 - .saturating_add(Weight::from_ref_time(148_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(148_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(4 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(4 as RefTimeWeight)) } @@ -134,9 +134,9 @@ impl pallet_vesting::WeightInfo for WeightInfo { fn not_unlocking_merge_schedules(l: u32, s: u32, ) -> Weight { Weight::from_ref_time(29_188_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(73_000 as RefTimeWeight).scalar_saturating_mul(l as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(73_000 as RefTimeWeight).saturating_mul(l as RefTimeWeight)) // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(157_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(157_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight)) } @@ -148,9 +148,9 @@ impl pallet_vesting::WeightInfo for WeightInfo { fn unlocking_merge_schedules(l: u32, s: u32, ) -> Weight { Weight::from_ref_time(29_144_000 as RefTimeWeight) // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(71_000 as RefTimeWeight).scalar_saturating_mul(l as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(71_000 as RefTimeWeight).saturating_mul(l as RefTimeWeight)) // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(149_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(149_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight)) } diff --git a/runtime/polkadot/src/weights/runtime_common_crowdloan.rs b/runtime/polkadot/src/weights/runtime_common_crowdloan.rs index 681d40926755..4c95b112aed1 100644 --- a/runtime/polkadot/src/weights/runtime_common_crowdloan.rs +++ b/runtime/polkadot/src/weights/runtime_common_crowdloan.rs @@ -78,7 +78,7 @@ impl runtime_common::crowdloan::WeightInfo for WeightIn fn refund(k: u32, ) -> Weight { Weight::from_ref_time(0 as RefTimeWeight) // Standard Error: 17_000 - .saturating_add(Weight::from_ref_time(19_562_000 as RefTimeWeight).scalar_saturating_mul(k as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(19_562_000 as RefTimeWeight).saturating_mul(k as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads((2 as RefTimeWeight).saturating_mul(k as RefTimeWeight))) .saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight)) @@ -125,7 +125,7 @@ impl runtime_common::crowdloan::WeightInfo for WeightIn fn on_initialize(n: u32, ) -> Weight { Weight::from_ref_time(0 as RefTimeWeight) // Standard Error: 41_000 - .saturating_add(Weight::from_ref_time(49_451_000 as RefTimeWeight).scalar_saturating_mul(n as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(49_451_000 as RefTimeWeight).saturating_mul(n as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(5 as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads((5 as RefTimeWeight).saturating_mul(n as RefTimeWeight))) .saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight)) diff --git a/runtime/polkadot/src/weights/runtime_common_slots.rs b/runtime/polkadot/src/weights/runtime_common_slots.rs index 94a70e4281ee..c2e16af16020 100644 --- a/runtime/polkadot/src/weights/runtime_common_slots.rs +++ b/runtime/polkadot/src/weights/runtime_common_slots.rs @@ -62,9 +62,9 @@ impl runtime_common::slots::WeightInfo for WeightInfo Weight { Weight::from_ref_time(0 as RefTimeWeight) // Standard Error: 28_000 - .saturating_add(Weight::from_ref_time(6_721_000 as RefTimeWeight).scalar_saturating_mul(c as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(6_721_000 as RefTimeWeight).saturating_mul(c as RefTimeWeight)) // Standard Error: 28_000 - .saturating_add(Weight::from_ref_time(17_731_000 as RefTimeWeight).scalar_saturating_mul(t as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(17_731_000 as RefTimeWeight).saturating_mul(t as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(4 as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads((1 as RefTimeWeight).saturating_mul(c as RefTimeWeight))) .saturating_add(T::DbWeight::get().reads((3 as RefTimeWeight).saturating_mul(t as RefTimeWeight))) diff --git a/runtime/polkadot/src/weights/runtime_parachains_hrmp.rs b/runtime/polkadot/src/weights/runtime_parachains_hrmp.rs index 04b401880e3b..3822f4ca320d 100644 --- a/runtime/polkadot/src/weights/runtime_parachains_hrmp.rs +++ b/runtime/polkadot/src/weights/runtime_parachains_hrmp.rs @@ -90,9 +90,9 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf fn force_clean_hrmp(i: u32, e: u32, ) -> Weight { Weight::from_ref_time(0 as RefTimeWeight) // Standard Error: 17_000 - .saturating_add(Weight::from_ref_time(15_959_000 as RefTimeWeight).scalar_saturating_mul(i as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(15_959_000 as RefTimeWeight).saturating_mul(i as RefTimeWeight)) // Standard Error: 17_000 - .saturating_add(Weight::from_ref_time(16_048_000 as RefTimeWeight).scalar_saturating_mul(e as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(16_048_000 as RefTimeWeight).saturating_mul(e as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads((2 as RefTimeWeight).saturating_mul(i as RefTimeWeight))) .saturating_add(T::DbWeight::get().reads((2 as RefTimeWeight).saturating_mul(e as RefTimeWeight))) @@ -112,7 +112,7 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf fn force_process_hrmp_open(c: u32, ) -> Weight { Weight::from_ref_time(0 as RefTimeWeight) // Standard Error: 26_000 - .saturating_add(Weight::from_ref_time(35_598_000 as RefTimeWeight).scalar_saturating_mul(c as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(35_598_000 as RefTimeWeight).saturating_mul(c as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads((7 as RefTimeWeight).saturating_mul(c as RefTimeWeight))) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) @@ -127,7 +127,7 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf fn force_process_hrmp_close(c: u32, ) -> Weight { Weight::from_ref_time(0 as RefTimeWeight) // Standard Error: 15_000 - .saturating_add(Weight::from_ref_time(20_510_000 as RefTimeWeight).scalar_saturating_mul(c as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(20_510_000 as RefTimeWeight).saturating_mul(c as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads((3 as RefTimeWeight).saturating_mul(c as RefTimeWeight))) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) @@ -139,7 +139,7 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf fn hrmp_cancel_open_request(c: u32, ) -> Weight { Weight::from_ref_time(32_749_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(59_000 as RefTimeWeight).scalar_saturating_mul(c as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(59_000 as RefTimeWeight).saturating_mul(c as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight)) } @@ -148,7 +148,7 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf fn clean_open_channel_requests(c: u32, ) -> Weight { Weight::from_ref_time(0 as RefTimeWeight) // Standard Error: 6_000 - .saturating_add(Weight::from_ref_time(5_781_000 as RefTimeWeight).scalar_saturating_mul(c as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(5_781_000 as RefTimeWeight).saturating_mul(c as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads((1 as RefTimeWeight).saturating_mul(c as RefTimeWeight))) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) diff --git a/runtime/polkadot/src/weights/runtime_parachains_initializer.rs b/runtime/polkadot/src/weights/runtime_parachains_initializer.rs index 4d951302aa32..8bc71dad133c 100644 --- a/runtime/polkadot/src/weights/runtime_parachains_initializer.rs +++ b/runtime/polkadot/src/weights/runtime_parachains_initializer.rs @@ -49,7 +49,7 @@ impl runtime_parachains::initializer::WeightInfo for We fn force_approve(d: u32, ) -> Weight { Weight::from_ref_time(6_191_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).scalar_saturating_mul(d as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).saturating_mul(d as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) } diff --git a/runtime/polkadot/src/weights/runtime_parachains_paras.rs b/runtime/polkadot/src/weights/runtime_parachains_paras.rs index 998e4b0724aa..06f5c813562a 100644 --- a/runtime/polkadot/src/weights/runtime_parachains_paras.rs +++ b/runtime/polkadot/src/weights/runtime_parachains_paras.rs @@ -54,7 +54,7 @@ impl runtime_parachains::paras::WeightInfo for WeightIn fn force_set_current_code(c: u32, ) -> Weight { Weight::from_ref_time(0 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).scalar_saturating_mul(c as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).saturating_mul(c as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(4 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(6 as RefTimeWeight)) } @@ -63,7 +63,7 @@ impl runtime_parachains::paras::WeightInfo for WeightIn fn force_set_current_head(s: u32, ) -> Weight { Weight::from_ref_time(0 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(1_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(1_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) } // Storage: Configuration ActiveConfig (r:1 w:0) @@ -81,7 +81,7 @@ impl runtime_parachains::paras::WeightInfo for WeightIn fn force_schedule_code_upgrade(c: u32, ) -> Weight { Weight::from_ref_time(0 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).scalar_saturating_mul(c as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).saturating_mul(c as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(9 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(8 as RefTimeWeight)) } @@ -92,7 +92,7 @@ impl runtime_parachains::paras::WeightInfo for WeightIn fn force_note_new_head(s: u32, ) -> Weight { Weight::from_ref_time(0 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(1_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(1_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight)) } @@ -109,7 +109,7 @@ impl runtime_parachains::paras::WeightInfo for WeightIn fn add_trusted_validation_code(c: u32, ) -> Weight { Weight::from_ref_time(0 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).scalar_saturating_mul(c as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).saturating_mul(c as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) } diff --git a/runtime/polkadot/src/weights/runtime_parachains_paras_inherent.rs b/runtime/polkadot/src/weights/runtime_parachains_paras_inherent.rs index d5f711d80537..091c104296a4 100644 --- a/runtime/polkadot/src/weights/runtime_parachains_paras_inherent.rs +++ b/runtime/polkadot/src/weights/runtime_parachains_paras_inherent.rs @@ -79,7 +79,7 @@ impl runtime_parachains::paras_inherent::WeightInfo for fn enter_variable_disputes(v: u32, ) -> Weight { Weight::from_ref_time(364_277_000 as RefTimeWeight) // Standard Error: 23_000 - .saturating_add(Weight::from_ref_time(48_774_000 as RefTimeWeight).scalar_saturating_mul(v as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(48_774_000 as RefTimeWeight).saturating_mul(v as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(29 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(18 as RefTimeWeight)) } @@ -153,7 +153,7 @@ impl runtime_parachains::paras_inherent::WeightInfo for fn enter_backed_candidates_variable(v: u32, ) -> Weight { Weight::from_ref_time(984_915_000 as RefTimeWeight) // Standard Error: 47_000 - .saturating_add(Weight::from_ref_time(48_309_000 as RefTimeWeight).scalar_saturating_mul(v as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(48_309_000 as RefTimeWeight).saturating_mul(v as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(29 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(16 as RefTimeWeight)) } diff --git a/runtime/rococo/constants/src/weights/block_weights.rs b/runtime/rococo/constants/src/weights/block_weights.rs index 4f2a8f244505..1404cca69582 100644 --- a/runtime/rococo/constants/src/weights/block_weights.rs +++ b/runtime/rococo/constants/src/weights/block_weights.rs @@ -54,7 +54,7 @@ parameter_types! { /// 99th: 4_189_094 /// 95th: 4_152_261 /// 75th: 4_098_529 - pub const BlockExecutionWeight: Weight = WEIGHT_PER_NANOS.scalar_saturating_mul(4_084_738); + pub const BlockExecutionWeight: Weight = WEIGHT_PER_NANOS.saturating_mul(4_084_738); } #[cfg(test)] @@ -69,8 +69,8 @@ mod test_weights { let w = super::BlockExecutionWeight::get(); // At least 100 µs. - assert!(w >= 100 * constants::WEIGHT_PER_MICROS, "Weight should be at least 100 µs."); + assert!(w >= 100u64 * constants::WEIGHT_PER_MICROS, "Weight should be at least 100 µs."); // At most 50 ms. - assert!(w <= 50 * constants::WEIGHT_PER_MILLIS, "Weight should be at most 50 ms."); + assert!(w <= 50u64 * constants::WEIGHT_PER_MILLIS, "Weight should be at most 50 ms."); } } diff --git a/runtime/rococo/constants/src/weights/extrinsic_weights.rs b/runtime/rococo/constants/src/weights/extrinsic_weights.rs index b41da14c8e7c..cb51fa619d32 100644 --- a/runtime/rococo/constants/src/weights/extrinsic_weights.rs +++ b/runtime/rococo/constants/src/weights/extrinsic_weights.rs @@ -53,7 +53,7 @@ parameter_types! { /// 99th: 79_591 /// 95th: 78_730 /// 75th: 78_272 - pub const ExtrinsicBaseWeight: Weight = WEIGHT_PER_NANOS.scalar_saturating_mul(78_269); + pub const ExtrinsicBaseWeight: Weight = WEIGHT_PER_NANOS.saturating_mul(78_269); } #[cfg(test)] @@ -68,7 +68,7 @@ mod test_weights { let w = super::ExtrinsicBaseWeight::get(); // At least 10 µs. - assert!(w >= 10 * constants::WEIGHT_PER_MICROS, "Weight should be at least 10 µs."); + assert!(w >= 10u64 * constants::WEIGHT_PER_MICROS, "Weight should be at least 10 µs."); // At most 1 ms. assert!(w <= constants::WEIGHT_PER_MILLIS, "Weight should be at most 1 ms."); } diff --git a/runtime/rococo/src/lib.rs b/runtime/rococo/src/lib.rs index f5b819fc8f43..14f67b162774 100644 --- a/runtime/rococo/src/lib.rs +++ b/runtime/rococo/src/lib.rs @@ -592,7 +592,7 @@ impl parachains_session_info::Config for Runtime { } parameter_types! { - pub const FirstMessageFactorPercent: Weight = Weight::from_ref_time(100); + pub const FirstMessageFactorPercent: u64 = 100; } impl parachains_ump::Config for Runtime { diff --git a/runtime/rococo/src/weights/frame_system.rs b/runtime/rococo/src/weights/frame_system.rs index e370361e57e6..17ded0950c93 100644 --- a/runtime/rococo/src/weights/frame_system.rs +++ b/runtime/rococo/src/weights/frame_system.rs @@ -48,13 +48,13 @@ impl frame_system::WeightInfo for WeightInfo { fn remark(b: u32, ) -> Weight { Weight::from_ref_time(0 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(1_000 as RefTimeWeight).scalar_saturating_mul(b as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(1_000 as RefTimeWeight).saturating_mul(b as RefTimeWeight)) } /// The range of component `b` is `[0, 3932160]`. fn remark_with_event(b: u32, ) -> Weight { Weight::from_ref_time(0 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).scalar_saturating_mul(b as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).saturating_mul(b as RefTimeWeight)) } // Storage: System Digest (r:1 w:1) // Storage: unknown [0x3a686561707061676573] (r:0 w:1) @@ -68,7 +68,7 @@ impl frame_system::WeightInfo for WeightInfo { fn set_storage(i: u32, ) -> Weight { Weight::from_ref_time(0 as RefTimeWeight) // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(548_000 as RefTimeWeight).scalar_saturating_mul(i as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(548_000 as RefTimeWeight).saturating_mul(i as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes((1 as RefTimeWeight).saturating_mul(i as RefTimeWeight))) } // Storage: Skipped Metadata (r:0 w:0) @@ -76,7 +76,7 @@ impl frame_system::WeightInfo for WeightInfo { fn kill_storage(i: u32, ) -> Weight { Weight::from_ref_time(0 as RefTimeWeight) // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(444_000 as RefTimeWeight).scalar_saturating_mul(i as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(444_000 as RefTimeWeight).saturating_mul(i as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes((1 as RefTimeWeight).saturating_mul(i as RefTimeWeight))) } // Storage: Skipped Metadata (r:0 w:0) @@ -84,7 +84,7 @@ impl frame_system::WeightInfo for WeightInfo { fn kill_prefix(p: u32, ) -> Weight { Weight::from_ref_time(0 as RefTimeWeight) // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(955_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(955_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes((1 as RefTimeWeight).saturating_mul(p as RefTimeWeight))) } } diff --git a/runtime/rococo/src/weights/pallet_collective.rs b/runtime/rococo/src/weights/pallet_collective.rs index 9a769177ca26..76adb72af9ed 100644 --- a/runtime/rococo/src/weights/pallet_collective.rs +++ b/runtime/rococo/src/weights/pallet_collective.rs @@ -54,11 +54,11 @@ impl pallet_collective::WeightInfo for WeightInfo { fn set_members(m: u32, n: u32, p: u32, ) -> Weight { Weight::from_ref_time(0 as RefTimeWeight) // Standard Error: 11_000 - .saturating_add(Weight::from_ref_time(9_184_000 as RefTimeWeight).scalar_saturating_mul(m as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(9_184_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight)) // Standard Error: 11_000 - .saturating_add(Weight::from_ref_time(10_000 as RefTimeWeight).scalar_saturating_mul(n as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(10_000 as RefTimeWeight).saturating_mul(n as RefTimeWeight)) // Standard Error: 11_000 - .saturating_add(Weight::from_ref_time(11_927_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(11_927_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads((1 as RefTimeWeight).saturating_mul(p as RefTimeWeight))) .saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight)) @@ -70,9 +70,9 @@ impl pallet_collective::WeightInfo for WeightInfo { fn execute(b: u32, m: u32, ) -> Weight { Weight::from_ref_time(16_514_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).scalar_saturating_mul(b as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).saturating_mul(b as RefTimeWeight)) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(15_000 as RefTimeWeight).scalar_saturating_mul(m as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(15_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight)) } // Storage: Collective Members (r:1 w:0) @@ -82,9 +82,9 @@ impl pallet_collective::WeightInfo for WeightInfo { fn propose_execute(b: u32, m: u32, ) -> Weight { Weight::from_ref_time(19_149_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).scalar_saturating_mul(b as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).saturating_mul(b as RefTimeWeight)) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(20_000 as RefTimeWeight).scalar_saturating_mul(m as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(20_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight)) } // Storage: Collective Members (r:1 w:0) @@ -98,11 +98,11 @@ impl pallet_collective::WeightInfo for WeightInfo { fn propose_proposed(b: u32, m: u32, p: u32, ) -> Weight { Weight::from_ref_time(25_040_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).scalar_saturating_mul(b as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).saturating_mul(b as RefTimeWeight)) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(20_000 as RefTimeWeight).scalar_saturating_mul(m as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(20_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight)) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(125_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(125_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(4 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(4 as RefTimeWeight)) } @@ -112,7 +112,7 @@ impl pallet_collective::WeightInfo for WeightInfo { fn vote(m: u32, ) -> Weight { Weight::from_ref_time(23_127_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(53_000 as RefTimeWeight).scalar_saturating_mul(m as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(53_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) } @@ -125,9 +125,9 @@ impl pallet_collective::WeightInfo for WeightInfo { fn close_early_disapproved(m: u32, p: u32, ) -> Weight { Weight::from_ref_time(27_759_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(25_000 as RefTimeWeight).scalar_saturating_mul(m as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(25_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight)) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(95_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(95_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight)) } @@ -141,11 +141,11 @@ impl pallet_collective::WeightInfo for WeightInfo { fn close_early_approved(b: u32, m: u32, p: u32, ) -> Weight { Weight::from_ref_time(37_384_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(1_000 as RefTimeWeight).scalar_saturating_mul(b as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(1_000 as RefTimeWeight).saturating_mul(b as RefTimeWeight)) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(29_000 as RefTimeWeight).scalar_saturating_mul(m as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(29_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight)) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(105_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(105_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(4 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight)) } @@ -159,9 +159,9 @@ impl pallet_collective::WeightInfo for WeightInfo { fn close_disapproved(m: u32, p: u32, ) -> Weight { Weight::from_ref_time(29_142_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(32_000 as RefTimeWeight).scalar_saturating_mul(m as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(32_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight)) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(105_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(105_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(4 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight)) } @@ -176,11 +176,11 @@ impl pallet_collective::WeightInfo for WeightInfo { fn close_approved(b: u32, m: u32, p: u32, ) -> Weight { Weight::from_ref_time(40_384_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(1_000 as RefTimeWeight).scalar_saturating_mul(b as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(1_000 as RefTimeWeight).saturating_mul(b as RefTimeWeight)) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(26_000 as RefTimeWeight).scalar_saturating_mul(m as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(26_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight)) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(103_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(103_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(5 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight)) } @@ -191,7 +191,7 @@ impl pallet_collective::WeightInfo for WeightInfo { fn disapprove_proposal(p: u32, ) -> Weight { Weight::from_ref_time(17_661_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(106_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(106_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight)) } diff --git a/runtime/rococo/src/weights/pallet_im_online.rs b/runtime/rococo/src/weights/pallet_im_online.rs index 7eba3a9d9eb9..f32944662ac2 100644 --- a/runtime/rococo/src/weights/pallet_im_online.rs +++ b/runtime/rococo/src/weights/pallet_im_online.rs @@ -55,9 +55,9 @@ impl pallet_im_online::WeightInfo for WeightInfo { fn validate_unsigned_and_then_heartbeat(k: u32, e: u32, ) -> Weight { Weight::from_ref_time(74_601_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(27_000 as RefTimeWeight).scalar_saturating_mul(k as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(27_000 as RefTimeWeight).saturating_mul(k as RefTimeWeight)) // Standard Error: 3_000 - .saturating_add(Weight::from_ref_time(337_000 as RefTimeWeight).scalar_saturating_mul(e as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(337_000 as RefTimeWeight).saturating_mul(e as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(5 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) } diff --git a/runtime/rococo/src/weights/pallet_membership.rs b/runtime/rococo/src/weights/pallet_membership.rs index 772cff72b181..6148799b2dd8 100644 --- a/runtime/rococo/src/weights/pallet_membership.rs +++ b/runtime/rococo/src/weights/pallet_membership.rs @@ -52,7 +52,7 @@ impl pallet_membership::WeightInfo for WeightInfo { fn add_member(m: u32, ) -> Weight { Weight::from_ref_time(16_814_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(60_000 as RefTimeWeight).scalar_saturating_mul(m as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(60_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight)) } @@ -65,7 +65,7 @@ impl pallet_membership::WeightInfo for WeightInfo { fn remove_member(m: u32, ) -> Weight { Weight::from_ref_time(19_124_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(51_000 as RefTimeWeight).scalar_saturating_mul(m as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(51_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight)) } @@ -78,7 +78,7 @@ impl pallet_membership::WeightInfo for WeightInfo { fn swap_member(m: u32, ) -> Weight { Weight::from_ref_time(19_143_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(63_000 as RefTimeWeight).scalar_saturating_mul(m as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(63_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight)) } @@ -91,7 +91,7 @@ impl pallet_membership::WeightInfo for WeightInfo { fn reset_member(m: u32, ) -> Weight { Weight::from_ref_time(18_621_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(186_000 as RefTimeWeight).scalar_saturating_mul(m as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(186_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight)) } @@ -104,7 +104,7 @@ impl pallet_membership::WeightInfo for WeightInfo { fn change_key(m: u32, ) -> Weight { Weight::from_ref_time(19_913_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(58_000 as RefTimeWeight).scalar_saturating_mul(m as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(58_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(4 as RefTimeWeight)) } @@ -115,7 +115,7 @@ impl pallet_membership::WeightInfo for WeightInfo { fn set_prime(m: u32, ) -> Weight { Weight::from_ref_time(6_445_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(10_000 as RefTimeWeight).scalar_saturating_mul(m as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(10_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight)) } @@ -125,7 +125,7 @@ impl pallet_membership::WeightInfo for WeightInfo { fn clear_prime(m: u32, ) -> Weight { Weight::from_ref_time(3_524_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).scalar_saturating_mul(m as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).saturating_mul(m as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight)) } } diff --git a/runtime/rococo/src/weights/pallet_multisig.rs b/runtime/rococo/src/weights/pallet_multisig.rs index bb46d3fa1a15..5ba3894d1019 100644 --- a/runtime/rococo/src/weights/pallet_multisig.rs +++ b/runtime/rococo/src/weights/pallet_multisig.rs @@ -48,7 +48,7 @@ impl pallet_multisig::WeightInfo for WeightInfo { fn as_multi_threshold_1(z: u32, ) -> Weight { Weight::from_ref_time(14_606_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(1_000 as RefTimeWeight).scalar_saturating_mul(z as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(1_000 as RefTimeWeight).saturating_mul(z as RefTimeWeight)) } // Storage: Multisig Multisigs (r:1 w:1) // Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0) @@ -57,9 +57,9 @@ impl pallet_multisig::WeightInfo for WeightInfo { fn as_multi_create(s: u32, z: u32, ) -> Weight { Weight::from_ref_time(29_880_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(100_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(100_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).scalar_saturating_mul(z as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).saturating_mul(z as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) } @@ -71,9 +71,9 @@ impl pallet_multisig::WeightInfo for WeightInfo { fn as_multi_create_store(s: u32, z: u32, ) -> Weight { Weight::from_ref_time(31_636_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(108_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(108_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).scalar_saturating_mul(z as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).saturating_mul(z as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight)) } @@ -83,9 +83,9 @@ impl pallet_multisig::WeightInfo for WeightInfo { fn as_multi_approve(s: u32, z: u32, ) -> Weight { Weight::from_ref_time(19_551_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(104_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(104_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).scalar_saturating_mul(z as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).saturating_mul(z as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) } @@ -96,9 +96,9 @@ impl pallet_multisig::WeightInfo for WeightInfo { fn as_multi_approve_store(s: u32, z: u32, ) -> Weight { Weight::from_ref_time(31_196_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(123_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(123_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).scalar_saturating_mul(z as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).saturating_mul(z as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight)) } @@ -110,9 +110,9 @@ impl pallet_multisig::WeightInfo for WeightInfo { fn as_multi_complete(s: u32, z: u32, ) -> Weight { Weight::from_ref_time(39_982_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(131_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(131_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).scalar_saturating_mul(z as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).saturating_mul(z as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight)) } @@ -122,7 +122,7 @@ impl pallet_multisig::WeightInfo for WeightInfo { fn approve_as_multi_create(s: u32, ) -> Weight { Weight::from_ref_time(28_767_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(113_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(113_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) } @@ -132,7 +132,7 @@ impl pallet_multisig::WeightInfo for WeightInfo { fn approve_as_multi_approve(s: u32, ) -> Weight { Weight::from_ref_time(18_649_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(110_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(110_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) } @@ -143,7 +143,7 @@ impl pallet_multisig::WeightInfo for WeightInfo { fn approve_as_multi_complete(s: u32, ) -> Weight { Weight::from_ref_time(63_055_000 as RefTimeWeight) // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(134_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(134_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight)) } @@ -153,7 +153,7 @@ impl pallet_multisig::WeightInfo for WeightInfo { fn cancel_as_multi(s: u32, ) -> Weight { Weight::from_ref_time(44_870_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(115_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(115_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight)) } diff --git a/runtime/rococo/src/weights/pallet_proxy.rs b/runtime/rococo/src/weights/pallet_proxy.rs index 94af031e1933..53e71a40f7d4 100644 --- a/runtime/rococo/src/weights/pallet_proxy.rs +++ b/runtime/rococo/src/weights/pallet_proxy.rs @@ -49,7 +49,7 @@ impl pallet_proxy::WeightInfo for WeightInfo { fn proxy(p: u32, ) -> Weight { Weight::from_ref_time(17_762_000 as RefTimeWeight) // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(68_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(68_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight)) } // Storage: Proxy Proxies (r:1 w:0) @@ -60,9 +60,9 @@ impl pallet_proxy::WeightInfo for WeightInfo { fn proxy_announced(a: u32, p: u32, ) -> Weight { Weight::from_ref_time(33_577_000 as RefTimeWeight) // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(188_000 as RefTimeWeight).scalar_saturating_mul(a as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(188_000 as RefTimeWeight).saturating_mul(a as RefTimeWeight)) // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(42_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(42_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight)) } @@ -73,7 +73,7 @@ impl pallet_proxy::WeightInfo for WeightInfo { fn remove_announcement(a: u32, _p: u32, ) -> Weight { Weight::from_ref_time(22_715_000 as RefTimeWeight) // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(179_000 as RefTimeWeight).scalar_saturating_mul(a as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(179_000 as RefTimeWeight).saturating_mul(a as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight)) } @@ -84,9 +84,9 @@ impl pallet_proxy::WeightInfo for WeightInfo { fn reject_announcement(a: u32, p: u32, ) -> Weight { Weight::from_ref_time(22_349_000 as RefTimeWeight) // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(179_000 as RefTimeWeight).scalar_saturating_mul(a as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(179_000 as RefTimeWeight).saturating_mul(a as RefTimeWeight)) // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(5_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(5_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight)) } @@ -98,9 +98,9 @@ impl pallet_proxy::WeightInfo for WeightInfo { fn announce(a: u32, p: u32, ) -> Weight { Weight::from_ref_time(29_863_000 as RefTimeWeight) // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(182_000 as RefTimeWeight).scalar_saturating_mul(a as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(182_000 as RefTimeWeight).saturating_mul(a as RefTimeWeight)) // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(55_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(55_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight)) } @@ -109,7 +109,7 @@ impl pallet_proxy::WeightInfo for WeightInfo { fn add_proxy(p: u32, ) -> Weight { Weight::from_ref_time(24_976_000 as RefTimeWeight) // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(101_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(101_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) } @@ -118,7 +118,7 @@ impl pallet_proxy::WeightInfo for WeightInfo { fn remove_proxy(p: u32, ) -> Weight { Weight::from_ref_time(24_934_000 as RefTimeWeight) // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(118_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(118_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) } @@ -127,7 +127,7 @@ impl pallet_proxy::WeightInfo for WeightInfo { fn remove_proxies(p: u32, ) -> Weight { Weight::from_ref_time(20_930_000 as RefTimeWeight) // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(68_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(68_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) } @@ -137,7 +137,7 @@ impl pallet_proxy::WeightInfo for WeightInfo { fn anonymous(p: u32, ) -> Weight { Weight::from_ref_time(28_030_000 as RefTimeWeight) // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(33_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(33_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) } @@ -146,7 +146,7 @@ impl pallet_proxy::WeightInfo for WeightInfo { fn kill_anonymous(p: u32, ) -> Weight { Weight::from_ref_time(21_753_000 as RefTimeWeight) // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(69_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(69_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) } diff --git a/runtime/rococo/src/weights/pallet_utility.rs b/runtime/rococo/src/weights/pallet_utility.rs index c2956e0f5db7..9f44142320df 100644 --- a/runtime/rococo/src/weights/pallet_utility.rs +++ b/runtime/rococo/src/weights/pallet_utility.rs @@ -48,7 +48,7 @@ impl pallet_utility::WeightInfo for WeightInfo { fn batch(c: u32, ) -> Weight { Weight::from_ref_time(12_533_000 as RefTimeWeight) // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(5_050_000 as RefTimeWeight).scalar_saturating_mul(c as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(5_050_000 as RefTimeWeight).saturating_mul(c as RefTimeWeight)) } fn as_derivative() -> Weight { Weight::from_ref_time(5_794_000 as RefTimeWeight) @@ -57,7 +57,7 @@ impl pallet_utility::WeightInfo for WeightInfo { fn batch_all(c: u32, ) -> Weight { Weight::from_ref_time(12_581_000 as RefTimeWeight) // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(5_336_000 as RefTimeWeight).scalar_saturating_mul(c as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(5_336_000 as RefTimeWeight).saturating_mul(c as RefTimeWeight)) } fn dispatch_as() -> Weight { Weight::from_ref_time(12_912_000 as RefTimeWeight) @@ -66,6 +66,6 @@ impl pallet_utility::WeightInfo for WeightInfo { fn force_batch(c: u32, ) -> Weight { Weight::from_ref_time(7_075_000 as RefTimeWeight) // Standard Error: 3_000 - .saturating_add(Weight::from_ref_time(5_067_000 as RefTimeWeight).scalar_saturating_mul(c as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(5_067_000 as RefTimeWeight).saturating_mul(c as RefTimeWeight)) } } diff --git a/runtime/rococo/src/weights/runtime_common_crowdloan.rs b/runtime/rococo/src/weights/runtime_common_crowdloan.rs index 43893f30b0c9..a814c732345e 100644 --- a/runtime/rococo/src/weights/runtime_common_crowdloan.rs +++ b/runtime/rococo/src/weights/runtime_common_crowdloan.rs @@ -78,7 +78,7 @@ impl runtime_common::crowdloan::WeightInfo for WeightIn fn refund(k: u32, ) -> Weight { Weight::from_ref_time(2_505_000 as RefTimeWeight) // Standard Error: 13_000 - .saturating_add(Weight::from_ref_time(19_613_000 as RefTimeWeight).scalar_saturating_mul(k as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(19_613_000 as RefTimeWeight).saturating_mul(k as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads((2 as RefTimeWeight).saturating_mul(k as RefTimeWeight))) .saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight)) @@ -125,7 +125,7 @@ impl runtime_common::crowdloan::WeightInfo for WeightIn fn on_initialize(n: u32, ) -> Weight { Weight::from_ref_time(0 as RefTimeWeight) // Standard Error: 25_000 - .saturating_add(Weight::from_ref_time(51_756_000 as RefTimeWeight).scalar_saturating_mul(n as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(51_756_000 as RefTimeWeight).saturating_mul(n as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(5 as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads((5 as RefTimeWeight).saturating_mul(n as RefTimeWeight))) .saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight)) diff --git a/runtime/rococo/src/weights/runtime_common_slots.rs b/runtime/rococo/src/weights/runtime_common_slots.rs index 7d1bc1245672..4be0b4924ac4 100644 --- a/runtime/rococo/src/weights/runtime_common_slots.rs +++ b/runtime/rococo/src/weights/runtime_common_slots.rs @@ -62,9 +62,9 @@ impl runtime_common::slots::WeightInfo for WeightInfo Weight { Weight::from_ref_time(0 as RefTimeWeight) // Standard Error: 22_000 - .saturating_add(Weight::from_ref_time(6_753_000 as RefTimeWeight).scalar_saturating_mul(c as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(6_753_000 as RefTimeWeight).saturating_mul(c as RefTimeWeight)) // Standard Error: 22_000 - .saturating_add(Weight::from_ref_time(17_808_000 as RefTimeWeight).scalar_saturating_mul(t as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(17_808_000 as RefTimeWeight).saturating_mul(t as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(4 as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads((1 as RefTimeWeight).saturating_mul(c as RefTimeWeight))) .saturating_add(T::DbWeight::get().reads((3 as RefTimeWeight).saturating_mul(t as RefTimeWeight))) diff --git a/runtime/rococo/src/weights/runtime_parachains_hrmp.rs b/runtime/rococo/src/weights/runtime_parachains_hrmp.rs index 4056b30133ac..42cd010ea4cb 100644 --- a/runtime/rococo/src/weights/runtime_parachains_hrmp.rs +++ b/runtime/rococo/src/weights/runtime_parachains_hrmp.rs @@ -92,9 +92,9 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf fn force_clean_hrmp(i: u32, e: u32, ) -> Weight { Weight::from_ref_time(0 as RefTimeWeight) // Standard Error: 20_000 - .saturating_add(Weight::from_ref_time(9_760_000 as RefTimeWeight).scalar_saturating_mul(i as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(9_760_000 as RefTimeWeight).saturating_mul(i as RefTimeWeight)) // Standard Error: 20_000 - .saturating_add(Weight::from_ref_time(9_813_000 as RefTimeWeight).scalar_saturating_mul(e as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(9_813_000 as RefTimeWeight).saturating_mul(e as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads((2 as RefTimeWeight).saturating_mul(i as RefTimeWeight))) .saturating_add(T::DbWeight::get().reads((2 as RefTimeWeight).saturating_mul(e as RefTimeWeight))) @@ -115,7 +115,7 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf fn force_process_hrmp_open(c: u32, ) -> Weight { Weight::from_ref_time(0 as RefTimeWeight) // Standard Error: 27_000 - .saturating_add(Weight::from_ref_time(22_813_000 as RefTimeWeight).scalar_saturating_mul(c as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(22_813_000 as RefTimeWeight).saturating_mul(c as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads((7 as RefTimeWeight).saturating_mul(c as RefTimeWeight))) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) @@ -131,7 +131,7 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf fn force_process_hrmp_close(c: u32, ) -> Weight { Weight::from_ref_time(0 as RefTimeWeight) // Standard Error: 16_000 - .saturating_add(Weight::from_ref_time(12_842_000 as RefTimeWeight).scalar_saturating_mul(c as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(12_842_000 as RefTimeWeight).saturating_mul(c as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads((3 as RefTimeWeight).saturating_mul(c as RefTimeWeight))) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) @@ -144,7 +144,7 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf fn hrmp_cancel_open_request(c: u32, ) -> Weight { Weight::from_ref_time(26_161_000 as RefTimeWeight) // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(50_000 as RefTimeWeight).scalar_saturating_mul(c as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(50_000 as RefTimeWeight).saturating_mul(c as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight)) } @@ -154,7 +154,7 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf fn clean_open_channel_requests(c: u32, ) -> Weight { Weight::from_ref_time(0 as RefTimeWeight) // Standard Error: 7_000 - .saturating_add(Weight::from_ref_time(3_723_000 as RefTimeWeight).scalar_saturating_mul(c as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(3_723_000 as RefTimeWeight).saturating_mul(c as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads((1 as RefTimeWeight).saturating_mul(c as RefTimeWeight))) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) diff --git a/runtime/rococo/src/weights/runtime_parachains_initializer.rs b/runtime/rococo/src/weights/runtime_parachains_initializer.rs index c65cb9e47418..e942e9dd3b99 100644 --- a/runtime/rococo/src/weights/runtime_parachains_initializer.rs +++ b/runtime/rococo/src/weights/runtime_parachains_initializer.rs @@ -49,7 +49,7 @@ impl runtime_parachains::initializer::WeightInfo for We fn force_approve(d: u32, ) -> Weight { Weight::from_ref_time(8_670_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(1_000 as RefTimeWeight).scalar_saturating_mul(d as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(1_000 as RefTimeWeight).saturating_mul(d as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) } diff --git a/runtime/rococo/src/weights/runtime_parachains_paras.rs b/runtime/rococo/src/weights/runtime_parachains_paras.rs index e338a4be3e15..2d5fb377757d 100644 --- a/runtime/rococo/src/weights/runtime_parachains_paras.rs +++ b/runtime/rococo/src/weights/runtime_parachains_paras.rs @@ -54,7 +54,7 @@ impl runtime_parachains::paras::WeightInfo for WeightIn fn force_set_current_code(c: u32, ) -> Weight { Weight::from_ref_time(0 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).scalar_saturating_mul(c as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).saturating_mul(c as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(4 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(6 as RefTimeWeight)) } @@ -63,7 +63,7 @@ impl runtime_parachains::paras::WeightInfo for WeightIn fn force_set_current_head(s: u32, ) -> Weight { Weight::from_ref_time(0 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(1_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(1_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) } // Storage: Configuration ActiveConfig (r:1 w:0) @@ -81,7 +81,7 @@ impl runtime_parachains::paras::WeightInfo for WeightIn fn force_schedule_code_upgrade(c: u32, ) -> Weight { Weight::from_ref_time(0 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).scalar_saturating_mul(c as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).saturating_mul(c as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(9 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(8 as RefTimeWeight)) } @@ -92,7 +92,7 @@ impl runtime_parachains::paras::WeightInfo for WeightIn fn force_note_new_head(s: u32, ) -> Weight { Weight::from_ref_time(0 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(1_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(1_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight)) } @@ -109,7 +109,7 @@ impl runtime_parachains::paras::WeightInfo for WeightIn fn add_trusted_validation_code(c: u32, ) -> Weight { Weight::from_ref_time(0 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).scalar_saturating_mul(c as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).saturating_mul(c as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) } diff --git a/runtime/rococo/src/weights/runtime_parachains_paras_inherent.rs b/runtime/rococo/src/weights/runtime_parachains_paras_inherent.rs index 80acd9978c82..a3e5eced1278 100644 --- a/runtime/rococo/src/weights/runtime_parachains_paras_inherent.rs +++ b/runtime/rococo/src/weights/runtime_parachains_paras_inherent.rs @@ -72,7 +72,7 @@ impl runtime_parachains::paras_inherent::WeightInfo for fn enter_variable_disputes(v: u32, ) -> Weight { Weight::from_ref_time(352_590_000 as RefTimeWeight) // Standard Error: 13_000 - .saturating_add(Weight::from_ref_time(49_254_000 as RefTimeWeight).scalar_saturating_mul(v as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(49_254_000 as RefTimeWeight).saturating_mul(v as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(24 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(16 as RefTimeWeight)) } diff --git a/runtime/rococo/src/weights/runtime_parachains_ump.rs b/runtime/rococo/src/weights/runtime_parachains_ump.rs index e241dd37a72b..6a0ff466e4b8 100644 --- a/runtime/rococo/src/weights/runtime_parachains_ump.rs +++ b/runtime/rococo/src/weights/runtime_parachains_ump.rs @@ -48,7 +48,7 @@ impl runtime_parachains::ump::WeightInfo for WeightInfo fn process_upward_message(s: u32, ) -> Weight { Weight::from_ref_time(4_717_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) } // Storage: Ump NeedsDispatch (r:1 w:1) // Storage: Ump NextDispatchRoundStartWith (r:1 w:1) diff --git a/runtime/test-runtime/constants/src/weights/block_weights.rs b/runtime/test-runtime/constants/src/weights/block_weights.rs index c171a1fdd714..7d4a931bd125 100644 --- a/runtime/test-runtime/constants/src/weights/block_weights.rs +++ b/runtime/test-runtime/constants/src/weights/block_weights.rs @@ -23,7 +23,7 @@ pub mod constants { parameter_types! { /// Importing a block with 0 Extrinsics. - pub const BlockExecutionWeight: Weight = constants::WEIGHT_PER_NANOS.scalar_saturating_mul(5_000_000); + pub const BlockExecutionWeight: Weight = constants::WEIGHT_PER_NANOS.saturating_mul(5_000_000); } #[cfg(test)] @@ -38,9 +38,12 @@ pub mod constants { let w = super::constants::BlockExecutionWeight::get(); // At least 100 µs. - assert!(w >= 100 * constants::WEIGHT_PER_MICROS, "Weight should be at least 100 µs."); + assert!( + w >= 100u64 * constants::WEIGHT_PER_MICROS, + "Weight should be at least 100 µs." + ); // At most 50 ms. - assert!(w <= 50 * constants::WEIGHT_PER_MILLIS, "Weight should be at most 50 ms."); + assert!(w <= 50u64 * constants::WEIGHT_PER_MILLIS, "Weight should be at most 50 ms."); } } } diff --git a/runtime/test-runtime/constants/src/weights/extrinsic_weights.rs b/runtime/test-runtime/constants/src/weights/extrinsic_weights.rs index 6e1628883569..6c6b4a497d89 100644 --- a/runtime/test-runtime/constants/src/weights/extrinsic_weights.rs +++ b/runtime/test-runtime/constants/src/weights/extrinsic_weights.rs @@ -23,7 +23,7 @@ pub mod constants { parameter_types! { /// Executing a NO-OP `System::remarks` Extrinsic. - pub const ExtrinsicBaseWeight: Weight = constants::WEIGHT_PER_NANOS.scalar_saturating_mul(125_000); + pub const ExtrinsicBaseWeight: Weight = constants::WEIGHT_PER_NANOS.saturating_mul(125_000); } #[cfg(test)] @@ -38,7 +38,7 @@ pub mod constants { let w = super::constants::ExtrinsicBaseWeight::get(); // At least 10 µs. - assert!(w >= 10 * constants::WEIGHT_PER_MICROS, "Weight should be at least 10 µs."); + assert!(w >= 10u64 * constants::WEIGHT_PER_MICROS, "Weight should be at least 10 µs."); // At most 1 ms. assert!(w <= constants::WEIGHT_PER_MILLIS, "Weight should be at most 1 ms."); } diff --git a/runtime/test-runtime/src/lib.rs b/runtime/test-runtime/src/lib.rs index 06fc37c30cd3..547d6d6d6922 100644 --- a/runtime/test-runtime/src/lib.rs +++ b/runtime/test-runtime/src/lib.rs @@ -518,7 +518,7 @@ impl parachains_paras::Config for Runtime { impl parachains_dmp::Config for Runtime {} parameter_types! { - pub const FirstMessageFactorPercent: Weight = Weight::from_ref_time(100); + pub const FirstMessageFactorPercent: u64 = 100; } impl parachains_ump::Config for Runtime { diff --git a/runtime/westend/constants/src/weights/block_weights.rs b/runtime/westend/constants/src/weights/block_weights.rs index d3c4686567d8..25fc1f8af8c3 100644 --- a/runtime/westend/constants/src/weights/block_weights.rs +++ b/runtime/westend/constants/src/weights/block_weights.rs @@ -54,7 +54,7 @@ parameter_types! { /// 99th: 5_084_427 /// 95th: 5_039_369 /// 75th: 4_991_020 - pub const BlockExecutionWeight: Weight = WEIGHT_PER_NANOS.scalar_saturating_mul(4_970_728); + pub const BlockExecutionWeight: Weight = WEIGHT_PER_NANOS.saturating_mul(4_970_728); } #[cfg(test)] @@ -69,8 +69,8 @@ mod test_weights { let w = super::BlockExecutionWeight::get(); // At least 100 µs. - assert!(w >= 100 * constants::WEIGHT_PER_MICROS, "Weight should be at least 100 µs."); + assert!(w >= 100u64 * constants::WEIGHT_PER_MICROS, "Weight should be at least 100 µs."); // At most 50 ms. - assert!(w <= 50 * constants::WEIGHT_PER_MILLIS, "Weight should be at most 50 ms."); + assert!(w <= 50u64 * constants::WEIGHT_PER_MILLIS, "Weight should be at most 50 ms."); } } diff --git a/runtime/westend/constants/src/weights/extrinsic_weights.rs b/runtime/westend/constants/src/weights/extrinsic_weights.rs index ab9aeda16f13..c097df593a54 100644 --- a/runtime/westend/constants/src/weights/extrinsic_weights.rs +++ b/runtime/westend/constants/src/weights/extrinsic_weights.rs @@ -53,7 +53,7 @@ parameter_types! { /// 99th: 80_770 /// 95th: 79_394 /// 75th: 79_071 - pub const ExtrinsicBaseWeight: Weight = WEIGHT_PER_NANOS.scalar_saturating_mul(79_088); + pub const ExtrinsicBaseWeight: Weight = WEIGHT_PER_NANOS.saturating_mul(79_088); } #[cfg(test)] @@ -68,7 +68,7 @@ mod test_weights { let w = super::ExtrinsicBaseWeight::get(); // At least 10 µs. - assert!(w >= 10 * constants::WEIGHT_PER_MICROS, "Weight should be at least 10 µs."); + assert!(w >= 10u64 * constants::WEIGHT_PER_MICROS, "Weight should be at least 10 µs."); // At most 1 ms. assert!(w <= constants::WEIGHT_PER_MILLIS, "Weight should be at most 1 ms."); } diff --git a/runtime/westend/src/lib.rs b/runtime/westend/src/lib.rs index 2d8ea134ed4d..f469da22f2f5 100644 --- a/runtime/westend/src/lib.rs +++ b/runtime/westend/src/lib.rs @@ -888,7 +888,7 @@ impl parachains_paras::Config for Runtime { } parameter_types! { - pub const FirstMessageFactorPercent: Weight = Weight::from_ref_time(100); + pub const FirstMessageFactorPercent: u64 = 100; } impl parachains_ump::Config for Runtime { diff --git a/runtime/westend/src/weights/frame_election_provider_support.rs b/runtime/westend/src/weights/frame_election_provider_support.rs index 84dd905a2a46..f917704d61a3 100644 --- a/runtime/westend/src/weights/frame_election_provider_support.rs +++ b/runtime/westend/src/weights/frame_election_provider_support.rs @@ -50,9 +50,9 @@ impl frame_election_provider_support::WeightInfo for We fn phragmen(v: u32, _t: u32, d: u32, ) -> Weight { Weight::from_ref_time(0 as RefTimeWeight) // Standard Error: 91_000 - .saturating_add(Weight::from_ref_time(21_885_000 as RefTimeWeight).scalar_saturating_mul(v as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(21_885_000 as RefTimeWeight).saturating_mul(v as RefTimeWeight)) // Standard Error: 7_862_000 - .saturating_add(Weight::from_ref_time(3_527_431_000 as RefTimeWeight).scalar_saturating_mul(d as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(3_527_431_000 as RefTimeWeight).saturating_mul(d as RefTimeWeight)) } /// The range of component `v` is `[1000, 2000]`. /// The range of component `t` is `[500, 1000]`. @@ -60,8 +60,8 @@ impl frame_election_provider_support::WeightInfo for We fn phragmms(v: u32, _t: u32, d: u32, ) -> Weight { Weight::from_ref_time(0 as RefTimeWeight) // Standard Error: 73_000 - .saturating_add(Weight::from_ref_time(15_030_000 as RefTimeWeight).scalar_saturating_mul(v as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(15_030_000 as RefTimeWeight).saturating_mul(v as RefTimeWeight)) // Standard Error: 6_376_000 - .saturating_add(Weight::from_ref_time(2_571_214_000 as RefTimeWeight).scalar_saturating_mul(d as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(2_571_214_000 as RefTimeWeight).saturating_mul(d as RefTimeWeight)) } } diff --git a/runtime/westend/src/weights/frame_system.rs b/runtime/westend/src/weights/frame_system.rs index a45fc6db9a70..f769e40360ab 100644 --- a/runtime/westend/src/weights/frame_system.rs +++ b/runtime/westend/src/weights/frame_system.rs @@ -48,13 +48,13 @@ impl frame_system::WeightInfo for WeightInfo { fn remark(b: u32, ) -> Weight { Weight::from_ref_time(0 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(1_000 as RefTimeWeight).scalar_saturating_mul(b as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(1_000 as RefTimeWeight).saturating_mul(b as RefTimeWeight)) } /// The range of component `b` is `[0, 3932160]`. fn remark_with_event(b: u32, ) -> Weight { Weight::from_ref_time(0 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).scalar_saturating_mul(b as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).saturating_mul(b as RefTimeWeight)) } // Storage: System Digest (r:1 w:1) // Storage: unknown [0x3a686561707061676573] (r:0 w:1) @@ -68,7 +68,7 @@ impl frame_system::WeightInfo for WeightInfo { fn set_storage(i: u32, ) -> Weight { Weight::from_ref_time(0 as RefTimeWeight) // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(541_000 as RefTimeWeight).scalar_saturating_mul(i as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(541_000 as RefTimeWeight).saturating_mul(i as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes((1 as RefTimeWeight).saturating_mul(i as RefTimeWeight))) } // Storage: Skipped Metadata (r:0 w:0) @@ -76,7 +76,7 @@ impl frame_system::WeightInfo for WeightInfo { fn kill_storage(i: u32, ) -> Weight { Weight::from_ref_time(0 as RefTimeWeight) // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(436_000 as RefTimeWeight).scalar_saturating_mul(i as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(436_000 as RefTimeWeight).saturating_mul(i as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes((1 as RefTimeWeight).saturating_mul(i as RefTimeWeight))) } // Storage: Skipped Metadata (r:0 w:0) @@ -84,7 +84,7 @@ impl frame_system::WeightInfo for WeightInfo { fn kill_prefix(p: u32, ) -> Weight { Weight::from_ref_time(0 as RefTimeWeight) // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(956_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(956_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes((1 as RefTimeWeight).saturating_mul(p as RefTimeWeight))) } } diff --git a/runtime/westend/src/weights/pallet_election_provider_multi_phase.rs b/runtime/westend/src/weights/pallet_election_provider_multi_phase.rs index d1325dc2a145..ad630f7d65eb 100644 --- a/runtime/westend/src/weights/pallet_election_provider_multi_phase.rs +++ b/runtime/westend/src/weights/pallet_election_provider_multi_phase.rs @@ -91,9 +91,9 @@ impl pallet_election_provider_multi_phase::WeightInfo f fn create_snapshot_internal(v: u32, t: u32, ) -> Weight { Weight::from_ref_time(0 as RefTimeWeight) // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(397_000 as RefTimeWeight).scalar_saturating_mul(v as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(397_000 as RefTimeWeight).saturating_mul(v as RefTimeWeight)) // Standard Error: 3_000 - .saturating_add(Weight::from_ref_time(100_000 as RefTimeWeight).scalar_saturating_mul(t as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(100_000 as RefTimeWeight).saturating_mul(t as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight)) } // Storage: ElectionProviderMultiPhase SignedSubmissionIndices (r:1 w:1) @@ -111,9 +111,9 @@ impl pallet_election_provider_multi_phase::WeightInfo f fn elect_queued(a: u32, d: u32, ) -> Weight { Weight::from_ref_time(9_172_000 as RefTimeWeight) // Standard Error: 6_000 - .saturating_add(Weight::from_ref_time(413_000 as RefTimeWeight).scalar_saturating_mul(a as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(413_000 as RefTimeWeight).saturating_mul(a as RefTimeWeight)) // Standard Error: 9_000 - .saturating_add(Weight::from_ref_time(176_000 as RefTimeWeight).scalar_saturating_mul(d as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(176_000 as RefTimeWeight).saturating_mul(d as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(7 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(9 as RefTimeWeight)) } @@ -142,11 +142,11 @@ impl pallet_election_provider_multi_phase::WeightInfo f fn submit_unsigned(v: u32, _t: u32, a: u32, d: u32, ) -> Weight { Weight::from_ref_time(0 as RefTimeWeight) // Standard Error: 5_000 - .saturating_add(Weight::from_ref_time(870_000 as RefTimeWeight).scalar_saturating_mul(v as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(870_000 as RefTimeWeight).saturating_mul(v as RefTimeWeight)) // Standard Error: 17_000 - .saturating_add(Weight::from_ref_time(8_088_000 as RefTimeWeight).scalar_saturating_mul(a as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(8_088_000 as RefTimeWeight).saturating_mul(a as RefTimeWeight)) // Standard Error: 26_000 - .saturating_add(Weight::from_ref_time(1_705_000 as RefTimeWeight).scalar_saturating_mul(d as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(1_705_000 as RefTimeWeight).saturating_mul(d as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(7 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) } @@ -161,13 +161,13 @@ impl pallet_election_provider_multi_phase::WeightInfo f fn feasibility_check(v: u32, t: u32, a: u32, d: u32, ) -> Weight { Weight::from_ref_time(0 as RefTimeWeight) // Standard Error: 4_000 - .saturating_add(Weight::from_ref_time(829_000 as RefTimeWeight).scalar_saturating_mul(v as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(829_000 as RefTimeWeight).saturating_mul(v as RefTimeWeight)) // Standard Error: 8_000 - .saturating_add(Weight::from_ref_time(46_000 as RefTimeWeight).scalar_saturating_mul(t as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(46_000 as RefTimeWeight).saturating_mul(t as RefTimeWeight)) // Standard Error: 14_000 - .saturating_add(Weight::from_ref_time(5_960_000 as RefTimeWeight).scalar_saturating_mul(a as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(5_960_000 as RefTimeWeight).saturating_mul(a as RefTimeWeight)) // Standard Error: 21_000 - .saturating_add(Weight::from_ref_time(1_202_000 as RefTimeWeight).scalar_saturating_mul(d as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(1_202_000 as RefTimeWeight).saturating_mul(d as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(4 as RefTimeWeight)) } } diff --git a/runtime/westend/src/weights/pallet_identity.rs b/runtime/westend/src/weights/pallet_identity.rs index 887bc4566cf5..8fbc90f61c67 100644 --- a/runtime/westend/src/weights/pallet_identity.rs +++ b/runtime/westend/src/weights/pallet_identity.rs @@ -49,7 +49,7 @@ impl pallet_identity::WeightInfo for WeightInfo { fn add_registrar(r: u32, ) -> Weight { Weight::from_ref_time(15_117_000 as RefTimeWeight) // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(173_000 as RefTimeWeight).scalar_saturating_mul(r as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(173_000 as RefTimeWeight).saturating_mul(r as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) } @@ -59,9 +59,9 @@ impl pallet_identity::WeightInfo for WeightInfo { fn set_identity(r: u32, x: u32, ) -> Weight { Weight::from_ref_time(28_060_000 as RefTimeWeight) // Standard Error: 6_000 - .saturating_add(Weight::from_ref_time(191_000 as RefTimeWeight).scalar_saturating_mul(r as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(191_000 as RefTimeWeight).saturating_mul(r as RefTimeWeight)) // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(334_000 as RefTimeWeight).scalar_saturating_mul(x as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(334_000 as RefTimeWeight).saturating_mul(x as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) } @@ -72,7 +72,7 @@ impl pallet_identity::WeightInfo for WeightInfo { fn set_subs_new(s: u32, ) -> Weight { Weight::from_ref_time(25_867_000 as RefTimeWeight) // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(2_901_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(2_901_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads((1 as RefTimeWeight).saturating_mul(s as RefTimeWeight))) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) @@ -85,7 +85,7 @@ impl pallet_identity::WeightInfo for WeightInfo { fn set_subs_old(p: u32, ) -> Weight { Weight::from_ref_time(25_691_000 as RefTimeWeight) // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(913_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(913_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes((1 as RefTimeWeight).saturating_mul(p as RefTimeWeight))) @@ -99,11 +99,11 @@ impl pallet_identity::WeightInfo for WeightInfo { fn clear_identity(r: u32, s: u32, x: u32, ) -> Weight { Weight::from_ref_time(32_060_000 as RefTimeWeight) // Standard Error: 6_000 - .saturating_add(Weight::from_ref_time(80_000 as RefTimeWeight).scalar_saturating_mul(r as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(80_000 as RefTimeWeight).saturating_mul(r as RefTimeWeight)) // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(902_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(902_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(155_000 as RefTimeWeight).scalar_saturating_mul(x as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(155_000 as RefTimeWeight).saturating_mul(x as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes((1 as RefTimeWeight).saturating_mul(s as RefTimeWeight))) @@ -115,9 +115,9 @@ impl pallet_identity::WeightInfo for WeightInfo { fn request_judgement(r: u32, x: u32, ) -> Weight { Weight::from_ref_time(30_325_000 as RefTimeWeight) // Standard Error: 4_000 - .saturating_add(Weight::from_ref_time(154_000 as RefTimeWeight).scalar_saturating_mul(r as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(154_000 as RefTimeWeight).saturating_mul(r as RefTimeWeight)) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(339_000 as RefTimeWeight).scalar_saturating_mul(x as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(339_000 as RefTimeWeight).saturating_mul(x as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) } @@ -127,9 +127,9 @@ impl pallet_identity::WeightInfo for WeightInfo { fn cancel_request(r: u32, x: u32, ) -> Weight { Weight::from_ref_time(27_573_000 as RefTimeWeight) // Standard Error: 3_000 - .saturating_add(Weight::from_ref_time(133_000 as RefTimeWeight).scalar_saturating_mul(r as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(133_000 as RefTimeWeight).saturating_mul(r as RefTimeWeight)) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(329_000 as RefTimeWeight).scalar_saturating_mul(x as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(329_000 as RefTimeWeight).saturating_mul(x as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) } @@ -138,7 +138,7 @@ impl pallet_identity::WeightInfo for WeightInfo { fn set_fee(r: u32, ) -> Weight { Weight::from_ref_time(6_656_000 as RefTimeWeight) // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(140_000 as RefTimeWeight).scalar_saturating_mul(r as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(140_000 as RefTimeWeight).saturating_mul(r as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) } @@ -147,7 +147,7 @@ impl pallet_identity::WeightInfo for WeightInfo { fn set_account_id(r: u32, ) -> Weight { Weight::from_ref_time(6_675_000 as RefTimeWeight) // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(136_000 as RefTimeWeight).scalar_saturating_mul(r as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(136_000 as RefTimeWeight).saturating_mul(r as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) } @@ -156,7 +156,7 @@ impl pallet_identity::WeightInfo for WeightInfo { fn set_fields(r: u32, ) -> Weight { Weight::from_ref_time(6_816_000 as RefTimeWeight) // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(127_000 as RefTimeWeight).scalar_saturating_mul(r as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(127_000 as RefTimeWeight).saturating_mul(r as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) } @@ -167,9 +167,9 @@ impl pallet_identity::WeightInfo for WeightInfo { fn provide_judgement(r: u32, x: u32, ) -> Weight { Weight::from_ref_time(21_495_000 as RefTimeWeight) // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(113_000 as RefTimeWeight).scalar_saturating_mul(r as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(113_000 as RefTimeWeight).saturating_mul(r as RefTimeWeight)) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(335_000 as RefTimeWeight).scalar_saturating_mul(x as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(335_000 as RefTimeWeight).saturating_mul(x as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) } @@ -183,11 +183,11 @@ impl pallet_identity::WeightInfo for WeightInfo { fn kill_identity(r: u32, s: u32, x: u32, ) -> Weight { Weight::from_ref_time(35_711_000 as RefTimeWeight) // Standard Error: 3_000 - .saturating_add(Weight::from_ref_time(77_000 as RefTimeWeight).scalar_saturating_mul(r as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(77_000 as RefTimeWeight).saturating_mul(r as RefTimeWeight)) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(914_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(914_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).scalar_saturating_mul(x as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).saturating_mul(x as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes((1 as RefTimeWeight).saturating_mul(s as RefTimeWeight))) @@ -199,7 +199,7 @@ impl pallet_identity::WeightInfo for WeightInfo { fn add_sub(s: u32, ) -> Weight { Weight::from_ref_time(32_948_000 as RefTimeWeight) // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(92_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(92_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight)) } @@ -209,7 +209,7 @@ impl pallet_identity::WeightInfo for WeightInfo { fn rename_sub(s: u32, ) -> Weight { Weight::from_ref_time(11_895_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(29_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(29_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) } @@ -220,7 +220,7 @@ impl pallet_identity::WeightInfo for WeightInfo { fn remove_sub(s: u32, ) -> Weight { Weight::from_ref_time(33_683_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(79_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(79_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight)) } @@ -230,7 +230,7 @@ impl pallet_identity::WeightInfo for WeightInfo { fn quit_sub(s: u32, ) -> Weight { Weight::from_ref_time(23_476_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(81_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(81_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight)) } diff --git a/runtime/westend/src/weights/pallet_im_online.rs b/runtime/westend/src/weights/pallet_im_online.rs index 80ae18588ad2..4aaf7cce10f7 100644 --- a/runtime/westend/src/weights/pallet_im_online.rs +++ b/runtime/westend/src/weights/pallet_im_online.rs @@ -54,9 +54,9 @@ impl pallet_im_online::WeightInfo for WeightInfo { fn validate_unsigned_and_then_heartbeat(k: u32, e: u32, ) -> Weight { Weight::from_ref_time(73_650_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(26_000 as RefTimeWeight).scalar_saturating_mul(k as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(26_000 as RefTimeWeight).saturating_mul(k as RefTimeWeight)) // Standard Error: 3_000 - .saturating_add(Weight::from_ref_time(316_000 as RefTimeWeight).scalar_saturating_mul(e as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(316_000 as RefTimeWeight).saturating_mul(e as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(4 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) } diff --git a/runtime/westend/src/weights/pallet_multisig.rs b/runtime/westend/src/weights/pallet_multisig.rs index b2bb0736057e..3f3ffadbf857 100644 --- a/runtime/westend/src/weights/pallet_multisig.rs +++ b/runtime/westend/src/weights/pallet_multisig.rs @@ -48,7 +48,7 @@ impl pallet_multisig::WeightInfo for WeightInfo { fn as_multi_threshold_1(z: u32, ) -> Weight { Weight::from_ref_time(14_664_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(1_000 as RefTimeWeight).scalar_saturating_mul(z as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(1_000 as RefTimeWeight).saturating_mul(z as RefTimeWeight)) } // Storage: Multisig Multisigs (r:1 w:1) // Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0) @@ -57,9 +57,9 @@ impl pallet_multisig::WeightInfo for WeightInfo { fn as_multi_create(s: u32, z: u32, ) -> Weight { Weight::from_ref_time(30_606_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(99_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(99_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).scalar_saturating_mul(z as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).saturating_mul(z as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) } @@ -71,9 +71,9 @@ impl pallet_multisig::WeightInfo for WeightInfo { fn as_multi_create_store(s: u32, z: u32, ) -> Weight { Weight::from_ref_time(32_543_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(110_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(110_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).scalar_saturating_mul(z as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).saturating_mul(z as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight)) } @@ -83,9 +83,9 @@ impl pallet_multisig::WeightInfo for WeightInfo { fn as_multi_approve(s: u32, z: u32, ) -> Weight { Weight::from_ref_time(19_984_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(102_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(102_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).scalar_saturating_mul(z as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).saturating_mul(z as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) } @@ -96,9 +96,9 @@ impl pallet_multisig::WeightInfo for WeightInfo { fn as_multi_approve_store(s: u32, z: u32, ) -> Weight { Weight::from_ref_time(32_058_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(121_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(121_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).scalar_saturating_mul(z as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).saturating_mul(z as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight)) } @@ -110,9 +110,9 @@ impl pallet_multisig::WeightInfo for WeightInfo { fn as_multi_complete(s: u32, z: u32, ) -> Weight { Weight::from_ref_time(40_961_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(129_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(129_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).scalar_saturating_mul(z as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).saturating_mul(z as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight)) } @@ -122,7 +122,7 @@ impl pallet_multisig::WeightInfo for WeightInfo { fn approve_as_multi_create(s: u32, ) -> Weight { Weight::from_ref_time(29_773_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(107_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(107_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) } @@ -132,7 +132,7 @@ impl pallet_multisig::WeightInfo for WeightInfo { fn approve_as_multi_approve(s: u32, ) -> Weight { Weight::from_ref_time(19_460_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(106_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(106_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) } @@ -143,7 +143,7 @@ impl pallet_multisig::WeightInfo for WeightInfo { fn approve_as_multi_complete(s: u32, ) -> Weight { Weight::from_ref_time(61_764_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(130_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(130_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight)) } @@ -153,7 +153,7 @@ impl pallet_multisig::WeightInfo for WeightInfo { fn cancel_as_multi(s: u32, ) -> Weight { Weight::from_ref_time(45_239_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(110_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(110_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight)) } diff --git a/runtime/westend/src/weights/pallet_nomination_pools.rs b/runtime/westend/src/weights/pallet_nomination_pools.rs index a4a55c79012a..8ab1009e2492 100644 --- a/runtime/westend/src/weights/pallet_nomination_pools.rs +++ b/runtime/westend/src/weights/pallet_nomination_pools.rs @@ -126,7 +126,7 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo fn pool_withdraw_unbonded(s: u32, ) -> Weight { Weight::from_ref_time(41_129_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(33_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(33_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(4 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight)) } @@ -142,7 +142,7 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo fn withdraw_unbonded_update(s: u32, ) -> Weight { Weight::from_ref_time(78_870_000 as RefTimeWeight) // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(49_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(49_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(8 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(7 as RefTimeWeight)) } @@ -214,7 +214,7 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo fn nominate(n: u32, ) -> Weight { Weight::from_ref_time(50_310_000 as RefTimeWeight) // Standard Error: 4_000 - .saturating_add(Weight::from_ref_time(2_137_000 as RefTimeWeight).scalar_saturating_mul(n as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(2_137_000 as RefTimeWeight).saturating_mul(n as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(12 as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads((1 as RefTimeWeight).saturating_mul(n as RefTimeWeight))) .saturating_add(T::DbWeight::get().writes(5 as RefTimeWeight)) @@ -233,7 +233,7 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo fn set_metadata(n: u32, ) -> Weight { Weight::from_ref_time(13_890_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(1_000 as RefTimeWeight).scalar_saturating_mul(n as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(1_000 as RefTimeWeight).saturating_mul(n as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight)) } diff --git a/runtime/westend/src/weights/pallet_preimage.rs b/runtime/westend/src/weights/pallet_preimage.rs index 0b25beb7ea50..31f1cbaf1974 100644 --- a/runtime/westend/src/weights/pallet_preimage.rs +++ b/runtime/westend/src/weights/pallet_preimage.rs @@ -50,7 +50,7 @@ impl pallet_preimage::WeightInfo for WeightInfo { fn note_preimage(s: u32, ) -> Weight { Weight::from_ref_time(0 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight)) } @@ -60,7 +60,7 @@ impl pallet_preimage::WeightInfo for WeightInfo { fn note_requested_preimage(s: u32, ) -> Weight { Weight::from_ref_time(0 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) } @@ -70,7 +70,7 @@ impl pallet_preimage::WeightInfo for WeightInfo { fn note_no_deposit_preimage(s: u32, ) -> Weight { Weight::from_ref_time(0 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) } diff --git a/runtime/westend/src/weights/pallet_proxy.rs b/runtime/westend/src/weights/pallet_proxy.rs index 5c303a311f1d..bb217135b3aa 100644 --- a/runtime/westend/src/weights/pallet_proxy.rs +++ b/runtime/westend/src/weights/pallet_proxy.rs @@ -49,7 +49,7 @@ impl pallet_proxy::WeightInfo for WeightInfo { fn proxy(p: u32, ) -> Weight { Weight::from_ref_time(17_846_000 as RefTimeWeight) // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(62_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(62_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight)) } // Storage: Proxy Proxies (r:1 w:0) @@ -60,9 +60,9 @@ impl pallet_proxy::WeightInfo for WeightInfo { fn proxy_announced(a: u32, p: u32, ) -> Weight { Weight::from_ref_time(33_547_000 as RefTimeWeight) // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(173_000 as RefTimeWeight).scalar_saturating_mul(a as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(173_000 as RefTimeWeight).saturating_mul(a as RefTimeWeight)) // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(49_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(49_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight)) } @@ -73,9 +73,9 @@ impl pallet_proxy::WeightInfo for WeightInfo { fn remove_announcement(a: u32, p: u32, ) -> Weight { Weight::from_ref_time(22_907_000 as RefTimeWeight) // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(157_000 as RefTimeWeight).scalar_saturating_mul(a as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(157_000 as RefTimeWeight).saturating_mul(a as RefTimeWeight)) // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(6_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(6_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight)) } @@ -86,9 +86,9 @@ impl pallet_proxy::WeightInfo for WeightInfo { fn reject_announcement(a: u32, p: u32, ) -> Weight { Weight::from_ref_time(22_859_000 as RefTimeWeight) // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(166_000 as RefTimeWeight).scalar_saturating_mul(a as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(166_000 as RefTimeWeight).saturating_mul(a as RefTimeWeight)) // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(9_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(9_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight)) } @@ -100,9 +100,9 @@ impl pallet_proxy::WeightInfo for WeightInfo { fn announce(a: u32, p: u32, ) -> Weight { Weight::from_ref_time(31_254_000 as RefTimeWeight) // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(136_000 as RefTimeWeight).scalar_saturating_mul(a as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(136_000 as RefTimeWeight).saturating_mul(a as RefTimeWeight)) // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(44_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(44_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight)) } @@ -111,7 +111,7 @@ impl pallet_proxy::WeightInfo for WeightInfo { fn add_proxy(p: u32, ) -> Weight { Weight::from_ref_time(25_519_000 as RefTimeWeight) // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(81_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(81_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) } @@ -120,7 +120,7 @@ impl pallet_proxy::WeightInfo for WeightInfo { fn remove_proxy(p: u32, ) -> Weight { Weight::from_ref_time(25_205_000 as RefTimeWeight) // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(111_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(111_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) } @@ -129,7 +129,7 @@ impl pallet_proxy::WeightInfo for WeightInfo { fn remove_proxies(p: u32, ) -> Weight { Weight::from_ref_time(21_393_000 as RefTimeWeight) // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(62_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(62_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) } @@ -139,7 +139,7 @@ impl pallet_proxy::WeightInfo for WeightInfo { fn anonymous(p: u32, ) -> Weight { Weight::from_ref_time(28_146_000 as RefTimeWeight) // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(30_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(30_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) } @@ -148,7 +148,7 @@ impl pallet_proxy::WeightInfo for WeightInfo { fn kill_anonymous(p: u32, ) -> Weight { Weight::from_ref_time(22_187_000 as RefTimeWeight) // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(68_000 as RefTimeWeight).scalar_saturating_mul(p as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(68_000 as RefTimeWeight).saturating_mul(p as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) } diff --git a/runtime/westend/src/weights/pallet_scheduler.rs b/runtime/westend/src/weights/pallet_scheduler.rs index f1589f2b99ee..47021d0e2c05 100644 --- a/runtime/westend/src/weights/pallet_scheduler.rs +++ b/runtime/westend/src/weights/pallet_scheduler.rs @@ -52,7 +52,7 @@ impl pallet_scheduler::WeightInfo for WeightInfo { fn on_initialize_periodic_named_resolved(s: u32, ) -> Weight { Weight::from_ref_time(2_582_000 as RefTimeWeight) // Standard Error: 32_000 - .saturating_add(Weight::from_ref_time(25_444_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(25_444_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads((3 as RefTimeWeight).saturating_mul(s as RefTimeWeight))) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) @@ -66,7 +66,7 @@ impl pallet_scheduler::WeightInfo for WeightInfo { fn on_initialize_named_resolved(s: u32, ) -> Weight { Weight::from_ref_time(4_112_000 as RefTimeWeight) // Standard Error: 29_000 - .saturating_add(Weight::from_ref_time(20_456_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(20_456_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads((2 as RefTimeWeight).saturating_mul(s as RefTimeWeight))) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) @@ -79,7 +79,7 @@ impl pallet_scheduler::WeightInfo for WeightInfo { fn on_initialize_periodic_resolved(s: u32, ) -> Weight { Weight::from_ref_time(0 as RefTimeWeight) // Standard Error: 32_000 - .saturating_add(Weight::from_ref_time(23_106_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(23_106_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads((3 as RefTimeWeight).saturating_mul(s as RefTimeWeight))) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) @@ -92,7 +92,7 @@ impl pallet_scheduler::WeightInfo for WeightInfo { fn on_initialize_resolved(s: u32, ) -> Weight { Weight::from_ref_time(6_481_000 as RefTimeWeight) // Standard Error: 21_000 - .saturating_add(Weight::from_ref_time(19_301_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(19_301_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads((2 as RefTimeWeight).saturating_mul(s as RefTimeWeight))) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) @@ -105,7 +105,7 @@ impl pallet_scheduler::WeightInfo for WeightInfo { fn on_initialize_named_aborted(s: u32, ) -> Weight { Weight::from_ref_time(4_817_000 as RefTimeWeight) // Standard Error: 13_000 - .saturating_add(Weight::from_ref_time(8_967_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(8_967_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads((1 as RefTimeWeight).saturating_mul(s as RefTimeWeight))) .saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight)) @@ -117,7 +117,7 @@ impl pallet_scheduler::WeightInfo for WeightInfo { fn on_initialize_aborted(s: u32, ) -> Weight { Weight::from_ref_time(6_222_000 as RefTimeWeight) // Standard Error: 11_000 - .saturating_add(Weight::from_ref_time(6_779_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(6_779_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads((1 as RefTimeWeight).saturating_mul(s as RefTimeWeight))) .saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight)) @@ -128,7 +128,7 @@ impl pallet_scheduler::WeightInfo for WeightInfo { fn on_initialize_periodic_named(s: u32, ) -> Weight { Weight::from_ref_time(3_607_000 as RefTimeWeight) // Standard Error: 79_000 - .saturating_add(Weight::from_ref_time(15_590_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(15_590_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads((1 as RefTimeWeight).saturating_mul(s as RefTimeWeight))) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) @@ -139,7 +139,7 @@ impl pallet_scheduler::WeightInfo for WeightInfo { fn on_initialize_periodic(s: u32, ) -> Weight { Weight::from_ref_time(11_226_000 as RefTimeWeight) // Standard Error: 17_000 - .saturating_add(Weight::from_ref_time(12_726_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(12_726_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads((1 as RefTimeWeight).saturating_mul(s as RefTimeWeight))) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) @@ -151,7 +151,7 @@ impl pallet_scheduler::WeightInfo for WeightInfo { fn on_initialize_named(s: u32, ) -> Weight { Weight::from_ref_time(12_159_000 as RefTimeWeight) // Standard Error: 13_000 - .saturating_add(Weight::from_ref_time(10_436_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(10_436_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes((1 as RefTimeWeight).saturating_mul(s as RefTimeWeight))) @@ -161,7 +161,7 @@ impl pallet_scheduler::WeightInfo for WeightInfo { fn on_initialize(s: u32, ) -> Weight { Weight::from_ref_time(12_359_000 as RefTimeWeight) // Standard Error: 26_000 - .saturating_add(Weight::from_ref_time(9_593_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(9_593_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) } @@ -170,7 +170,7 @@ impl pallet_scheduler::WeightInfo for WeightInfo { fn schedule(s: u32, ) -> Weight { Weight::from_ref_time(18_686_000 as RefTimeWeight) // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(49_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(49_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) } @@ -180,7 +180,7 @@ impl pallet_scheduler::WeightInfo for WeightInfo { fn cancel(s: u32, ) -> Weight { Weight::from_ref_time(17_922_000 as RefTimeWeight) // Standard Error: 5_000 - .saturating_add(Weight::from_ref_time(1_861_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(1_861_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight)) } @@ -190,7 +190,7 @@ impl pallet_scheduler::WeightInfo for WeightInfo { fn schedule_named(s: u32, ) -> Weight { Weight::from_ref_time(21_794_000 as RefTimeWeight) // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(64_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(64_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight)) } @@ -200,7 +200,7 @@ impl pallet_scheduler::WeightInfo for WeightInfo { fn cancel_named(s: u32, ) -> Weight { Weight::from_ref_time(19_726_000 as RefTimeWeight) // Standard Error: 5_000 - .saturating_add(Weight::from_ref_time(1_854_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(1_854_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight)) } diff --git a/runtime/westend/src/weights/pallet_staking.rs b/runtime/westend/src/weights/pallet_staking.rs index ec4d799691a0..9c3cc8b2cb8f 100644 --- a/runtime/westend/src/weights/pallet_staking.rs +++ b/runtime/westend/src/weights/pallet_staking.rs @@ -87,7 +87,7 @@ impl pallet_staking::WeightInfo for WeightInfo { fn withdraw_unbonded_update(s: u32, ) -> Weight { Weight::from_ref_time(31_047_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(31_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(31_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(4 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight)) } @@ -108,7 +108,7 @@ impl pallet_staking::WeightInfo for WeightInfo { fn withdraw_unbonded_kill(s: u32, ) -> Weight { Weight::from_ref_time(60_033_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(1_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(1_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(13 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(11 as RefTimeWeight)) } @@ -134,7 +134,7 @@ impl pallet_staking::WeightInfo for WeightInfo { fn kick(k: u32, ) -> Weight { Weight::from_ref_time(10_920_000 as RefTimeWeight) // Standard Error: 8_000 - .saturating_add(Weight::from_ref_time(8_111_000 as RefTimeWeight).scalar_saturating_mul(k as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(8_111_000 as RefTimeWeight).saturating_mul(k as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads((1 as RefTimeWeight).saturating_mul(k as RefTimeWeight))) .saturating_add(T::DbWeight::get().writes((1 as RefTimeWeight).saturating_mul(k as RefTimeWeight))) @@ -154,7 +154,7 @@ impl pallet_staking::WeightInfo for WeightInfo { fn nominate(n: u32, ) -> Weight { Weight::from_ref_time(52_622_000 as RefTimeWeight) // Standard Error: 11_000 - .saturating_add(Weight::from_ref_time(3_092_000 as RefTimeWeight).scalar_saturating_mul(n as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(3_092_000 as RefTimeWeight).saturating_mul(n as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(12 as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads((1 as RefTimeWeight).saturating_mul(n as RefTimeWeight))) .saturating_add(T::DbWeight::get().writes(6 as RefTimeWeight)) @@ -210,7 +210,7 @@ impl pallet_staking::WeightInfo for WeightInfo { fn set_invulnerables(v: u32, ) -> Weight { Weight::from_ref_time(3_676_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(10_000 as RefTimeWeight).scalar_saturating_mul(v as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(10_000 as RefTimeWeight).saturating_mul(v as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) } // Storage: Staking Bonded (r:1 w:1) @@ -230,7 +230,7 @@ impl pallet_staking::WeightInfo for WeightInfo { fn force_unstake(s: u32, ) -> Weight { Weight::from_ref_time(57_723_000 as RefTimeWeight) // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(894_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(894_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(11 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(12 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes((1 as RefTimeWeight).saturating_mul(s as RefTimeWeight))) @@ -240,7 +240,7 @@ impl pallet_staking::WeightInfo for WeightInfo { fn cancel_deferred_slash(s: u32, ) -> Weight { Weight::from_ref_time(2_534_473_000 as RefTimeWeight) // Standard Error: 172_000 - .saturating_add(Weight::from_ref_time(14_773_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(14_773_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) } @@ -258,7 +258,7 @@ impl pallet_staking::WeightInfo for WeightInfo { fn payout_stakers_dead_controller(n: u32, ) -> Weight { Weight::from_ref_time(74_433_000 as RefTimeWeight) // Standard Error: 22_000 - .saturating_add(Weight::from_ref_time(24_296_000 as RefTimeWeight).scalar_saturating_mul(n as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(24_296_000 as RefTimeWeight).saturating_mul(n as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(10 as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads((3 as RefTimeWeight).saturating_mul(n as RefTimeWeight))) .saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight)) @@ -279,7 +279,7 @@ impl pallet_staking::WeightInfo for WeightInfo { fn payout_stakers_alive_staked(n: u32, ) -> Weight { Weight::from_ref_time(83_490_000 as RefTimeWeight) // Standard Error: 26_000 - .saturating_add(Weight::from_ref_time(32_049_000 as RefTimeWeight).scalar_saturating_mul(n as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(32_049_000 as RefTimeWeight).saturating_mul(n as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(11 as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads((5 as RefTimeWeight).saturating_mul(n as RefTimeWeight))) .saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight)) @@ -295,7 +295,7 @@ impl pallet_staking::WeightInfo for WeightInfo { fn rebond(l: u32, ) -> Weight { Weight::from_ref_time(68_977_000 as RefTimeWeight) // Standard Error: 13_000 - .saturating_add(Weight::from_ref_time(54_000 as RefTimeWeight).scalar_saturating_mul(l as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(54_000 as RefTimeWeight).saturating_mul(l as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(9 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(8 as RefTimeWeight)) } @@ -312,7 +312,7 @@ impl pallet_staking::WeightInfo for WeightInfo { fn set_history_depth(e: u32, ) -> Weight { Weight::from_ref_time(0 as RefTimeWeight) // Standard Error: 90_000 - .saturating_add(Weight::from_ref_time(22_124_000 as RefTimeWeight).scalar_saturating_mul(e as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(22_124_000 as RefTimeWeight).saturating_mul(e as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(4 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes((7 as RefTimeWeight).saturating_mul(e as RefTimeWeight))) @@ -334,7 +334,7 @@ impl pallet_staking::WeightInfo for WeightInfo { fn reap_stash(s: u32, ) -> Weight { Weight::from_ref_time(64_117_000 as RefTimeWeight) // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(888_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(888_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(12 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(12 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes((1 as RefTimeWeight).saturating_mul(s as RefTimeWeight))) @@ -363,9 +363,9 @@ impl pallet_staking::WeightInfo for WeightInfo { fn new_era(v: u32, n: u32, ) -> Weight { Weight::from_ref_time(0 as RefTimeWeight) // Standard Error: 1_326_000 - .saturating_add(Weight::from_ref_time(300_625_000 as RefTimeWeight).scalar_saturating_mul(v as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(300_625_000 as RefTimeWeight).saturating_mul(v as RefTimeWeight)) // Standard Error: 127_000 - .saturating_add(Weight::from_ref_time(38_619_000 as RefTimeWeight).scalar_saturating_mul(n as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(38_619_000 as RefTimeWeight).saturating_mul(n as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(187 as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads((5 as RefTimeWeight).saturating_mul(v as RefTimeWeight))) .saturating_add(T::DbWeight::get().reads((4 as RefTimeWeight).saturating_mul(n as RefTimeWeight))) @@ -387,11 +387,11 @@ impl pallet_staking::WeightInfo for WeightInfo { fn get_npos_voters(v: u32, n: u32, s: u32, ) -> Weight { Weight::from_ref_time(0 as RefTimeWeight) // Standard Error: 116_000 - .saturating_add(Weight::from_ref_time(24_599_000 as RefTimeWeight).scalar_saturating_mul(v as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(24_599_000 as RefTimeWeight).saturating_mul(v as RefTimeWeight)) // Standard Error: 116_000 - .saturating_add(Weight::from_ref_time(22_573_000 as RefTimeWeight).scalar_saturating_mul(n as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(22_573_000 as RefTimeWeight).saturating_mul(n as RefTimeWeight)) // Standard Error: 2_973_000 - .saturating_add(Weight::from_ref_time(34_144_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(34_144_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(181 as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads((5 as RefTimeWeight).saturating_mul(v as RefTimeWeight))) .saturating_add(T::DbWeight::get().reads((4 as RefTimeWeight).saturating_mul(n as RefTimeWeight))) @@ -404,7 +404,7 @@ impl pallet_staking::WeightInfo for WeightInfo { fn get_npos_targets(v: u32, ) -> Weight { Weight::from_ref_time(0 as RefTimeWeight) // Standard Error: 34_000 - .saturating_add(Weight::from_ref_time(7_766_000 as RefTimeWeight).scalar_saturating_mul(v as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(7_766_000 as RefTimeWeight).saturating_mul(v as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads((1 as RefTimeWeight).saturating_mul(v as RefTimeWeight))) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) diff --git a/runtime/westend/src/weights/pallet_utility.rs b/runtime/westend/src/weights/pallet_utility.rs index 58b0d26e5695..903620d015e7 100644 --- a/runtime/westend/src/weights/pallet_utility.rs +++ b/runtime/westend/src/weights/pallet_utility.rs @@ -48,7 +48,7 @@ impl pallet_utility::WeightInfo for WeightInfo { fn batch(c: u32, ) -> Weight { Weight::from_ref_time(21_263_000 as RefTimeWeight) // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(4_568_000 as RefTimeWeight).scalar_saturating_mul(c as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(4_568_000 as RefTimeWeight).saturating_mul(c as RefTimeWeight)) } fn as_derivative() -> Weight { Weight::from_ref_time(5_489_000 as RefTimeWeight) @@ -57,7 +57,7 @@ impl pallet_utility::WeightInfo for WeightInfo { fn batch_all(c: u32, ) -> Weight { Weight::from_ref_time(12_474_000 as RefTimeWeight) // Standard Error: 3_000 - .saturating_add(Weight::from_ref_time(4_877_000 as RefTimeWeight).scalar_saturating_mul(c as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(4_877_000 as RefTimeWeight).saturating_mul(c as RefTimeWeight)) } fn dispatch_as() -> Weight { Weight::from_ref_time(12_745_000 as RefTimeWeight) @@ -66,6 +66,6 @@ impl pallet_utility::WeightInfo for WeightInfo { fn force_batch(c: u32, ) -> Weight { Weight::from_ref_time(21_712_000 as RefTimeWeight) // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(4_569_000 as RefTimeWeight).scalar_saturating_mul(c as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(4_569_000 as RefTimeWeight).saturating_mul(c as RefTimeWeight)) } } diff --git a/runtime/westend/src/weights/pallet_vesting.rs b/runtime/westend/src/weights/pallet_vesting.rs index 15b588eb3485..3b5f56512fa0 100644 --- a/runtime/westend/src/weights/pallet_vesting.rs +++ b/runtime/westend/src/weights/pallet_vesting.rs @@ -51,9 +51,9 @@ impl pallet_vesting::WeightInfo for WeightInfo { fn vest_locked(l: u32, s: u32, ) -> Weight { Weight::from_ref_time(28_533_000 as RefTimeWeight) // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(70_000 as RefTimeWeight).scalar_saturating_mul(l as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(70_000 as RefTimeWeight).saturating_mul(l as RefTimeWeight)) // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(152_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(152_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight)) } @@ -64,9 +64,9 @@ impl pallet_vesting::WeightInfo for WeightInfo { fn vest_unlocked(l: u32, s: u32, ) -> Weight { Weight::from_ref_time(28_491_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(61_000 as RefTimeWeight).scalar_saturating_mul(l as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(61_000 as RefTimeWeight).saturating_mul(l as RefTimeWeight)) // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(128_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(128_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight)) } @@ -78,9 +78,9 @@ impl pallet_vesting::WeightInfo for WeightInfo { fn vest_other_locked(l: u32, s: u32, ) -> Weight { Weight::from_ref_time(28_340_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(71_000 as RefTimeWeight).scalar_saturating_mul(l as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(71_000 as RefTimeWeight).saturating_mul(l as RefTimeWeight)) // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(150_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(150_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight)) } @@ -92,9 +92,9 @@ impl pallet_vesting::WeightInfo for WeightInfo { fn vest_other_unlocked(l: u32, s: u32, ) -> Weight { Weight::from_ref_time(28_558_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(64_000 as RefTimeWeight).scalar_saturating_mul(l as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(64_000 as RefTimeWeight).saturating_mul(l as RefTimeWeight)) // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(120_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(120_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight)) } @@ -106,9 +106,9 @@ impl pallet_vesting::WeightInfo for WeightInfo { fn vested_transfer(l: u32, s: u32, ) -> Weight { Weight::from_ref_time(43_102_000 as RefTimeWeight) // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(65_000 as RefTimeWeight).scalar_saturating_mul(l as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(65_000 as RefTimeWeight).saturating_mul(l as RefTimeWeight)) // Standard Error: 4_000 - .saturating_add(Weight::from_ref_time(130_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(130_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight)) } @@ -120,9 +120,9 @@ impl pallet_vesting::WeightInfo for WeightInfo { fn force_vested_transfer(l: u32, s: u32, ) -> Weight { Weight::from_ref_time(42_364_000 as RefTimeWeight) // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(78_000 as RefTimeWeight).scalar_saturating_mul(l as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(78_000 as RefTimeWeight).saturating_mul(l as RefTimeWeight)) // Standard Error: 5_000 - .saturating_add(Weight::from_ref_time(137_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(137_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(4 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(4 as RefTimeWeight)) } @@ -134,9 +134,9 @@ impl pallet_vesting::WeightInfo for WeightInfo { fn not_unlocking_merge_schedules(l: u32, s: u32, ) -> Weight { Weight::from_ref_time(29_492_000 as RefTimeWeight) // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(64_000 as RefTimeWeight).scalar_saturating_mul(l as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(64_000 as RefTimeWeight).saturating_mul(l as RefTimeWeight)) // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(154_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(154_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight)) } @@ -148,9 +148,9 @@ impl pallet_vesting::WeightInfo for WeightInfo { fn unlocking_merge_schedules(l: u32, s: u32, ) -> Weight { Weight::from_ref_time(29_532_000 as RefTimeWeight) // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(58_000 as RefTimeWeight).scalar_saturating_mul(l as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(58_000 as RefTimeWeight).saturating_mul(l as RefTimeWeight)) // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(155_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(155_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight)) } diff --git a/runtime/westend/src/weights/runtime_common_crowdloan.rs b/runtime/westend/src/weights/runtime_common_crowdloan.rs index 6baf5d81792f..cef39ec164e1 100644 --- a/runtime/westend/src/weights/runtime_common_crowdloan.rs +++ b/runtime/westend/src/weights/runtime_common_crowdloan.rs @@ -78,7 +78,7 @@ impl runtime_common::crowdloan::WeightInfo for WeightIn fn refund(k: u32, ) -> Weight { Weight::from_ref_time(0 as RefTimeWeight) // Standard Error: 14_000 - .saturating_add(Weight::from_ref_time(18_621_000 as RefTimeWeight).scalar_saturating_mul(k as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(18_621_000 as RefTimeWeight).saturating_mul(k as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads((2 as RefTimeWeight).saturating_mul(k as RefTimeWeight))) .saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight)) @@ -125,7 +125,7 @@ impl runtime_common::crowdloan::WeightInfo for WeightIn fn on_initialize(n: u32, ) -> Weight { Weight::from_ref_time(0 as RefTimeWeight) // Standard Error: 28_000 - .saturating_add(Weight::from_ref_time(48_794_000 as RefTimeWeight).scalar_saturating_mul(n as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(48_794_000 as RefTimeWeight).saturating_mul(n as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(5 as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads((5 as RefTimeWeight).saturating_mul(n as RefTimeWeight))) .saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight)) diff --git a/runtime/westend/src/weights/runtime_common_slots.rs b/runtime/westend/src/weights/runtime_common_slots.rs index 576f5403249a..0ef37c1c886d 100644 --- a/runtime/westend/src/weights/runtime_common_slots.rs +++ b/runtime/westend/src/weights/runtime_common_slots.rs @@ -62,9 +62,9 @@ impl runtime_common::slots::WeightInfo for WeightInfo Weight { Weight::from_ref_time(0 as RefTimeWeight) // Standard Error: 22_000 - .saturating_add(Weight::from_ref_time(6_678_000 as RefTimeWeight).scalar_saturating_mul(c as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(6_678_000 as RefTimeWeight).saturating_mul(c as RefTimeWeight)) // Standard Error: 22_000 - .saturating_add(Weight::from_ref_time(17_665_000 as RefTimeWeight).scalar_saturating_mul(t as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(17_665_000 as RefTimeWeight).saturating_mul(t as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(4 as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads((1 as RefTimeWeight).saturating_mul(c as RefTimeWeight))) .saturating_add(T::DbWeight::get().reads((3 as RefTimeWeight).saturating_mul(t as RefTimeWeight))) diff --git a/runtime/westend/src/weights/runtime_parachains_hrmp.rs b/runtime/westend/src/weights/runtime_parachains_hrmp.rs index ade0ad89ff8b..761a5b49995d 100644 --- a/runtime/westend/src/weights/runtime_parachains_hrmp.rs +++ b/runtime/westend/src/weights/runtime_parachains_hrmp.rs @@ -89,9 +89,9 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf fn force_clean_hrmp(i: u32, e: u32, ) -> Weight { Weight::from_ref_time(0 as RefTimeWeight) // Standard Error: 18_000 - .saturating_add(Weight::from_ref_time(9_857_000 as RefTimeWeight).scalar_saturating_mul(i as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(9_857_000 as RefTimeWeight).saturating_mul(i as RefTimeWeight)) // Standard Error: 18_000 - .saturating_add(Weight::from_ref_time(9_902_000 as RefTimeWeight).scalar_saturating_mul(e as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(9_902_000 as RefTimeWeight).saturating_mul(e as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads((2 as RefTimeWeight).saturating_mul(i as RefTimeWeight))) .saturating_add(T::DbWeight::get().reads((2 as RefTimeWeight).saturating_mul(e as RefTimeWeight))) @@ -111,7 +111,7 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf fn force_process_hrmp_open(c: u32, ) -> Weight { Weight::from_ref_time(0 as RefTimeWeight) // Standard Error: 35_000 - .saturating_add(Weight::from_ref_time(23_225_000 as RefTimeWeight).scalar_saturating_mul(c as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(23_225_000 as RefTimeWeight).saturating_mul(c as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads((7 as RefTimeWeight).saturating_mul(c as RefTimeWeight))) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) @@ -127,7 +127,7 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf fn force_process_hrmp_close(c: u32, ) -> Weight { Weight::from_ref_time(0 as RefTimeWeight) // Standard Error: 18_000 - .saturating_add(Weight::from_ref_time(13_030_000 as RefTimeWeight).scalar_saturating_mul(c as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(13_030_000 as RefTimeWeight).saturating_mul(c as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads((3 as RefTimeWeight).saturating_mul(c as RefTimeWeight))) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) @@ -140,7 +140,7 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf fn hrmp_cancel_open_request(c: u32, ) -> Weight { Weight::from_ref_time(26_560_000 as RefTimeWeight) // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(49_000 as RefTimeWeight).scalar_saturating_mul(c as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(49_000 as RefTimeWeight).saturating_mul(c as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(3 as RefTimeWeight)) } @@ -150,7 +150,7 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf fn clean_open_channel_requests(c: u32, ) -> Weight { Weight::from_ref_time(0 as RefTimeWeight) // Standard Error: 9_000 - .saturating_add(Weight::from_ref_time(3_867_000 as RefTimeWeight).scalar_saturating_mul(c as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(3_867_000 as RefTimeWeight).saturating_mul(c as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads((1 as RefTimeWeight).saturating_mul(c as RefTimeWeight))) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) diff --git a/runtime/westend/src/weights/runtime_parachains_initializer.rs b/runtime/westend/src/weights/runtime_parachains_initializer.rs index 024c685dacad..3b1cfc320a38 100644 --- a/runtime/westend/src/weights/runtime_parachains_initializer.rs +++ b/runtime/westend/src/weights/runtime_parachains_initializer.rs @@ -49,7 +49,7 @@ impl runtime_parachains::initializer::WeightInfo for We fn force_approve(d: u32, ) -> Weight { Weight::from_ref_time(7_235_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).scalar_saturating_mul(d as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).saturating_mul(d as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) } diff --git a/runtime/westend/src/weights/runtime_parachains_paras.rs b/runtime/westend/src/weights/runtime_parachains_paras.rs index 801fa48c7f52..8606611643b9 100644 --- a/runtime/westend/src/weights/runtime_parachains_paras.rs +++ b/runtime/westend/src/weights/runtime_parachains_paras.rs @@ -54,7 +54,7 @@ impl runtime_parachains::paras::WeightInfo for WeightIn fn force_set_current_code(c: u32, ) -> Weight { Weight::from_ref_time(0 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).scalar_saturating_mul(c as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).saturating_mul(c as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(4 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(6 as RefTimeWeight)) } @@ -63,7 +63,7 @@ impl runtime_parachains::paras::WeightInfo for WeightIn fn force_set_current_head(s: u32, ) -> Weight { Weight::from_ref_time(0 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(1_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(1_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) } // Storage: Paras FutureCodeHash (r:1 w:1) @@ -80,7 +80,7 @@ impl runtime_parachains::paras::WeightInfo for WeightIn fn force_schedule_code_upgrade(c: u32, ) -> Weight { Weight::from_ref_time(0 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).scalar_saturating_mul(c as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).saturating_mul(c as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(8 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(8 as RefTimeWeight)) } @@ -91,7 +91,7 @@ impl runtime_parachains::paras::WeightInfo for WeightIn fn force_note_new_head(s: u32, ) -> Weight { Weight::from_ref_time(0 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(1_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(1_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(1 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight)) } @@ -108,7 +108,7 @@ impl runtime_parachains::paras::WeightInfo for WeightIn fn add_trusted_validation_code(c: u32, ) -> Weight { Weight::from_ref_time(0 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).scalar_saturating_mul(c as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(3_000 as RefTimeWeight).saturating_mul(c as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(2 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(1 as RefTimeWeight)) } diff --git a/runtime/westend/src/weights/runtime_parachains_paras_inherent.rs b/runtime/westend/src/weights/runtime_parachains_paras_inherent.rs index 50773d1e03f8..7ebe52b45ba5 100644 --- a/runtime/westend/src/weights/runtime_parachains_paras_inherent.rs +++ b/runtime/westend/src/weights/runtime_parachains_paras_inherent.rs @@ -78,7 +78,7 @@ impl runtime_parachains::paras_inherent::WeightInfo for fn enter_variable_disputes(v: u32, ) -> Weight { Weight::from_ref_time(367_606_000 as RefTimeWeight) // Standard Error: 14_000 - .saturating_add(Weight::from_ref_time(48_163_000 as RefTimeWeight).scalar_saturating_mul(v as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(48_163_000 as RefTimeWeight).saturating_mul(v as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(28 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(18 as RefTimeWeight)) } @@ -150,7 +150,7 @@ impl runtime_parachains::paras_inherent::WeightInfo for fn enter_backed_candidates_variable(v: u32, ) -> Weight { Weight::from_ref_time(949_843_000 as RefTimeWeight) // Standard Error: 40_000 - .saturating_add(Weight::from_ref_time(48_022_000 as RefTimeWeight).scalar_saturating_mul(v as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(48_022_000 as RefTimeWeight).saturating_mul(v as RefTimeWeight)) .saturating_add(T::DbWeight::get().reads(28 as RefTimeWeight)) .saturating_add(T::DbWeight::get().writes(16 as RefTimeWeight)) } diff --git a/runtime/westend/src/weights/runtime_parachains_ump.rs b/runtime/westend/src/weights/runtime_parachains_ump.rs index 1d8e83b602ba..02f39e66895d 100644 --- a/runtime/westend/src/weights/runtime_parachains_ump.rs +++ b/runtime/westend/src/weights/runtime_parachains_ump.rs @@ -48,7 +48,7 @@ impl runtime_parachains::ump::WeightInfo for WeightInfo fn process_upward_message(s: u32, ) -> Weight { Weight::from_ref_time(5_203_000 as RefTimeWeight) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight)) + .saturating_add(Weight::from_ref_time(2_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight)) } // Storage: Ump NeedsDispatch (r:1 w:1) // Storage: Ump NextDispatchRoundStartWith (r:1 w:1) diff --git a/runtime/westend/src/weights/xcm/mod.rs b/runtime/westend/src/weights/xcm/mod.rs index 83146594cd30..87ac6cfe4a5a 100644 --- a/runtime/westend/src/weights/xcm/mod.rs +++ b/runtime/westend/src/weights/xcm/mod.rs @@ -48,8 +48,8 @@ impl WeighMultiAssets for MultiAssetFilter { AssetTypes::Balances => balances_weight, AssetTypes::Unknown => Weight::MAX, }) - .fold(Weight::new(), |acc, x| acc.saturating_add(x)), - Self::Wild(_) => balances_weight.scalar_saturating_mul(MAX_ASSETS as u64), + .fold(Weight::zero(), |acc, x| acc.saturating_add(x)), + Self::Wild(_) => balances_weight.saturating_mul(MAX_ASSETS as u64), }; weight.ref_time() @@ -66,7 +66,7 @@ impl WeighMultiAssets for MultiAssets { AssetTypes::Balances => balances_weight, AssetTypes::Unknown => Weight::MAX, }) - .fold(Weight::new(), |acc, x| acc.saturating_add(x)); + .fold(Weight::zero(), |acc, x| acc.saturating_add(x)); weight.ref_time() } diff --git a/xcm/pallet-xcm-benchmarks/template.hbs b/xcm/pallet-xcm-benchmarks/template.hbs index c1e911eb42ae..d903f42512fd 100644 --- a/xcm/pallet-xcm-benchmarks/template.hbs +++ b/xcm/pallet-xcm-benchmarks/template.hbs @@ -44,22 +44,22 @@ impl WeightInfo { {{~#each benchmark.components as |c| ~}} {{~#if (not c.is_used)}}_{{/if}}{{c.name}}: u32, {{/each~}} ) -> Weight { - ({{underscore benchmark.base_weight}} as Weight) + Weight::from_ref_time({{underscore benchmark.base_weight}} as RefTimeWeight) {{#each benchmark.component_weight as |cw|}} // Standard Error: {{underscore cw.error}} - .saturating_add(({{underscore cw.slope}} as Weight).saturating_mul({{cw.name}} as Weight)) + .saturating_add(Weight::from_ref_time({{underscore cw.slope}} as RefTimeWeight).saturating_mul({{cw.name}} as RefTimeWeight)) {{/each}} {{#if (ne benchmark.base_reads "0")}} - .saturating_add(T::DbWeight::get().reads({{benchmark.base_reads}} as Weight)) + .saturating_add(T::DbWeight::get().reads({{benchmark.base_reads}} as RefTimeWeight)) {{/if}} {{#each benchmark.component_reads as |cr|}} - .saturating_add(T::DbWeight::get().reads(({{cr.slope}} as Weight).saturating_mul({{cr.name}} as Weight))) + .saturating_add(T::DbWeight::get().reads(({{cr.slope}} as RefTimeWeight).saturating_mul({{cr.name}} as RefTimeWeight))) {{/each}} {{#if (ne benchmark.base_writes "0")}} - .saturating_add(T::DbWeight::get().writes({{benchmark.base_writes}} as Weight)) + .saturating_add(T::DbWeight::get().writes({{benchmark.base_writes}} as RefTimeWeight)) {{/if}} {{#each benchmark.component_writes as |cw|}} - .saturating_add(T::DbWeight::get().writes(({{cw.slope}} as Weight).saturating_mul({{cw.name}} as Weight))) + .saturating_add(T::DbWeight::get().writes(({{cw.slope}} as RefTimeWeight).saturating_mul({{cw.name}} as RefTimeWeight))) {{/each}} } {{/each}} diff --git a/xcm/pallet-xcm/src/lib.rs b/xcm/pallet-xcm/src/lib.rs index 25beb4cea61e..42b20d9589b4 100644 --- a/xcm/pallet-xcm/src/lib.rs +++ b/xcm/pallet-xcm/src/lib.rs @@ -404,7 +404,7 @@ pub mod pallet { #[pallet::hooks] impl Hooks> for Pallet { fn on_initialize(_n: BlockNumberFor) -> Weight { - let mut weight_used = Weight::new(); + let mut weight_used = Weight::zero(); if let Some(migration) = CurrentMigration::::get() { // Consume 10% of block at most let max_weight = T::BlockWeights::get().max_block / 10; @@ -886,7 +886,7 @@ pub mod pallet { mut stage: VersionMigrationStage, weight_cutoff: Weight, ) -> (Weight, Option) { - let mut weight_used = Weight::new(); + let mut weight_used = Weight::zero(); // TODO: Correct weights for the components of this: let todo_sv_migrate_weight: Weight = T::DbWeight::get().reads_writes(1, 1); diff --git a/xcm/xcm-simulator/example/src/parachain.rs b/xcm/xcm-simulator/example/src/parachain.rs index 3e233c97530a..6b47e42a12c2 100644 --- a/xcm/xcm-simulator/example/src/parachain.rs +++ b/xcm/xcm-simulator/example/src/parachain.rs @@ -97,8 +97,8 @@ impl pallet_balances::Config for Runtime { } parameter_types! { - pub const ReservedXcmpWeight: Weight = WEIGHT_PER_SECOND.scalar_div(4); - pub const ReservedDmpWeight: Weight = WEIGHT_PER_SECOND.scalar_div(4); + pub const ReservedXcmpWeight: Weight = WEIGHT_PER_SECOND.saturating_div(4); + pub const ReservedDmpWeight: Weight = WEIGHT_PER_SECOND.saturating_div(4); } parameter_types! { diff --git a/xcm/xcm-simulator/example/src/relay_chain.rs b/xcm/xcm-simulator/example/src/relay_chain.rs index 925a3b07bcf8..3ba65bc2938a 100644 --- a/xcm/xcm-simulator/example/src/relay_chain.rs +++ b/xcm/xcm-simulator/example/src/relay_chain.rs @@ -19,7 +19,6 @@ use frame_support::{ construct_runtime, parameter_types, traits::{Everything, Nothing}, - weights::Weight, }; use sp_core::H256; use sp_runtime::{testing::Header, traits::IdentityLookup, AccountId32}; @@ -162,7 +161,7 @@ impl pallet_xcm::Config for Runtime { } parameter_types! { - pub const FirstMessageFactorPercent: Weight = Weight::from_ref_time(100); + pub const FirstMessageFactorPercent: u64 = 100; } impl ump::Config for Runtime { diff --git a/xcm/xcm-simulator/fuzzer/src/parachain.rs b/xcm/xcm-simulator/fuzzer/src/parachain.rs index 9c07faf8bc72..fa6014bc7865 100644 --- a/xcm/xcm-simulator/fuzzer/src/parachain.rs +++ b/xcm/xcm-simulator/fuzzer/src/parachain.rs @@ -97,8 +97,8 @@ impl pallet_balances::Config for Runtime { } parameter_types! { - pub const ReservedXcmpWeight: Weight = WEIGHT_PER_SECOND.scalar_div(4); - pub const ReservedDmpWeight: Weight = WEIGHT_PER_SECOND.scalar_div(4); + pub const ReservedXcmpWeight: Weight = WEIGHT_PER_SECOND.saturating_div(4); + pub const ReservedDmpWeight: Weight = WEIGHT_PER_SECOND.saturating_div(4); } parameter_types! { diff --git a/xcm/xcm-simulator/fuzzer/src/relay_chain.rs b/xcm/xcm-simulator/fuzzer/src/relay_chain.rs index 925a3b07bcf8..3ba65bc2938a 100644 --- a/xcm/xcm-simulator/fuzzer/src/relay_chain.rs +++ b/xcm/xcm-simulator/fuzzer/src/relay_chain.rs @@ -19,7 +19,6 @@ use frame_support::{ construct_runtime, parameter_types, traits::{Everything, Nothing}, - weights::Weight, }; use sp_core::H256; use sp_runtime::{testing::Header, traits::IdentityLookup, AccountId32}; @@ -162,7 +161,7 @@ impl pallet_xcm::Config for Runtime { } parameter_types! { - pub const FirstMessageFactorPercent: Weight = Weight::from_ref_time(100); + pub const FirstMessageFactorPercent: u64 = 100; } impl ump::Config for Runtime {