Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

[Trappist] XCMv3 + v0.9.31 #6231

Merged
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
185 commits
Select commit Hold shift + click to select a range
994ef9c
Merge branch 'master' into gav-xcm-v3
KiChjang Jun 20, 2022
cfcb797
Merge remote-tracking branch 'origin/master' into gav-xcm-v3
KiChjang Jun 21, 2022
34a969b
Fixes
KiChjang Jun 22, 2022
b63a68a
Spelling
KiChjang Jun 22, 2022
6b28a4b
Fixes
KiChjang Jun 22, 2022
99bf04d
Fix codec index of VersionedXcm
KiChjang Jun 23, 2022
21a59c2
Merge remote-tracking branch 'origin/master' into gav-xcm-v3
KiChjang Jun 24, 2022
119a494
Allows to customize how calls are dispatched from XCM (#5657)
nanocryk Jun 29, 2022
6810d06
Merge remote-tracking branch 'origin/master' into gav-xcm-v3
KiChjang Jun 29, 2022
b4f0aee
Update comment `NoteAssetLocked` -> `NoteUnlockable`
KiChjang Jul 26, 2022
2608ec9
Merge branch 'master' into gav-xcm-v3
KiChjang Aug 10, 2022
81b3068
Merge remote-tracking branch 'origin/master' into gav-xcm-v3
KiChjang Aug 14, 2022
8a8e831
pin gha versions (#5916)
sergejparity Aug 22, 2022
0ace38a
Companion to Substrate PR 12006 (#5913)
nazar-pc Aug 22, 2022
c548525
Fix output file for updating weights in run_benches_for_runtime.sh (#…
mordamax Aug 22, 2022
7540583
Merge remote-tracking branch 'origin/master' into gav-xcm-v3
KiChjang Aug 23, 2022
bdca1c9
Bump hyper from 0.14.19 to 0.14.20 (#5901)
dependabot[bot] Aug 23, 2022
a69eba0
Bump proc-macro2 from 1.0.40 to 1.0.43 (#5878)
dependabot[bot] Aug 23, 2022
1903e3d
Bump indexmap from 1.9.0 to 1.9.1 (#5918)
dependabot[bot] Aug 23, 2022
f23b883
chore: bump zombienet version (#5914)
pepoviola Aug 23, 2022
dc5bb37
Fixes
KiChjang Aug 24, 2022
29499ba
Fixes
KiChjang Aug 24, 2022
54a299f
Send back empty votes + log in approval-voting in case candidate entr…
eskimor Aug 24, 2022
a7741c1
Bump async-trait from 0.1.56 to 0.1.57 (#5919)
dependabot[bot] Aug 24, 2022
c3d5882
Clean up MigrateToV10 (#5921)
coderobe Aug 25, 2022
e75f891
update weights (#5911)
coderobe Aug 25, 2022
157a123
Fix wrong logic. (#5931)
eskimor Aug 25, 2022
7e4afec
Update Substrate to make companion check happy (#5934)
bkchr Aug 26, 2022
ee15e98
use generated preimage weight (#5904)
shawntabrizi Aug 28, 2022
18b0f3f
Companion for 12095 (#5924)
kianenigma Aug 28, 2022
81a969c
Bump futures-util from 0.3.21 to 0.3.23 (#5922)
dependabot[bot] Aug 29, 2022
99d6b55
version bumps (0.9.28) (#5933)
coderobe Aug 29, 2022
6628e73
Fix some typos in dispute-coordinator (#5941)
tdimitrov Aug 29, 2022
270fb1e
Change validation & collation protocol names to include genesis hash …
dmitry-markin Aug 30, 2022
6573248
fix cargo check -p polkadot-node-core-provisioner --all-features (#5942)
ordian Aug 30, 2022
2eb7672
Companion for Weight v1.5 (#5943)
shawntabrizi Aug 31, 2022
57ca93e
Don't store available data on disputes (#5950)
eskimor Sep 1, 2022
e9c2bd2
companion `try-state` (#5907)
kianenigma Sep 1, 2022
91580f1
[Feature] Make XCM benchmarks more reusable and remove a redundant be…
ruseinov Sep 1, 2022
de9e147
Companion for Weight v1.5 Follow Up (#5949)
shawntabrizi Sep 1, 2022
00f8731
candidate-validation: info logs on failure (#5957)
ordian Sep 2, 2022
88798fb
Companion of paritytech/substrate#12157 (#5964)
KiChjang Sep 2, 2022
db86e04
Bump dlmalloc from 0.2.3 to 0.2.4 (#5927)
dependabot[bot] Sep 2, 2022
66374ef
Reflect benchmarking fn signature change (#5959)
notlesh Sep 2, 2022
d4d648e
Use custom type for ProtocolName (#5963)
dmitry-markin Sep 3, 2022
054f0c6
Doc comments for metrics in provisioner (#5967)
tdimitrov Sep 5, 2022
1975c34
Double approval checking timeout. (#5951)
eskimor Sep 5, 2022
b91e8ef
Companion - Read babe config parameters from runtime (#5842)
davxy Sep 6, 2022
b2ff4c0
Companion for: `try-runtime`::`follow-chain` - keep connection (#5968)
pmikolajczyk41 Sep 6, 2022
d100210
[Companion] Metadata delete on dissolve_pool (#5955)
ruseinov Sep 6, 2022
5756285
Bump docker/setup-buildx-action from 1.7.0 to 2.0.0 (#5976)
dependabot[bot] Sep 7, 2022
850d1f5
Companion for paritytech/substrate#12183 (#5971)
KiChjang Sep 8, 2022
7449579
Service: Use weak dependency features (#5966)
bkchr Sep 8, 2022
7222d32
Update Substrate (#5981)
bkchr Sep 8, 2022
00fed3b
Update Rococo to mirror Kusama (#5617)
NachoPal Sep 8, 2022
9ec372c
pvf-checker: enable subsystem on all chains (#5977)
slumber Sep 8, 2022
d7dc28d
disputes rewards (#5862)
ordian Sep 8, 2022
87d6cfc
zombienet: add BEEFY justifications import test (#5855)
acatangiu Sep 8, 2022
5de9b7f
Sync versions with current release (v0.9.29) (#5982)
coderobe Sep 9, 2022
39d2e6b
remove stale polkadot call filter (#5969)
kianenigma Sep 9, 2022
6b141d2
update weights (sync with v0.9.29) (#5989)
coderobe Sep 12, 2022
53253de
Companion for #11981 (#5915)
Szegoo Sep 12, 2022
000a47d
Update Westend Trusted Teleporters (#5985)
joepetrowski Sep 13, 2022
564f9b9
Update cid to 0.8.6 (#5994)
altonen Sep 13, 2022
2dda7bb
Remove CanAuthorWith trait (#5986)
michalkucharczyk Sep 13, 2022
2b0d832
Companion for paritytech/substrate#12219 (#5987)
KiChjang Sep 13, 2022
e044149
update memory-lru:0.1.1 (#6012)
nbaztec Sep 14, 2022
7725d4b
Co #11976: Enable rust features (#5983)
ggwpez Sep 14, 2022
8bd9817
Bump enumn from 0.1.4 to 0.1.5 (#5938)
dependabot[bot] Sep 15, 2022
28912dd
node/core/pvf: strip some deps (#6016)
ordian Sep 15, 2022
28acc78
Bump blake2 from 0.10.2 to 0.10.4 (#6019)
davxy Sep 15, 2022
d17f062
[Substrate Companion] Part 1: add TargetList for validator ranking (#…
ruseinov Sep 18, 2022
bc0cc9d
Use correct file header for 'benchmark overhead' (#5984)
ggwpez Sep 19, 2022
966588d
gossip-support: disconnect when we're no longer in other's reserved s…
ordian Sep 19, 2022
4421789
Improved dispute votes import in provisioner (#5567)
tdimitrov Sep 19, 2022
6d2bae4
Adjust MultiAssets weights based on new wild card variants
KiChjang Sep 20, 2022
57f7cab
[ci] Revert cancel-pipeline job (#6028)
alvicsam Sep 20, 2022
7ed7345
runtime/disputes: slashing (#5535)
ordian Sep 20, 2022
9581849
[Zombienet] add upgrade test (#5970)
pepoviola Sep 20, 2022
bf26e0d
Fixes
KiChjang Sep 20, 2022
afbc64e
Rename Origin (#6020)
Szegoo Sep 20, 2022
c57e69b
Merge remote-tracking branch 'origin/master' into gav-xcm-v3
KiChjang Sep 21, 2022
e2da6e5
[Companion] Get rid of HistoryDepth storage (#5996)
Ank4n Sep 21, 2022
e0d906a
Merge remote-tracking branch 'origin/master' into gav-xcm-v3
KiChjang Sep 21, 2022
4f5d45a
Merge remote-tracking branch 'origin/master' into gav-xcm-v3
KiChjang Sep 21, 2022
7bd9d5f
Fixes
KiChjang Sep 21, 2022
ecdea05
Fixes
KiChjang Sep 21, 2022
64b2996
Fixes
KiChjang Sep 22, 2022
3c21067
Fixes
KiChjang Sep 22, 2022
9ffe6e9
Change visibility of `open_database` for use in cumulus (#6034)
skunert Sep 22, 2022
50c514d
Companion for #12283 (Anon -> Pure Proxy) (#6038)
shawntabrizi Sep 22, 2022
f895642
Merge remote-tracking branch 'origin/master' into gav-xcm-v3
KiChjang Sep 22, 2022
788264d
Increase BlockHashCount parameter (#6037)
marcin-cb Sep 22, 2022
2edb8ad
Some more information on disputes for the guide (#6006)
eskimor Sep 23, 2022
d2974e5
Companion - Independence of Slot-based algorithms from Timestamp (#5997)
davxy Sep 23, 2022
d07588e
Companion for substrate#11983. (#5992)
hzy1919 Sep 26, 2022
403c3e1
[ci] Split gitlab-ci config to separate files (#6031)
alvicsam Sep 26, 2022
2b2376d
orchestra: hide subsystem cycle warnings by default (#6047)
ordian Sep 26, 2022
0e50e33
Companion for paritytech/substrate#12264 (#5973)
altonen Sep 26, 2022
59f899a
paras: unblock offboarding when pvf-check concludes (#6032)
slumber Sep 26, 2022
f7bf844
[orchestra] fix: require the initialization with `F: FnOnce` to be `S…
drahnr Sep 26, 2022
e0a5f58
staking miner: CLI make request and connection timeout configurable (…
niklasad1 Sep 26, 2022
b5157a3
make spellcheck green again (#6059)
ordian Sep 27, 2022
6b67d86
Bump bytes from 1.1.0 to 1.2.1 (#6017)
dependabot[bot] Sep 27, 2022
1cbab5a
Remove executed runtime migrations (nompools MigrateToV3, InitiateNom…
coderobe Sep 27, 2022
c620450
add fast-unstsake pallet to all runtimes (#6050)
kianenigma Sep 28, 2022
3014ee0
Update substrate dependencies
coderobe Sep 28, 2022
637bac9
Bump crate versions
coderobe Sep 28, 2022
df2c1b6
Bump spec_version to 9300
coderobe Sep 28, 2022
816cb64
Rename zombienet extension (#6073)
wirednkod Sep 29, 2022
cea8893
Validate chunks from disk in availability-recovery (#6078)
eskimor Sep 29, 2022
89990bd
Demote warning (#6080)
eskimor Sep 29, 2022
b4632ad
Bump transaction_version for polkadot
coderobe Sep 29, 2022
a7d79b8
Bump transaction_version for kusama
coderobe Sep 29, 2022
c1b5125
Bump transaction_version for rococo
coderobe Sep 29, 2022
6aeaf92
Bump transaction_version for westend
coderobe Sep 29, 2022
702d4fc
add para_id to fetch_pov logging (#6084)
sandreim Sep 30, 2022
980e7a7
Fix: minor typo (#6088)
omahs Oct 1, 2022
3dbe515
Companion for pallet-mmr: generate historical proofs (#6061)
serban300 Oct 2, 2022
be4639b
Remove orchestra and metered channel (#6086)
sandreim Oct 3, 2022
9f65619
Companion for substrate#12124: add BEEFY request response protocol (#…
acatangiu Oct 3, 2022
3fbf6e4
Governance v2 (Kusama only) (#5205)
gavofyork Oct 3, 2022
789ef2f
Use active_leaves instead of known_leaves (#6068)
eskimor Oct 4, 2022
4c54eea
Merge remote-tracking branch 'origin/master' into gav-xcm-v3
bkontur Oct 4, 2022
4ddf0ff
Companion for BEEFY: Simplify hashing for pallet-beefy-mmr (#6098)
serban300 Oct 4, 2022
f073155
Merge remote-tracking branch 'origin/master' into gav-xcm-v3
bkontur Oct 4, 2022
60554e1
Keep sessions in window for the full unfinalized chain (#6054)
sandreim Oct 4, 2022
efb82ef
Bump lru from 0.7.8 to 0.8.0 (#6060)
dependabot[bot] Oct 4, 2022
ce430c2
Batch vote import in dispute-distribution (#5894)
eskimor Oct 4, 2022
c913107
Add unknown words (#6105)
eskimor Oct 4, 2022
edd6499
Buffered connection management for collator-protocol (#6022)
slumber Oct 5, 2022
1879039
Merge remote-tracking branch 'origin/master' into gav-xcm-v3
bkontur Oct 5, 2022
3eb61f8
Properly migrate weights to v2 (#6091)
KiChjang Oct 5, 2022
df4a1c3
Pass through `runtime-benchmark` feature (#6110)
athei Oct 5, 2022
7870daf
Companion for #11649: Bound uses of `Call` (#5729)
gavofyork Oct 5, 2022
3646202
update kvdb & co (#6111)
ordian Oct 5, 2022
d12042f
Skip `unexpected metric type`
bkontur Oct 6, 2022
09f340c
service: use MmrRootProvider as custom BEEFY payload provider (compan…
acatangiu Oct 6, 2022
0645360
update substrate
coderobe Oct 6, 2022
3d6b563
Maximum value for `MultiplierUpdate` (#6021)
Szegoo Oct 6, 2022
9c22a85
Merge remote-tracking branch 'origin/master' into gav-xcm-v3
gavofyork Oct 7, 2022
1c786b3
Companion for upgrading pin-project (#6118)
bkchr Oct 7, 2022
fbc4327
Some late fixes for XCMv3 (#5237)
gavofyork Oct 7, 2022
fb0dd8e
Companion for 12109 (#5929)
Lezek123 Oct 9, 2022
f85f96c
Add event to asset claim (#6029)
girazoki Oct 10, 2022
e36cc59
Fix flaky test (#6131)
slumber Oct 10, 2022
c7a4d93
ci/guide: install mdbook-graphviz (#6119)
ordian Oct 10, 2022
f479d1e
Companion for paritytech/substrate#12441 (#6117)
altonen Oct 10, 2022
84cd6d3
Update tests for Rust 1.64 (#6124)
rcny Oct 10, 2022
9f4eae7
Companion for #12328 (#6058)
lexnv Oct 11, 2022
3147616
Expose node subcommands in Malus CLI (#6135)
sandreim Oct 11, 2022
da5c4f2
Merge remote-tracking branch 'origin/master' into gav-xcm-v3
KiChjang Oct 11, 2022
37e49df
Update Substrate
KiChjang Oct 11, 2022
15709ee
Manual Para Lock (#5451)
shawntabrizi Oct 11, 2022
0398050
refactor grid topology to expose more info to subsystems (#6140)
rphmeier Oct 12, 2022
a28b257
Malus: add disputed block percentage (#6100)
bredamatt Oct 13, 2022
851a108
Separate preparation timeouts for PVF prechecking and execution (#6139)
mrcnski Oct 13, 2022
ae4fe22
pallet-mmr: RPC and Runtime APIs work with block numbers (#6072)
Szegoo Oct 13, 2022
8c28930
lingua.dic is not managed by CI team (#6148)
ordian Oct 13, 2022
4ac7d94
bump zombienet version (#6142)
pepoviola Oct 13, 2022
e307a26
First round of implementers guide fixes (#6146)
BradleyOlson64 Oct 13, 2022
fa54983
Re-export `pub` stuff from universal_exports.rs + removed unecessary …
bkontur Oct 13, 2022
efcaa57
BlockId removal refactor: Backend::state_at (#6149)
michalkucharczyk Oct 14, 2022
828fa9e
Fix fuzzing builds xcm-fuzz and erasure-coding fuzzer (#6153)
code-terror Oct 16, 2022
9d4e1a1
Add `force_open_hrmp_channel` Call (#6155)
joepetrowski Oct 17, 2022
8e57f2c
Update clap to version 4 (#6128)
skunert Oct 18, 2022
4e4fb31
availability-recovery: use `IfDisconnected::TryConnect` for chunks (#…
ordian Oct 18, 2022
6e1baff
BlockId removal: refactor: StorageProvider (#6160)
michalkucharczyk Oct 18, 2022
503d8e1
Bump substrate (#6164)
skunert Oct 18, 2022
f1e36fe
companion for #12212 (#6162)
niklasad1 Oct 18, 2022
41a9d84
Bump docker/setup-buildx-action from 2.0.0 to 2.1.0 (#6141)
dependabot[bot] Oct 19, 2022
5161f47
Bump crate versions
coderobe Oct 19, 2022
d681c7c
Bump spec_version to 9310
coderobe Oct 19, 2022
bc9e71c
Bump crate versions (.31)
coderobe Oct 19, 2022
50c541c
bump transaction_version (0.9.31) (#6171)
coderobe Oct 20, 2022
e269a0a
bump substrate
coderobe Oct 24, 2022
6476ab8
update weights, attempt two (0.9.31) (#6189)
coderobe Oct 28, 2022
3117b81
clean up executed runtime migrations (0.9.31) (#6205)
coderobe Oct 29, 2022
32dd0c9
Make ValidateUnsigned available on all chains for paras. (#6214)
eskimor Oct 30, 2022
b297b16
Merge remote-tracking branch 'origin/gav-xcm-v3' into HEAD
arturgontijo Nov 2, 2022
d21002a
Merge remote-tracking branch 'origin/release-v0.9.30' into HEAD
arturgontijo Nov 2, 2022
82ea76e
Merge remote-tracking branch 'origin/release-v0.9.31' into HEAD
arturgontijo Nov 2, 2022
ddc2ee5
[XCMv3] v0.9.31 + Rococo with FixedWeightBounds
arturgontijo Nov 2, 2022
f5fdb54
[XCMv3] Adding pallet-uniques to xcm-simulator-example
arturgontijo Nov 2, 2022
2748f84
[XCMv3] node/test/service fix.
arturgontijo Nov 2, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
update weights, attempt two (0.9.31) (#6189)
* westend: update weights

* rococo: update weights

* kusama: update weights

* polkadot: update weights

* add deps

fix compilation

Co-authored-by: Shawn Tabrizi <[email protected]>

* bump substrate

* Co #12558: Update `pallet-multisig` benches (#6188)

* Typo

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Add multisig weights

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Update multisig weights

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* update lockfile for {"substrate"}

Signed-off-by: Oliver Tale-Yazdi <[email protected]>
Co-authored-by: parity-processbot <>

Signed-off-by: Oliver Tale-Yazdi <[email protected]>
Co-authored-by: Shawn Tabrizi <[email protected]>
Co-authored-by: Oliver Tale-Yazdi <[email protected]>
  • Loading branch information
3 people authored Oct 28, 2022
commit 6476ab83ce1c575a1cc7e4d10c20cfe475331928
370 changes: 190 additions & 180 deletions Cargo.lock

Large diffs are not rendered by default.

8 changes: 6 additions & 2 deletions runtime/kusama/constants/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,14 @@ smallvec = "1.8.0"
frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.31" }
primitives = { package = "polkadot-primitives", path = "../../../primitives", default-features = false }
runtime-common = { package = "polkadot-runtime-common", path = "../../common", default-features = false }
sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.31" }
sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.31", default-features = false }
sp-weights = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.31", default-features = false }
sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.31", default-features = false }

[features]
default = ["std"]
std = [
"sp-runtime/std"
"sp-core/std",
"sp-runtime/std",
"sp-weights/std"
]
57 changes: 27 additions & 30 deletions runtime/kusama/constants/src/weights/block_weights.rs
Original file line number Diff line number Diff line change
@@ -1,28 +1,26 @@
// This file is part of Substrate.
// Copyright 2017-2022 Parity Technologies (UK) Ltd.
// This file is part of Polkadot.

// Copyright (C) 2022 Parity Technologies (UK) Ltd.
// SPDX-License-Identifier: Apache-2.0
// Polkadot 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.

// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
// Polkadot 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 Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-08-19 (Y/M/D)
//! DATE: 2022-10-25 (Y/M/D)
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//!
//! SHORT-NAME: `block`, LONG-NAME: `BlockExecution`, RUNTIME: `Development`
//! WARMUPS: `10`, REPEAT: `100`
//! WEIGHT-PATH: `runtime/kusama/constants/src/weights/`
//! WEIGHT-METRIC: `Average`, WEIGHT-MUL: `1`, WEIGHT-ADD: `0`
//! WEIGHT-METRIC: `Average`, WEIGHT-MUL: `1.0`, WEIGHT-ADD: `0`

// Executed Command:
// ./target/production/polkadot
Expand All @@ -34,32 +32,31 @@
// --weight-path=runtime/kusama/constants/src/weights/
// --warmup=10
// --repeat=100
// --header=./file_header.txt

use frame_support::{
parameter_types,
weights::{constants::WEIGHT_PER_NANOS, Weight},
};
use sp_core::parameter_types;
use sp_weights::{constants::WEIGHT_PER_NANOS, Weight};

parameter_types! {
/// Time to execute an empty block.
/// Calculated by multiplying the *Average* with `1` and adding `0`.
/// Calculated by multiplying the *Average* with `1.0` and adding `0`.
///
/// Stats nanoseconds:
/// Min, Max: 6_094_385, 6_351_993
/// Average: 6_192_341
/// Median: 6_193_838
/// Std-Dev: 63893.84
/// Min, Max: 6_336_696, 6_629_376
/// Average: 6_435_161
/// Median: 6_432_853
/// Std-Dev: 60191.34
///
/// Percentiles nanoseconds:
/// 99th: 6_332_047
/// 95th: 6_308_225
/// 75th: 6_236_204
pub const BlockExecutionWeight: Weight = WEIGHT_PER_NANOS.saturating_mul(6_192_341);
/// 99th: 6_588_459
/// 95th: 6_521_973
/// 75th: 6_477_748
pub const BlockExecutionWeight: Weight = WEIGHT_PER_NANOS.saturating_mul(6_435_161);
}

#[cfg(test)]
mod test_weights {
use frame_support::weights::constants;
use sp_weights::constants;

/// Checks that the weight exists and is sane.
// NOTE: If this test fails but you are sure that the generated values are fine,
Expand Down
62 changes: 30 additions & 32 deletions runtime/kusama/constants/src/weights/extrinsic_weights.rs
Original file line number Diff line number Diff line change
@@ -1,27 +1,26 @@
// This file is part of Substrate.
// Copyright 2017-2022 Parity Technologies (UK) Ltd.
// This file is part of Polkadot.

// Copyright (C) 2022 Parity Technologies (UK) Ltd.
// SPDX-License-Identifier: Apache-2.0
// Polkadot 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.

// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
// Polkadot 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 Polkadot. If not, see <http://www.gnu.org/licenses/>.
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-04-20 (Y/M/D)
//! DATE: 2022-10-25 (Y/M/D)
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//!
//! SHORT-NAME: `extrinsic`, LONG-NAME: `ExtrinsicBase`, RUNTIME: `Development`
//! WARMUPS: `10`, REPEAT: `100`
//! WEIGHT-PATH: `runtime/kusama/constants/src/weights/`
//! WEIGHT-METRIC: `Average`, WEIGHT-MUL: `1`, WEIGHT-ADD: `0`
//! WEIGHT-METRIC: `Average`, WEIGHT-MUL: `1.0`, WEIGHT-ADD: `0`

// Executed Command:
// ./target/production/polkadot
Expand All @@ -33,32 +32,31 @@
// --weight-path=runtime/kusama/constants/src/weights/
// --warmup=10
// --repeat=100
// --header=./file_header.txt

use frame_support::{
parameter_types,
weights::{constants::WEIGHT_PER_NANOS, Weight},
};
use sp_core::parameter_types;
use sp_weights::{constants::WEIGHT_PER_NANOS, Weight};

parameter_types! {
/// Time to execute a NO-OP extrinsic, for example `System::remark`.
/// Calculated by multiplying the *Average* with `1` and adding `0`.
/// Calculated by multiplying the *Average* with `1.0` and adding `0`.
///
/// Stats [NS]:
/// Min, Max: 85_946, 88_408
/// Average: 86_309
/// Median: 86_213
/// Std-Dev: 345.03
/// Stats nanoseconds:
/// Min, Max: 95_139, 96_661
/// Average: 95_578
/// Median: 95_507
/// Std-Dev: 279.89
///
/// Percentiles [NS]:
/// 99th: 87_527
/// 95th: 86_901
/// 75th: 86_308
pub const ExtrinsicBaseWeight: Weight = WEIGHT_PER_NANOS.saturating_mul(86_309);
/// Percentiles nanoseconds:
/// 99th: 96_641
/// 95th: 96_239
/// 75th: 95_630
pub const ExtrinsicBaseWeight: Weight = WEIGHT_PER_NANOS.saturating_mul(95_578);
}

#[cfg(test)]
mod test_weights {
use frame_support::weights::constants;
use sp_weights::constants;

/// Checks that the weight exists and is sane.
// NOTE: If this test fails but you are sure that the generated values are fine,
Expand Down
46 changes: 27 additions & 19 deletions runtime/kusama/src/weights/frame_benchmarking_baseline.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
//! Autogenerated weights for `frame_benchmarking::baseline`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2022-10-24, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024

Expand All @@ -38,54 +38,62 @@
#![allow(unused_parens)]
#![allow(unused_imports)]

use frame_support::{traits::Get, weights::{Weight}};
use frame_support::{traits::Get, weights::Weight};
use sp_std::marker::PhantomData;

/// Weight functions for `frame_benchmarking::baseline`.
pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> frame_benchmarking::baseline::WeightInfo for WeightInfo<T> {
/// The range of component `i` is `[0, 1000000]`.
fn addition(_i: u32, ) -> Weight {
Weight::from_ref_time(114_000 as u64)
// Minimum execution time: 86 nanoseconds.
Weight::from_ref_time(102_920 as u64)
}
/// The range of component `i` is `[0, 1000000]`.
fn subtraction(_i: u32, ) -> Weight {
Weight::from_ref_time(125_000 as u64)
// Minimum execution time: 93 nanoseconds.
Weight::from_ref_time(110_716 as u64)
}
/// The range of component `i` is `[0, 1000000]`.
fn multiplication(_i: u32, ) -> Weight {
Weight::from_ref_time(116_000 as u64)
// Minimum execution time: 97 nanoseconds.
Weight::from_ref_time(121_613 as u64)
}
/// The range of component `i` is `[0, 1000000]`.
fn division(_i: u32, ) -> Weight {
Weight::from_ref_time(115_000 as u64)
// Minimum execution time: 85 nanoseconds.
Weight::from_ref_time(108_770 as u64)
}
/// The range of component `i` is `[0, 100]`.
fn hashing(i: u32, ) -> Weight {
Weight::from_ref_time(19_441_790_000 as u64)
// Standard Error: 126_000
.saturating_add(Weight::from_ref_time(115_000 as u64).saturating_mul(i as u64))
// Minimum execution time: 19_096_918 nanoseconds.
Weight::from_ref_time(19_341_958_891 as u64)
// Standard Error: 136_508
.saturating_add(Weight::from_ref_time(347_531 as u64).saturating_mul(i as u64))
}
/// The range of component `i` is `[1, 100]`.
/// The range of component `i` is `[0, 100]`.
fn sr25519_verification(i: u32, ) -> Weight {
Weight::from_ref_time(0 as u64)
// Standard Error: 35_000
.saturating_add(Weight::from_ref_time(47_909_000 as u64).saturating_mul(i as u64))
// Minimum execution time: 111 nanoseconds.
Weight::from_ref_time(118_000 as u64)
// Standard Error: 16_773
.saturating_add(Weight::from_ref_time(47_757_384 as u64).saturating_mul(i as u64))
}
// Storage: Skipped Metadata (r:0 w:0)
/// The range of component `i` is `[0, 1000]`.
fn storage_read(i: u32, ) -> Weight {
Weight::from_ref_time(0 as u64)
// Standard Error: 7_000
.saturating_add(Weight::from_ref_time(1_998_000 as u64).saturating_mul(i as u64))
// Minimum execution time: 94 nanoseconds.
Weight::from_ref_time(97_000 as u64)
// Standard Error: 3_564
.saturating_add(Weight::from_ref_time(1_832_717 as u64).saturating_mul(i as u64))
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(i as u64)))
}
// Storage: Skipped Metadata (r:0 w:0)
/// The range of component `i` is `[0, 1000]`.
fn storage_write(i: u32, ) -> Weight {
Weight::from_ref_time(0 as u64)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(338_000 as u64).saturating_mul(i as u64))
// Minimum execution time: 111 nanoseconds.
Weight::from_ref_time(119_000 as u64)
// Standard Error: 812
.saturating_add(Weight::from_ref_time(320_377 as u64).saturating_mul(i as u64))
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(i as u64)))
}
}
26 changes: 14 additions & 12 deletions runtime/kusama/src/weights/frame_election_provider_support.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
//! Autogenerated weights for `frame_election_provider_support`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2022-10-24, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024

Expand All @@ -38,7 +38,7 @@
#![allow(unused_parens)]
#![allow(unused_imports)]

use frame_support::{traits::Get, weights::{Weight}};
use frame_support::{traits::Get, weights::Weight};
use sp_std::marker::PhantomData;

/// Weight functions for `frame_election_provider_support`.
Expand All @@ -48,20 +48,22 @@ impl<T: frame_system::Config> frame_election_provider_support::WeightInfo for We
/// The range of component `t` is `[500, 1000]`.
/// The range of component `d` is `[5, 16]`.
fn phragmen(v: u32, _t: u32, d: u32, ) -> Weight {
Weight::from_ref_time(0 as u64)
// Standard Error: 56_000
.saturating_add(Weight::from_ref_time(13_944_000 as u64).saturating_mul(v as u64))
// Standard Error: 4_876_000
.saturating_add(Weight::from_ref_time(2_223_649_000 as u64).saturating_mul(d as u64))
// Minimum execution time: 5_442_855 nanoseconds.
Weight::from_ref_time(5_493_581_000 as u64)
// Standard Error: 137_072
.saturating_add(Weight::from_ref_time(5_644_474 as u64).saturating_mul(v as u64))
// Standard Error: 14_013_799
.saturating_add(Weight::from_ref_time(1_560_631_740 as u64).saturating_mul(d as u64))
}
/// The range of component `v` is `[1000, 2000]`.
/// The range of component `t` is `[500, 1000]`.
/// The range of component `d` is `[5, 16]`.
fn phragmms(v: u32, _t: u32, d: u32, ) -> Weight {
Weight::from_ref_time(0 as u64)
// Standard Error: 79_000
.saturating_add(Weight::from_ref_time(14_480_000 as u64).saturating_mul(v as u64))
// Standard Error: 6_844_000
.saturating_add(Weight::from_ref_time(2_525_332_000 as u64).saturating_mul(d as u64))
// Minimum execution time: 4_312_432 nanoseconds.
Weight::from_ref_time(4_352_242_000 as u64)
// Standard Error: 147_368
.saturating_add(Weight::from_ref_time(5_532_148 as u64).saturating_mul(v as u64))
// Standard Error: 15_066_445
.saturating_add(Weight::from_ref_time(1_788_360_934 as u64).saturating_mul(d as u64))
}
}
Loading