diff --git a/Cargo.lock b/Cargo.lock index 6afe7277101..18430686ffc 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -159,9 +159,9 @@ checksum = "be4dc07131ffa69b8072d35f5007352af944213cde02545e2103680baed38fcd" [[package]] name = "asn1_der" -version = "0.7.4" +version = "0.7.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9d6e24d2cce90c53b948c46271bfb053e4bdc2db9b5d3f65e20f8cf28a1b7fc3" +checksum = "e22d1f4b888c298a027c99dc9048015fac177587de20fc30232a057dfbe24a21" [[package]] name = "assert_cmd" @@ -189,8 +189,8 @@ version = "1.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a3203e79f4dd9bdda415ed03cf14dae5a2bf775c683a00f94e9cd1faf0f596e5" dependencies = [ - "quote 1.0.9", - "syn 1.0.77", + "quote 1.0.10", + "syn 1.0.80", ] [[package]] @@ -344,8 +344,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "44318e776df68115a881de9a8fd1b9e53368d7a4a5ce4cc48517da3393233a5e" dependencies = [ "proc-macro2 1.0.29", - "quote 1.0.9", - "syn 1.0.77", + "quote 1.0.10", + "syn 1.0.80", ] [[package]] @@ -436,8 +436,8 @@ dependencies = [ "heck", "proc-macro-error 0.4.12", "proc-macro2 1.0.29", - "quote 1.0.9", - "syn 1.0.77", + "quote 1.0.10", + "syn 1.0.80", ] [[package]] @@ -564,7 +564,7 @@ dependencies = [ "lazycell", "peeking_take_while", "proc-macro2 1.0.29", - "quote 1.0.9", + "quote 1.0.10", "regex", "rustc-hash", "shlex", @@ -792,7 +792,7 @@ dependencies = [ "bp-runtime", "frame-support", "parity-scale-codec", - "smallvec 1.6.1", + "smallvec 1.7.0", "sp-api", "sp-runtime", "sp-std", @@ -979,9 +979,9 @@ dependencies = [ [[package]] name = "cc" -version = "1.0.70" +version = "1.0.71" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d26a6ce4b6a484fa3edb70f7efa6fc430fd2b87285fe8b84304fd0936faa0dc0" +checksum = "79c2681d6594606957bbb8631c4b90a7fcaaa72cdb714743a437b156d6a7eedd" dependencies = [ "jobserver", ] @@ -1209,7 +1209,7 @@ dependencies = [ "log", "regalloc", "serde", - "smallvec 1.6.1", + "smallvec 1.7.0", "target-lexicon", ] @@ -1249,7 +1249,7 @@ checksum = "c31b783b351f966fce33e3c03498cb116d16d97a8f9978164a60920bd0d3a99c" dependencies = [ "cranelift-codegen", "log", - "smallvec 1.6.1", + "smallvec 1.7.0", "target-lexicon", ] @@ -1275,7 +1275,7 @@ dependencies = [ "itertools", "log", "serde", - "smallvec 1.6.1", + "smallvec 1.7.0", "thiserror", "wasmparser", ] @@ -1422,8 +1422,8 @@ version = "0.1.21" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ccc0a48a9b826acdf4028595adc9db92caea352f7af011a3034acd172a52a0aa" dependencies = [ - "quote 1.0.9", - "syn 1.0.77", + "quote 1.0.10", + "syn 1.0.80", ] [[package]] @@ -1744,8 +1744,8 @@ version = "0.1.0" dependencies = [ "proc-macro-crate 1.1.0", "proc-macro2 1.0.29", - "quote 1.0.9", - "syn 1.0.77", + "quote 1.0.10", + "syn 1.0.80", ] [[package]] @@ -2112,7 +2112,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a5bbed42daaa95e780b60a50546aa345b8413a1e46f9a40a12907d3598f038db" dependencies = [ "data-encoding", - "syn 1.0.77", + "syn 1.0.80", ] [[package]] @@ -2122,8 +2122,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fcc3dd5e9e9c0b295d6e1e4d811fb6f157d5ffd784b8d202fc62eac8035a770b" dependencies = [ "proc-macro2 1.0.29", - "quote 1.0.9", - "syn 1.0.77", + "quote 1.0.10", + "syn 1.0.80", ] [[package]] @@ -2148,9 +2148,9 @@ checksum = "40eebddd2156ce1bb37b20bbe5151340a31828b1f2d22ba4141f3531710e38df" dependencies = [ "convert_case", "proc-macro2 1.0.29", - "quote 1.0.9", + "quote 1.0.10", "rustc_version 0.3.3", - "syn 1.0.77", + "syn 1.0.80", ] [[package]] @@ -2257,8 +2257,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "558e40ea573c374cf53507fd240b7ee2f5477df7cfebdb97323ec61c719399c5" dependencies = [ "proc-macro2 1.0.29", - "quote 1.0.9", - "syn 1.0.77", + "quote 1.0.10", + "syn 1.0.80", ] [[package]] @@ -2304,8 +2304,8 @@ checksum = "7c5f0096a91d210159eceb2ff5e1c4da18388a170e1e3ce948aac9c8fdbbf595" dependencies = [ "heck", "proc-macro2 1.0.29", - "quote 1.0.9", - "syn 1.0.77", + "quote 1.0.10", + "syn 1.0.80", ] [[package]] @@ -2324,8 +2324,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "946ee94e3dbf58fdd324f9ce245c7b238d46a66f00e86a020b71996349e46cce" dependencies = [ "proc-macro2 1.0.29", - "quote 1.0.9", - "syn 1.0.77", + "quote 1.0.10", + "syn 1.0.80", ] [[package]] @@ -2335,8 +2335,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4e58b112d5099aa0857c5d05f0eacab86406dd8c0f85fe5d320a13256d29ecf4" dependencies = [ "proc-macro2 1.0.29", - "quote 1.0.9", - "syn 1.0.77", + "quote 1.0.10", + "syn 1.0.80", ] [[package]] @@ -2415,9 +2415,9 @@ dependencies = [ [[package]] name = "ethbloom" -version = "0.11.0" +version = "0.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "779864b9c7f7ead1f092972c3257496c6a84b46dba2ce131dd8a282cb2cc5972" +checksum = "bfb684ac8fa8f6c5759f788862bb22ec6fe3cb392f6bfd08e3c64b603661e3f8" dependencies = [ "crunchy", "fixed-hash", @@ -2428,9 +2428,9 @@ dependencies = [ [[package]] name = "ethereum-types" -version = "0.12.0" +version = "0.12.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0dd6bde671199089e601e8d47e153368b893ef885f11f365a3261ec58153c211" +checksum = "05136f7057fe789f06e6d41d07b34e6f70d8c86e5693b60f97aaa6553553bdaf" dependencies = [ "ethbloom", "fixed-hash", @@ -2482,8 +2482,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "aa4da3c766cd7a0db8242e326e9e4e081edd567072893ed320008189715366a4" dependencies = [ "proc-macro2 1.0.29", - "quote 1.0.9", - "syn 1.0.77", + "quote 1.0.10", + "syn 1.0.80", "synstructure", ] @@ -2583,7 +2583,7 @@ checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" [[package]] name = "fork-tree" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#47ed70a3cb50f64b0691c63d2ec2cc80553a2dee" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#acb44df78015906174daf359b40916b7bef58c57" dependencies = [ "parity-scale-codec", ] @@ -2601,7 +2601,7 @@ dependencies = [ [[package]] name = "frame-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#47ed70a3cb50f64b0691c63d2ec2cc80553a2dee" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#acb44df78015906174daf359b40916b7bef58c57" dependencies = [ "frame-support", "frame-system", @@ -2620,7 +2620,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#47ed70a3cb50f64b0691c63d2ec2cc80553a2dee" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#acb44df78015906174daf359b40916b7bef58c57" dependencies = [ "Inflector", "chrono", @@ -2646,7 +2646,7 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#47ed70a3cb50f64b0691c63d2ec2cc80553a2dee" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#acb44df78015906174daf359b40916b7bef58c57" dependencies = [ "frame-support", "frame-system", @@ -2659,7 +2659,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#47ed70a3cb50f64b0691c63d2ec2cc80553a2dee" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#acb44df78015906174daf359b40916b7bef58c57" dependencies = [ "frame-support", "frame-system", @@ -2674,7 +2674,7 @@ dependencies = [ [[package]] name = "frame-metadata" version = "14.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#47ed70a3cb50f64b0691c63d2ec2cc80553a2dee" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#acb44df78015906174daf359b40916b7bef58c57" dependencies = [ "parity-scale-codec", "serde", @@ -2685,7 +2685,7 @@ dependencies = [ [[package]] name = "frame-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#47ed70a3cb50f64b0691c63d2ec2cc80553a2dee" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#acb44df78015906174daf359b40916b7bef58c57" dependencies = [ "bitflags", "frame-metadata", @@ -2696,7 +2696,7 @@ dependencies = [ "parity-scale-codec", "paste", "serde", - "smallvec 1.6.1", + "smallvec 1.7.0", "sp-arithmetic", "sp-core", "sp-inherents", @@ -2711,41 +2711,41 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#47ed70a3cb50f64b0691c63d2ec2cc80553a2dee" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#acb44df78015906174daf359b40916b7bef58c57" dependencies = [ "Inflector", "frame-support-procedural-tools", "proc-macro2 1.0.29", - "quote 1.0.9", - "syn 1.0.77", + "quote 1.0.10", + "syn 1.0.80", ] [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#47ed70a3cb50f64b0691c63d2ec2cc80553a2dee" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#acb44df78015906174daf359b40916b7bef58c57" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate 1.1.0", "proc-macro2 1.0.29", - "quote 1.0.9", - "syn 1.0.77", + "quote 1.0.10", + "syn 1.0.80", ] [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#47ed70a3cb50f64b0691c63d2ec2cc80553a2dee" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#acb44df78015906174daf359b40916b7bef58c57" dependencies = [ "proc-macro2 1.0.29", - "quote 1.0.9", - "syn 1.0.77", + "quote 1.0.10", + "syn 1.0.80", ] [[package]] name = "frame-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#47ed70a3cb50f64b0691c63d2ec2cc80553a2dee" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#acb44df78015906174daf359b40916b7bef58c57" dependencies = [ "frame-support", "impl-trait-for-tuples", @@ -2762,7 +2762,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#47ed70a3cb50f64b0691c63d2ec2cc80553a2dee" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#acb44df78015906174daf359b40916b7bef58c57" dependencies = [ "frame-benchmarking", "frame-support", @@ -2776,7 +2776,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#47ed70a3cb50f64b0691c63d2ec2cc80553a2dee" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#acb44df78015906174daf359b40916b7bef58c57" dependencies = [ "parity-scale-codec", "sp-api", @@ -2785,7 +2785,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#47ed70a3cb50f64b0691c63d2ec2cc80553a2dee" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#acb44df78015906174daf359b40916b7bef58c57" dependencies = [ "frame-support", "parity-scale-codec", @@ -2939,8 +2939,8 @@ dependencies = [ "autocfg 1.0.1", "proc-macro-hack", "proc-macro2 1.0.29", - "quote 1.0.9", - "syn 1.0.77", + "quote 1.0.10", + "syn 1.0.80", ] [[package]] @@ -3026,8 +3026,10 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8fc3cb4d91f53b50155bdcfd23f6a4c39ae1969c2ae85982b135750cccaf5fce" dependencies = [ "cfg-if 1.0.0", + "js-sys", "libc", "wasi 0.9.0+wasi-snapshot-preview1", + "wasm-bindgen", ] [[package]] @@ -3548,8 +3550,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d5dacb10c5b3bb92d46ba347505a9041e676bb20ad220101326bffb0c93031ee" dependencies = [ "proc-macro2 1.0.29", - "quote 1.0.9", - "syn 1.0.77", + "quote 1.0.10", + "syn 1.0.80", ] [[package]] @@ -3570,9 +3572,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "716d3d89f35ac6a34fd0eed635395f4c3b76fa889338a4632e5231a8684216bd" dependencies = [ "cfg-if 1.0.0", - "js-sys", - "wasm-bindgen", - "web-sys", ] [[package]] @@ -3712,8 +3711,8 @@ checksum = "99a847f9ec7bb52149b2786a17c9cb260d6effc6b8eeb8c16b343a487a7563a3" dependencies = [ "proc-macro-crate 0.1.5", "proc-macro2 1.0.29", - "quote 1.0.9", - "syn 1.0.77", + "quote 1.0.10", + "syn 1.0.80", ] [[package]] @@ -3798,8 +3797,8 @@ dependencies = [ "bae", "proc-macro-crate 1.1.0", "proc-macro2 1.0.29", - "quote 1.0.9", - "syn 1.0.77", + "quote 1.0.10", + "syn 1.0.80", ] [[package]] @@ -3920,7 +3919,7 @@ dependencies = [ "rustc-hex", "serde", "serde_derive", - "smallvec 1.6.1", + "smallvec 1.7.0", "sp-api", "sp-arithmetic", "sp-authority-discovery", @@ -3960,7 +3959,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "45a3f58dc069ec0e205a27f5b45920722a46faed802a0541538241af6228f512" dependencies = [ "parity-util-mem", - "smallvec 1.6.1", + "smallvec 1.7.0", ] [[package]] @@ -3989,7 +3988,7 @@ dependencies = [ "parking_lot 0.11.2", "regex", "rocksdb", - "smallvec 1.6.1", + "smallvec 1.7.0", ] [[package]] @@ -4071,7 +4070,7 @@ dependencies = [ "multiaddr", "parking_lot 0.11.2", "pin-project 1.0.8", - "smallvec 1.6.1", + "smallvec 1.7.0", "wasm-timer", ] @@ -4102,7 +4101,7 @@ dependencies = [ "ring", "rw-stream-sink", "sha2 0.9.8", - "smallvec 1.6.1", + "smallvec 1.7.0", "thiserror", "unsigned-varint 0.7.0", "void", @@ -4130,7 +4129,7 @@ dependencies = [ "futures 0.3.17", "libp2p-core", "log", - "smallvec 1.6.1", + "smallvec 1.7.0", "trust-dns-resolver", ] @@ -4149,7 +4148,7 @@ dependencies = [ "prost", "prost-build", "rand 0.7.3", - "smallvec 1.6.1", + "smallvec 1.7.0", ] [[package]] @@ -4173,7 +4172,7 @@ dependencies = [ "rand 0.7.3", "regex", "sha2 0.9.8", - "smallvec 1.6.1", + "smallvec 1.7.0", "unsigned-varint 0.7.0", "wasm-timer", ] @@ -4190,7 +4189,7 @@ dependencies = [ "log", "prost", "prost-build", - "smallvec 1.6.1", + "smallvec 1.7.0", "wasm-timer", ] @@ -4213,7 +4212,7 @@ dependencies = [ "prost-build", "rand 0.7.3", "sha2 0.9.8", - "smallvec 1.6.1", + "smallvec 1.7.0", "uint", "unsigned-varint 0.7.0", "void", @@ -4236,7 +4235,7 @@ dependencies = [ "libp2p-swarm", "log", "rand 0.8.4", - "smallvec 1.6.1", + "smallvec 1.7.0", "socket2 0.4.2", "void", ] @@ -4255,7 +4254,7 @@ dependencies = [ "nohash-hasher", "parking_lot 0.11.2", "rand 0.7.3", - "smallvec 1.6.1", + "smallvec 1.7.0", "unsigned-varint 0.7.0", ] @@ -4344,7 +4343,7 @@ dependencies = [ "prost", "prost-build", "rand 0.7.3", - "smallvec 1.6.1", + "smallvec 1.7.0", "unsigned-varint 0.7.0", "void", "wasm-timer", @@ -4365,7 +4364,7 @@ dependencies = [ "lru", "minicbor", "rand 0.7.3", - "smallvec 1.6.1", + "smallvec 1.7.0", "unsigned-varint 0.7.0", "wasm-timer", ] @@ -4381,7 +4380,7 @@ dependencies = [ "libp2p-core", "log", "rand 0.7.3", - "smallvec 1.6.1", + "smallvec 1.7.0", "void", "wasm-timer", ] @@ -4392,8 +4391,8 @@ version = "0.24.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ab8cb308d4fc854869f5abb54fdab0833d2cf670d407c745849dc47e6e08d79c" dependencies = [ - "quote 1.0.9", - "syn 1.0.77", + "quote 1.0.10", + "syn 1.0.80", ] [[package]] @@ -4800,8 +4799,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "54999f917cd092b13904737e26631aa2b2b88d625db68e4bab461dcd8006c788" dependencies = [ "proc-macro2 1.0.29", - "quote 1.0.9", - "syn 1.0.77", + "quote 1.0.10", + "syn 1.0.80", ] [[package]] @@ -4963,8 +4962,8 @@ dependencies = [ "proc-macro-crate 1.1.0", "proc-macro-error 1.0.4", "proc-macro2 1.0.29", - "quote 1.0.9", - "syn 1.0.77", + "quote 1.0.10", + "syn 1.0.80", "synstructure", ] @@ -4984,7 +4983,7 @@ dependencies = [ "futures 0.3.17", "log", "pin-project 1.0.8", - "smallvec 1.6.1", + "smallvec 1.7.0", "unsigned-varint 0.7.0", ] @@ -5013,8 +5012,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "01fcc0b8149b4632adc89ac3b7b31a12fb6099a0317a4eb2ebff574ef7de7218" dependencies = [ "proc-macro2 1.0.29", - "quote 1.0.9", - "syn 1.0.77", + "quote 1.0.10", + "syn 1.0.80", ] [[package]] @@ -5053,7 +5052,7 @@ dependencies = [ [[package]] name = "node-primitives" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#47ed70a3cb50f64b0691c63d2ec2cc80553a2dee" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#acb44df78015906174daf359b40916b7bef58c57" dependencies = [ "frame-system", "parity-scale-codec", @@ -5183,9 +5182,6 @@ name = "once_cell" version = "1.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "692fcb63b64b1758029e0a96ee63e049ce8c5948587f2f7208df04625e5f6b56" -dependencies = [ - "parking_lot 0.11.2", -] [[package]] name = "opaque-debug" @@ -5226,7 +5222,7 @@ dependencies = [ [[package]] name = "pallet-assets" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#47ed70a3cb50f64b0691c63d2ec2cc80553a2dee" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#acb44df78015906174daf359b40916b7bef58c57" dependencies = [ "frame-benchmarking", "frame-support", @@ -5239,7 +5235,7 @@ dependencies = [ [[package]] name = "pallet-aura" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#47ed70a3cb50f64b0691c63d2ec2cc80553a2dee" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#acb44df78015906174daf359b40916b7bef58c57" dependencies = [ "frame-support", "frame-system", @@ -5255,7 +5251,7 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#47ed70a3cb50f64b0691c63d2ec2cc80553a2dee" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#acb44df78015906174daf359b40916b7bef58c57" dependencies = [ "frame-support", "frame-system", @@ -5270,7 +5266,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#47ed70a3cb50f64b0691c63d2ec2cc80553a2dee" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#acb44df78015906174daf359b40916b7bef58c57" dependencies = [ "frame-support", "frame-system", @@ -5284,7 +5280,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#47ed70a3cb50f64b0691c63d2ec2cc80553a2dee" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#acb44df78015906174daf359b40916b7bef58c57" dependencies = [ "frame-benchmarking", "frame-support", @@ -5307,7 +5303,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#47ed70a3cb50f64b0691c63d2ec2cc80553a2dee" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#acb44df78015906174daf359b40916b7bef58c57" dependencies = [ "frame-benchmarking", "frame-support", @@ -5362,7 +5358,7 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#47ed70a3cb50f64b0691c63d2ec2cc80553a2dee" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#acb44df78015906174daf359b40916b7bef58c57" dependencies = [ "frame-benchmarking", "frame-support", @@ -5445,6 +5441,7 @@ dependencies = [ "pallet-session", "pallet-timestamp", "parity-scale-codec", + "rand 0.7.3", "serde", "sp-consensus-aura", "sp-core", @@ -5458,7 +5455,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#47ed70a3cb50f64b0691c63d2ec2cc80553a2dee" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#acb44df78015906174daf359b40916b7bef58c57" dependencies = [ "frame-benchmarking", "frame-support", @@ -5474,7 +5471,7 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#47ed70a3cb50f64b0691c63d2ec2cc80553a2dee" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#acb44df78015906174daf359b40916b7bef58c57" dependencies = [ "frame-benchmarking", "frame-support", @@ -5489,7 +5486,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#47ed70a3cb50f64b0691c63d2ec2cc80553a2dee" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#acb44df78015906174daf359b40916b7bef58c57" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5510,7 +5507,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#47ed70a3cb50f64b0691c63d2ec2cc80553a2dee" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#acb44df78015906174daf359b40916b7bef58c57" dependencies = [ "frame-benchmarking", "frame-support", @@ -5527,7 +5524,7 @@ dependencies = [ [[package]] name = "pallet-gilt" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#47ed70a3cb50f64b0691c63d2ec2cc80553a2dee" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#acb44df78015906174daf359b40916b7bef58c57" dependencies = [ "frame-benchmarking", "frame-support", @@ -5541,7 +5538,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#47ed70a3cb50f64b0691c63d2ec2cc80553a2dee" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#acb44df78015906174daf359b40916b7bef58c57" dependencies = [ "frame-benchmarking", "frame-support", @@ -5563,7 +5560,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#47ed70a3cb50f64b0691c63d2ec2cc80553a2dee" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#acb44df78015906174daf359b40916b7bef58c57" dependencies = [ "enumflags2", "frame-benchmarking", @@ -5578,7 +5575,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#47ed70a3cb50f64b0691c63d2ec2cc80553a2dee" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#acb44df78015906174daf359b40916b7bef58c57" dependencies = [ "frame-benchmarking", "frame-support", @@ -5597,7 +5594,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#47ed70a3cb50f64b0691c63d2ec2cc80553a2dee" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#acb44df78015906174daf359b40916b7bef58c57" dependencies = [ "frame-benchmarking", "frame-support", @@ -5613,7 +5610,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#47ed70a3cb50f64b0691c63d2ec2cc80553a2dee" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#acb44df78015906174daf359b40916b7bef58c57" dependencies = [ "frame-benchmarking", "frame-support", @@ -5628,7 +5625,7 @@ dependencies = [ [[package]] name = "pallet-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#47ed70a3cb50f64b0691c63d2ec2cc80553a2dee" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#acb44df78015906174daf359b40916b7bef58c57" dependencies = [ "ckb-merkle-mountain-range", "frame-benchmarking", @@ -5645,7 +5642,7 @@ dependencies = [ [[package]] name = "pallet-mmr-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#47ed70a3cb50f64b0691c63d2ec2cc80553a2dee" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#acb44df78015906174daf359b40916b7bef58c57" dependencies = [ "frame-support", "frame-system", @@ -5661,7 +5658,7 @@ dependencies = [ [[package]] name = "pallet-mmr-rpc" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#47ed70a3cb50f64b0691c63d2ec2cc80553a2dee" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#acb44df78015906174daf359b40916b7bef58c57" dependencies = [ "jsonrpc-core", "jsonrpc-core-client", @@ -5679,7 +5676,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#47ed70a3cb50f64b0691c63d2ec2cc80553a2dee" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#acb44df78015906174daf359b40916b7bef58c57" dependencies = [ "frame-benchmarking", "frame-support", @@ -5694,7 +5691,7 @@ dependencies = [ [[package]] name = "pallet-nicks" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#47ed70a3cb50f64b0691c63d2ec2cc80553a2dee" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#acb44df78015906174daf359b40916b7bef58c57" dependencies = [ "frame-support", "frame-system", @@ -5707,7 +5704,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#47ed70a3cb50f64b0691c63d2ec2cc80553a2dee" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#acb44df78015906174daf359b40916b7bef58c57" dependencies = [ "frame-support", "frame-system", @@ -5723,7 +5720,7 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#47ed70a3cb50f64b0691c63d2ec2cc80553a2dee" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#acb44df78015906174daf359b40916b7bef58c57" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5745,7 +5742,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#47ed70a3cb50f64b0691c63d2ec2cc80553a2dee" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#acb44df78015906174daf359b40916b7bef58c57" dependencies = [ "frame-benchmarking", "frame-support", @@ -5760,7 +5757,7 @@ dependencies = [ [[package]] name = "pallet-randomness-collective-flip" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#47ed70a3cb50f64b0691c63d2ec2cc80553a2dee" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#acb44df78015906174daf359b40916b7bef58c57" dependencies = [ "frame-support", "frame-system", @@ -5773,7 +5770,7 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#47ed70a3cb50f64b0691c63d2ec2cc80553a2dee" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#acb44df78015906174daf359b40916b7bef58c57" dependencies = [ "enumflags2", "frame-support", @@ -5787,7 +5784,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#47ed70a3cb50f64b0691c63d2ec2cc80553a2dee" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#acb44df78015906174daf359b40916b7bef58c57" dependencies = [ "frame-benchmarking", "frame-support", @@ -5802,7 +5799,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#47ed70a3cb50f64b0691c63d2ec2cc80553a2dee" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#acb44df78015906174daf359b40916b7bef58c57" dependencies = [ "frame-support", "frame-system", @@ -5822,7 +5819,7 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#47ed70a3cb50f64b0691c63d2ec2cc80553a2dee" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#acb44df78015906174daf359b40916b7bef58c57" dependencies = [ "frame-benchmarking", "frame-support", @@ -5838,7 +5835,7 @@ dependencies = [ [[package]] name = "pallet-society" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#47ed70a3cb50f64b0691c63d2ec2cc80553a2dee" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#acb44df78015906174daf359b40916b7bef58c57" dependencies = [ "frame-support", "frame-system", @@ -5851,7 +5848,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#47ed70a3cb50f64b0691c63d2ec2cc80553a2dee" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#acb44df78015906174daf359b40916b7bef58c57" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5875,18 +5872,18 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#47ed70a3cb50f64b0691c63d2ec2cc80553a2dee" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#acb44df78015906174daf359b40916b7bef58c57" dependencies = [ "proc-macro-crate 1.1.0", "proc-macro2 1.0.29", - "quote 1.0.9", - "syn 1.0.77", + "quote 1.0.10", + "syn 1.0.80", ] [[package]] name = "pallet-staking-reward-fn" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#47ed70a3cb50f64b0691c63d2ec2cc80553a2dee" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#acb44df78015906174daf359b40916b7bef58c57" dependencies = [ "log", "sp-arithmetic", @@ -5895,7 +5892,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#47ed70a3cb50f64b0691c63d2ec2cc80553a2dee" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#acb44df78015906174daf359b40916b7bef58c57" dependencies = [ "frame-support", "frame-system", @@ -5908,7 +5905,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#47ed70a3cb50f64b0691c63d2ec2cc80553a2dee" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#acb44df78015906174daf359b40916b7bef58c57" dependencies = [ "frame-benchmarking", "frame-support", @@ -5926,7 +5923,7 @@ dependencies = [ [[package]] name = "pallet-tips" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#47ed70a3cb50f64b0691c63d2ec2cc80553a2dee" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#acb44df78015906174daf359b40916b7bef58c57" dependencies = [ "frame-benchmarking", "frame-support", @@ -5941,13 +5938,13 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#47ed70a3cb50f64b0691c63d2ec2cc80553a2dee" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#acb44df78015906174daf359b40916b7bef58c57" dependencies = [ "frame-support", "frame-system", "parity-scale-codec", "serde", - "smallvec 1.6.1", + "smallvec 1.7.0", "sp-core", "sp-io", "sp-runtime", @@ -5957,7 +5954,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#47ed70a3cb50f64b0691c63d2ec2cc80553a2dee" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#acb44df78015906174daf359b40916b7bef58c57" dependencies = [ "jsonrpc-core", "jsonrpc-core-client", @@ -5974,7 +5971,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#47ed70a3cb50f64b0691c63d2ec2cc80553a2dee" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#acb44df78015906174daf359b40916b7bef58c57" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -5985,7 +5982,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#47ed70a3cb50f64b0691c63d2ec2cc80553a2dee" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#acb44df78015906174daf359b40916b7bef58c57" dependencies = [ "frame-benchmarking", "frame-support", @@ -6001,7 +5998,7 @@ dependencies = [ [[package]] name = "pallet-uniques" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#47ed70a3cb50f64b0691c63d2ec2cc80553a2dee" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#acb44df78015906174daf359b40916b7bef58c57" dependencies = [ "frame-benchmarking", "frame-support", @@ -6015,7 +6012,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#47ed70a3cb50f64b0691c63d2ec2cc80553a2dee" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#acb44df78015906174daf359b40916b7bef58c57" dependencies = [ "frame-benchmarking", "frame-support", @@ -6030,7 +6027,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#47ed70a3cb50f64b0691c63d2ec2cc80553a2dee" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#acb44df78015906174daf359b40916b7bef58c57" dependencies = [ "enumflags2", "frame-benchmarking", @@ -6087,9 +6084,9 @@ dependencies = [ [[package]] name = "parity-scale-codec" -version = "2.3.0" +version = "2.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e11263a97373b43da4b426edbb52ef99a7b51e2d9752ef56a7f8b356f48495a5" +checksum = "373b1a4c1338d9cd3d1fa53b3a11bdab5ab6bd80a20f7f7becd76953ae2be909" dependencies = [ "arrayvec 0.7.1", "bitvec 0.20.4", @@ -6101,14 +6098,14 @@ dependencies = [ [[package]] name = "parity-scale-codec-derive" -version = "2.3.0" +version = "2.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b157dc92b3db2bae522afb31b3843e91ae097eb01d66c72dda66a2e86bc3ca14" +checksum = "1557010476e0595c9b568d16dcfb81b93cdeb157612726f5170d31aa707bed27" dependencies = [ "proc-macro-crate 1.1.0", "proc-macro2 1.0.29", - "quote 1.0.9", - "syn 1.0.77", + "quote 1.0.10", + "syn 1.0.80", ] [[package]] @@ -6150,7 +6147,7 @@ dependencies = [ "parity-util-mem-derive", "parking_lot 0.11.2", "primitive-types", - "smallvec 1.6.1", + "smallvec 1.7.0", "winapi 0.3.9", ] @@ -6161,7 +6158,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f557c32c6d268a07c921471619c0295f5efad3a0e76d4f97a05c091a51d110b2" dependencies = [ "proc-macro2 1.0.29", - "syn 1.0.77", + "syn 1.0.80", "synstructure", ] @@ -6284,7 +6281,7 @@ dependencies = [ "cloudabi", "libc", "redox_syscall 0.1.57", - "smallvec 1.6.1", + "smallvec 1.7.0", "winapi 0.3.9", ] @@ -6298,7 +6295,7 @@ dependencies = [ "instant", "libc", "redox_syscall 0.2.10", - "smallvec 1.6.1", + "smallvec 1.7.0", "winapi 0.3.9", ] @@ -6378,8 +6375,8 @@ dependencies = [ "pest", "pest_meta", "proc-macro2 1.0.29", - "quote 1.0.9", - "syn 1.0.77", + "quote 1.0.10", + "syn 1.0.80", ] [[package]] @@ -6428,8 +6425,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3be26700300be6d9d23264c73211d8190e755b6b5ca7a1b28230025511b52a5e" dependencies = [ "proc-macro2 1.0.29", - "quote 1.0.9", - "syn 1.0.77", + "quote 1.0.10", + "syn 1.0.80", ] [[package]] @@ -6439,8 +6436,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6e8fe8163d14ce7f0cdac2e040116f22eac817edabff0be91e8aff7e9accf389" dependencies = [ "proc-macro2 1.0.29", - "quote 1.0.9", - "syn 1.0.77", + "quote 1.0.10", + "syn 1.0.80", ] [[package]] @@ -6595,7 +6592,7 @@ dependencies = [ [[package]] name = "polkadot-collator" -version = "0.1.0" +version = "4.0.0" dependencies = [ "assert_cmd", "async-trait", @@ -7142,7 +7139,7 @@ dependencies = [ "polkadot-statement-table", "sc-keystore", "sc-network", - "smallvec 1.6.1", + "smallvec 1.7.0", "sp-application-crypto", "sp-core", "sp-keyring", @@ -7173,7 +7170,7 @@ dependencies = [ "polkadot-primitives", "polkadot-statement-table", "sc-network", - "smallvec 1.6.1", + "smallvec 1.7.0", "sp-core", "substrate-prometheus-endpoint", "thiserror", @@ -7240,8 +7237,8 @@ source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.10#aeea dependencies = [ "assert_matches", "proc-macro2 1.0.29", - "quote 1.0.9", - "syn 1.0.77", + "quote 1.0.10", + "syn 1.0.80", ] [[package]] @@ -7268,8 +7265,8 @@ source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.10#aeea dependencies = [ "proc-macro-crate 1.1.0", "proc-macro2 1.0.29", - "quote 1.0.9", - "syn 1.0.77", + "quote 1.0.10", + "syn 1.0.80", ] [[package]] @@ -7406,7 +7403,7 @@ dependencies = [ "rustc-hex", "serde", "serde_derive", - "smallvec 1.6.1", + "smallvec 1.7.0", "sp-api", "sp-authority-discovery", "sp-block-builder", @@ -7700,7 +7697,7 @@ dependencies = [ "rustc-hex", "serde", "serde_derive", - "smallvec 1.6.1", + "smallvec 1.7.0", "sp-api", "sp-authority-discovery", "sp-block-builder", @@ -7881,8 +7878,8 @@ checksum = "18f33027081eba0a6d8aba6d1b1c3a3be58cbb12106341c2d5759fcd9b5277e7" dependencies = [ "proc-macro-error-attr 0.4.12", "proc-macro2 1.0.29", - "quote 1.0.9", - "syn 1.0.77", + "quote 1.0.10", + "syn 1.0.80", "version_check", ] @@ -7894,8 +7891,8 @@ checksum = "da25490ff9892aab3fcf7c36f08cfb902dd3e71ca0f9f9517bea02a73a5ce38c" dependencies = [ "proc-macro-error-attr 1.0.4", "proc-macro2 1.0.29", - "quote 1.0.9", - "syn 1.0.77", + "quote 1.0.10", + "syn 1.0.80", "version_check", ] @@ -7906,8 +7903,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8a5b4b77fdb63c1eca72173d68d24501c54ab1269409f6b672c85deb18af69de" dependencies = [ "proc-macro2 1.0.29", - "quote 1.0.9", - "syn 1.0.77", + "quote 1.0.10", + "syn 1.0.80", "syn-mid", "version_check", ] @@ -7919,7 +7916,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a1be40180e52ecc98ad80b184934baf3d0d29f979574e439af5a55274b35f869" dependencies = [ "proc-macro2 1.0.29", - "quote 1.0.9", + "quote 1.0.10", "version_check", ] @@ -8004,8 +8001,8 @@ dependencies = [ "anyhow", "itertools", "proc-macro2 1.0.29", - "quote 1.0.9", - "syn 1.0.77", + "quote 1.0.10", + "syn 1.0.80", ] [[package]] @@ -8072,9 +8069,9 @@ dependencies = [ [[package]] name = "quote" -version = "1.0.9" +version = "1.0.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c3d0b9745dc2debf507c8422de05d7226cc1f0644216dfdfead988f9b1ab32a7" +checksum = "38bc8cc6a5f2e3655e0899c1b848643b2562f853f114bfec7be120678e3ace05" dependencies = [ "proc-macro2 1.0.29", ] @@ -8415,8 +8412,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4c38e3aecd2b21cb3959637b883bb3714bc7e43f0268b9a29d3743ee3e55cdd2" dependencies = [ "proc-macro2 1.0.29", - "quote 1.0.9", - "syn 1.0.77", + "quote 1.0.10", + "syn 1.0.80", ] [[package]] @@ -8428,7 +8425,7 @@ dependencies = [ "log", "rustc-hash", "serde", - "smallvec 1.6.1", + "smallvec 1.7.0", ] [[package]] @@ -8472,7 +8469,7 @@ dependencies = [ [[package]] name = "remote-externalities" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#47ed70a3cb50f64b0691c63d2ec2cc80553a2dee" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#acb44df78015906174daf359b40916b7bef58c57" dependencies = [ "env_logger 0.8.4", "hex", @@ -8647,7 +8644,7 @@ dependencies = [ "polkadot-runtime-parachains", "serde", "serde_derive", - "smallvec 1.6.1", + "smallvec 1.7.0", "sp-api", "sp-authority-discovery", "sp-block-builder", @@ -8821,7 +8818,7 @@ dependencies = [ [[package]] name = "sc-allocator" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#47ed70a3cb50f64b0691c63d2ec2cc80553a2dee" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#acb44df78015906174daf359b40916b7bef58c57" dependencies = [ "log", "sp-core", @@ -8832,7 +8829,7 @@ dependencies = [ [[package]] name = "sc-authority-discovery" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#47ed70a3cb50f64b0691c63d2ec2cc80553a2dee" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#acb44df78015906174daf359b40916b7bef58c57" dependencies = [ "async-trait", "derive_more 0.99.16", @@ -8861,7 +8858,7 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#47ed70a3cb50f64b0691c63d2ec2cc80553a2dee" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#acb44df78015906174daf359b40916b7bef58c57" dependencies = [ "futures 0.3.17", "futures-timer 3.0.2", @@ -8884,7 +8881,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#47ed70a3cb50f64b0691c63d2ec2cc80553a2dee" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#acb44df78015906174daf359b40916b7bef58c57" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -8900,7 +8897,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#47ed70a3cb50f64b0691c63d2ec2cc80553a2dee" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#acb44df78015906174daf359b40916b7bef58c57" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -8916,18 +8913,18 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#47ed70a3cb50f64b0691c63d2ec2cc80553a2dee" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#acb44df78015906174daf359b40916b7bef58c57" dependencies = [ "proc-macro-crate 1.1.0", "proc-macro2 1.0.29", - "quote 1.0.9", - "syn 1.0.77", + "quote 1.0.10", + "syn 1.0.80", ] [[package]] name = "sc-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#47ed70a3cb50f64b0691c63d2ec2cc80553a2dee" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#acb44df78015906174daf359b40916b7bef58c57" dependencies = [ "chrono", "fdlimit", @@ -8965,7 +8962,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#47ed70a3cb50f64b0691c63d2ec2cc80553a2dee" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#acb44df78015906174daf359b40916b7bef58c57" dependencies = [ "derive_more 0.99.16", "fnv", @@ -8999,7 +8996,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#47ed70a3cb50f64b0691c63d2ec2cc80553a2dee" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#acb44df78015906174daf359b40916b7bef58c57" dependencies = [ "blake2-rfc", "hash-db", @@ -9028,7 +9025,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#47ed70a3cb50f64b0691c63d2ec2cc80553a2dee" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#acb44df78015906174daf359b40916b7bef58c57" dependencies = [ "async-trait", "futures 0.3.17", @@ -9053,7 +9050,7 @@ dependencies = [ [[package]] name = "sc-consensus-aura" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#47ed70a3cb50f64b0691c63d2ec2cc80553a2dee" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#acb44df78015906174daf359b40916b7bef58c57" dependencies = [ "async-trait", "derive_more 0.99.16", @@ -9085,7 +9082,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#47ed70a3cb50f64b0691c63d2ec2cc80553a2dee" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#acb44df78015906174daf359b40916b7bef58c57" dependencies = [ "async-trait", "derive_more 0.99.16", @@ -9132,7 +9129,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#47ed70a3cb50f64b0691c63d2ec2cc80553a2dee" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#acb44df78015906174daf359b40916b7bef58c57" dependencies = [ "derive_more 0.99.16", "futures 0.3.17", @@ -9156,7 +9153,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#47ed70a3cb50f64b0691c63d2ec2cc80553a2dee" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#acb44df78015906174daf359b40916b7bef58c57" dependencies = [ "fork-tree", "parity-scale-codec", @@ -9169,7 +9166,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#47ed70a3cb50f64b0691c63d2ec2cc80553a2dee" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#acb44df78015906174daf359b40916b7bef58c57" dependencies = [ "async-trait", "futures 0.3.17", @@ -9198,7 +9195,7 @@ dependencies = [ [[package]] name = "sc-consensus-uncles" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#47ed70a3cb50f64b0691c63d2ec2cc80553a2dee" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#acb44df78015906174daf359b40916b7bef58c57" dependencies = [ "sc-client-api", "sp-authorship", @@ -9209,7 +9206,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#47ed70a3cb50f64b0691c63d2ec2cc80553a2dee" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#acb44df78015906174daf359b40916b7bef58c57" dependencies = [ "derive_more 0.99.16", "lazy_static", @@ -9238,7 +9235,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#47ed70a3cb50f64b0691c63d2ec2cc80553a2dee" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#acb44df78015906174daf359b40916b7bef58c57" dependencies = [ "derive_more 0.99.16", "parity-scale-codec", @@ -9255,7 +9252,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmi" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#47ed70a3cb50f64b0691c63d2ec2cc80553a2dee" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#acb44df78015906174daf359b40916b7bef58c57" dependencies = [ "log", "parity-scale-codec", @@ -9270,7 +9267,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#47ed70a3cb50f64b0691c63d2ec2cc80553a2dee" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#acb44df78015906174daf359b40916b7bef58c57" dependencies = [ "cfg-if 1.0.0", "libc", @@ -9290,7 +9287,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#47ed70a3cb50f64b0691c63d2ec2cc80553a2dee" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#acb44df78015906174daf359b40916b7bef58c57" dependencies = [ "async-trait", "derive_more 0.99.16", @@ -9331,7 +9328,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#47ed70a3cb50f64b0691c63d2ec2cc80553a2dee" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#acb44df78015906174daf359b40916b7bef58c57" dependencies = [ "derive_more 0.99.16", "finality-grandpa", @@ -9355,7 +9352,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#47ed70a3cb50f64b0691c63d2ec2cc80553a2dee" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#acb44df78015906174daf359b40916b7bef58c57" dependencies = [ "ansi_term 0.12.1", "futures 0.3.17", @@ -9373,7 +9370,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#47ed70a3cb50f64b0691c63d2ec2cc80553a2dee" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#acb44df78015906174daf359b40916b7bef58c57" dependencies = [ "async-trait", "derive_more 0.99.16", @@ -9393,7 +9390,7 @@ dependencies = [ [[package]] name = "sc-light" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#47ed70a3cb50f64b0691c63d2ec2cc80553a2dee" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#acb44df78015906174daf359b40916b7bef58c57" dependencies = [ "hash-db", "lazy_static", @@ -9412,7 +9409,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#47ed70a3cb50f64b0691c63d2ec2cc80553a2dee" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#acb44df78015906174daf359b40916b7bef58c57" dependencies = [ "async-std", "async-trait", @@ -9448,7 +9445,7 @@ dependencies = [ "sc-peerset", "serde", "serde_json", - "smallvec 1.6.1", + "smallvec 1.7.0", "sp-arithmetic", "sp-blockchain", "sp-consensus", @@ -9467,7 +9464,7 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#47ed70a3cb50f64b0691c63d2ec2cc80553a2dee" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#acb44df78015906174daf359b40916b7bef58c57" dependencies = [ "futures 0.3.17", "futures-timer 3.0.2", @@ -9484,7 +9481,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#47ed70a3cb50f64b0691c63d2ec2cc80553a2dee" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#acb44df78015906174daf359b40916b7bef58c57" dependencies = [ "bytes 0.5.6", "fnv", @@ -9512,7 +9509,7 @@ dependencies = [ [[package]] name = "sc-peerset" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#47ed70a3cb50f64b0691c63d2ec2cc80553a2dee" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#acb44df78015906174daf359b40916b7bef58c57" dependencies = [ "futures 0.3.17", "libp2p", @@ -9525,7 +9522,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#47ed70a3cb50f64b0691c63d2ec2cc80553a2dee" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#acb44df78015906174daf359b40916b7bef58c57" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -9534,7 +9531,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#47ed70a3cb50f64b0691c63d2ec2cc80553a2dee" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#acb44df78015906174daf359b40916b7bef58c57" dependencies = [ "futures 0.3.17", "hash-db", @@ -9569,7 +9566,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#47ed70a3cb50f64b0691c63d2ec2cc80553a2dee" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#acb44df78015906174daf359b40916b7bef58c57" dependencies = [ "derive_more 0.99.16", "futures 0.3.17", @@ -9594,7 +9591,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#47ed70a3cb50f64b0691c63d2ec2cc80553a2dee" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#acb44df78015906174daf359b40916b7bef58c57" dependencies = [ "futures 0.1.31", "jsonrpc-core", @@ -9612,7 +9609,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#47ed70a3cb50f64b0691c63d2ec2cc80553a2dee" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#acb44df78015906174daf359b40916b7bef58c57" dependencies = [ "async-trait", "directories", @@ -9680,7 +9677,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#47ed70a3cb50f64b0691c63d2ec2cc80553a2dee" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#acb44df78015906174daf359b40916b7bef58c57" dependencies = [ "log", "parity-scale-codec", @@ -9695,7 +9692,7 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#47ed70a3cb50f64b0691c63d2ec2cc80553a2dee" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#acb44df78015906174daf359b40916b7bef58c57" dependencies = [ "jsonrpc-core", "jsonrpc-core-client", @@ -9717,7 +9714,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#47ed70a3cb50f64b0691c63d2ec2cc80553a2dee" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#acb44df78015906174daf359b40916b7bef58c57" dependencies = [ "chrono", "futures 0.3.17", @@ -9737,7 +9734,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#47ed70a3cb50f64b0691c63d2ec2cc80553a2dee" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#acb44df78015906174daf359b40916b7bef58c57" dependencies = [ "ansi_term 0.12.1", "atty", @@ -9774,18 +9771,18 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#47ed70a3cb50f64b0691c63d2ec2cc80553a2dee" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#acb44df78015906174daf359b40916b7bef58c57" dependencies = [ "proc-macro-crate 1.1.0", "proc-macro2 1.0.29", - "quote 1.0.9", - "syn 1.0.77", + "quote 1.0.10", + "syn 1.0.80", ] [[package]] name = "sc-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#47ed70a3cb50f64b0691c63d2ec2cc80553a2dee" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#acb44df78015906174daf359b40916b7bef58c57" dependencies = [ "derive_more 0.99.16", "futures 0.3.17", @@ -9814,7 +9811,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#47ed70a3cb50f64b0691c63d2ec2cc80553a2dee" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#acb44df78015906174daf359b40916b7bef58c57" dependencies = [ "derive_more 0.99.16", "futures 0.3.17", @@ -9860,8 +9857,8 @@ checksum = "b648fa291891a4c80187a25532f6a7d96b82c70353e30b868b14632b8fe043d6" dependencies = [ "proc-macro-crate 1.1.0", "proc-macro2 1.0.29", - "quote 1.0.9", - "syn 1.0.77", + "quote 1.0.10", + "syn 1.0.80", ] [[package]] @@ -9872,8 +9869,8 @@ checksum = "baeb2780690380592f86205aa4ee49815feb2acad8c2f59e6dd207148c3f1fcd" dependencies = [ "proc-macro-crate 1.1.0", "proc-macro2 1.0.29", - "quote 1.0.9", - "syn 1.0.77", + "quote 1.0.10", + "syn 1.0.80", ] [[package]] @@ -10046,8 +10043,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d7bc1a1ab1961464eae040d96713baa5a724a8152c1222492465b54322ec508b" dependencies = [ "proc-macro2 1.0.29", - "quote 1.0.9", - "syn 1.0.77", + "quote 1.0.10", + "syn 1.0.80", ] [[package]] @@ -10258,9 +10255,9 @@ dependencies = [ [[package]] name = "smallvec" -version = "1.6.1" +version = "1.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fe0f37c9e8f3c5a4a66ad655a93c74daac4ad00c441533bf5c6e7990bb42604e" +checksum = "1ecab6c735a6bb4139c0caafd0cc3635748bbb3acf4550e8138122099251f309" [[package]] name = "snow" @@ -10335,7 +10332,7 @@ dependencies = [ [[package]] name = "sp-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#47ed70a3cb50f64b0691c63d2ec2cc80553a2dee" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#acb44df78015906174daf359b40916b7bef58c57" dependencies = [ "hash-db", "log", @@ -10352,19 +10349,19 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#47ed70a3cb50f64b0691c63d2ec2cc80553a2dee" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#acb44df78015906174daf359b40916b7bef58c57" dependencies = [ "blake2-rfc", "proc-macro-crate 1.1.0", "proc-macro2 1.0.29", - "quote 1.0.9", - "syn 1.0.77", + "quote 1.0.10", + "syn 1.0.80", ] [[package]] name = "sp-application-crypto" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#47ed70a3cb50f64b0691c63d2ec2cc80553a2dee" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#acb44df78015906174daf359b40916b7bef58c57" dependencies = [ "parity-scale-codec", "serde", @@ -10376,7 +10373,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#47ed70a3cb50f64b0691c63d2ec2cc80553a2dee" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#acb44df78015906174daf359b40916b7bef58c57" dependencies = [ "integer-sqrt", "num-traits", @@ -10390,7 +10387,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#47ed70a3cb50f64b0691c63d2ec2cc80553a2dee" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#acb44df78015906174daf359b40916b7bef58c57" dependencies = [ "parity-scale-codec", "sp-api", @@ -10402,7 +10399,7 @@ dependencies = [ [[package]] name = "sp-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#47ed70a3cb50f64b0691c63d2ec2cc80553a2dee" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#acb44df78015906174daf359b40916b7bef58c57" dependencies = [ "async-trait", "parity-scale-codec", @@ -10414,7 +10411,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#47ed70a3cb50f64b0691c63d2ec2cc80553a2dee" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#acb44df78015906174daf359b40916b7bef58c57" dependencies = [ "parity-scale-codec", "sp-api", @@ -10426,7 +10423,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#47ed70a3cb50f64b0691c63d2ec2cc80553a2dee" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#acb44df78015906174daf359b40916b7bef58c57" dependencies = [ "futures 0.3.17", "log", @@ -10444,7 +10441,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#47ed70a3cb50f64b0691c63d2ec2cc80553a2dee" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#acb44df78015906174daf359b40916b7bef58c57" dependencies = [ "async-trait", "futures 0.3.17", @@ -10470,7 +10467,7 @@ dependencies = [ [[package]] name = "sp-consensus-aura" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#47ed70a3cb50f64b0691c63d2ec2cc80553a2dee" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#acb44df78015906174daf359b40916b7bef58c57" dependencies = [ "async-trait", "parity-scale-codec", @@ -10487,7 +10484,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#47ed70a3cb50f64b0691c63d2ec2cc80553a2dee" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#acb44df78015906174daf359b40916b7bef58c57" dependencies = [ "async-trait", "merlin", @@ -10509,7 +10506,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#47ed70a3cb50f64b0691c63d2ec2cc80553a2dee" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#acb44df78015906174daf359b40916b7bef58c57" dependencies = [ "parity-scale-codec", "sp-arithmetic", @@ -10519,7 +10516,7 @@ dependencies = [ [[package]] name = "sp-consensus-vrf" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#47ed70a3cb50f64b0691c63d2ec2cc80553a2dee" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#acb44df78015906174daf359b40916b7bef58c57" dependencies = [ "parity-scale-codec", "schnorrkel", @@ -10531,7 +10528,7 @@ dependencies = [ [[package]] name = "sp-core" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#47ed70a3cb50f64b0691c63d2ec2cc80553a2dee" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#acb44df78015906174daf359b40916b7bef58c57" dependencies = [ "base58", "blake2-rfc", @@ -10575,7 +10572,7 @@ dependencies = [ [[package]] name = "sp-database" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#47ed70a3cb50f64b0691c63d2ec2cc80553a2dee" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#acb44df78015906174daf359b40916b7bef58c57" dependencies = [ "kvdb", "parking_lot 0.11.2", @@ -10584,17 +10581,17 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#47ed70a3cb50f64b0691c63d2ec2cc80553a2dee" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#acb44df78015906174daf359b40916b7bef58c57" dependencies = [ "proc-macro2 1.0.29", - "quote 1.0.9", - "syn 1.0.77", + "quote 1.0.10", + "syn 1.0.80", ] [[package]] name = "sp-externalities" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#47ed70a3cb50f64b0691c63d2ec2cc80553a2dee" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#acb44df78015906174daf359b40916b7bef58c57" dependencies = [ "environmental", "parity-scale-codec", @@ -10605,7 +10602,7 @@ dependencies = [ [[package]] name = "sp-finality-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#47ed70a3cb50f64b0691c63d2ec2cc80553a2dee" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#acb44df78015906174daf359b40916b7bef58c57" dependencies = [ "finality-grandpa", "log", @@ -10622,7 +10619,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#47ed70a3cb50f64b0691c63d2ec2cc80553a2dee" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#acb44df78015906174daf359b40916b7bef58c57" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -10636,7 +10633,7 @@ dependencies = [ [[package]] name = "sp-io" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#47ed70a3cb50f64b0691c63d2ec2cc80553a2dee" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#acb44df78015906174daf359b40916b7bef58c57" dependencies = [ "futures 0.3.17", "hash-db", @@ -10661,7 +10658,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#47ed70a3cb50f64b0691c63d2ec2cc80553a2dee" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#acb44df78015906174daf359b40916b7bef58c57" dependencies = [ "lazy_static", "sp-core", @@ -10672,7 +10669,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#47ed70a3cb50f64b0691c63d2ec2cc80553a2dee" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#acb44df78015906174daf359b40916b7bef58c57" dependencies = [ "async-trait", "derive_more 0.99.16", @@ -10689,7 +10686,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#47ed70a3cb50f64b0691c63d2ec2cc80553a2dee" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#acb44df78015906174daf359b40916b7bef58c57" dependencies = [ "ruzstd", "zstd", @@ -10698,7 +10695,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#47ed70a3cb50f64b0691c63d2ec2cc80553a2dee" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#acb44df78015906174daf359b40916b7bef58c57" dependencies = [ "parity-scale-codec", "serde", @@ -10711,18 +10708,18 @@ dependencies = [ [[package]] name = "sp-npos-elections-solution-type" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#47ed70a3cb50f64b0691c63d2ec2cc80553a2dee" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#acb44df78015906174daf359b40916b7bef58c57" dependencies = [ "proc-macro-crate 1.1.0", "proc-macro2 1.0.29", - "quote 1.0.9", - "syn 1.0.77", + "quote 1.0.10", + "syn 1.0.80", ] [[package]] name = "sp-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#47ed70a3cb50f64b0691c63d2ec2cc80553a2dee" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#acb44df78015906174daf359b40916b7bef58c57" dependencies = [ "sp-api", "sp-core", @@ -10732,7 +10729,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#47ed70a3cb50f64b0691c63d2ec2cc80553a2dee" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#acb44df78015906174daf359b40916b7bef58c57" dependencies = [ "backtrace", ] @@ -10740,7 +10737,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#47ed70a3cb50f64b0691c63d2ec2cc80553a2dee" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#acb44df78015906174daf359b40916b7bef58c57" dependencies = [ "rustc-hash", "serde", @@ -10751,7 +10748,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#47ed70a3cb50f64b0691c63d2ec2cc80553a2dee" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#acb44df78015906174daf359b40916b7bef58c57" dependencies = [ "either", "hash256-std-hasher", @@ -10772,7 +10769,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#47ed70a3cb50f64b0691c63d2ec2cc80553a2dee" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#acb44df78015906174daf359b40916b7bef58c57" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -10789,19 +10786,19 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#47ed70a3cb50f64b0691c63d2ec2cc80553a2dee" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#acb44df78015906174daf359b40916b7bef58c57" dependencies = [ "Inflector", "proc-macro-crate 1.1.0", "proc-macro2 1.0.29", - "quote 1.0.9", - "syn 1.0.77", + "quote 1.0.10", + "syn 1.0.80", ] [[package]] name = "sp-serializer" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#47ed70a3cb50f64b0691c63d2ec2cc80553a2dee" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#acb44df78015906174daf359b40916b7bef58c57" dependencies = [ "serde", "serde_json", @@ -10810,7 +10807,7 @@ dependencies = [ [[package]] name = "sp-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#47ed70a3cb50f64b0691c63d2ec2cc80553a2dee" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#acb44df78015906174daf359b40916b7bef58c57" dependencies = [ "parity-scale-codec", "sp-api", @@ -10823,7 +10820,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#47ed70a3cb50f64b0691c63d2ec2cc80553a2dee" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#acb44df78015906174daf359b40916b7bef58c57" dependencies = [ "parity-scale-codec", "sp-runtime", @@ -10833,7 +10830,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#47ed70a3cb50f64b0691c63d2ec2cc80553a2dee" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#acb44df78015906174daf359b40916b7bef58c57" dependencies = [ "hash-db", "log", @@ -10841,7 +10838,7 @@ dependencies = [ "parity-scale-codec", "parking_lot 0.11.2", "rand 0.7.3", - "smallvec 1.6.1", + "smallvec 1.7.0", "sp-core", "sp-externalities", "sp-panic-handler", @@ -10856,12 +10853,12 @@ dependencies = [ [[package]] name = "sp-std" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#47ed70a3cb50f64b0691c63d2ec2cc80553a2dee" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#acb44df78015906174daf359b40916b7bef58c57" [[package]] name = "sp-storage" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#47ed70a3cb50f64b0691c63d2ec2cc80553a2dee" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#acb44df78015906174daf359b40916b7bef58c57" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10874,7 +10871,7 @@ dependencies = [ [[package]] name = "sp-tasks" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#47ed70a3cb50f64b0691c63d2ec2cc80553a2dee" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#acb44df78015906174daf359b40916b7bef58c57" dependencies = [ "log", "sp-core", @@ -10887,7 +10884,7 @@ dependencies = [ [[package]] name = "sp-test-primitives" version = "2.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#47ed70a3cb50f64b0691c63d2ec2cc80553a2dee" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#acb44df78015906174daf359b40916b7bef58c57" dependencies = [ "parity-scale-codec", "parity-util-mem", @@ -10900,7 +10897,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#47ed70a3cb50f64b0691c63d2ec2cc80553a2dee" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#acb44df78015906174daf359b40916b7bef58c57" dependencies = [ "async-trait", "futures-timer 3.0.2", @@ -10917,7 +10914,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#47ed70a3cb50f64b0691c63d2ec2cc80553a2dee" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#acb44df78015906174daf359b40916b7bef58c57" dependencies = [ "erased-serde", "log", @@ -10935,7 +10932,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#47ed70a3cb50f64b0691c63d2ec2cc80553a2dee" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#acb44df78015906174daf359b40916b7bef58c57" dependencies = [ "sp-api", "sp-runtime", @@ -10944,7 +10941,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#47ed70a3cb50f64b0691c63d2ec2cc80553a2dee" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#acb44df78015906174daf359b40916b7bef58c57" dependencies = [ "async-trait", "log", @@ -10959,7 +10956,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#47ed70a3cb50f64b0691c63d2ec2cc80553a2dee" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#acb44df78015906174daf359b40916b7bef58c57" dependencies = [ "hash-db", "memory-db", @@ -10973,7 +10970,7 @@ dependencies = [ [[package]] name = "sp-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#47ed70a3cb50f64b0691c63d2ec2cc80553a2dee" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#acb44df78015906174daf359b40916b7bef58c57" dependencies = [ "futures 0.3.17", "futures-core", @@ -10985,7 +10982,7 @@ dependencies = [ [[package]] name = "sp-version" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#47ed70a3cb50f64b0691c63d2ec2cc80553a2dee" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#acb44df78015906174daf359b40916b7bef58c57" dependencies = [ "impl-serde", "parity-scale-codec", @@ -11000,19 +10997,19 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#47ed70a3cb50f64b0691c63d2ec2cc80553a2dee" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#acb44df78015906174daf359b40916b7bef58c57" dependencies = [ "parity-scale-codec", "proc-macro-crate 1.1.0", "proc-macro2 1.0.29", - "quote 1.0.9", - "syn 1.0.77", + "quote 1.0.10", + "syn 1.0.80", ] [[package]] name = "sp-wasm-interface" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#47ed70a3cb50f64b0691c63d2ec2cc80553a2dee" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#acb44df78015906174daf359b40916b7bef58c57" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -11077,7 +11074,7 @@ dependencies = [ "polkadot-parachain", "polkadot-runtime-common", "serde", - "smallvec 1.6.1", + "smallvec 1.7.0", "sp-api", "sp-block-builder", "sp-consensus-aura", @@ -11165,7 +11162,7 @@ dependencies = [ "polkadot-parachain", "polkadot-runtime-common", "serde", - "smallvec 1.6.1", + "smallvec 1.7.0", "sp-api", "sp-block-builder", "sp-consensus-aura", @@ -11212,8 +11209,8 @@ dependencies = [ "cfg_aliases", "memchr", "proc-macro2 1.0.29", - "quote 1.0.9", - "syn 1.0.77", + "quote 1.0.10", + "syn 1.0.80", ] [[package]] @@ -11264,8 +11261,8 @@ dependencies = [ "heck", "proc-macro-error 1.0.4", "proc-macro2 1.0.29", - "quote 1.0.9", - "syn 1.0.77", + "quote 1.0.10", + "syn 1.0.80", ] [[package]] @@ -11285,8 +11282,8 @@ checksum = "ee8bc6b87a5112aeeab1f4a9f7ab634fe6cbefc4850006df31267f4cfb9e3149" dependencies = [ "heck", "proc-macro2 1.0.29", - "quote 1.0.9", - "syn 1.0.77", + "quote 1.0.10", + "syn 1.0.80", ] [[package]] @@ -11305,7 +11302,7 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#47ed70a3cb50f64b0691c63d2ec2cc80553a2dee" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#acb44df78015906174daf359b40916b7bef58c57" dependencies = [ "platforms", ] @@ -11313,7 +11310,7 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#47ed70a3cb50f64b0691c63d2ec2cc80553a2dee" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#acb44df78015906174daf359b40916b7bef58c57" dependencies = [ "frame-system-rpc-runtime-api", "futures 0.3.17", @@ -11336,7 +11333,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.9.0" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#47ed70a3cb50f64b0691c63d2ec2cc80553a2dee" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#acb44df78015906174daf359b40916b7bef58c57" dependencies = [ "async-std", "derive_more 0.99.16", @@ -11350,7 +11347,7 @@ dependencies = [ [[package]] name = "substrate-test-client" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#47ed70a3cb50f64b0691c63d2ec2cc80553a2dee" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#acb44df78015906174daf359b40916b7bef58c57" dependencies = [ "async-trait", "futures 0.1.31", @@ -11379,7 +11376,7 @@ dependencies = [ [[package]] name = "substrate-test-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#47ed70a3cb50f64b0691c63d2ec2cc80553a2dee" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#acb44df78015906174daf359b40916b7bef58c57" dependencies = [ "futures 0.3.17", "substrate-test-utils-derive", @@ -11389,17 +11386,17 @@ dependencies = [ [[package]] name = "substrate-test-utils-derive" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#47ed70a3cb50f64b0691c63d2ec2cc80553a2dee" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#acb44df78015906174daf359b40916b7bef58c57" dependencies = [ "proc-macro-crate 1.1.0", - "quote 1.0.9", - "syn 1.0.77", + "quote 1.0.10", + "syn 1.0.80", ] [[package]] name = "substrate-wasm-builder" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#47ed70a3cb50f64b0691c63d2ec2cc80553a2dee" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#acb44df78015906174daf359b40916b7bef58c57" dependencies = [ "ansi_term 0.12.1", "atty", @@ -11431,12 +11428,12 @@ dependencies = [ [[package]] name = "syn" -version = "1.0.77" +version = "1.0.80" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5239bc68e0fef57495900cfea4e8dc75596d9a319d7e16b1e0a440d24e6fe0a0" +checksum = "d010a1623fbd906d51d650a9916aaefc05ffa0e4053ff7fe601167f3e715d194" dependencies = [ "proc-macro2 1.0.29", - "quote 1.0.9", + "quote 1.0.10", "unicode-xid 0.2.2", ] @@ -11447,8 +11444,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "baa8e7560a164edb1621a55d18a0c59abf49d360f47aa7b821061dd7eea7fac9" dependencies = [ "proc-macro2 1.0.29", - "quote 1.0.9", - "syn 1.0.77", + "quote 1.0.10", + "syn 1.0.80", ] [[package]] @@ -11458,8 +11455,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "474aaa926faa1603c40b7885a9eaea29b444d1cb2850cb7c0e37bb1a4182f4fa" dependencies = [ "proc-macro2 1.0.29", - "quote 1.0.9", - "syn 1.0.77", + "quote 1.0.10", + "syn 1.0.80", "unicode-xid 0.2.2", ] @@ -11529,8 +11526,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bad553cc2c78e8de258400763a647e80e6d1b31ee237275d756f6836d204494c" dependencies = [ "proc-macro2 1.0.29", - "quote 1.0.9", - "syn 1.0.77", + "quote 1.0.10", + "syn 1.0.80", ] [[package]] @@ -11577,20 +11574,20 @@ dependencies = [ [[package]] name = "tiny-bip39" -version = "0.8.1" +version = "0.8.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "524daa5624d9d4ffb5a0625971d35205b882111daa6b6338a7a6c578a3c36928" +checksum = "ffc59cb9dfc85bb312c3a78fd6aa8a8582e310b0fa885d5bb877f6dcc601839d" dependencies = [ "anyhow", "hmac 0.8.1", "once_cell", - "parking_lot 0.11.2", "pbkdf2 0.4.0", "rand 0.7.3", "rustc-hash", "sha2 0.9.8", "thiserror", "unicode-normalization", + "wasm-bindgen", "zeroize", ] @@ -11746,8 +11743,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e44da00bfc73a25f814cd8d7e57a68a5c31b74b3152a0a1d1f590c97ed06265a" dependencies = [ "proc-macro2 1.0.29", - "quote 1.0.9", - "syn 1.0.77", + "quote 1.0.10", + "syn 1.0.80", ] [[package]] @@ -11933,9 +11930,9 @@ checksum = "360dfd1d6d30e05fda32ace2c8c70e9c0a9da713275777f5a4dbb8a1893930c6" [[package]] name = "tracing" -version = "0.1.28" +version = "0.1.29" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84f96e095c0c82419687c20ddf5cb3eadb61f4e1405923c9dc8e53a1adacbda8" +checksum = "375a639232caf30edfc78e8d89b2d4c375515393e7af7e16f01cd96917fb2105" dependencies = [ "cfg-if 1.0.0", "log", @@ -11946,20 +11943,20 @@ dependencies = [ [[package]] name = "tracing-attributes" -version = "0.1.16" +version = "0.1.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "98863d0dd09fa59a1b79c6750ad80dbda6b75f4e71c437a6a1a8cb91a8bcbd77" +checksum = "f4f480b8f81512e825f337ad51e94c1eb5d3bbdf2b363dcd01e2b19a9ffe3f8e" dependencies = [ "proc-macro2 1.0.29", - "quote 1.0.9", - "syn 1.0.77", + "quote 1.0.10", + "syn 1.0.80", ] [[package]] name = "tracing-core" -version = "0.1.20" +version = "0.1.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "46125608c26121c81b0c6d693eab5a420e416da7e43c426d2e8f7df8da8a3acf" +checksum = "1f4ed65637b8390770814083d20756f87bfa2c21bf2f110babdc5438351746e4" dependencies = [ "lazy_static", ] @@ -11997,9 +11994,9 @@ dependencies = [ [[package]] name = "tracing-subscriber" -version = "0.2.24" +version = "0.2.25" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fdd0568dbfe3baf7048b7908d2b32bca0d81cd56bec6d2a8f894b01d74f86be3" +checksum = "0e0d2eaa99c3c2e41547cfa109e910a68ea03823cccad4a0525dcbc9b01e8c71" dependencies = [ "ansi_term 0.12.1", "chrono", @@ -12009,7 +12006,7 @@ dependencies = [ "serde", "serde_json", "sharded-slab", - "smallvec 1.6.1", + "smallvec 1.7.0", "thread_local", "tracing", "tracing-core", @@ -12033,7 +12030,7 @@ dependencies = [ "hashbrown", "log", "rustc-hex", - "smallvec 1.6.1", + "smallvec 1.7.0", ] [[package]] @@ -12072,7 +12069,7 @@ dependencies = [ "lazy_static", "log", "rand 0.8.4", - "smallvec 1.6.1", + "smallvec 1.7.0", "thiserror", "tinyvec", "url 2.2.2", @@ -12092,7 +12089,7 @@ dependencies = [ "lru-cache", "parking_lot 0.11.2", "resolv-conf", - "smallvec 1.6.1", + "smallvec 1.7.0", "thiserror", "trust-dns-proto", ] @@ -12106,7 +12103,7 @@ checksum = "59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642" [[package]] name = "try-runtime-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#47ed70a3cb50f64b0691c63d2ec2cc80553a2dee" +source = "git+https://github.com/paritytech/substrate?branch=polkadot-v0.9.10#acb44df78015906174daf359b40916b7bef58c57" dependencies = [ "frame-try-runtime", "log", @@ -12393,8 +12390,8 @@ dependencies = [ "lazy_static", "log", "proc-macro2 1.0.29", - "quote 1.0.9", - "syn 1.0.77", + "quote 1.0.10", + "syn 1.0.80", "wasm-bindgen-shared", ] @@ -12416,7 +12413,7 @@ version = "0.2.78" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d56146e7c495528bf6587663bea13a8eb588d39b36b679d83972e1a2dbbdacf9" dependencies = [ - "quote 1.0.9", + "quote 1.0.10", "wasm-bindgen-macro-support", ] @@ -12427,8 +12424,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7803e0eea25835f8abdc585cd3021b3deb11543c6fe226dcd30b228857c5c5ab" dependencies = [ "proc-macro2 1.0.29", - "quote 1.0.9", - "syn 1.0.77", + "quote 1.0.10", + "syn 1.0.80", "wasm-bindgen-backend", "wasm-bindgen-shared", ] @@ -12515,7 +12512,7 @@ dependencies = [ "region", "rustc-demangle", "serde", - "smallvec 1.6.1", + "smallvec 1.7.0", "target-lexicon", "wasmparser", "wasmtime-cache", @@ -12781,7 +12778,7 @@ dependencies = [ "rustc-hex", "serde", "serde_derive", - "smallvec 1.6.1", + "smallvec 1.7.0", "sp-api", "sp-authority-discovery", "sp-block-builder", @@ -12849,7 +12846,7 @@ dependencies = [ "polkadot-parachain", "polkadot-runtime-common", "serde", - "smallvec 1.6.1", + "smallvec 1.7.0", "sp-api", "sp-block-builder", "sp-consensus-aura", @@ -13019,8 +13016,8 @@ version = "0.1.0" source = "git+https://github.com/paritytech/polkadot?branch=release-v0.9.10#aeea9b7bd81919e014f7621f6c4b2eb9709d918f" dependencies = [ "proc-macro2 1.0.29", - "quote 1.0.9", - "syn 1.0.77", + "quote 1.0.10", + "syn 1.0.80", ] [[package]] @@ -13053,8 +13050,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bdff2024a851a322b08f179173ae2ba620445aef1e838f0c196820eade4ae0c7" dependencies = [ "proc-macro2 1.0.29", - "quote 1.0.9", - "syn 1.0.77", + "quote 1.0.10", + "syn 1.0.80", "synstructure", ] diff --git a/pallets/collator-selection/Cargo.toml b/pallets/collator-selection/Cargo.toml index c516cabd46c..3b529723193 100644 --- a/pallets/collator-selection/Cargo.toml +++ b/pallets/collator-selection/Cargo.toml @@ -16,6 +16,7 @@ targets = ['x86_64-unknown-linux-gnu'] log = { version = "0.4.0", default-features = false } codec = { default-features = false, features = ['derive'], package = 'parity-scale-codec', version = '2.0.0' } serde = { version = "1.0.119", default-features = false } +rand = { version = "0.7.2", default-features = false } sp-std = { default-features = false, git = 'https://github.com/paritytech/substrate', branch = "polkadot-v0.9.10" } sp-runtime = { default-features = false, git = 'https://github.com/paritytech/substrate', branch = "polkadot-v0.9.10" } sp-staking = { default-features = false, git = 'https://github.com/paritytech/substrate', branch = "polkadot-v0.9.10" } @@ -46,6 +47,7 @@ runtime-benchmarks = [ std = [ 'codec/std', 'log/std', + 'rand/std', 'sp-runtime/std', 'sp-staking/std', 'sp-std/std', diff --git a/pallets/collator-selection/src/benchmarking.rs b/pallets/collator-selection/src/benchmarking.rs index c11b76ba2fd..dbe79d40d74 100644 --- a/pallets/collator-selection/src/benchmarking.rs +++ b/pallets/collator-selection/src/benchmarking.rs @@ -25,9 +25,10 @@ use frame_system::{RawOrigin, EventRecord}; use frame_support::{ assert_ok, traits::{Currency, Get, EnsureOrigin}, + codec::Decode }; use pallet_authorship::EventHandler; -use pallet_session::SessionManager; +use pallet_session::{self as session, SessionManager}; pub type BalanceOf = <::Currency as Currency<::AccountId>>::Balance; @@ -51,9 +52,52 @@ fn assert_last_event(generic_event: ::Event) { assert_eq!(event, &system_event); } +fn create_funded_user( + string: &'static str, + n: u32, + balance_factor: u32, +) -> T::AccountId { + let user = account(string, n, SEED); + let balance = T::Currency::minimum_balance() * balance_factor.into(); + let _ = T::Currency::make_free_balance_be(&user, balance); + user +} + +fn keys(c: u32) -> ::Keys { + use rand::{RngCore, SeedableRng}; + + let keys = { + let mut keys = [0u8; 128]; + + if c > 0 { + let mut rng = rand::rngs::StdRng::seed_from_u64(c as u64); + rng.fill_bytes(&mut keys); + } + + keys + }; + + Decode::decode(&mut &keys[..]).unwrap() +} + +fn validator(c: u32)-> (T::AccountId, ::Keys) { + (create_funded_user::("candidate", c, 1000), keys::(c)) +} + +fn register_validators(count: u32) { + let validators = (0..count).map(|c| validator::(c)).collect::>(); + + for (who, keys) in validators { + >::set_keys( + RawOrigin::Signed(who).into(), keys, vec![] + ).unwrap(); + } +} + fn register_candidates(count: u32) { let candidates = (0..count).map(|c| account("candidate", c, SEED)).collect::>(); assert!(>::get() > 0u32.into(), "Bond cannot be zero!"); + for who in candidates { T::Currency::make_free_balance_be(&who, >::get() * 2u32.into()); >::register_as_candidate(RawOrigin::Signed(who).into()).unwrap(); @@ -61,7 +105,7 @@ fn register_candidates(count: u32) { } benchmarks! { - where_clause { where T: pallet_authorship::Config } + where_clause { where T: pallet_authorship::Config + session::Config } set_invulnerables { let b in 1 .. T::MaxInvulnerables::get(); @@ -107,12 +151,20 @@ benchmarks! { >::put(T::Currency::minimum_balance()); >::put(c + 1); + + register_validators::(c); register_candidates::(c); let caller: T::AccountId = whitelisted_caller(); let bond: BalanceOf = T::Currency::minimum_balance() * 2u32.into(); T::Currency::make_free_balance_be(&caller, bond.clone()); + >::set_keys( + RawOrigin::Signed(caller.clone()).into(), + keys::(c + 1), + vec![] + ).unwrap(); + }: _(RawOrigin::Signed(caller.clone())) verify { assert_last_event::(Event::CandidateAdded(caller, bond / 2u32.into()).into()); @@ -120,9 +172,11 @@ benchmarks! { // worse case is the last candidate leaving. leave_intent { - let c in 1 .. T::MaxCandidates::get(); + let c in (T::MinCandidates::get() + 1) .. T::MaxCandidates::get(); >::put(T::Currency::minimum_balance()); >::put(c); + + register_validators::(c); register_candidates::(c); let leaving = >::get().last().unwrap().who.clone(); @@ -160,6 +214,8 @@ benchmarks! { >::put(T::Currency::minimum_balance()); >::put(c); frame_system::Pallet::::set_block_number(0u32.into()); + + register_validators::(c); register_candidates::(c); let new_block: T::BlockNumber = 1800u32.into(); @@ -171,19 +227,32 @@ benchmarks! { for i in 0..c { >::insert(candidates[i as usize].who.clone(), zero_block); } - for i in 0..non_removals { - >::insert(candidates[i as usize].who.clone(), new_block); + + if non_removals > 0 { + for i in 0..non_removals { + >::insert(candidates[i as usize].who.clone(), new_block); + } + } else { + for i in 0..c { + >::insert(candidates[i as usize].who.clone(), new_block); + } } let pre_length = >::get().len(); + frame_system::Pallet::::set_block_number(new_block); assert!(>::get().len() == c as usize); - }: { as SessionManager<_>>::new_session(0) } verify { - assert!(>::get().len() < pre_length); + if c > r && non_removals >= T::MinCandidates::get() { + assert!(>::get().len() < pre_length); + } else if c > r && non_removals < T::MinCandidates::get() { + assert!(>::get().len() == T::MinCandidates::get() as usize); + } else { + assert!(>::get().len() == pre_length); + } } } diff --git a/pallets/collator-selection/src/lib.rs b/pallets/collator-selection/src/lib.rs index 9800104a832..440aa66cc48 100644 --- a/pallets/collator-selection/src/lib.rs +++ b/pallets/collator-selection/src/lib.rs @@ -136,7 +136,6 @@ pub mod pallet { /// This does not take into account the invulnerables. type MinCandidates: Get; - /// Maximum number of invulnerables. /// /// Used only for benchmarking. @@ -156,7 +155,6 @@ pub mod pallet { /// Validate a user is registered type ValidatorRegistration: ValidatorRegistration; - /// The weight information of this pallet. type WeightInfo: WeightInfo; } diff --git a/polkadot-parachains/Cargo.toml b/polkadot-parachains/Cargo.toml index dfcccc0041b..e4219c462f7 100644 --- a/polkadot-parachains/Cargo.toml +++ b/polkadot-parachains/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-collator" -version = "0.1.0" +version = "4.0.0" authors = ["Parity Technologies "] build = "build.rs" edition = "2018" diff --git a/polkadot-parachains/statemine/src/lib.rs b/polkadot-parachains/statemine/src/lib.rs index 28a2ff3d101..4fbe1d3ab66 100644 --- a/polkadot-parachains/statemine/src/lib.rs +++ b/polkadot-parachains/statemine/src/lib.rs @@ -103,10 +103,10 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("statemine"), impl_name: create_runtime_str!("statemine"), authoring_version: 1, - spec_version: 3, + spec_version: 4, impl_version: 0, apis: RUNTIME_API_VERSIONS, - transaction_version: 1, + transaction_version: 2, }; /// The version information used to identify this runtime when compiled natively. @@ -736,18 +736,9 @@ pub type Executive = frame_executive::Executive< frame_system::ChainContext, Runtime, AllPallets, - OnRuntimeUpgrade, + (), >; -pub struct OnRuntimeUpgrade; -impl frame_support::traits::OnRuntimeUpgrade for OnRuntimeUpgrade { - fn on_runtime_upgrade() -> u64 { - frame_support::migrations::migrate_from_pallet_version_to_storage_version::< - AllPalletsWithSystem, - >(&RocksDbWeight::get()) - } -} - impl_runtime_apis! { impl sp_consensus_aura::AuraApi for Runtime { fn slot_duration() -> sp_consensus_aura::SlotDuration { @@ -857,6 +848,33 @@ impl_runtime_apis! { #[cfg(feature = "runtime-benchmarks")] impl frame_benchmarking::Benchmark for Runtime { + fn benchmark_metadata(extra: bool) -> ( + Vec, + Vec, + ) { + use frame_benchmarking::{list_benchmark, Benchmarking, BenchmarkList}; + use frame_support::traits::StorageInfoTrait; + use frame_system_benchmarking::Pallet as SystemBench; + use cumulus_pallet_session_benchmarking::Pallet as SessionBench; + + let mut list = Vec::::new(); + + list_benchmark!(list, extra, frame_system, SystemBench::); + list_benchmark!(list, extra, pallet_assets, Assets); + list_benchmark!(list, extra, pallet_balances, Balances); + list_benchmark!(list, extra, pallet_multisig, Multisig); + list_benchmark!(list, extra, pallet_proxy, Proxy); + list_benchmark!(list, extra, pallet_session, SessionBench::); + list_benchmark!(list, extra, pallet_uniques, Uniques); + list_benchmark!(list, extra, pallet_utility, Utility); + list_benchmark!(list, extra, pallet_timestamp, Timestamp); + list_benchmark!(list, extra, pallet_collator_selection, CollatorSelection); + + let storage_info = AllPalletsWithSystem::storage_info(); + + return (list, storage_info) + } + fn dispatch_benchmark( config: frame_benchmarking::BenchmarkConfig ) -> Result, sp_runtime::RuntimeString> { diff --git a/polkadot-parachains/statemine/src/weights/pallet_assets.rs b/polkadot-parachains/statemine/src/weights/pallet_assets.rs index 2fef7c64ede..b5164de7c11 100644 --- a/polkadot-parachains/statemine/src/weights/pallet_assets.rs +++ b/polkadot-parachains/statemine/src/weights/pallet_assets.rs @@ -1,12 +1,27 @@ +// Copyright 2021 Parity Technologies (UK) Ltd. +// This file is part of Cumulus. -//! Autogenerated weights for pallet_assets +// Cumulus is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// Cumulus is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with Cumulus. If not, see . + +//! Autogenerated weights for `pallet_assets` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0 -//! DATE: 2021-05-31, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev +//! DATE: 2021-10-04, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("statemine-dev"), DB CACHE: 128 // Executed Command: -// ./target/release/statemint +// ./target/release/polkadot-collator // benchmark // --chain=statemine-dev // --execution=wasm @@ -16,9 +31,11 @@ // --steps=50 // --repeat=20 // --raw -// --output=./runtime/statemine/src/weights/ +// --header=./file_header.txt +// --output=./polkadot-parachains/statemine/src/weights +#![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] @@ -28,134 +45,183 @@ use sp_std::marker::PhantomData; /// Weight functions for pallet_assets. pub struct WeightInfo(PhantomData); impl pallet_assets::WeightInfo for WeightInfo { + // Storage: Assets Asset (r:1 w:1) fn create() -> Weight { - (44_224_000 as Weight) + (42_810_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } + // Storage: Assets Asset (r:1 w:1) fn force_create() -> Weight { - (22_533_000 as Weight) + (22_161_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } + // Storage: Assets Asset (r:1 w:1) + // Storage: Assets Account (r:5002 w:5001) + // Storage: System Account (r:5000 w:5000) + // Storage: Assets Metadata (r:1 w:0) + // Storage: Assets Approvals (r:501 w:500) fn destroy(c: u32, s: u32, a: u32, ) -> Weight { (0 as Weight) // Standard Error: 37_000 - .saturating_add((21_529_000 as Weight).saturating_mul(c as Weight)) + .saturating_add((20_291_000 as Weight).saturating_mul(c as Weight)) // Standard Error: 37_000 - .saturating_add((28_905_000 as Weight).saturating_mul(s as Weight)) - // Standard Error: 377_000 - .saturating_add((3_745_000 as Weight).saturating_mul(a as Weight)) - .saturating_add(T::DbWeight::get().reads(4 as Weight)) + .saturating_add((27_058_000 as Weight).saturating_mul(s as Weight)) + // Standard Error: 378_000 + .saturating_add((33_069_000 as Weight).saturating_mul(a as Weight)) + .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().reads((2 as Weight).saturating_mul(c as Weight))) .saturating_add(T::DbWeight::get().reads((2 as Weight).saturating_mul(s as Weight))) + .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(a as Weight))) .saturating_add(T::DbWeight::get().writes(2 as Weight)) .saturating_add(T::DbWeight::get().writes((2 as Weight).saturating_mul(c as Weight))) .saturating_add(T::DbWeight::get().writes((2 as Weight).saturating_mul(s as Weight))) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(a as Weight))) } + // Storage: Assets Asset (r:1 w:1) + // Storage: Assets Account (r:1 w:1) fn mint() -> Weight { - (49_078_000 as Weight) + (48_712_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } + // Storage: Assets Asset (r:1 w:1) + // Storage: Assets Account (r:1 w:1) fn burn() -> Weight { - (55_886_000 as Weight) + (55_472_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } + // Storage: Assets Asset (r:1 w:1) + // Storage: Assets Account (r:2 w:2) + // Storage: System Account (r:1 w:1) fn transfer() -> Weight { - (84_857_000 as Weight) + (84_571_000 as Weight) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight)) } + // Storage: Assets Asset (r:1 w:1) + // Storage: Assets Account (r:2 w:2) + // Storage: System Account (r:1 w:1) fn transfer_keep_alive() -> Weight { - (71_330_000 as Weight) + (69_636_000 as Weight) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight)) } + // Storage: Assets Asset (r:1 w:1) + // Storage: Assets Account (r:2 w:2) + // Storage: System Account (r:1 w:1) fn force_transfer() -> Weight { - (85_127_000 as Weight) + (84_470_000 as Weight) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight)) } + // Storage: Assets Asset (r:1 w:0) + // Storage: Assets Account (r:1 w:1) fn freeze() -> Weight { - (31_403_000 as Weight) + (32_969_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } + // Storage: Assets Asset (r:1 w:0) + // Storage: Assets Account (r:1 w:1) fn thaw() -> Weight { - (31_250_000 as Weight) + (32_804_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } + // Storage: Assets Asset (r:1 w:1) fn freeze_asset() -> Weight { - (22_097_000 as Weight) + (24_490_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } + // Storage: Assets Asset (r:1 w:1) fn thaw_asset() -> Weight { - (22_245_000 as Weight) + (24_614_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } + // Storage: Assets Asset (r:1 w:1) + // Storage: Assets Metadata (r:1 w:0) fn transfer_ownership() -> Weight { - (25_479_000 as Weight) + (27_181_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } + // Storage: Assets Asset (r:1 w:1) fn set_team() -> Weight { - (22_271_000 as Weight) + (24_654_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } + // Storage: Assets Asset (r:1 w:0) + // Storage: Assets Metadata (r:1 w:1) fn set_metadata(_n: u32, s: u32, ) -> Weight { - (50_315_000 as Weight) - // Standard Error: 0 - .saturating_add((8_000 as Weight).saturating_mul(s as Weight)) + (51_018_000 as Weight) + // Standard Error: 1_000 + .saturating_add((11_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } + // Storage: Assets Asset (r:1 w:0) + // Storage: Assets Metadata (r:1 w:1) fn clear_metadata() -> Weight { - (48_134_000 as Weight) + (49_589_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } + // Storage: Assets Asset (r:1 w:0) + // Storage: Assets Metadata (r:1 w:1) fn force_set_metadata(_n: u32, s: u32, ) -> Weight { - (25_933_000 as Weight) + (27_039_000 as Weight) // Standard Error: 0 - .saturating_add((7_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((5_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } + // Storage: Assets Asset (r:1 w:0) + // Storage: Assets Metadata (r:1 w:1) fn force_clear_metadata() -> Weight { - (49_243_000 as Weight) + (49_270_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } + // Storage: Assets Asset (r:1 w:1) fn force_asset_status() -> Weight { - (22_305_000 as Weight) + (23_112_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } + // Storage: Assets Asset (r:1 w:1) + // Storage: Assets Approvals (r:1 w:1) fn approve_transfer() -> Weight { - (48_885_000 as Weight) - .saturating_add(T::DbWeight::get().reads(1 as Weight)) - .saturating_add(T::DbWeight::get().writes(1 as Weight)) + (57_750_000 as Weight) + .saturating_add(T::DbWeight::get().reads(2 as Weight)) + .saturating_add(T::DbWeight::get().writes(2 as Weight)) } + // Storage: Assets Approvals (r:1 w:1) + // Storage: Assets Asset (r:1 w:1) + // Storage: Assets Account (r:2 w:2) + // Storage: System Account (r:1 w:1) fn transfer_approved() -> Weight { - (108_026_000 as Weight) + (110_350_000 as Weight) .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().writes(5 as Weight)) } + // Storage: Assets Asset (r:1 w:1) + // Storage: Assets Approvals (r:1 w:1) fn cancel_approval() -> Weight { - (48_943_000 as Weight) - .saturating_add(T::DbWeight::get().reads(1 as Weight)) - .saturating_add(T::DbWeight::get().writes(1 as Weight)) + (58_045_000 as Weight) + .saturating_add(T::DbWeight::get().reads(2 as Weight)) + .saturating_add(T::DbWeight::get().writes(2 as Weight)) } + // Storage: Assets Asset (r:1 w:1) + // Storage: Assets Approvals (r:1 w:1) fn force_cancel_approval() -> Weight { - (56_914_000 as Weight) + (60_120_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) - .saturating_add(T::DbWeight::get().writes(1 as Weight)) + .saturating_add(T::DbWeight::get().writes(2 as Weight)) } } diff --git a/polkadot-parachains/statemine/src/weights/pallet_balances.rs b/polkadot-parachains/statemine/src/weights/pallet_balances.rs index 3028f6c5467..9e912507101 100644 --- a/polkadot-parachains/statemine/src/weights/pallet_balances.rs +++ b/polkadot-parachains/statemine/src/weights/pallet_balances.rs @@ -1,12 +1,27 @@ +// Copyright 2021 Parity Technologies (UK) Ltd. +// This file is part of Cumulus. -//! Autogenerated weights for pallet_balances +// Cumulus is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// Cumulus is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with Cumulus. If not, see . + +//! Autogenerated weights for `pallet_balances` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0 -//! DATE: 2021-05-31, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev +//! DATE: 2021-10-04, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("statemine-dev"), DB CACHE: 128 // Executed Command: -// ./target/release/statemint +// ./target/release/polkadot-collator // benchmark // --chain=statemine-dev // --execution=wasm @@ -16,9 +31,11 @@ // --steps=50 // --repeat=20 // --raw -// --output=./runtime/statemine/src/weights/ +// --header=./file_header.txt +// --output=./polkadot-parachains/statemine/src/weights +#![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] @@ -28,33 +45,39 @@ use sp_std::marker::PhantomData; /// Weight functions for pallet_balances. pub struct WeightInfo(PhantomData); impl pallet_balances::WeightInfo for WeightInfo { + // Storage: System Account (r:1 w:1) fn transfer() -> Weight { - (79_381_000 as Weight) + (78_858_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } + // Storage: System Account (r:1 w:1) fn transfer_keep_alive() -> Weight { - (58_057_000 as Weight) + (58_667_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } + // Storage: System Account (r:1 w:1) fn set_balance_creating() -> Weight { - (28_834_000 as Weight) + (30_112_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } + // Storage: System Account (r:1 w:1) fn set_balance_killing() -> Weight { - (36_213_000 as Weight) + (37_745_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } + // Storage: System Account (r:2 w:2) fn force_transfer() -> Weight { - (78_526_000 as Weight) + (79_925_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } + // Storage: System Account (r:1 w:1) fn transfer_all() -> Weight { - (84_170_000 as Weight) + (73_280_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } diff --git a/polkadot-parachains/statemine/src/weights/pallet_collator_selection.rs b/polkadot-parachains/statemine/src/weights/pallet_collator_selection.rs index 1c47f9071f5..8185cfdfa41 100644 --- a/polkadot-parachains/statemine/src/weights/pallet_collator_selection.rs +++ b/polkadot-parachains/statemine/src/weights/pallet_collator_selection.rs @@ -1,12 +1,27 @@ +// Copyright 2021 Parity Technologies (UK) Ltd. +// This file is part of Cumulus. -//! Autogenerated weights for pallet_collator_selection +// Cumulus is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// Cumulus is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with Cumulus. If not, see . + +//! Autogenerated weights for `pallet_collator_selection` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0 -//! DATE: 2021-05-31, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev +//! DATE: 2021-10-04, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("statemine-dev"), DB CACHE: 128 // Executed Command: -// ./target/release/statemint +// ./target/release/polkadot-collator // benchmark // --chain=statemine-dev // --execution=wasm @@ -16,9 +31,11 @@ // --steps=50 // --repeat=20 // --raw -// --output=./runtime/statemine/src/weights/ +// --header=./file_header.txt +// --output=./polkadot-parachains/statemine/src/weights +#![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] @@ -28,48 +45,66 @@ use sp_std::marker::PhantomData; /// Weight functions for pallet_collator_selection. pub struct WeightInfo(PhantomData); impl pallet_collator_selection::WeightInfo for WeightInfo { + // Storage: CollatorSelection Invulnerables (r:0 w:1) fn set_invulnerables(b: u32, ) -> Weight { - (18_481_000 as Weight) + (17_818_000 as Weight) // Standard Error: 0 - .saturating_add((67_000 as Weight).saturating_mul(b as Weight)) + .saturating_add((48_000 as Weight).saturating_mul(b as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } + // Storage: CollatorSelection DesiredCandidates (r:0 w:1) fn set_desired_candidates() -> Weight { - (16_376_000 as Weight) + (15_850_000 as Weight) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } + // Storage: CollatorSelection CandidacyBond (r:0 w:1) fn set_candidacy_bond() -> Weight { - (17_031_000 as Weight) + (16_377_000 as Weight) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } + // Storage: CollatorSelection Candidates (r:1 w:1) + // Storage: CollatorSelection DesiredCandidates (r:1 w:0) + // Storage: CollatorSelection Invulnerables (r:1 w:0) + // Storage: Session NextKeys (r:1 w:0) + // Storage: CollatorSelection CandidacyBond (r:1 w:0) + // Storage: CollatorSelection LastAuthoredBlock (r:0 w:1) fn register_as_candidate(c: u32, ) -> Weight { - (72_345_000 as Weight) - // Standard Error: 0 - .saturating_add((197_000 as Weight).saturating_mul(c as Weight)) - .saturating_add(T::DbWeight::get().reads(4 as Weight)) + (76_016_000 as Weight) + // Standard Error: 1_000 + .saturating_add((151_000 as Weight).saturating_mul(c as Weight)) + .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } + // Storage: CollatorSelection Candidates (r:1 w:1) + // Storage: CollatorSelection LastAuthoredBlock (r:0 w:1) fn leave_intent(c: u32, ) -> Weight { - (55_446_000 as Weight) - // Standard Error: 0 - .saturating_add((153_000 as Weight).saturating_mul(c as Weight)) + (76_011_000 as Weight) + // Standard Error: 1_000 + .saturating_add((202_000 as Weight).saturating_mul(c as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } + // Storage: System Account (r:2 w:2) + // Storage: System BlockWeight (r:1 w:1) + // Storage: CollatorSelection LastAuthoredBlock (r:0 w:1) fn note_author() -> Weight { - (71_828_000 as Weight) + (67_925_000 as Weight) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight)) } + // Storage: CollatorSelection Candidates (r:1 w:1) + // Storage: CollatorSelection LastAuthoredBlock (r:1000 w:1) + // Storage: System Account (r:1 w:1) + // Storage: CollatorSelection Invulnerables (r:1 w:0) + // Storage: System BlockWeight (r:1 w:1) fn new_session(r: u32, c: u32, ) -> Weight { (0 as Weight) - // Standard Error: 1_004_000 - .saturating_add((110_066_000 as Weight).saturating_mul(r as Weight)) - // Standard Error: 1_004_000 - .saturating_add((152_035_000 as Weight).saturating_mul(c as Weight)) - .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(r as Weight))) + // Standard Error: 4_417_000 + .saturating_add((24_857_000 as Weight).saturating_mul(r as Weight)) + // Standard Error: 4_417_000 + .saturating_add((115_986_000 as Weight).saturating_mul(c as Weight)) .saturating_add(T::DbWeight::get().reads((2 as Weight).saturating_mul(c as Weight))) - .saturating_add(T::DbWeight::get().writes((2 as Weight).saturating_mul(r as Weight))) - .saturating_add(T::DbWeight::get().writes((2 as Weight).saturating_mul(c as Weight))) + .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(r as Weight))) + .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(c as Weight))) } } diff --git a/polkadot-parachains/statemine/src/weights/pallet_multisig.rs b/polkadot-parachains/statemine/src/weights/pallet_multisig.rs index c6b4b28eabf..8dfc470797e 100644 --- a/polkadot-parachains/statemine/src/weights/pallet_multisig.rs +++ b/polkadot-parachains/statemine/src/weights/pallet_multisig.rs @@ -1,12 +1,27 @@ +// Copyright 2021 Parity Technologies (UK) Ltd. +// This file is part of Cumulus. -//! Autogenerated weights for pallet_multisig +// Cumulus is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// Cumulus is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with Cumulus. If not, see . + +//! Autogenerated weights for `pallet_multisig` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0 -//! DATE: 2021-05-31, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev +//! DATE: 2021-10-04, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("statemine-dev"), DB CACHE: 128 // Executed Command: -// ./target/release/statemint +// ./target/release/polkadot-collator // benchmark // --chain=statemine-dev // --execution=wasm @@ -16,9 +31,11 @@ // --steps=50 // --repeat=20 // --raw -// --output=./runtime/statemine/src/weights/ +// --header=./file_header.txt +// --output=./polkadot-parachains/statemine/src/weights +#![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] @@ -29,80 +46,100 @@ use sp_std::marker::PhantomData; pub struct WeightInfo(PhantomData); impl pallet_multisig::WeightInfo for WeightInfo { fn as_multi_threshold_1(z: u32, ) -> Weight { - (15_911_000 as Weight) + (20_579_000 as Weight) // Standard Error: 0 .saturating_add((1_000 as Weight).saturating_mul(z as Weight)) } + // Storage: Multisig Multisigs (r:1 w:1) + // Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0) fn as_multi_create(s: u32, z: u32, ) -> Weight { - (55_326_000 as Weight) + (57_300_000 as Weight) // Standard Error: 0 - .saturating_add((133_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((162_000 as Weight).saturating_mul(s as Weight)) // Standard Error: 0 - .saturating_add((1_000 as Weight).saturating_mul(z as Weight)) + .saturating_add((2_000 as Weight).saturating_mul(z as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } + // Storage: Multisig Multisigs (r:1 w:1) + // Storage: Multisig Calls (r:1 w:1) + // Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0) fn as_multi_create_store(s: u32, z: u32, ) -> Weight { - (62_423_000 as Weight) - // Standard Error: 0 - .saturating_add((133_000 as Weight).saturating_mul(s as Weight)) + (64_239_000 as Weight) + // Standard Error: 1_000 + .saturating_add((155_000 as Weight).saturating_mul(s as Weight)) // Standard Error: 0 - .saturating_add((3_000 as Weight).saturating_mul(z as Weight)) + .saturating_add((2_000 as Weight).saturating_mul(z as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } + // Storage: Multisig Multisigs (r:1 w:1) fn as_multi_approve(s: u32, z: u32, ) -> Weight { - (32_430_000 as Weight) + (35_702_000 as Weight) // Standard Error: 0 - .saturating_add((148_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((152_000 as Weight).saturating_mul(s as Weight)) // Standard Error: 0 .saturating_add((1_000 as Weight).saturating_mul(z as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } + // Storage: Multisig Multisigs (r:1 w:1) + // Storage: Multisig Calls (r:1 w:1) fn as_multi_approve_store(s: u32, z: u32, ) -> Weight { - (59_789_000 as Weight) - // Standard Error: 0 - .saturating_add((165_000 as Weight).saturating_mul(s as Weight)) + (62_308_000 as Weight) + // Standard Error: 1_000 + .saturating_add((158_000 as Weight).saturating_mul(s as Weight)) // Standard Error: 0 - .saturating_add((3_000 as Weight).saturating_mul(z as Weight)) + .saturating_add((2_000 as Weight).saturating_mul(z as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } + // Storage: Multisig Multisigs (r:1 w:1) + // Storage: Multisig Calls (r:1 w:1) + // Storage: System Account (r:1 w:1) fn as_multi_complete(s: u32, z: u32, ) -> Weight { - (80_926_000 as Weight) + (79_498_000 as Weight) + // Standard Error: 1_000 + .saturating_add((248_000 as Weight).saturating_mul(s as Weight)) // Standard Error: 0 - .saturating_add((276_000 as Weight).saturating_mul(s as Weight)) - // Standard Error: 0 - .saturating_add((5_000 as Weight).saturating_mul(z as Weight)) + .saturating_add((4_000 as Weight).saturating_mul(z as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } + // Storage: Multisig Multisigs (r:1 w:1) + // Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0) fn approve_as_multi_create(s: u32, ) -> Weight { - (54_860_000 as Weight) - // Standard Error: 0 - .saturating_add((134_000 as Weight).saturating_mul(s as Weight)) + (57_146_000 as Weight) + // Standard Error: 1_000 + .saturating_add((154_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } + // Storage: Multisig Multisigs (r:1 w:1) + // Storage: Multisig Calls (r:1 w:0) fn approve_as_multi_approve(s: u32, ) -> Weight { - (31_924_000 as Weight) + (32_826_000 as Weight) // Standard Error: 0 - .saturating_add((154_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((162_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } + // Storage: Multisig Multisigs (r:1 w:1) + // Storage: Multisig Calls (r:1 w:1) + // Storage: System Account (r:1 w:1) fn approve_as_multi_complete(s: u32, ) -> Weight { - (154_001_000 as Weight) - // Standard Error: 0 - .saturating_add((281_000 as Weight).saturating_mul(s as Weight)) + (115_857_000 as Weight) + // Standard Error: 1_000 + .saturating_add((249_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } + // Storage: Multisig Multisigs (r:1 w:1) + // Storage: Multisig Calls (r:1 w:1) fn cancel_as_multi(s: u32, ) -> Weight { - (103_770_000 as Weight) - // Standard Error: 0 - .saturating_add((130_000 as Weight).saturating_mul(s as Weight)) + (91_648_000 as Weight) + // Standard Error: 1_000 + .saturating_add((153_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } diff --git a/polkadot-parachains/statemine/src/weights/pallet_proxy.rs b/polkadot-parachains/statemine/src/weights/pallet_proxy.rs index 40b03c31454..ccf5428a0ab 100644 --- a/polkadot-parachains/statemine/src/weights/pallet_proxy.rs +++ b/polkadot-parachains/statemine/src/weights/pallet_proxy.rs @@ -1,12 +1,27 @@ +// Copyright 2021 Parity Technologies (UK) Ltd. +// This file is part of Cumulus. -//! Autogenerated weights for pallet_proxy +// Cumulus is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// Cumulus is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with Cumulus. If not, see . + +//! Autogenerated weights for `pallet_proxy` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0 -//! DATE: 2021-05-31, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev +//! DATE: 2021-10-04, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("statemine-dev"), DB CACHE: 128 // Executed Command: -// ./target/release/statemint +// ./target/release/polkadot-collator // benchmark // --chain=statemine-dev // --execution=wasm @@ -16,9 +31,11 @@ // --steps=50 // --repeat=20 // --raw -// --output=./runtime/statemine/src/weights/ +// --header=./file_header.txt +// --output=./polkadot-parachains/statemine/src/weights +#![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] @@ -28,80 +45,97 @@ use sp_std::marker::PhantomData; /// Weight functions for pallet_proxy. pub struct WeightInfo(PhantomData); impl pallet_proxy::WeightInfo for WeightInfo { + // Storage: Proxy Proxies (r:1 w:0) fn proxy(p: u32, ) -> Weight { - (27_318_000 as Weight) - // Standard Error: 1_000 - .saturating_add((208_000 as Weight).saturating_mul(p as Weight)) + (24_204_000 as Weight) + // Standard Error: 2_000 + .saturating_add((130_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) } + // Storage: Proxy Proxies (r:1 w:0) + // Storage: Proxy Announcements (r:1 w:1) + // Storage: System Account (r:1 w:1) fn proxy_announced(a: u32, p: u32, ) -> Weight { - (60_665_000 as Weight) + (56_574_000 as Weight) // Standard Error: 2_000 - .saturating_add((677_000 as Weight).saturating_mul(a as Weight)) + .saturating_add((504_000 as Weight).saturating_mul(a as Weight)) // Standard Error: 2_000 - .saturating_add((197_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((140_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } + // Storage: Proxy Announcements (r:1 w:1) + // Storage: System Account (r:1 w:1) fn remove_announcement(a: u32, p: u32, ) -> Weight { - (39_455_000 as Weight) - // Standard Error: 2_000 - .saturating_add((687_000 as Weight).saturating_mul(a as Weight)) - // Standard Error: 2_000 - .saturating_add((3_000 as Weight).saturating_mul(p as Weight)) + (37_249_000 as Weight) + // Standard Error: 1_000 + .saturating_add((516_000 as Weight).saturating_mul(a as Weight)) + // Standard Error: 1_000 + .saturating_add((16_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } + // Storage: Proxy Announcements (r:1 w:1) + // Storage: System Account (r:1 w:1) fn reject_announcement(a: u32, p: u32, ) -> Weight { - (39_411_000 as Weight) - // Standard Error: 2_000 - .saturating_add((686_000 as Weight).saturating_mul(a as Weight)) - // Standard Error: 2_000 - .saturating_add((3_000 as Weight).saturating_mul(p as Weight)) + (37_481_000 as Weight) + // Standard Error: 1_000 + .saturating_add((512_000 as Weight).saturating_mul(a as Weight)) + // Standard Error: 1_000 + .saturating_add((13_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } + // Storage: Proxy Proxies (r:1 w:0) + // Storage: Proxy Announcements (r:1 w:1) + // Storage: System Account (r:1 w:1) fn announce(a: u32, p: u32, ) -> Weight { - (54_386_000 as Weight) + (53_496_000 as Weight) // Standard Error: 2_000 - .saturating_add((677_000 as Weight).saturating_mul(a as Weight)) + .saturating_add((511_000 as Weight).saturating_mul(a as Weight)) // Standard Error: 2_000 - .saturating_add((194_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((137_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } + // Storage: Proxy Proxies (r:1 w:1) fn add_proxy(p: u32, ) -> Weight { - (37_411_000 as Weight) - // Standard Error: 2_000 - .saturating_add((298_000 as Weight).saturating_mul(p as Weight)) + (36_329_000 as Weight) + // Standard Error: 3_000 + .saturating_add((187_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } + // Storage: Proxy Proxies (r:1 w:1) fn remove_proxy(p: u32, ) -> Weight { - (36_658_000 as Weight) - // Standard Error: 2_000 - .saturating_add((332_000 as Weight).saturating_mul(p as Weight)) + (36_324_000 as Weight) + // Standard Error: 3_000 + .saturating_add((202_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } + // Storage: Proxy Proxies (r:1 w:1) fn remove_proxies(p: u32, ) -> Weight { - (34_893_000 as Weight) - // Standard Error: 1_000 - .saturating_add((209_000 as Weight).saturating_mul(p as Weight)) + (35_464_000 as Weight) + // Standard Error: 2_000 + .saturating_add((121_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } + // Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0) + // Storage: Proxy Proxies (r:1 w:1) fn anonymous(p: u32, ) -> Weight { - (51_243_000 as Weight) - // Standard Error: 1_000 - .saturating_add((44_000 as Weight).saturating_mul(p as Weight)) + (51_295_000 as Weight) + // Standard Error: 3_000 + .saturating_add((16_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } + // Storage: Proxy Proxies (r:1 w:1) fn kill_anonymous(p: u32, ) -> Weight { - (37_188_000 as Weight) - // Standard Error: 1_000 - .saturating_add((208_000 as Weight).saturating_mul(p as Weight)) + (37_432_000 as Weight) + // Standard Error: 2_000 + .saturating_add((119_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } diff --git a/polkadot-parachains/statemine/src/weights/pallet_session.rs b/polkadot-parachains/statemine/src/weights/pallet_session.rs index 9cb59607b38..a95779663e6 100644 --- a/polkadot-parachains/statemine/src/weights/pallet_session.rs +++ b/polkadot-parachains/statemine/src/weights/pallet_session.rs @@ -1,8 +1,23 @@ +// Copyright 2021 Parity Technologies (UK) Ltd. +// This file is part of Cumulus. -//! Autogenerated weights for pallet_session +// Cumulus is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// Cumulus is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with Cumulus. If not, see . + +//! Autogenerated weights for `pallet_session` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0 -//! DATE: 2021-06-08, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev +//! DATE: 2021-10-04, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("statemine-dev"), DB CACHE: 128 // Executed Command: @@ -16,9 +31,11 @@ // --steps=50 // --repeat=20 // --raw -// --output=./polkadot-parachains/statemine-runtime/src/weights +// --header=./file_header.txt +// --output=./polkadot-parachains/statemine/src/weights +#![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] @@ -28,13 +45,17 @@ use sp_std::marker::PhantomData; /// Weight functions for pallet_session. pub struct WeightInfo(PhantomData); impl pallet_session::WeightInfo for WeightInfo { + // Storage: Session NextKeys (r:1 w:1) + // Storage: Session KeyOwner (r:1 w:1) fn set_keys() -> Weight { - (25_201_000 as Weight) + (25_413_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } + // Storage: Session NextKeys (r:1 w:1) + // Storage: Session KeyOwner (r:0 w:1) fn purge_keys() -> Weight { - (17_510_000 as Weight) + (17_830_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } diff --git a/polkadot-parachains/statemine/src/weights/pallet_timestamp.rs b/polkadot-parachains/statemine/src/weights/pallet_timestamp.rs index 1fc4b5aadea..3a5bbfd3ff6 100644 --- a/polkadot-parachains/statemine/src/weights/pallet_timestamp.rs +++ b/polkadot-parachains/statemine/src/weights/pallet_timestamp.rs @@ -1,12 +1,27 @@ +// Copyright 2021 Parity Technologies (UK) Ltd. +// This file is part of Cumulus. -//! Autogenerated weights for pallet_timestamp +// Cumulus is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// Cumulus is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with Cumulus. If not, see . + +//! Autogenerated weights for `pallet_timestamp` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0 -//! DATE: 2021-05-31, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev +//! DATE: 2021-10-04, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("statemine-dev"), DB CACHE: 128 // Executed Command: -// ./target/release/statemint +// ./target/release/polkadot-collator // benchmark // --chain=statemine-dev // --execution=wasm @@ -16,9 +31,11 @@ // --steps=50 // --repeat=20 // --raw -// --output=./runtime/statemine/src/weights/ +// --header=./file_header.txt +// --output=./polkadot-parachains/statemine/src/weights +#![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] @@ -28,12 +45,13 @@ use sp_std::marker::PhantomData; /// Weight functions for pallet_timestamp. pub struct WeightInfo(PhantomData); impl pallet_timestamp::WeightInfo for WeightInfo { + // Storage: Timestamp Now (r:1 w:1) fn set() -> Weight { - (7_543_000 as Weight) - .saturating_add(T::DbWeight::get().reads(2 as Weight)) + (7_714_000 as Weight) + .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn on_finalize() -> Weight { - (4_272_000 as Weight) + (4_367_000 as Weight) } } diff --git a/polkadot-parachains/statemine/src/weights/pallet_uniques.rs b/polkadot-parachains/statemine/src/weights/pallet_uniques.rs index 4cab4dffbf7..0e21ce6057c 100644 --- a/polkadot-parachains/statemine/src/weights/pallet_uniques.rs +++ b/polkadot-parachains/statemine/src/weights/pallet_uniques.rs @@ -14,27 +14,28 @@ // You should have received a copy of the GNU General Public License // along with Cumulus. If not, see . -//! Autogenerated weights for pallet_uniques +//! Autogenerated weights for `pallet_uniques` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0 -//! DATE: 2021-06-02, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev +//! DATE: 2021-10-04, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("statemine-dev"), DB CACHE: 128 // Executed Command: // ./target/release/polkadot-collator // benchmark // --chain=statemine-dev -// --steps=50 -// --repeat=20 -// --pallet=pallet_uniques -// --extrinsic=* // --execution=wasm // --wasm-execution=compiled -// --heap-pages=4096 +// --pallet=pallet_uniques +// --extrinsic=* +// --steps=50 +// --repeat=20 +// --raw // --header=./file_header.txt -// --output=./polkadot-parachains/statemine-runtime/src/weights/ +// --output=./polkadot-parachains/statemine/src/weights +#![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] @@ -44,24 +45,32 @@ use sp_std::marker::PhantomData; /// Weight functions for pallet_uniques. pub struct WeightInfo(PhantomData); impl pallet_uniques::WeightInfo for WeightInfo { + // Storage: Uniques Class (r:1 w:1) fn create() -> Weight { - (42_199_000 as Weight) + (42_523_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } + // Storage: Uniques Class (r:1 w:1) fn force_create() -> Weight { - (21_030_000 as Weight) + (21_924_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } + // Storage: Uniques Class (r:1 w:1) + // Storage: Uniques Asset (r:1 w:0) + // Storage: Uniques Attribute (r:0 w:1000) + // Storage: Uniques ClassMetadataOf (r:0 w:1) + // Storage: Uniques InstanceMetadataOf (r:0 w:1000) + // Storage: Uniques Account (r:0 w:20) fn destroy(n: u32, m: u32, a: u32, ) -> Weight { (0 as Weight) - // Standard Error: 14_000 - .saturating_add((16_814_000 as Weight).saturating_mul(n as Weight)) - // Standard Error: 14_000 - .saturating_add((1_026_000 as Weight).saturating_mul(m as Weight)) - // Standard Error: 14_000 - .saturating_add((952_000 as Weight).saturating_mul(a as Weight)) + // Standard Error: 13_000 + .saturating_add((15_940_000 as Weight).saturating_mul(n as Weight)) + // Standard Error: 13_000 + .saturating_add((1_095_000 as Weight).saturating_mul(m as Weight)) + // Standard Error: 13_000 + .saturating_add((930_000 as Weight).saturating_mul(a as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(n as Weight))) .saturating_add(T::DbWeight::get().writes(2 as Weight)) @@ -69,102 +78,141 @@ impl pallet_uniques::WeightInfo for WeightInfo { .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(m as Weight))) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(a as Weight))) } + // Storage: Uniques Asset (r:1 w:1) + // Storage: Uniques Class (r:1 w:1) + // Storage: Uniques Account (r:0 w:1) fn mint() -> Weight { - (57_236_000 as Weight) + (57_219_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } + // Storage: Uniques Class (r:1 w:1) + // Storage: Uniques Asset (r:1 w:1) + // Storage: Uniques Account (r:0 w:1) fn burn() -> Weight { - (58_129_000 as Weight) + (59_146_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } + // Storage: Uniques Class (r:1 w:0) + // Storage: Uniques Asset (r:1 w:1) + // Storage: Uniques Account (r:0 w:2) fn transfer() -> Weight { - (42_980_000 as Weight) + (43_148_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } + // Storage: Uniques Class (r:1 w:1) + // Storage: Uniques Asset (r:100 w:100) fn redeposit(i: u32, ) -> Weight { (0 as Weight) - // Standard Error: 11_000 - .saturating_add((26_921_000 as Weight).saturating_mul(i as Weight)) + // Standard Error: 12_000 + .saturating_add((26_644_000 as Weight).saturating_mul(i as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(i as Weight))) .saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(i as Weight))) } + // Storage: Uniques Asset (r:1 w:1) + // Storage: Uniques Class (r:1 w:0) fn freeze() -> Weight { - (30_427_000 as Weight) + (29_400_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } + // Storage: Uniques Asset (r:1 w:1) + // Storage: Uniques Class (r:1 w:0) fn thaw() -> Weight { - (29_789_000 as Weight) + (30_058_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } + // Storage: Uniques Class (r:1 w:1) fn freeze_class() -> Weight { - (21_380_000 as Weight) + (22_342_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } + // Storage: Uniques Class (r:1 w:1) fn thaw_class() -> Weight { - (21_430_000 as Weight) + (22_342_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } + // Storage: Uniques Class (r:1 w:1) + // Storage: System Account (r:1 w:1) fn transfer_ownership() -> Weight { - (49_331_000 as Weight) + (50_297_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } + // Storage: Uniques Class (r:1 w:1) fn set_team() -> Weight { - (22_305_000 as Weight) + (23_621_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } + // Storage: Uniques Class (r:1 w:1) fn force_asset_status() -> Weight { - (21_965_000 as Weight) + (22_424_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } + // Storage: Uniques Class (r:1 w:1) + // Storage: Uniques InstanceMetadataOf (r:1 w:0) + // Storage: Uniques Attribute (r:1 w:1) fn set_attribute() -> Weight { - (70_386_000 as Weight) + (71_056_000 as Weight) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } + // Storage: Uniques Class (r:1 w:1) + // Storage: Uniques InstanceMetadataOf (r:1 w:0) + // Storage: Uniques Attribute (r:1 w:1) fn clear_attribute() -> Weight { - (63_932_000 as Weight) + (64_560_000 as Weight) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } + // Storage: Uniques Class (r:1 w:1) + // Storage: Uniques InstanceMetadataOf (r:1 w:1) fn set_metadata() -> Weight { - (53_647_000 as Weight) + (53_392_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } + // Storage: Uniques Class (r:1 w:1) + // Storage: Uniques InstanceMetadataOf (r:1 w:1) fn clear_metadata() -> Weight { - (52_353_000 as Weight) + (53_448_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } + // Storage: Uniques Class (r:1 w:1) + // Storage: Uniques ClassMetadataOf (r:1 w:1) fn set_class_metadata() -> Weight { - (51_900_000 as Weight) + (53_118_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } + // Storage: Uniques Class (r:1 w:0) + // Storage: Uniques ClassMetadataOf (r:1 w:1) fn clear_class_metadata() -> Weight { - (46_929_000 as Weight) + (48_207_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } + // Storage: Uniques Class (r:1 w:0) + // Storage: Uniques Asset (r:1 w:1) fn approve_transfer() -> Weight { - (32_693_000 as Weight) + (32_823_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } + // Storage: Uniques Class (r:1 w:0) + // Storage: Uniques Asset (r:1 w:1) fn cancel_approval() -> Weight { - (32_418_000 as Weight) + (32_891_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } diff --git a/polkadot-parachains/statemine/src/weights/pallet_utility.rs b/polkadot-parachains/statemine/src/weights/pallet_utility.rs index 622bd8b6954..857298fb546 100644 --- a/polkadot-parachains/statemine/src/weights/pallet_utility.rs +++ b/polkadot-parachains/statemine/src/weights/pallet_utility.rs @@ -1,12 +1,27 @@ +// Copyright 2021 Parity Technologies (UK) Ltd. +// This file is part of Cumulus. -//! Autogenerated weights for pallet_utility +// Cumulus is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// Cumulus is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with Cumulus. If not, see . + +//! Autogenerated weights for `pallet_utility` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0 -//! DATE: 2021-05-31, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev +//! DATE: 2021-10-04, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("statemine-dev"), DB CACHE: 128 // Executed Command: -// ./target/release/statemint +// ./target/release/polkadot-collator // benchmark // --chain=statemine-dev // --execution=wasm @@ -16,9 +31,11 @@ // --steps=50 // --repeat=20 // --raw -// --output=./runtime/statemine/src/weights/ +// --header=./file_header.txt +// --output=./polkadot-parachains/statemine/src/weights +#![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] @@ -29,16 +46,16 @@ use sp_std::marker::PhantomData; pub struct WeightInfo(PhantomData); impl pallet_utility::WeightInfo for WeightInfo { fn batch(c: u32, ) -> Weight { - (16_177_000 as Weight) - // Standard Error: 0 - .saturating_add((4_582_000 as Weight).saturating_mul(c as Weight)) + (31_019_000 as Weight) + // Standard Error: 3_000 + .saturating_add((7_923_000 as Weight).saturating_mul(c as Weight)) } fn as_derivative() -> Weight { - (7_848_000 as Weight) + (4_979_000 as Weight) } fn batch_all(c: u32, ) -> Weight { - (17_745_000 as Weight) - // Standard Error: 0 - .saturating_add((4_578_000 as Weight).saturating_mul(c as Weight)) + (36_922_000 as Weight) + // Standard Error: 3_000 + .saturating_add((8_534_000 as Weight).saturating_mul(c as Weight)) } } diff --git a/polkadot-parachains/statemint/src/lib.rs b/polkadot-parachains/statemint/src/lib.rs index 0a0b442f3ba..0391cfbe4a8 100644 --- a/polkadot-parachains/statemint/src/lib.rs +++ b/polkadot-parachains/statemint/src/lib.rs @@ -841,6 +841,33 @@ impl_runtime_apis! { #[cfg(feature = "runtime-benchmarks")] impl frame_benchmarking::Benchmark for Runtime { + fn benchmark_metadata(extra: bool) -> ( + Vec, + Vec, + ) { + use frame_benchmarking::{list_benchmark, Benchmarking, BenchmarkList}; + use frame_support::traits::StorageInfoTrait; + use frame_system_benchmarking::Pallet as SystemBench; + use cumulus_pallet_session_benchmarking::Pallet as SessionBench; + + let mut list = Vec::::new(); + + list_benchmark!(list, extra, frame_system, SystemBench::); + list_benchmark!(list, extra, pallet_assets, Assets); + list_benchmark!(list, extra, pallet_balances, Balances); + list_benchmark!(list, extra, pallet_multisig, Multisig); + list_benchmark!(list, extra, pallet_proxy, Proxy); + list_benchmark!(list, extra, pallet_session, SessionBench::); + list_benchmark!(list, extra, pallet_uniques, Uniques); + list_benchmark!(list, extra, pallet_utility, Utility); + list_benchmark!(list, extra, pallet_timestamp, Timestamp); + list_benchmark!(list, extra, pallet_collator_selection, CollatorSelection); + + let storage_info = AllPalletsWithSystem::storage_info(); + + return (list, storage_info) + } + fn dispatch_benchmark( config: frame_benchmarking::BenchmarkConfig ) -> Result, sp_runtime::RuntimeString> { @@ -874,6 +901,7 @@ impl_runtime_apis! { add_benchmark!(params, batches, pallet_multisig, Multisig); add_benchmark!(params, batches, pallet_proxy, Proxy); add_benchmark!(params, batches, pallet_session, SessionBench::); + add_benchmark!(params, batches, pallet_uniques, Uniques); add_benchmark!(params, batches, pallet_utility, Utility); add_benchmark!(params, batches, pallet_timestamp, Timestamp); add_benchmark!(params, batches, pallet_collator_selection, CollatorSelection); diff --git a/polkadot-parachains/statemint/src/weights/pallet_assets.rs b/polkadot-parachains/statemint/src/weights/pallet_assets.rs index 8d29d5fe0db..2c0f5aeafed 100644 --- a/polkadot-parachains/statemint/src/weights/pallet_assets.rs +++ b/polkadot-parachains/statemint/src/weights/pallet_assets.rs @@ -1,12 +1,27 @@ +// Copyright 2021 Parity Technologies (UK) Ltd. +// This file is part of Cumulus. -//! Autogenerated weights for pallet_assets +// Cumulus is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// Cumulus is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with Cumulus. If not, see . + +//! Autogenerated weights for `pallet_assets` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0 -//! DATE: 2021-05-31, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev +//! DATE: 2021-10-04, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("statemint-dev"), DB CACHE: 128 // Executed Command: -// ./target/release/statemint +// ./target/release/polkadot-collator // benchmark // --chain=statemint-dev // --execution=wasm @@ -16,9 +31,11 @@ // --steps=50 // --repeat=20 // --raw -// --output=./runtime/statemint/src/weights/ +// --header=./file_header.txt +// --output=./polkadot-parachains/statemint/src/weights +#![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] @@ -28,134 +45,183 @@ use sp_std::marker::PhantomData; /// Weight functions for pallet_assets. pub struct WeightInfo(PhantomData); impl pallet_assets::WeightInfo for WeightInfo { + // Storage: Assets Asset (r:1 w:1) fn create() -> Weight { - (44_125_000 as Weight) + (44_506_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } + // Storage: Assets Asset (r:1 w:1) fn force_create() -> Weight { - (22_842_000 as Weight) + (22_653_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } + // Storage: Assets Asset (r:1 w:1) + // Storage: Assets Account (r:5002 w:5001) + // Storage: System Account (r:5000 w:5000) + // Storage: Assets Metadata (r:1 w:0) + // Storage: Assets Approvals (r:501 w:500) fn destroy(c: u32, s: u32, a: u32, ) -> Weight { (0 as Weight) - // Standard Error: 37_000 - .saturating_add((21_822_000 as Weight).saturating_mul(c as Weight)) - // Standard Error: 37_000 - .saturating_add((29_044_000 as Weight).saturating_mul(s as Weight)) - // Standard Error: 370_000 - .saturating_add((3_000_000 as Weight).saturating_mul(a as Weight)) - .saturating_add(T::DbWeight::get().reads(4 as Weight)) + // Standard Error: 35_000 + .saturating_add((20_430_000 as Weight).saturating_mul(c as Weight)) + // Standard Error: 35_000 + .saturating_add((27_670_000 as Weight).saturating_mul(s as Weight)) + // Standard Error: 359_000 + .saturating_add((33_005_000 as Weight).saturating_mul(a as Weight)) + .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().reads((2 as Weight).saturating_mul(c as Weight))) .saturating_add(T::DbWeight::get().reads((2 as Weight).saturating_mul(s as Weight))) + .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(a as Weight))) .saturating_add(T::DbWeight::get().writes(2 as Weight)) .saturating_add(T::DbWeight::get().writes((2 as Weight).saturating_mul(c as Weight))) .saturating_add(T::DbWeight::get().writes((2 as Weight).saturating_mul(s as Weight))) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(a as Weight))) } + // Storage: Assets Asset (r:1 w:1) + // Storage: Assets Account (r:1 w:1) fn mint() -> Weight { - (49_933_000 as Weight) + (47_861_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } + // Storage: Assets Asset (r:1 w:1) + // Storage: Assets Account (r:1 w:1) fn burn() -> Weight { - (56_434_000 as Weight) + (55_760_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } + // Storage: Assets Asset (r:1 w:1) + // Storage: Assets Account (r:2 w:2) + // Storage: System Account (r:1 w:1) fn transfer() -> Weight { - (85_393_000 as Weight) + (85_385_000 as Weight) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight)) } + // Storage: Assets Asset (r:1 w:1) + // Storage: Assets Account (r:2 w:2) + // Storage: System Account (r:1 w:1) fn transfer_keep_alive() -> Weight { - (72_039_000 as Weight) + (71_250_000 as Weight) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight)) } + // Storage: Assets Asset (r:1 w:1) + // Storage: Assets Account (r:2 w:2) + // Storage: System Account (r:1 w:1) fn force_transfer() -> Weight { - (85_214_000 as Weight) + (85_424_000 as Weight) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight)) } + // Storage: Assets Asset (r:1 w:0) + // Storage: Assets Account (r:1 w:1) fn freeze() -> Weight { - (31_915_000 as Weight) + (31_464_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } + // Storage: Assets Asset (r:1 w:0) + // Storage: Assets Account (r:1 w:1) fn thaw() -> Weight { - (31_296_000 as Weight) + (31_264_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } + // Storage: Assets Asset (r:1 w:1) fn freeze_asset() -> Weight { - (22_272_000 as Weight) + (22_617_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } + // Storage: Assets Asset (r:1 w:1) fn thaw_asset() -> Weight { - (22_336_000 as Weight) + (22_515_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } + // Storage: Assets Asset (r:1 w:1) + // Storage: Assets Metadata (r:1 w:0) fn transfer_ownership() -> Weight { - (25_526_000 as Weight) + (25_360_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } + // Storage: Assets Asset (r:1 w:1) fn set_team() -> Weight { - (22_632_000 as Weight) + (22_770_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } + // Storage: Assets Asset (r:1 w:0) + // Storage: Assets Metadata (r:1 w:1) fn set_metadata(_n: u32, s: u32, ) -> Weight { - (50_330_000 as Weight) + (49_944_000 as Weight) // Standard Error: 0 - .saturating_add((9_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((6_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } + // Storage: Assets Asset (r:1 w:0) + // Storage: Assets Metadata (r:1 w:1) fn clear_metadata() -> Weight { - (48_266_000 as Weight) + (48_163_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } + // Storage: Assets Asset (r:1 w:0) + // Storage: Assets Metadata (r:1 w:1) fn force_set_metadata(_n: u32, s: u32, ) -> Weight { - (26_249_000 as Weight) + (25_507_000 as Weight) // Standard Error: 0 - .saturating_add((6_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((3_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } + // Storage: Assets Asset (r:1 w:0) + // Storage: Assets Metadata (r:1 w:1) fn force_clear_metadata() -> Weight { - (49_616_000 as Weight) + (48_204_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } + // Storage: Assets Asset (r:1 w:1) fn force_asset_status() -> Weight { - (22_596_000 as Weight) + (21_363_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } + // Storage: Assets Asset (r:1 w:1) + // Storage: Assets Approvals (r:1 w:1) fn approve_transfer() -> Weight { - (48_708_000 as Weight) - .saturating_add(T::DbWeight::get().reads(1 as Weight)) - .saturating_add(T::DbWeight::get().writes(1 as Weight)) + (57_271_000 as Weight) + .saturating_add(T::DbWeight::get().reads(2 as Weight)) + .saturating_add(T::DbWeight::get().writes(2 as Weight)) } + // Storage: Assets Approvals (r:1 w:1) + // Storage: Assets Asset (r:1 w:1) + // Storage: Assets Account (r:2 w:2) + // Storage: System Account (r:1 w:1) fn transfer_approved() -> Weight { - (108_476_000 as Weight) + (112_318_000 as Weight) .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().writes(5 as Weight)) } + // Storage: Assets Asset (r:1 w:1) + // Storage: Assets Approvals (r:1 w:1) fn cancel_approval() -> Weight { - (49_157_000 as Weight) - .saturating_add(T::DbWeight::get().reads(1 as Weight)) - .saturating_add(T::DbWeight::get().writes(1 as Weight)) + (58_224_000 as Weight) + .saturating_add(T::DbWeight::get().reads(2 as Weight)) + .saturating_add(T::DbWeight::get().writes(2 as Weight)) } + // Storage: Assets Asset (r:1 w:1) + // Storage: Assets Approvals (r:1 w:1) fn force_cancel_approval() -> Weight { - (56_862_000 as Weight) + (60_125_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) - .saturating_add(T::DbWeight::get().writes(1 as Weight)) + .saturating_add(T::DbWeight::get().writes(2 as Weight)) } } diff --git a/polkadot-parachains/statemint/src/weights/pallet_balances.rs b/polkadot-parachains/statemint/src/weights/pallet_balances.rs index fb465b17310..d2143b36ec2 100644 --- a/polkadot-parachains/statemint/src/weights/pallet_balances.rs +++ b/polkadot-parachains/statemint/src/weights/pallet_balances.rs @@ -1,12 +1,27 @@ +// Copyright 2021 Parity Technologies (UK) Ltd. +// This file is part of Cumulus. -//! Autogenerated weights for pallet_balances +// Cumulus is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// Cumulus is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with Cumulus. If not, see . + +//! Autogenerated weights for `pallet_balances` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0 -//! DATE: 2021-05-31, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev +//! DATE: 2021-10-04, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("statemint-dev"), DB CACHE: 128 // Executed Command: -// ./target/release/statemint +// ./target/release/polkadot-collator // benchmark // --chain=statemint-dev // --execution=wasm @@ -16,9 +31,11 @@ // --steps=50 // --repeat=20 // --raw -// --output=./runtime/statemint/src/weights/ +// --header=./file_header.txt +// --output=./polkadot-parachains/statemint/src/weights +#![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] @@ -28,33 +45,39 @@ use sp_std::marker::PhantomData; /// Weight functions for pallet_balances. pub struct WeightInfo(PhantomData); impl pallet_balances::WeightInfo for WeightInfo { + // Storage: System Account (r:1 w:1) fn transfer() -> Weight { - (79_601_000 as Weight) + (78_247_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } + // Storage: System Account (r:1 w:1) fn transfer_keep_alive() -> Weight { - (58_429_000 as Weight) + (56_131_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } + // Storage: System Account (r:1 w:1) fn set_balance_creating() -> Weight { - (29_124_000 as Weight) + (29_240_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } + // Storage: System Account (r:1 w:1) fn set_balance_killing() -> Weight { - (36_476_000 as Weight) + (35_802_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } + // Storage: System Account (r:2 w:2) fn force_transfer() -> Weight { - (78_772_000 as Weight) + (77_694_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } + // Storage: System Account (r:1 w:1) fn transfer_all() -> Weight { - (84_170_000 as Weight) + (71_502_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } diff --git a/polkadot-parachains/statemint/src/weights/pallet_collator_selection.rs b/polkadot-parachains/statemint/src/weights/pallet_collator_selection.rs index cc687af762f..a747fcc864a 100644 --- a/polkadot-parachains/statemint/src/weights/pallet_collator_selection.rs +++ b/polkadot-parachains/statemint/src/weights/pallet_collator_selection.rs @@ -1,12 +1,27 @@ +// Copyright 2021 Parity Technologies (UK) Ltd. +// This file is part of Cumulus. -//! Autogenerated weights for pallet_collator_selection +// Cumulus is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// Cumulus is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with Cumulus. If not, see . + +//! Autogenerated weights for `pallet_collator_selection` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0 -//! DATE: 2021-05-31, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev +//! DATE: 2021-10-04, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("statemint-dev"), DB CACHE: 128 // Executed Command: -// ./target/release/statemint +// ./target/release/polkadot-collator // benchmark // --chain=statemint-dev // --execution=wasm @@ -16,9 +31,11 @@ // --steps=50 // --repeat=20 // --raw -// --output=./runtime/statemint/src/weights/ +// --header=./file_header.txt +// --output=./polkadot-parachains/statemint/src/weights +#![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] @@ -28,48 +45,66 @@ use sp_std::marker::PhantomData; /// Weight functions for pallet_collator_selection. pub struct WeightInfo(PhantomData); impl pallet_collator_selection::WeightInfo for WeightInfo { + // Storage: CollatorSelection Invulnerables (r:0 w:1) fn set_invulnerables(b: u32, ) -> Weight { - (18_563_000 as Weight) + (18_435_000 as Weight) // Standard Error: 0 - .saturating_add((68_000 as Weight).saturating_mul(b as Weight)) + .saturating_add((49_000 as Weight).saturating_mul(b as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } + // Storage: CollatorSelection DesiredCandidates (r:0 w:1) fn set_desired_candidates() -> Weight { - (16_363_000 as Weight) + (16_578_000 as Weight) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } + // Storage: CollatorSelection CandidacyBond (r:0 w:1) fn set_candidacy_bond() -> Weight { - (16_840_000 as Weight) + (17_244_000 as Weight) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } + // Storage: CollatorSelection Candidates (r:1 w:1) + // Storage: CollatorSelection DesiredCandidates (r:1 w:0) + // Storage: CollatorSelection Invulnerables (r:1 w:0) + // Storage: Session NextKeys (r:1 w:0) + // Storage: CollatorSelection CandidacyBond (r:1 w:0) + // Storage: CollatorSelection LastAuthoredBlock (r:0 w:1) fn register_as_candidate(c: u32, ) -> Weight { - (71_196_000 as Weight) - // Standard Error: 0 - .saturating_add((198_000 as Weight).saturating_mul(c as Weight)) - .saturating_add(T::DbWeight::get().reads(4 as Weight)) + (77_291_000 as Weight) + // Standard Error: 1_000 + .saturating_add((150_000 as Weight).saturating_mul(c as Weight)) + .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } + // Storage: CollatorSelection Candidates (r:1 w:1) + // Storage: CollatorSelection LastAuthoredBlock (r:0 w:1) fn leave_intent(c: u32, ) -> Weight { - (55_336_000 as Weight) - // Standard Error: 0 - .saturating_add((151_000 as Weight).saturating_mul(c as Weight)) + (74_681_000 as Weight) + // Standard Error: 1_000 + .saturating_add((202_000 as Weight).saturating_mul(c as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } + // Storage: System Account (r:2 w:2) + // Storage: System BlockWeight (r:1 w:1) + // Storage: CollatorSelection LastAuthoredBlock (r:0 w:1) fn note_author() -> Weight { - (71_461_000 as Weight) + (71_013_000 as Weight) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight)) } + // Storage: CollatorSelection Candidates (r:1 w:1) + // Storage: CollatorSelection LastAuthoredBlock (r:1000 w:1) + // Storage: System Account (r:1 w:1) + // Storage: CollatorSelection Invulnerables (r:1 w:0) + // Storage: System BlockWeight (r:1 w:1) fn new_session(r: u32, c: u32, ) -> Weight { (0 as Weight) - // Standard Error: 1_010_000 - .saturating_add((109_961_000 as Weight).saturating_mul(r as Weight)) - // Standard Error: 1_010_000 - .saturating_add((151_952_000 as Weight).saturating_mul(c as Weight)) - .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(r as Weight))) + // Standard Error: 4_508_000 + .saturating_add((25_325_000 as Weight).saturating_mul(r as Weight)) + // Standard Error: 4_508_000 + .saturating_add((118_393_000 as Weight).saturating_mul(c as Weight)) .saturating_add(T::DbWeight::get().reads((2 as Weight).saturating_mul(c as Weight))) - .saturating_add(T::DbWeight::get().writes((2 as Weight).saturating_mul(r as Weight))) - .saturating_add(T::DbWeight::get().writes((2 as Weight).saturating_mul(c as Weight))) + .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(r as Weight))) + .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(c as Weight))) } } diff --git a/polkadot-parachains/statemint/src/weights/pallet_multisig.rs b/polkadot-parachains/statemint/src/weights/pallet_multisig.rs index e1b7bd5b902..ca6b194e799 100644 --- a/polkadot-parachains/statemint/src/weights/pallet_multisig.rs +++ b/polkadot-parachains/statemint/src/weights/pallet_multisig.rs @@ -1,12 +1,27 @@ +// Copyright 2021 Parity Technologies (UK) Ltd. +// This file is part of Cumulus. -//! Autogenerated weights for pallet_multisig +// Cumulus is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// Cumulus is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with Cumulus. If not, see . + +//! Autogenerated weights for `pallet_multisig` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0 -//! DATE: 2021-05-31, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev +//! DATE: 2021-10-04, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("statemint-dev"), DB CACHE: 128 // Executed Command: -// ./target/release/statemint +// ./target/release/polkadot-collator // benchmark // --chain=statemint-dev // --execution=wasm @@ -16,9 +31,11 @@ // --steps=50 // --repeat=20 // --raw -// --output=./runtime/statemint/src/weights/ +// --header=./file_header.txt +// --output=./polkadot-parachains/statemint/src/weights +#![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] @@ -29,80 +46,100 @@ use sp_std::marker::PhantomData; pub struct WeightInfo(PhantomData); impl pallet_multisig::WeightInfo for WeightInfo { fn as_multi_threshold_1(z: u32, ) -> Weight { - (14_936_000 as Weight) + (20_283_000 as Weight) // Standard Error: 0 .saturating_add((1_000 as Weight).saturating_mul(z as Weight)) } + // Storage: Multisig Multisigs (r:1 w:1) + // Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0) fn as_multi_create(s: u32, z: u32, ) -> Weight { - (56_090_000 as Weight) - // Standard Error: 1_000 - .saturating_add((63_000 as Weight).saturating_mul(s as Weight)) + (53_254_000 as Weight) // Standard Error: 0 - .saturating_add((1_000 as Weight).saturating_mul(z as Weight)) + .saturating_add((162_000 as Weight).saturating_mul(s as Weight)) + // Standard Error: 0 + .saturating_add((2_000 as Weight).saturating_mul(z as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } + // Storage: Multisig Multisigs (r:1 w:1) + // Storage: Multisig Calls (r:1 w:1) + // Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0) fn as_multi_create_store(s: u32, z: u32, ) -> Weight { - (62_519_000 as Weight) + (60_033_000 as Weight) // Standard Error: 1_000 - .saturating_add((66_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((161_000 as Weight).saturating_mul(s as Weight)) // Standard Error: 0 - .saturating_add((3_000 as Weight).saturating_mul(z as Weight)) + .saturating_add((2_000 as Weight).saturating_mul(z as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } + // Storage: Multisig Multisigs (r:1 w:1) fn as_multi_approve(s: u32, z: u32, ) -> Weight { - (30_781_000 as Weight) + (32_086_000 as Weight) // Standard Error: 0 - .saturating_add((111_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((156_000 as Weight).saturating_mul(s as Weight)) // Standard Error: 0 - .saturating_add((1_000 as Weight).saturating_mul(z as Weight)) + .saturating_add((2_000 as Weight).saturating_mul(z as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } + // Storage: Multisig Multisigs (r:1 w:1) + // Storage: Multisig Calls (r:1 w:1) fn as_multi_approve_store(s: u32, z: u32, ) -> Weight { - (60_393_000 as Weight) - // Standard Error: 0 - .saturating_add((118_000 as Weight).saturating_mul(s as Weight)) + (58_750_000 as Weight) + // Standard Error: 1_000 + .saturating_add((162_000 as Weight).saturating_mul(s as Weight)) // Standard Error: 0 - .saturating_add((3_000 as Weight).saturating_mul(z as Weight)) + .saturating_add((2_000 as Weight).saturating_mul(z as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } + // Storage: Multisig Multisigs (r:1 w:1) + // Storage: Multisig Calls (r:1 w:1) + // Storage: System Account (r:1 w:1) fn as_multi_complete(s: u32, z: u32, ) -> Weight { - (81_704_000 as Weight) + (75_159_000 as Weight) // Standard Error: 1_000 - .saturating_add((248_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((247_000 as Weight).saturating_mul(s as Weight)) // Standard Error: 0 - .saturating_add((5_000 as Weight).saturating_mul(z as Weight)) + .saturating_add((4_000 as Weight).saturating_mul(z as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } + // Storage: Multisig Multisigs (r:1 w:1) + // Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0) fn approve_as_multi_create(s: u32, ) -> Weight { - (55_585_000 as Weight) - // Standard Error: 1_000 - .saturating_add((115_000 as Weight).saturating_mul(s as Weight)) + (53_461_000 as Weight) + // Standard Error: 0 + .saturating_add((154_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } + // Storage: Multisig Multisigs (r:1 w:1) + // Storage: Multisig Calls (r:1 w:0) fn approve_as_multi_approve(s: u32, ) -> Weight { - (33_483_000 as Weight) - // Standard Error: 1_000 - .saturating_add((82_000 as Weight).saturating_mul(s as Weight)) + (31_174_000 as Weight) + // Standard Error: 0 + .saturating_add((158_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } + // Storage: Multisig Multisigs (r:1 w:1) + // Storage: Multisig Calls (r:1 w:1) + // Storage: System Account (r:1 w:1) fn approve_as_multi_complete(s: u32, ) -> Weight { - (154_732_000 as Weight) + (110_226_000 as Weight) // Standard Error: 1_000 - .saturating_add((253_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((256_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } + // Storage: Multisig Multisigs (r:1 w:1) + // Storage: Multisig Calls (r:1 w:1) fn cancel_as_multi(s: u32, ) -> Weight { - (104_447_000 as Weight) + (86_414_000 as Weight) // Standard Error: 1_000 - .saturating_add((114_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((157_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } diff --git a/polkadot-parachains/statemint/src/weights/pallet_proxy.rs b/polkadot-parachains/statemint/src/weights/pallet_proxy.rs index 97e97ac73e6..dbd8d7011da 100644 --- a/polkadot-parachains/statemint/src/weights/pallet_proxy.rs +++ b/polkadot-parachains/statemint/src/weights/pallet_proxy.rs @@ -1,12 +1,27 @@ +// Copyright 2021 Parity Technologies (UK) Ltd. +// This file is part of Cumulus. -//! Autogenerated weights for pallet_proxy +// Cumulus is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// Cumulus is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with Cumulus. If not, see . + +//! Autogenerated weights for `pallet_proxy` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0 -//! DATE: 2021-05-31, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev +//! DATE: 2021-10-04, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("statemint-dev"), DB CACHE: 128 // Executed Command: -// ./target/release/statemint +// ./target/release/polkadot-collator // benchmark // --chain=statemint-dev // --execution=wasm @@ -16,9 +31,11 @@ // --steps=50 // --repeat=20 // --raw -// --output=./runtime/statemint/src/weights/ +// --header=./file_header.txt +// --output=./polkadot-parachains/statemint/src/weights +#![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] @@ -28,80 +45,97 @@ use sp_std::marker::PhantomData; /// Weight functions for pallet_proxy. pub struct WeightInfo(PhantomData); impl pallet_proxy::WeightInfo for WeightInfo { + // Storage: Proxy Proxies (r:1 w:0) fn proxy(p: u32, ) -> Weight { - (27_585_000 as Weight) - // Standard Error: 1_000 - .saturating_add((203_000 as Weight).saturating_mul(p as Weight)) + (24_054_000 as Weight) + // Standard Error: 8_000 + .saturating_add((140_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) } + // Storage: Proxy Proxies (r:1 w:0) + // Storage: Proxy Announcements (r:1 w:1) + // Storage: System Account (r:1 w:1) fn proxy_announced(a: u32, p: u32, ) -> Weight { - (61_093_000 as Weight) + (55_076_000 as Weight) // Standard Error: 2_000 - .saturating_add((680_000 as Weight).saturating_mul(a as Weight)) + .saturating_add((506_000 as Weight).saturating_mul(a as Weight)) // Standard Error: 2_000 - .saturating_add((201_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((148_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } + // Storage: Proxy Announcements (r:1 w:1) + // Storage: System Account (r:1 w:1) fn remove_announcement(a: u32, p: u32, ) -> Weight { - (39_494_000 as Weight) + (36_642_000 as Weight) // Standard Error: 2_000 - .saturating_add((686_000 as Weight).saturating_mul(a as Weight)) + .saturating_add((510_000 as Weight).saturating_mul(a as Weight)) // Standard Error: 2_000 - .saturating_add((1_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((15_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } + // Storage: Proxy Announcements (r:1 w:1) + // Storage: System Account (r:1 w:1) fn reject_announcement(a: u32, p: u32, ) -> Weight { - (39_817_000 as Weight) - // Standard Error: 2_000 - .saturating_add((685_000 as Weight).saturating_mul(a as Weight)) + (36_679_000 as Weight) + // Standard Error: 1_000 + .saturating_add((508_000 as Weight).saturating_mul(a as Weight)) // Standard Error: 2_000 - .saturating_add((1_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((17_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } + // Storage: Proxy Proxies (r:1 w:0) + // Storage: Proxy Announcements (r:1 w:1) + // Storage: System Account (r:1 w:1) fn announce(a: u32, p: u32, ) -> Weight { - (54_835_000 as Weight) + (52_334_000 as Weight) // Standard Error: 2_000 - .saturating_add((684_000 as Weight).saturating_mul(a as Weight)) + .saturating_add((490_000 as Weight).saturating_mul(a as Weight)) // Standard Error: 2_000 - .saturating_add((205_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((139_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } + // Storage: Proxy Proxies (r:1 w:1) fn add_proxy(p: u32, ) -> Weight { - (37_625_000 as Weight) - // Standard Error: 2_000 - .saturating_add((300_000 as Weight).saturating_mul(p as Weight)) + (35_784_000 as Weight) + // Standard Error: 3_000 + .saturating_add((186_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } + // Storage: Proxy Proxies (r:1 w:1) fn remove_proxy(p: u32, ) -> Weight { - (36_945_000 as Weight) + (35_589_000 as Weight) // Standard Error: 3_000 - .saturating_add((325_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((204_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } + // Storage: Proxy Proxies (r:1 w:1) fn remove_proxies(p: u32, ) -> Weight { - (35_128_000 as Weight) - // Standard Error: 1_000 - .saturating_add((209_000 as Weight).saturating_mul(p as Weight)) + (34_861_000 as Weight) + // Standard Error: 2_000 + .saturating_add((121_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } + // Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0) + // Storage: Proxy Proxies (r:1 w:1) fn anonymous(p: u32, ) -> Weight { - (51_624_000 as Weight) - // Standard Error: 1_000 - .saturating_add((41_000 as Weight).saturating_mul(p as Weight)) + (50_413_000 as Weight) + // Standard Error: 3_000 + .saturating_add((6_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } + // Storage: Proxy Proxies (r:1 w:1) fn kill_anonymous(p: u32, ) -> Weight { - (37_469_000 as Weight) - // Standard Error: 1_000 - .saturating_add((204_000 as Weight).saturating_mul(p as Weight)) + (36_743_000 as Weight) + // Standard Error: 2_000 + .saturating_add((125_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } diff --git a/polkadot-parachains/statemint/src/weights/pallet_session.rs b/polkadot-parachains/statemint/src/weights/pallet_session.rs index 389e7c2b9ea..6b8ac9ee513 100644 --- a/polkadot-parachains/statemint/src/weights/pallet_session.rs +++ b/polkadot-parachains/statemint/src/weights/pallet_session.rs @@ -1,8 +1,23 @@ +// Copyright 2021 Parity Technologies (UK) Ltd. +// This file is part of Cumulus. -//! Autogenerated weights for pallet_session +// Cumulus is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// Cumulus is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with Cumulus. If not, see . + +//! Autogenerated weights for `pallet_session` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0 -//! DATE: 2021-06-08, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev +//! DATE: 2021-10-04, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("statemint-dev"), DB CACHE: 128 // Executed Command: @@ -16,9 +31,11 @@ // --steps=50 // --repeat=20 // --raw -// --output=./polkadot-parachains/statemint-runtime/src/weights +// --header=./file_header.txt +// --output=./polkadot-parachains/statemint/src/weights +#![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] @@ -28,13 +45,17 @@ use sp_std::marker::PhantomData; /// Weight functions for pallet_session. pub struct WeightInfo(PhantomData); impl pallet_session::WeightInfo for WeightInfo { + // Storage: Session NextKeys (r:1 w:1) + // Storage: Session KeyOwner (r:1 w:1) fn set_keys() -> Weight { - (25_040_000 as Weight) + (25_804_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } + // Storage: Session NextKeys (r:1 w:1) + // Storage: Session KeyOwner (r:0 w:1) fn purge_keys() -> Weight { - (17_551_000 as Weight) + (18_106_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } diff --git a/polkadot-parachains/statemint/src/weights/pallet_timestamp.rs b/polkadot-parachains/statemint/src/weights/pallet_timestamp.rs index f016bc460dd..fd74f1e2b6e 100644 --- a/polkadot-parachains/statemint/src/weights/pallet_timestamp.rs +++ b/polkadot-parachains/statemint/src/weights/pallet_timestamp.rs @@ -1,12 +1,27 @@ +// Copyright 2021 Parity Technologies (UK) Ltd. +// This file is part of Cumulus. -//! Autogenerated weights for pallet_timestamp +// Cumulus is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// Cumulus is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with Cumulus. If not, see . + +//! Autogenerated weights for `pallet_timestamp` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0 -//! DATE: 2021-05-31, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev +//! DATE: 2021-10-04, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("statemint-dev"), DB CACHE: 128 // Executed Command: -// ./target/release/statemint +// ./target/release/polkadot-collator // benchmark // --chain=statemint-dev // --execution=wasm @@ -16,9 +31,11 @@ // --steps=50 // --repeat=20 // --raw -// --output=./runtime/statemint/src/weights/ +// --header=./file_header.txt +// --output=./polkadot-parachains/statemint/src/weights +#![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] @@ -28,12 +45,13 @@ use sp_std::marker::PhantomData; /// Weight functions for pallet_timestamp. pub struct WeightInfo(PhantomData); impl pallet_timestamp::WeightInfo for WeightInfo { + // Storage: Timestamp Now (r:1 w:1) fn set() -> Weight { - (7_687_000 as Weight) - .saturating_add(T::DbWeight::get().reads(2 as Weight)) + (7_622_000 as Weight) + .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn on_finalize() -> Weight { - (4_303_000 as Weight) + (4_349_000 as Weight) } } diff --git a/polkadot-parachains/statemint/src/weights/pallet_uniques.rs b/polkadot-parachains/statemint/src/weights/pallet_uniques.rs index 4cab4dffbf7..ed3b9aae9a6 100644 --- a/polkadot-parachains/statemint/src/weights/pallet_uniques.rs +++ b/polkadot-parachains/statemint/src/weights/pallet_uniques.rs @@ -14,27 +14,28 @@ // You should have received a copy of the GNU General Public License // along with Cumulus. If not, see . -//! Autogenerated weights for pallet_uniques +//! Autogenerated weights for `pallet_uniques` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0 -//! DATE: 2021-06-02, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("statemine-dev"), DB CACHE: 128 +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev +//! DATE: 2021-10-04, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("statemint-dev"), DB CACHE: 128 // Executed Command: // ./target/release/polkadot-collator // benchmark -// --chain=statemine-dev -// --steps=50 -// --repeat=20 -// --pallet=pallet_uniques -// --extrinsic=* +// --chain=statemint-dev // --execution=wasm // --wasm-execution=compiled -// --heap-pages=4096 +// --pallet=pallet_uniques +// --extrinsic=* +// --steps=50 +// --repeat=20 +// --raw // --header=./file_header.txt -// --output=./polkadot-parachains/statemine-runtime/src/weights/ +// --output=./polkadot-parachains/statemint/src/weights +#![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] @@ -44,24 +45,32 @@ use sp_std::marker::PhantomData; /// Weight functions for pallet_uniques. pub struct WeightInfo(PhantomData); impl pallet_uniques::WeightInfo for WeightInfo { + // Storage: Uniques Class (r:1 w:1) fn create() -> Weight { - (42_199_000 as Weight) + (45_319_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } + // Storage: Uniques Class (r:1 w:1) fn force_create() -> Weight { - (21_030_000 as Weight) + (22_908_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } + // Storage: Uniques Class (r:1 w:1) + // Storage: Uniques Asset (r:1 w:0) + // Storage: Uniques Attribute (r:0 w:1000) + // Storage: Uniques ClassMetadataOf (r:0 w:1) + // Storage: Uniques InstanceMetadataOf (r:0 w:1000) + // Storage: Uniques Account (r:0 w:20) fn destroy(n: u32, m: u32, a: u32, ) -> Weight { (0 as Weight) // Standard Error: 14_000 - .saturating_add((16_814_000 as Weight).saturating_mul(n as Weight)) + .saturating_add((16_286_000 as Weight).saturating_mul(n as Weight)) // Standard Error: 14_000 - .saturating_add((1_026_000 as Weight).saturating_mul(m as Weight)) + .saturating_add((1_087_000 as Weight).saturating_mul(m as Weight)) // Standard Error: 14_000 - .saturating_add((952_000 as Weight).saturating_mul(a as Weight)) + .saturating_add((820_000 as Weight).saturating_mul(a as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(n as Weight))) .saturating_add(T::DbWeight::get().writes(2 as Weight)) @@ -69,102 +78,141 @@ impl pallet_uniques::WeightInfo for WeightInfo { .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(m as Weight))) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(a as Weight))) } + // Storage: Uniques Asset (r:1 w:1) + // Storage: Uniques Class (r:1 w:1) + // Storage: Uniques Account (r:0 w:1) fn mint() -> Weight { - (57_236_000 as Weight) + (59_770_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } + // Storage: Uniques Class (r:1 w:1) + // Storage: Uniques Asset (r:1 w:1) + // Storage: Uniques Account (r:0 w:1) fn burn() -> Weight { - (58_129_000 as Weight) + (61_835_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } + // Storage: Uniques Class (r:1 w:0) + // Storage: Uniques Asset (r:1 w:1) + // Storage: Uniques Account (r:0 w:2) fn transfer() -> Weight { - (42_980_000 as Weight) + (45_311_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } + // Storage: Uniques Class (r:1 w:1) + // Storage: Uniques Asset (r:100 w:100) fn redeposit(i: u32, ) -> Weight { (0 as Weight) - // Standard Error: 11_000 - .saturating_add((26_921_000 as Weight).saturating_mul(i as Weight)) + // Standard Error: 12_000 + .saturating_add((27_943_000 as Weight).saturating_mul(i as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(i as Weight))) .saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(i as Weight))) } + // Storage: Uniques Asset (r:1 w:1) + // Storage: Uniques Class (r:1 w:0) fn freeze() -> Weight { - (30_427_000 as Weight) + (31_428_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } + // Storage: Uniques Asset (r:1 w:1) + // Storage: Uniques Class (r:1 w:0) fn thaw() -> Weight { - (29_789_000 as Weight) + (31_622_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } + // Storage: Uniques Class (r:1 w:1) fn freeze_class() -> Weight { - (21_380_000 as Weight) + (23_722_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } + // Storage: Uniques Class (r:1 w:1) fn thaw_class() -> Weight { - (21_430_000 as Weight) + (23_505_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } + // Storage: Uniques Class (r:1 w:1) + // Storage: System Account (r:1 w:1) fn transfer_ownership() -> Weight { - (49_331_000 as Weight) + (53_590_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } + // Storage: Uniques Class (r:1 w:1) fn set_team() -> Weight { - (22_305_000 as Weight) + (24_968_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } + // Storage: Uniques Class (r:1 w:1) fn force_asset_status() -> Weight { - (21_965_000 as Weight) + (23_939_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } + // Storage: Uniques Class (r:1 w:1) + // Storage: Uniques InstanceMetadataOf (r:1 w:0) + // Storage: Uniques Attribute (r:1 w:1) fn set_attribute() -> Weight { - (70_386_000 as Weight) + (74_336_000 as Weight) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } + // Storage: Uniques Class (r:1 w:1) + // Storage: Uniques InstanceMetadataOf (r:1 w:0) + // Storage: Uniques Attribute (r:1 w:1) fn clear_attribute() -> Weight { - (63_932_000 as Weight) + (66_484_000 as Weight) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } + // Storage: Uniques Class (r:1 w:1) + // Storage: Uniques InstanceMetadataOf (r:1 w:1) fn set_metadata() -> Weight { - (53_647_000 as Weight) + (57_398_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } + // Storage: Uniques Class (r:1 w:1) + // Storage: Uniques InstanceMetadataOf (r:1 w:1) fn clear_metadata() -> Weight { - (52_353_000 as Weight) + (55_843_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } + // Storage: Uniques Class (r:1 w:1) + // Storage: Uniques ClassMetadataOf (r:1 w:1) fn set_class_metadata() -> Weight { - (51_900_000 as Weight) + (54_865_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } + // Storage: Uniques Class (r:1 w:0) + // Storage: Uniques ClassMetadataOf (r:1 w:1) fn clear_class_metadata() -> Weight { - (46_929_000 as Weight) + (50_601_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } + // Storage: Uniques Class (r:1 w:0) + // Storage: Uniques Asset (r:1 w:1) fn approve_transfer() -> Weight { - (32_693_000 as Weight) + (34_647_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } + // Storage: Uniques Class (r:1 w:0) + // Storage: Uniques Asset (r:1 w:1) fn cancel_approval() -> Weight { - (32_418_000 as Weight) + (33_532_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } diff --git a/polkadot-parachains/statemint/src/weights/pallet_utility.rs b/polkadot-parachains/statemint/src/weights/pallet_utility.rs index 3b7c921de4c..c59f412b4fe 100644 --- a/polkadot-parachains/statemint/src/weights/pallet_utility.rs +++ b/polkadot-parachains/statemint/src/weights/pallet_utility.rs @@ -1,12 +1,27 @@ +// Copyright 2021 Parity Technologies (UK) Ltd. +// This file is part of Cumulus. -//! Autogenerated weights for pallet_utility +// Cumulus is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// Cumulus is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with Cumulus. If not, see . + +//! Autogenerated weights for `pallet_utility` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0 -//! DATE: 2021-05-31, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev +//! DATE: 2021-10-04, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("statemint-dev"), DB CACHE: 128 // Executed Command: -// ./target/release/statemint +// ./target/release/polkadot-collator // benchmark // --chain=statemint-dev // --execution=wasm @@ -16,9 +31,11 @@ // --steps=50 // --repeat=20 // --raw -// --output=./runtime/statemint/src/weights/ +// --header=./file_header.txt +// --output=./polkadot-parachains/statemint/src/weights +#![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] @@ -29,16 +46,16 @@ use sp_std::marker::PhantomData; pub struct WeightInfo(PhantomData); impl pallet_utility::WeightInfo for WeightInfo { fn batch(c: u32, ) -> Weight { - (15_408_000 as Weight) - // Standard Error: 0 - .saturating_add((4_571_000 as Weight).saturating_mul(c as Weight)) + (36_933_000 as Weight) + // Standard Error: 4_000 + .saturating_add((7_956_000 as Weight).saturating_mul(c as Weight)) } fn as_derivative() -> Weight { - (7_817_000 as Weight) + (4_833_000 as Weight) } fn batch_all(c: u32, ) -> Weight { - (16_520_000 as Weight) - // Standard Error: 0 - .saturating_add((4_571_000 as Weight).saturating_mul(c as Weight)) + (36_574_000 as Weight) + // Standard Error: 3_000 + .saturating_add((8_782_000 as Weight).saturating_mul(c as Weight)) } } diff --git a/polkadot-parachains/westmint/src/lib.rs b/polkadot-parachains/westmint/src/lib.rs index f0698f37676..b367c88b82e 100644 --- a/polkadot-parachains/westmint/src/lib.rs +++ b/polkadot-parachains/westmint/src/lib.rs @@ -103,10 +103,10 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("westmint"), impl_name: create_runtime_str!("westmint"), authoring_version: 1, - spec_version: 3, + spec_version: 4, impl_version: 0, apis: RUNTIME_API_VERSIONS, - transaction_version: 1, + transaction_version: 2, }; /// The version information used to identify this runtime when compiled natively. @@ -722,18 +722,9 @@ pub type Executive = frame_executive::Executive< frame_system::ChainContext, Runtime, AllPallets, - OnRuntimeUpgrade, + (), >; -pub struct OnRuntimeUpgrade; -impl frame_support::traits::OnRuntimeUpgrade for OnRuntimeUpgrade { - fn on_runtime_upgrade() -> u64 { - frame_support::migrations::migrate_from_pallet_version_to_storage_version::< - AllPalletsWithSystem, - >(&RocksDbWeight::get()) - } -} - impl_runtime_apis! { impl sp_consensus_aura::AuraApi for Runtime { fn slot_duration() -> sp_consensus_aura::SlotDuration { @@ -843,6 +834,33 @@ impl_runtime_apis! { #[cfg(feature = "runtime-benchmarks")] impl frame_benchmarking::Benchmark for Runtime { + fn benchmark_metadata(extra: bool) -> ( + Vec, + Vec, + ) { + use frame_benchmarking::{list_benchmark, Benchmarking, BenchmarkList}; + use frame_support::traits::StorageInfoTrait; + use frame_system_benchmarking::Pallet as SystemBench; + use cumulus_pallet_session_benchmarking::Pallet as SessionBench; + + let mut list = Vec::::new(); + + list_benchmark!(list, extra, frame_system, SystemBench::); + list_benchmark!(list, extra, pallet_assets, Assets); + list_benchmark!(list, extra, pallet_balances, Balances); + list_benchmark!(list, extra, pallet_multisig, Multisig); + list_benchmark!(list, extra, pallet_proxy, Proxy); + list_benchmark!(list, extra, pallet_session, SessionBench::); + list_benchmark!(list, extra, pallet_uniques, Uniques); + list_benchmark!(list, extra, pallet_utility, Utility); + list_benchmark!(list, extra, pallet_timestamp, Timestamp); + list_benchmark!(list, extra, pallet_collator_selection, CollatorSelection); + + let storage_info = AllPalletsWithSystem::storage_info(); + + return (list, storage_info) + } + fn dispatch_benchmark( config: frame_benchmarking::BenchmarkConfig ) -> Result, sp_runtime::RuntimeString> { @@ -876,6 +894,7 @@ impl_runtime_apis! { add_benchmark!(params, batches, pallet_multisig, Multisig); add_benchmark!(params, batches, pallet_proxy, Proxy); add_benchmark!(params, batches, pallet_session, SessionBench::); + add_benchmark!(params, batches, pallet_uniques, Uniques); add_benchmark!(params, batches, pallet_utility, Utility); add_benchmark!(params, batches, pallet_timestamp, Timestamp); add_benchmark!(params, batches, pallet_collator_selection, CollatorSelection); diff --git a/polkadot-parachains/westmint/src/weights/pallet_assets.rs b/polkadot-parachains/westmint/src/weights/pallet_assets.rs index 8d29d5fe0db..98ae8073ebf 100644 --- a/polkadot-parachains/westmint/src/weights/pallet_assets.rs +++ b/polkadot-parachains/westmint/src/weights/pallet_assets.rs @@ -1,14 +1,29 @@ +// Copyright 2021 Parity Technologies (UK) Ltd. +// This file is part of Cumulus. -//! Autogenerated weights for pallet_assets +// Cumulus is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// Cumulus is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with Cumulus. If not, see . + +//! Autogenerated weights for `pallet_assets` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0 -//! DATE: 2021-05-31, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("statemint-dev"), DB CACHE: 128 +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev +//! DATE: 2021-10-04, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westmint-dev"), DB CACHE: 128 // Executed Command: -// ./target/release/statemint +// ./target/release/polkadot-collator // benchmark -// --chain=statemint-dev +// --chain=westmint-dev // --execution=wasm // --wasm-execution=compiled // --pallet=pallet_assets @@ -16,9 +31,11 @@ // --steps=50 // --repeat=20 // --raw -// --output=./runtime/statemint/src/weights/ +// --header=./file_header.txt +// --output=./polkadot-parachains/westmint/src/weights +#![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] @@ -28,134 +45,183 @@ use sp_std::marker::PhantomData; /// Weight functions for pallet_assets. pub struct WeightInfo(PhantomData); impl pallet_assets::WeightInfo for WeightInfo { + // Storage: Assets Asset (r:1 w:1) fn create() -> Weight { - (44_125_000 as Weight) + (43_800_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } + // Storage: Assets Asset (r:1 w:1) fn force_create() -> Weight { - (22_842_000 as Weight) + (22_145_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } + // Storage: Assets Asset (r:1 w:1) + // Storage: Assets Account (r:5002 w:5001) + // Storage: System Account (r:5000 w:5000) + // Storage: Assets Metadata (r:1 w:0) + // Storage: Assets Approvals (r:501 w:500) fn destroy(c: u32, s: u32, a: u32, ) -> Weight { (0 as Weight) - // Standard Error: 37_000 - .saturating_add((21_822_000 as Weight).saturating_mul(c as Weight)) - // Standard Error: 37_000 - .saturating_add((29_044_000 as Weight).saturating_mul(s as Weight)) - // Standard Error: 370_000 - .saturating_add((3_000_000 as Weight).saturating_mul(a as Weight)) - .saturating_add(T::DbWeight::get().reads(4 as Weight)) + // Standard Error: 41_000 + .saturating_add((20_148_000 as Weight).saturating_mul(c as Weight)) + // Standard Error: 41_000 + .saturating_add((27_261_000 as Weight).saturating_mul(s as Weight)) + // Standard Error: 413_000 + .saturating_add((30_708_000 as Weight).saturating_mul(a as Weight)) + .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().reads((2 as Weight).saturating_mul(c as Weight))) .saturating_add(T::DbWeight::get().reads((2 as Weight).saturating_mul(s as Weight))) + .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(a as Weight))) .saturating_add(T::DbWeight::get().writes(2 as Weight)) .saturating_add(T::DbWeight::get().writes((2 as Weight).saturating_mul(c as Weight))) .saturating_add(T::DbWeight::get().writes((2 as Weight).saturating_mul(s as Weight))) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(a as Weight))) } + // Storage: Assets Asset (r:1 w:1) + // Storage: Assets Account (r:1 w:1) fn mint() -> Weight { - (49_933_000 as Weight) + (49_300_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } + // Storage: Assets Asset (r:1 w:1) + // Storage: Assets Account (r:1 w:1) fn burn() -> Weight { - (56_434_000 as Weight) + (55_932_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } + // Storage: Assets Asset (r:1 w:1) + // Storage: Assets Account (r:2 w:2) + // Storage: System Account (r:1 w:1) fn transfer() -> Weight { - (85_393_000 as Weight) + (85_793_000 as Weight) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight)) } + // Storage: Assets Asset (r:1 w:1) + // Storage: Assets Account (r:2 w:2) + // Storage: System Account (r:1 w:1) fn transfer_keep_alive() -> Weight { - (72_039_000 as Weight) + (71_849_000 as Weight) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight)) } + // Storage: Assets Asset (r:1 w:1) + // Storage: Assets Account (r:2 w:2) + // Storage: System Account (r:1 w:1) fn force_transfer() -> Weight { - (85_214_000 as Weight) + (85_505_000 as Weight) .saturating_add(T::DbWeight::get().reads(4 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight)) } + // Storage: Assets Asset (r:1 w:0) + // Storage: Assets Account (r:1 w:1) fn freeze() -> Weight { - (31_915_000 as Weight) + (33_312_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } + // Storage: Assets Asset (r:1 w:0) + // Storage: Assets Account (r:1 w:1) fn thaw() -> Weight { - (31_296_000 as Weight) + (33_165_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } + // Storage: Assets Asset (r:1 w:1) fn freeze_asset() -> Weight { - (22_272_000 as Weight) + (24_555_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } + // Storage: Assets Asset (r:1 w:1) fn thaw_asset() -> Weight { - (22_336_000 as Weight) + (24_418_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } + // Storage: Assets Asset (r:1 w:1) + // Storage: Assets Metadata (r:1 w:0) fn transfer_ownership() -> Weight { - (25_526_000 as Weight) + (27_334_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } + // Storage: Assets Asset (r:1 w:1) fn set_team() -> Weight { - (22_632_000 as Weight) + (24_709_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } + // Storage: Assets Asset (r:1 w:0) + // Storage: Assets Metadata (r:1 w:1) fn set_metadata(_n: u32, s: u32, ) -> Weight { - (50_330_000 as Weight) + (52_337_000 as Weight) // Standard Error: 0 - .saturating_add((9_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((4_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } + // Storage: Assets Asset (r:1 w:0) + // Storage: Assets Metadata (r:1 w:1) fn clear_metadata() -> Weight { - (48_266_000 as Weight) + (49_904_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } + // Storage: Assets Asset (r:1 w:0) + // Storage: Assets Metadata (r:1 w:1) fn force_set_metadata(_n: u32, s: u32, ) -> Weight { - (26_249_000 as Weight) + (26_629_000 as Weight) // Standard Error: 0 - .saturating_add((6_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((5_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } + // Storage: Assets Asset (r:1 w:0) + // Storage: Assets Metadata (r:1 w:1) fn force_clear_metadata() -> Weight { - (49_616_000 as Weight) + (49_660_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } + // Storage: Assets Asset (r:1 w:1) fn force_asset_status() -> Weight { - (22_596_000 as Weight) + (22_480_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } + // Storage: Assets Asset (r:1 w:1) + // Storage: Assets Approvals (r:1 w:1) fn approve_transfer() -> Weight { - (48_708_000 as Weight) - .saturating_add(T::DbWeight::get().reads(1 as Weight)) - .saturating_add(T::DbWeight::get().writes(1 as Weight)) + (58_857_000 as Weight) + .saturating_add(T::DbWeight::get().reads(2 as Weight)) + .saturating_add(T::DbWeight::get().writes(2 as Weight)) } + // Storage: Assets Approvals (r:1 w:1) + // Storage: Assets Asset (r:1 w:1) + // Storage: Assets Account (r:2 w:2) + // Storage: System Account (r:1 w:1) fn transfer_approved() -> Weight { - (108_476_000 as Weight) + (112_674_000 as Weight) .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().writes(5 as Weight)) } + // Storage: Assets Asset (r:1 w:1) + // Storage: Assets Approvals (r:1 w:1) fn cancel_approval() -> Weight { - (49_157_000 as Weight) - .saturating_add(T::DbWeight::get().reads(1 as Weight)) - .saturating_add(T::DbWeight::get().writes(1 as Weight)) + (59_362_000 as Weight) + .saturating_add(T::DbWeight::get().reads(2 as Weight)) + .saturating_add(T::DbWeight::get().writes(2 as Weight)) } + // Storage: Assets Asset (r:1 w:1) + // Storage: Assets Approvals (r:1 w:1) fn force_cancel_approval() -> Weight { - (56_862_000 as Weight) + (59_758_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) - .saturating_add(T::DbWeight::get().writes(1 as Weight)) + .saturating_add(T::DbWeight::get().writes(2 as Weight)) } } diff --git a/polkadot-parachains/westmint/src/weights/pallet_balances.rs b/polkadot-parachains/westmint/src/weights/pallet_balances.rs index fb465b17310..8b2596b45f5 100644 --- a/polkadot-parachains/westmint/src/weights/pallet_balances.rs +++ b/polkadot-parachains/westmint/src/weights/pallet_balances.rs @@ -1,14 +1,29 @@ +// Copyright 2021 Parity Technologies (UK) Ltd. +// This file is part of Cumulus. -//! Autogenerated weights for pallet_balances +// Cumulus is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// Cumulus is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with Cumulus. If not, see . + +//! Autogenerated weights for `pallet_balances` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0 -//! DATE: 2021-05-31, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("statemint-dev"), DB CACHE: 128 +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev +//! DATE: 2021-10-04, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westmint-dev"), DB CACHE: 128 // Executed Command: -// ./target/release/statemint +// ./target/release/polkadot-collator // benchmark -// --chain=statemint-dev +// --chain=westmint-dev // --execution=wasm // --wasm-execution=compiled // --pallet=pallet_balances @@ -16,9 +31,11 @@ // --steps=50 // --repeat=20 // --raw -// --output=./runtime/statemint/src/weights/ +// --header=./file_header.txt +// --output=./polkadot-parachains/westmint/src/weights +#![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] @@ -28,33 +45,39 @@ use sp_std::marker::PhantomData; /// Weight functions for pallet_balances. pub struct WeightInfo(PhantomData); impl pallet_balances::WeightInfo for WeightInfo { + // Storage: System Account (r:1 w:1) fn transfer() -> Weight { - (79_601_000 as Weight) + (79_567_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } + // Storage: System Account (r:1 w:1) fn transfer_keep_alive() -> Weight { - (58_429_000 as Weight) + (57_966_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } + // Storage: System Account (r:1 w:1) fn set_balance_creating() -> Weight { - (29_124_000 as Weight) + (29_699_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } + // Storage: System Account (r:1 w:1) fn set_balance_killing() -> Weight { - (36_476_000 as Weight) + (37_551_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } + // Storage: System Account (r:2 w:2) fn force_transfer() -> Weight { - (78_772_000 as Weight) + (79_345_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } + // Storage: System Account (r:1 w:1) fn transfer_all() -> Weight { - (84_170_000 as Weight) + (72_117_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } diff --git a/polkadot-parachains/westmint/src/weights/pallet_collator_selection.rs b/polkadot-parachains/westmint/src/weights/pallet_collator_selection.rs index cc687af762f..58b0815af9e 100644 --- a/polkadot-parachains/westmint/src/weights/pallet_collator_selection.rs +++ b/polkadot-parachains/westmint/src/weights/pallet_collator_selection.rs @@ -1,14 +1,29 @@ +// Copyright 2021 Parity Technologies (UK) Ltd. +// This file is part of Cumulus. -//! Autogenerated weights for pallet_collator_selection +// Cumulus is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// Cumulus is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with Cumulus. If not, see . + +//! Autogenerated weights for `pallet_collator_selection` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0 -//! DATE: 2021-05-31, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("statemint-dev"), DB CACHE: 128 +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev +//! DATE: 2021-10-04, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westmint-dev"), DB CACHE: 128 // Executed Command: -// ./target/release/statemint +// ./target/release/polkadot-collator // benchmark -// --chain=statemint-dev +// --chain=westmint-dev // --execution=wasm // --wasm-execution=compiled // --pallet=pallet_collator_selection @@ -16,9 +31,11 @@ // --steps=50 // --repeat=20 // --raw -// --output=./runtime/statemint/src/weights/ +// --header=./file_header.txt +// --output=./polkadot-parachains/westmint/src/weights +#![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] @@ -28,48 +45,66 @@ use sp_std::marker::PhantomData; /// Weight functions for pallet_collator_selection. pub struct WeightInfo(PhantomData); impl pallet_collator_selection::WeightInfo for WeightInfo { + // Storage: CollatorSelection Invulnerables (r:0 w:1) fn set_invulnerables(b: u32, ) -> Weight { - (18_563_000 as Weight) + (17_323_000 as Weight) // Standard Error: 0 - .saturating_add((68_000 as Weight).saturating_mul(b as Weight)) + .saturating_add((48_000 as Weight).saturating_mul(b as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } + // Storage: CollatorSelection DesiredCandidates (r:0 w:1) fn set_desired_candidates() -> Weight { - (16_363_000 as Weight) + (15_323_000 as Weight) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } + // Storage: CollatorSelection CandidacyBond (r:0 w:1) fn set_candidacy_bond() -> Weight { - (16_840_000 as Weight) + (15_832_000 as Weight) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } + // Storage: CollatorSelection Candidates (r:1 w:1) + // Storage: CollatorSelection DesiredCandidates (r:1 w:0) + // Storage: CollatorSelection Invulnerables (r:1 w:0) + // Storage: Session NextKeys (r:1 w:0) + // Storage: CollatorSelection CandidacyBond (r:1 w:0) + // Storage: CollatorSelection LastAuthoredBlock (r:0 w:1) fn register_as_candidate(c: u32, ) -> Weight { - (71_196_000 as Weight) - // Standard Error: 0 - .saturating_add((198_000 as Weight).saturating_mul(c as Weight)) - .saturating_add(T::DbWeight::get().reads(4 as Weight)) + (78_205_000 as Weight) + // Standard Error: 1_000 + .saturating_add((147_000 as Weight).saturating_mul(c as Weight)) + .saturating_add(T::DbWeight::get().reads(5 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } + // Storage: CollatorSelection Candidates (r:1 w:1) + // Storage: CollatorSelection LastAuthoredBlock (r:0 w:1) fn leave_intent(c: u32, ) -> Weight { - (55_336_000 as Weight) - // Standard Error: 0 - .saturating_add((151_000 as Weight).saturating_mul(c as Weight)) + (71_423_000 as Weight) + // Standard Error: 1_000 + .saturating_add((206_000 as Weight).saturating_mul(c as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } + // Storage: System Account (r:2 w:2) + // Storage: System BlockWeight (r:1 w:1) + // Storage: CollatorSelection LastAuthoredBlock (r:0 w:1) fn note_author() -> Weight { - (71_461_000 as Weight) + (66_691_000 as Weight) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(4 as Weight)) } + // Storage: CollatorSelection Candidates (r:1 w:1) + // Storage: CollatorSelection LastAuthoredBlock (r:1000 w:1) + // Storage: System Account (r:1 w:1) + // Storage: CollatorSelection Invulnerables (r:1 w:0) + // Storage: System BlockWeight (r:1 w:1) fn new_session(r: u32, c: u32, ) -> Weight { (0 as Weight) - // Standard Error: 1_010_000 - .saturating_add((109_961_000 as Weight).saturating_mul(r as Weight)) - // Standard Error: 1_010_000 - .saturating_add((151_952_000 as Weight).saturating_mul(c as Weight)) - .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(r as Weight))) + // Standard Error: 4_466_000 + .saturating_add((24_951_000 as Weight).saturating_mul(r as Weight)) + // Standard Error: 4_466_000 + .saturating_add((117_229_000 as Weight).saturating_mul(c as Weight)) .saturating_add(T::DbWeight::get().reads((2 as Weight).saturating_mul(c as Weight))) - .saturating_add(T::DbWeight::get().writes((2 as Weight).saturating_mul(r as Weight))) - .saturating_add(T::DbWeight::get().writes((2 as Weight).saturating_mul(c as Weight))) + .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(r as Weight))) + .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(c as Weight))) } } diff --git a/polkadot-parachains/westmint/src/weights/pallet_multisig.rs b/polkadot-parachains/westmint/src/weights/pallet_multisig.rs index e1b7bd5b902..122a095d0bf 100644 --- a/polkadot-parachains/westmint/src/weights/pallet_multisig.rs +++ b/polkadot-parachains/westmint/src/weights/pallet_multisig.rs @@ -1,14 +1,29 @@ +// Copyright 2021 Parity Technologies (UK) Ltd. +// This file is part of Cumulus. -//! Autogenerated weights for pallet_multisig +// Cumulus is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// Cumulus is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with Cumulus. If not, see . + +//! Autogenerated weights for `pallet_multisig` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0 -//! DATE: 2021-05-31, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("statemint-dev"), DB CACHE: 128 +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev +//! DATE: 2021-10-04, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westmint-dev"), DB CACHE: 128 // Executed Command: -// ./target/release/statemint +// ./target/release/polkadot-collator // benchmark -// --chain=statemint-dev +// --chain=westmint-dev // --execution=wasm // --wasm-execution=compiled // --pallet=pallet_multisig @@ -16,9 +31,11 @@ // --steps=50 // --repeat=20 // --raw -// --output=./runtime/statemint/src/weights/ +// --header=./file_header.txt +// --output=./polkadot-parachains/westmint/src/weights +#![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] @@ -29,80 +46,100 @@ use sp_std::marker::PhantomData; pub struct WeightInfo(PhantomData); impl pallet_multisig::WeightInfo for WeightInfo { fn as_multi_threshold_1(z: u32, ) -> Weight { - (14_936_000 as Weight) + (20_158_000 as Weight) // Standard Error: 0 .saturating_add((1_000 as Weight).saturating_mul(z as Weight)) } + // Storage: Multisig Multisigs (r:1 w:1) + // Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0) fn as_multi_create(s: u32, z: u32, ) -> Weight { - (56_090_000 as Weight) + (54_358_000 as Weight) // Standard Error: 1_000 - .saturating_add((63_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((160_000 as Weight).saturating_mul(s as Weight)) // Standard Error: 0 - .saturating_add((1_000 as Weight).saturating_mul(z as Weight)) + .saturating_add((2_000 as Weight).saturating_mul(z as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } + // Storage: Multisig Multisigs (r:1 w:1) + // Storage: Multisig Calls (r:1 w:1) + // Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0) fn as_multi_create_store(s: u32, z: u32, ) -> Weight { - (62_519_000 as Weight) + (60_619_000 as Weight) // Standard Error: 1_000 - .saturating_add((66_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((156_000 as Weight).saturating_mul(s as Weight)) // Standard Error: 0 - .saturating_add((3_000 as Weight).saturating_mul(z as Weight)) + .saturating_add((2_000 as Weight).saturating_mul(z as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } + // Storage: Multisig Multisigs (r:1 w:1) fn as_multi_approve(s: u32, z: u32, ) -> Weight { - (30_781_000 as Weight) - // Standard Error: 0 - .saturating_add((111_000 as Weight).saturating_mul(s as Weight)) + (33_593_000 as Weight) + // Standard Error: 1_000 + .saturating_add((153_000 as Weight).saturating_mul(s as Weight)) // Standard Error: 0 - .saturating_add((1_000 as Weight).saturating_mul(z as Weight)) + .saturating_add((2_000 as Weight).saturating_mul(z as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } + // Storage: Multisig Multisigs (r:1 w:1) + // Storage: Multisig Calls (r:1 w:1) fn as_multi_approve_store(s: u32, z: u32, ) -> Weight { - (60_393_000 as Weight) - // Standard Error: 0 - .saturating_add((118_000 as Weight).saturating_mul(s as Weight)) + (57_780_000 as Weight) + // Standard Error: 1_000 + .saturating_add((166_000 as Weight).saturating_mul(s as Weight)) // Standard Error: 0 .saturating_add((3_000 as Weight).saturating_mul(z as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } + // Storage: Multisig Multisigs (r:1 w:1) + // Storage: Multisig Calls (r:1 w:1) + // Storage: System Account (r:1 w:1) fn as_multi_complete(s: u32, z: u32, ) -> Weight { - (81_704_000 as Weight) + (75_640_000 as Weight) // Standard Error: 1_000 - .saturating_add((248_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((252_000 as Weight).saturating_mul(s as Weight)) // Standard Error: 0 - .saturating_add((5_000 as Weight).saturating_mul(z as Weight)) + .saturating_add((4_000 as Weight).saturating_mul(z as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } + // Storage: Multisig Multisigs (r:1 w:1) + // Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0) fn approve_as_multi_create(s: u32, ) -> Weight { - (55_585_000 as Weight) + (53_762_000 as Weight) // Standard Error: 1_000 - .saturating_add((115_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((154_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } + // Storage: Multisig Multisigs (r:1 w:1) + // Storage: Multisig Calls (r:1 w:0) fn approve_as_multi_approve(s: u32, ) -> Weight { - (33_483_000 as Weight) - // Standard Error: 1_000 - .saturating_add((82_000 as Weight).saturating_mul(s as Weight)) + (31_761_000 as Weight) + // Standard Error: 0 + .saturating_add((155_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } + // Storage: Multisig Multisigs (r:1 w:1) + // Storage: Multisig Calls (r:1 w:1) + // Storage: System Account (r:1 w:1) fn approve_as_multi_complete(s: u32, ) -> Weight { - (154_732_000 as Weight) + (110_745_000 as Weight) // Standard Error: 1_000 - .saturating_add((253_000 as Weight).saturating_mul(s as Weight)) + .saturating_add((258_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } + // Storage: Multisig Multisigs (r:1 w:1) + // Storage: Multisig Calls (r:1 w:1) fn cancel_as_multi(s: u32, ) -> Weight { - (104_447_000 as Weight) - // Standard Error: 1_000 - .saturating_add((114_000 as Weight).saturating_mul(s as Weight)) + (85_370_000 as Weight) + // Standard Error: 5_000 + .saturating_add((213_000 as Weight).saturating_mul(s as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } diff --git a/polkadot-parachains/westmint/src/weights/pallet_proxy.rs b/polkadot-parachains/westmint/src/weights/pallet_proxy.rs index 97e97ac73e6..1a66f50e309 100644 --- a/polkadot-parachains/westmint/src/weights/pallet_proxy.rs +++ b/polkadot-parachains/westmint/src/weights/pallet_proxy.rs @@ -1,14 +1,29 @@ +// Copyright 2021 Parity Technologies (UK) Ltd. +// This file is part of Cumulus. -//! Autogenerated weights for pallet_proxy +// Cumulus is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// Cumulus is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with Cumulus. If not, see . + +//! Autogenerated weights for `pallet_proxy` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0 -//! DATE: 2021-05-31, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("statemint-dev"), DB CACHE: 128 +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev +//! DATE: 2021-10-04, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westmint-dev"), DB CACHE: 128 // Executed Command: -// ./target/release/statemint +// ./target/release/polkadot-collator // benchmark -// --chain=statemint-dev +// --chain=westmint-dev // --execution=wasm // --wasm-execution=compiled // --pallet=pallet_proxy @@ -16,9 +31,11 @@ // --steps=50 // --repeat=20 // --raw -// --output=./runtime/statemint/src/weights/ +// --header=./file_header.txt +// --output=./polkadot-parachains/westmint/src/weights +#![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] @@ -28,80 +45,97 @@ use sp_std::marker::PhantomData; /// Weight functions for pallet_proxy. pub struct WeightInfo(PhantomData); impl pallet_proxy::WeightInfo for WeightInfo { + // Storage: Proxy Proxies (r:1 w:0) fn proxy(p: u32, ) -> Weight { - (27_585_000 as Weight) - // Standard Error: 1_000 - .saturating_add((203_000 as Weight).saturating_mul(p as Weight)) + (24_680_000 as Weight) + // Standard Error: 2_000 + .saturating_add((122_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) } + // Storage: Proxy Proxies (r:1 w:0) + // Storage: Proxy Announcements (r:1 w:1) + // Storage: System Account (r:1 w:1) fn proxy_announced(a: u32, p: u32, ) -> Weight { - (61_093_000 as Weight) + (57_144_000 as Weight) // Standard Error: 2_000 - .saturating_add((680_000 as Weight).saturating_mul(a as Weight)) + .saturating_add((503_000 as Weight).saturating_mul(a as Weight)) // Standard Error: 2_000 - .saturating_add((201_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((140_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } + // Storage: Proxy Announcements (r:1 w:1) + // Storage: System Account (r:1 w:1) fn remove_announcement(a: u32, p: u32, ) -> Weight { - (39_494_000 as Weight) + (37_933_000 as Weight) // Standard Error: 2_000 - .saturating_add((686_000 as Weight).saturating_mul(a as Weight)) + .saturating_add((511_000 as Weight).saturating_mul(a as Weight)) // Standard Error: 2_000 - .saturating_add((1_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((15_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } + // Storage: Proxy Announcements (r:1 w:1) + // Storage: System Account (r:1 w:1) fn reject_announcement(a: u32, p: u32, ) -> Weight { - (39_817_000 as Weight) + (37_847_000 as Weight) // Standard Error: 2_000 - .saturating_add((685_000 as Weight).saturating_mul(a as Weight)) + .saturating_add((512_000 as Weight).saturating_mul(a as Weight)) // Standard Error: 2_000 - .saturating_add((1_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((16_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } + // Storage: Proxy Proxies (r:1 w:0) + // Storage: Proxy Announcements (r:1 w:1) + // Storage: System Account (r:1 w:1) fn announce(a: u32, p: u32, ) -> Weight { - (54_835_000 as Weight) + (53_976_000 as Weight) // Standard Error: 2_000 - .saturating_add((684_000 as Weight).saturating_mul(a as Weight)) + .saturating_add((500_000 as Weight).saturating_mul(a as Weight)) // Standard Error: 2_000 - .saturating_add((205_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((154_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } + // Storage: Proxy Proxies (r:1 w:1) fn add_proxy(p: u32, ) -> Weight { - (37_625_000 as Weight) - // Standard Error: 2_000 - .saturating_add((300_000 as Weight).saturating_mul(p as Weight)) + (37_316_000 as Weight) + // Standard Error: 3_000 + .saturating_add((175_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } + // Storage: Proxy Proxies (r:1 w:1) fn remove_proxy(p: u32, ) -> Weight { - (36_945_000 as Weight) + (37_154_000 as Weight) // Standard Error: 3_000 - .saturating_add((325_000 as Weight).saturating_mul(p as Weight)) + .saturating_add((194_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } + // Storage: Proxy Proxies (r:1 w:1) fn remove_proxies(p: u32, ) -> Weight { - (35_128_000 as Weight) - // Standard Error: 1_000 - .saturating_add((209_000 as Weight).saturating_mul(p as Weight)) + (36_105_000 as Weight) + // Standard Error: 2_000 + .saturating_add((125_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } + // Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0) + // Storage: Proxy Proxies (r:1 w:1) fn anonymous(p: u32, ) -> Weight { - (51_624_000 as Weight) - // Standard Error: 1_000 - .saturating_add((41_000 as Weight).saturating_mul(p as Weight)) + (52_494_000 as Weight) + // Standard Error: 3_000 + .saturating_add((14_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } + // Storage: Proxy Proxies (r:1 w:1) fn kill_anonymous(p: u32, ) -> Weight { - (37_469_000 as Weight) - // Standard Error: 1_000 - .saturating_add((204_000 as Weight).saturating_mul(p as Weight)) + (38_055_000 as Weight) + // Standard Error: 2_000 + .saturating_add((125_000 as Weight).saturating_mul(p as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } diff --git a/polkadot-parachains/westmint/src/weights/pallet_session.rs b/polkadot-parachains/westmint/src/weights/pallet_session.rs index 389e7c2b9ea..b85efbadf84 100644 --- a/polkadot-parachains/westmint/src/weights/pallet_session.rs +++ b/polkadot-parachains/westmint/src/weights/pallet_session.rs @@ -1,14 +1,29 @@ +// Copyright 2021 Parity Technologies (UK) Ltd. +// This file is part of Cumulus. -//! Autogenerated weights for pallet_session +// Cumulus is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// Cumulus is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with Cumulus. If not, see . + +//! Autogenerated weights for `pallet_session` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0 -//! DATE: 2021-06-08, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("statemint-dev"), DB CACHE: 128 +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev +//! DATE: 2021-10-04, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westmint-dev"), DB CACHE: 128 // Executed Command: // ./target/release/polkadot-collator // benchmark -// --chain=statemint-dev +// --chain=westmint-dev // --execution=wasm // --wasm-execution=compiled // --pallet=pallet_session @@ -16,9 +31,11 @@ // --steps=50 // --repeat=20 // --raw -// --output=./polkadot-parachains/statemint-runtime/src/weights +// --header=./file_header.txt +// --output=./polkadot-parachains/westmint/src/weights +#![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] @@ -28,13 +45,17 @@ use sp_std::marker::PhantomData; /// Weight functions for pallet_session. pub struct WeightInfo(PhantomData); impl pallet_session::WeightInfo for WeightInfo { + // Storage: Session NextKeys (r:1 w:1) + // Storage: Session KeyOwner (r:1 w:1) fn set_keys() -> Weight { - (25_040_000 as Weight) + (25_182_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } + // Storage: Session NextKeys (r:1 w:1) + // Storage: Session KeyOwner (r:0 w:1) fn purge_keys() -> Weight { - (17_551_000 as Weight) + (18_092_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } diff --git a/polkadot-parachains/westmint/src/weights/pallet_timestamp.rs b/polkadot-parachains/westmint/src/weights/pallet_timestamp.rs index f016bc460dd..fd4c647cb58 100644 --- a/polkadot-parachains/westmint/src/weights/pallet_timestamp.rs +++ b/polkadot-parachains/westmint/src/weights/pallet_timestamp.rs @@ -1,14 +1,29 @@ +// Copyright 2021 Parity Technologies (UK) Ltd. +// This file is part of Cumulus. -//! Autogenerated weights for pallet_timestamp +// Cumulus is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// Cumulus is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with Cumulus. If not, see . + +//! Autogenerated weights for `pallet_timestamp` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0 -//! DATE: 2021-05-31, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("statemint-dev"), DB CACHE: 128 +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev +//! DATE: 2021-10-04, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westmint-dev"), DB CACHE: 128 // Executed Command: -// ./target/release/statemint +// ./target/release/polkadot-collator // benchmark -// --chain=statemint-dev +// --chain=westmint-dev // --execution=wasm // --wasm-execution=compiled // --pallet=pallet_timestamp @@ -16,9 +31,11 @@ // --steps=50 // --repeat=20 // --raw -// --output=./runtime/statemint/src/weights/ +// --header=./file_header.txt +// --output=./polkadot-parachains/westmint/src/weights +#![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] @@ -28,12 +45,13 @@ use sp_std::marker::PhantomData; /// Weight functions for pallet_timestamp. pub struct WeightInfo(PhantomData); impl pallet_timestamp::WeightInfo for WeightInfo { + // Storage: Timestamp Now (r:1 w:1) fn set() -> Weight { - (7_687_000 as Weight) - .saturating_add(T::DbWeight::get().reads(2 as Weight)) + (7_928_000 as Weight) + .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } fn on_finalize() -> Weight { - (4_303_000 as Weight) + (4_474_000 as Weight) } } diff --git a/polkadot-parachains/westmint/src/weights/pallet_uniques.rs b/polkadot-parachains/westmint/src/weights/pallet_uniques.rs index 4cab4dffbf7..2f195abd4d9 100644 --- a/polkadot-parachains/westmint/src/weights/pallet_uniques.rs +++ b/polkadot-parachains/westmint/src/weights/pallet_uniques.rs @@ -14,27 +14,28 @@ // You should have received a copy of the GNU General Public License // along with Cumulus. If not, see . -//! Autogenerated weights for pallet_uniques +//! Autogenerated weights for `pallet_uniques` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0 -//! DATE: 2021-06-02, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("statemine-dev"), DB CACHE: 128 +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev +//! DATE: 2021-10-04, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westmint-dev"), DB CACHE: 128 // Executed Command: // ./target/release/polkadot-collator // benchmark -// --chain=statemine-dev -// --steps=50 -// --repeat=20 -// --pallet=pallet_uniques -// --extrinsic=* +// --chain=westmint-dev // --execution=wasm // --wasm-execution=compiled -// --heap-pages=4096 +// --pallet=pallet_uniques +// --extrinsic=* +// --steps=50 +// --repeat=20 +// --raw // --header=./file_header.txt -// --output=./polkadot-parachains/statemine-runtime/src/weights/ +// --output=./polkadot-parachains/westmint/src/weights +#![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] @@ -44,24 +45,32 @@ use sp_std::marker::PhantomData; /// Weight functions for pallet_uniques. pub struct WeightInfo(PhantomData); impl pallet_uniques::WeightInfo for WeightInfo { + // Storage: Uniques Class (r:1 w:1) fn create() -> Weight { - (42_199_000 as Weight) + (44_431_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } + // Storage: Uniques Class (r:1 w:1) fn force_create() -> Weight { - (21_030_000 as Weight) + (21_939_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } + // Storage: Uniques Class (r:1 w:1) + // Storage: Uniques Asset (r:1 w:0) + // Storage: Uniques Attribute (r:0 w:1000) + // Storage: Uniques ClassMetadataOf (r:0 w:1) + // Storage: Uniques InstanceMetadataOf (r:0 w:1000) + // Storage: Uniques Account (r:0 w:20) fn destroy(n: u32, m: u32, a: u32, ) -> Weight { (0 as Weight) - // Standard Error: 14_000 - .saturating_add((16_814_000 as Weight).saturating_mul(n as Weight)) - // Standard Error: 14_000 - .saturating_add((1_026_000 as Weight).saturating_mul(m as Weight)) - // Standard Error: 14_000 - .saturating_add((952_000 as Weight).saturating_mul(a as Weight)) + // Standard Error: 13_000 + .saturating_add((16_020_000 as Weight).saturating_mul(n as Weight)) + // Standard Error: 13_000 + .saturating_add((988_000 as Weight).saturating_mul(m as Weight)) + // Standard Error: 13_000 + .saturating_add((827_000 as Weight).saturating_mul(a as Weight)) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(n as Weight))) .saturating_add(T::DbWeight::get().writes(2 as Weight)) @@ -69,102 +78,141 @@ impl pallet_uniques::WeightInfo for WeightInfo { .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(m as Weight))) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(a as Weight))) } + // Storage: Uniques Asset (r:1 w:1) + // Storage: Uniques Class (r:1 w:1) + // Storage: Uniques Account (r:0 w:1) fn mint() -> Weight { - (57_236_000 as Weight) + (59_072_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } + // Storage: Uniques Class (r:1 w:1) + // Storage: Uniques Asset (r:1 w:1) + // Storage: Uniques Account (r:0 w:1) fn burn() -> Weight { - (58_129_000 as Weight) + (59_662_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } + // Storage: Uniques Class (r:1 w:0) + // Storage: Uniques Asset (r:1 w:1) + // Storage: Uniques Account (r:0 w:2) fn transfer() -> Weight { - (42_980_000 as Weight) + (44_576_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(3 as Weight)) } + // Storage: Uniques Class (r:1 w:1) + // Storage: Uniques Asset (r:100 w:100) fn redeposit(i: u32, ) -> Weight { (0 as Weight) - // Standard Error: 11_000 - .saturating_add((26_921_000 as Weight).saturating_mul(i as Weight)) + // Standard Error: 14_000 + .saturating_add((27_955_000 as Weight).saturating_mul(i as Weight)) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(i as Weight))) .saturating_add(T::DbWeight::get().writes(1 as Weight)) .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(i as Weight))) } + // Storage: Uniques Asset (r:1 w:1) + // Storage: Uniques Class (r:1 w:0) fn freeze() -> Weight { - (30_427_000 as Weight) + (30_963_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } + // Storage: Uniques Asset (r:1 w:1) + // Storage: Uniques Class (r:1 w:0) fn thaw() -> Weight { - (29_789_000 as Weight) + (30_974_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } + // Storage: Uniques Class (r:1 w:1) fn freeze_class() -> Weight { - (21_380_000 as Weight) + (23_394_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } + // Storage: Uniques Class (r:1 w:1) fn thaw_class() -> Weight { - (21_430_000 as Weight) + (23_168_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } + // Storage: Uniques Class (r:1 w:1) + // Storage: System Account (r:1 w:1) fn transfer_ownership() -> Weight { - (49_331_000 as Weight) + (52_475_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } + // Storage: Uniques Class (r:1 w:1) fn set_team() -> Weight { - (22_305_000 as Weight) + (24_135_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } + // Storage: Uniques Class (r:1 w:1) fn force_asset_status() -> Weight { - (21_965_000 as Weight) + (22_946_000 as Weight) .saturating_add(T::DbWeight::get().reads(1 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } + // Storage: Uniques Class (r:1 w:1) + // Storage: Uniques InstanceMetadataOf (r:1 w:0) + // Storage: Uniques Attribute (r:1 w:1) fn set_attribute() -> Weight { - (70_386_000 as Weight) + (73_151_000 as Weight) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } + // Storage: Uniques Class (r:1 w:1) + // Storage: Uniques InstanceMetadataOf (r:1 w:0) + // Storage: Uniques Attribute (r:1 w:1) fn clear_attribute() -> Weight { - (63_932_000 as Weight) + (65_588_000 as Weight) .saturating_add(T::DbWeight::get().reads(3 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } + // Storage: Uniques Class (r:1 w:1) + // Storage: Uniques InstanceMetadataOf (r:1 w:1) fn set_metadata() -> Weight { - (53_647_000 as Weight) + (56_454_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } + // Storage: Uniques Class (r:1 w:1) + // Storage: Uniques InstanceMetadataOf (r:1 w:1) fn clear_metadata() -> Weight { - (52_353_000 as Weight) + (54_843_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } + // Storage: Uniques Class (r:1 w:1) + // Storage: Uniques ClassMetadataOf (r:1 w:1) fn set_class_metadata() -> Weight { - (51_900_000 as Weight) + (55_051_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(2 as Weight)) } + // Storage: Uniques Class (r:1 w:0) + // Storage: Uniques ClassMetadataOf (r:1 w:1) fn clear_class_metadata() -> Weight { - (46_929_000 as Weight) + (49_461_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } + // Storage: Uniques Class (r:1 w:0) + // Storage: Uniques Asset (r:1 w:1) fn approve_transfer() -> Weight { - (32_693_000 as Weight) + (33_367_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } + // Storage: Uniques Class (r:1 w:0) + // Storage: Uniques Asset (r:1 w:1) fn cancel_approval() -> Weight { - (32_418_000 as Weight) + (32_973_000 as Weight) .saturating_add(T::DbWeight::get().reads(2 as Weight)) .saturating_add(T::DbWeight::get().writes(1 as Weight)) } diff --git a/polkadot-parachains/westmint/src/weights/pallet_utility.rs b/polkadot-parachains/westmint/src/weights/pallet_utility.rs index 3b7c921de4c..37b6f7efb42 100644 --- a/polkadot-parachains/westmint/src/weights/pallet_utility.rs +++ b/polkadot-parachains/westmint/src/weights/pallet_utility.rs @@ -1,14 +1,29 @@ +// Copyright 2021 Parity Technologies (UK) Ltd. +// This file is part of Cumulus. -//! Autogenerated weights for pallet_utility +// Cumulus is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// Cumulus is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with Cumulus. If not, see . + +//! Autogenerated weights for `pallet_utility` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0 -//! DATE: 2021-05-31, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("statemint-dev"), DB CACHE: 128 +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev +//! DATE: 2021-10-04, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westmint-dev"), DB CACHE: 128 // Executed Command: -// ./target/release/statemint +// ./target/release/polkadot-collator // benchmark -// --chain=statemint-dev +// --chain=westmint-dev // --execution=wasm // --wasm-execution=compiled // --pallet=pallet_utility @@ -16,9 +31,11 @@ // --steps=50 // --repeat=20 // --raw -// --output=./runtime/statemint/src/weights/ +// --header=./file_header.txt +// --output=./polkadot-parachains/westmint/src/weights +#![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] @@ -29,16 +46,16 @@ use sp_std::marker::PhantomData; pub struct WeightInfo(PhantomData); impl pallet_utility::WeightInfo for WeightInfo { fn batch(c: u32, ) -> Weight { - (15_408_000 as Weight) - // Standard Error: 0 - .saturating_add((4_571_000 as Weight).saturating_mul(c as Weight)) + (36_962_000 as Weight) + // Standard Error: 3_000 + .saturating_add((8_226_000 as Weight).saturating_mul(c as Weight)) } fn as_derivative() -> Weight { - (7_817_000 as Weight) + (4_811_000 as Weight) } fn batch_all(c: u32, ) -> Weight { - (16_520_000 as Weight) - // Standard Error: 0 - .saturating_add((4_571_000 as Weight).saturating_mul(c as Weight)) + (30_669_000 as Weight) + // Standard Error: 3_000 + .saturating_add((9_085_000 as Weight).saturating_mul(c as Weight)) } } diff --git a/scripts/benchmarks.sh b/scripts/benchmarks.sh index eee548dd613..6bcb2d39800 100755 --- a/scripts/benchmarks.sh +++ b/scripts/benchmarks.sh @@ -2,10 +2,15 @@ steps=50 repeat=20 -statemineOutput=./polkadot-parachains/statemine-runtime/src/weights -statemintOutput=./polkadot-parachains/statemint-runtime/src/weights + +statemineOutput=./polkadot-parachains/statemine/src/weights +statemintOutput=./polkadot-parachains/statemint/src/weights +westmintOutput=./polkadot-parachains/westmint/src/weights + statemineChain=statemine-dev statemintChain=statemint-dev +westmintChain=westmint-dev + pallets=( pallet_assets pallet_balances @@ -15,6 +20,7 @@ pallets=( pallet_session pallet_timestamp pallet_utility + pallet_uniques ) for p in ${pallets[@]} @@ -28,6 +34,7 @@ do --steps=$steps \ --repeat=$repeat \ --raw \ + --header=./file_header.txt \ --output=$statemineOutput ./target/release/polkadot-collator benchmark \ @@ -39,6 +46,18 @@ do --steps=$steps \ --repeat=$repeat \ --raw \ + --header=./file_header.txt \ --output=$statemintOutput + ./target/release/polkadot-collator benchmark \ + --chain=$westmintChain \ + --execution=wasm \ + --wasm-execution=compiled \ + --pallet=$p \ + --extrinsic='*' \ + --steps=$steps \ + --repeat=$repeat \ + --raw \ + --header=./file_header.txt \ + --output=$westmintOutput done