Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
Merged
Changes from 1 commit
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
80e32eb
add `force_set_active_config`
rphmeier Apr 8, 2021
c459ded
add parachains modules to Westend
rphmeier Apr 8, 2021
ed5b2d2
add parachains modules to Kusama runtime
rphmeier Apr 8, 2021
28e3190
use real runtime API impl
rphmeier Apr 8, 2021
f4c704b
add module indices and remove auctions, crowdloan
rphmeier Apr 8, 2021
e67e2ef
add benchmarks
rphmeier Apr 8, 2021
78ab034
remove previous migrations and add host configuration set migration
rphmeier Apr 8, 2021
9d05f14
make compile
shawntabrizi Apr 8, 2021
402543d
Merge branch 'master' into rh-parachains-runtime
shawntabrizi Apr 8, 2021
5386cc1
Add Call Filter for Registrar and Slots except Root
shawntabrizi Apr 8, 2021
c154e4a
cargo run --release --features=runtime-benchmarks -- benchmark --chai…
Apr 9, 2021
11b38cb
Merge remote-tracking branch 'origin/master' into rh-parachains-runtime
Apr 9, 2021
0dcf7b7
cargo run --release --features=runtime-benchmarks -- benchmark --chai…
Apr 9, 2021
d77a6bc
Merge remote-tracking branch 'origin/master' into rh-parachains-runtime
Apr 9, 2021
6679514
Merge remote-tracking branch 'origin/master' into rh-parachains-runtime
Apr 10, 2021
763afc6
Merge branch 'master' into rh-parachains-runtime
shawntabrizi Apr 10, 2021
803caa5
fix build
shawntabrizi Apr 10, 2021
52bcdbd
update `add_benchmark`
shawntabrizi Apr 10, 2021
b9da81e
cargo run --release --features=runtime-benchmarks -- benchmark --chai…
Apr 10, 2021
7b071c0
cargo run --release --features=runtime-benchmarks -- benchmark --chai…
Apr 10, 2021
ff1c2e9
Merge remote-tracking branch 'origin/master' into rh-parachains-runtime
Apr 10, 2021
b2b0d76
cargo run --release --features=runtime-benchmarks -- benchmark --chai…
Apr 10, 2021
38ff27f
cargo run --release --features=runtime-benchmarks -- benchmark --chai…
Apr 10, 2021
0f42d70
fix weights
shawntabrizi Apr 10, 2021
d2e3b56
tweak more constants
rphmeier Apr 23, 2021
f30463a
Merge remote-tracking branch 'origin/master' into rh-parachains-runtime
gavofyork Apr 30, 2021
475766e
Fix up the kusama runtime
gavofyork Apr 30, 2021
b30ae1f
Westend runtime fixups
gavofyork Apr 30, 2021
d3998db
Fix MMR & Beefy for westend
gavofyork Apr 30, 2021
5f85021
Fixes
gavofyork Apr 30, 2021
9f97f01
fix tests
shawntabrizi Apr 30, 2021
07573d6
Update runtime/polkadot/src/constants.rs
gavofyork May 1, 2021
aa33fd4
Update runtime/westend/src/lib.rs
gavofyork May 1, 2021
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
cargo run --release --features=runtime-benchmarks -- benchmark --chai…
…n=westend-dev --steps=50 --repeat=20 --pallet=slots --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/westend/src/weights/
  • Loading branch information
Parity Benchmarking Bot committed Apr 9, 2021
commit c154e4ae2b5563f4fb61bc705238b9bcaf4b22c4
74 changes: 74 additions & 0 deletions runtime/westend/src/weights/slots.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
// Copyright 2017-2020 Parity Technologies (UK) Ltd.
// This file is part of Polkadot.

// 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.

// 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/>.
//! Autogenerated weights for slots
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0
//! DATE: 2021-04-09, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 128

// Executed Command:
// target/release/polkadot
// benchmark
// --chain=westend-dev
// --steps=50
// --repeat=20
// --pallet=slots
// --extrinsic=*
// --execution=wasm
// --wasm-execution=compiled
// --heap-pages=4096
// --header=./file_header.txt
// --output=./runtime/westend/src/weights/


#![allow(unused_parens)]
#![allow(unused_imports)]

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

/// Weight functions for slots.
pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> slots::WeightInfo for WeightInfo<T> {
fn force_lease() -> Weight {
(49_448_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
}
fn manage_lease_period_start(c: u32, t: u32, ) -> Weight {
(0 as Weight)
// Standard Error: 20_000
.saturating_add((17_785_000 as Weight).saturating_mul(c as Weight))
// Standard Error: 20_000
.saturating_add((36_095_000 as Weight).saturating_mul(t as Weight))
.saturating_add(T::DbWeight::get().reads(4 as Weight))
.saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(c as Weight)))
.saturating_add(T::DbWeight::get().reads((3 as Weight).saturating_mul(t as Weight)))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(c as Weight)))
.saturating_add(T::DbWeight::get().writes((3 as Weight).saturating_mul(t as Weight)))
}
fn clear_all_leases() -> Weight {
(205_790_000 as Weight)
.saturating_add(T::DbWeight::get().reads(9 as Weight))
.saturating_add(T::DbWeight::get().writes(9 as Weight))
}
fn trigger_onboard() -> Weight {
(43_658_000 as Weight)
.saturating_add(T::DbWeight::get().reads(5 as Weight))
.saturating_add(T::DbWeight::get().writes(3 as Weight))
}
}