Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion runtime/kusama/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
apis: RUNTIME_API_VERSIONS,
#[cfg(feature = "disable-runtime-api")]
apis: version::create_apis_vec![[]],
transaction_version: 5,
transaction_version: 6,
};

/// The BABE epoch configuration at genesis.
Expand Down
16 changes: 8 additions & 8 deletions runtime/kusama/src/weights/pallet_balances.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
//! Autogenerated weights for `pallet_balances`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2021-08-18, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2021-09-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 128

// Executed Command:
Expand All @@ -41,42 +41,42 @@
use frame_support::{traits::Get, weights::Weight};
use sp_std::marker::PhantomData;

/// Weight functions for `pallet_balances`.
/// Weight functions for pallet_balances.
pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
// Storage: System Account (r:1 w:1)
fn transfer() -> Weight {
(76_551_000 as Weight)
(75_594_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 {
(56_690_000 as Weight)
(57_231_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 {
(30_874_000 as Weight)
(30_216_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 {
(37_879_000 as Weight)
(37_116_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_054_000 as Weight)
(76_416_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 {
(72_108_000 as Weight)
(70_205_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
Expand Down
28 changes: 14 additions & 14 deletions runtime/kusama/src/weights/pallet_bounties.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
//! Autogenerated weights for `pallet_bounties`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2021-08-18, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2021-09-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 128

// Executed Command:
Expand All @@ -41,15 +41,15 @@
use frame_support::{traits::Get, weights::Weight};
use sp_std::marker::PhantomData;

/// Weight functions for `pallet_bounties`.
/// Weight functions for pallet_bounties.
pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_bounties::WeightInfo for WeightInfo<T> {
// Storage: Treasury BountyCount (r:1 w:1)
// Storage: System Account (r:1 w:1)
// Storage: Treasury BountyDescriptions (r:0 w:1)
// Storage: Treasury Bounties (r:0 w:1)
fn propose_bounty(d: u32, ) -> Weight {
(45_118_000 as Weight)
(45_721_000 as Weight)
// Standard Error: 0
.saturating_add((2_000 as Weight).saturating_mul(d as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight))
Expand All @@ -58,63 +58,63 @@ impl<T: frame_system::Config> pallet_bounties::WeightInfo for WeightInfo<T> {
// Storage: Treasury Bounties (r:1 w:1)
// Storage: Treasury BountyApprovals (r:1 w:1)
fn approve_bounty() -> Weight {
(11_415_000 as Weight)
(11_396_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
}
// Storage: Treasury Bounties (r:1 w:1)
fn propose_curator() -> Weight {
(9_395_000 as Weight)
(9_316_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
// Storage: Treasury Bounties (r:1 w:1)
// Storage: System Account (r:1 w:1)
fn unassign_curator() -> Weight {
(54_272_000 as Weight)
(54_372_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
}
// Storage: Treasury Bounties (r:1 w:1)
// Storage: System Account (r:1 w:1)
fn accept_curator() -> Weight {
(37_448_000 as Weight)
(37_596_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
}
// Storage: Treasury Bounties (r:1 w:1)
fn award_bounty() -> Weight {
(25_722_000 as Weight)
(25_986_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
// Storage: Treasury Bounties (r:1 w:1)
// Storage: System Account (r:3 w:3)
// Storage: Treasury BountyDescriptions (r:0 w:1)
fn claim_bounty() -> Weight {
(132_949_000 as Weight)
(129_437_000 as Weight)
.saturating_add(T::DbWeight::get().reads(4 as Weight))
.saturating_add(T::DbWeight::get().writes(5 as Weight))
}
// Storage: Treasury Bounties (r:1 w:1)
// Storage: System Account (r:1 w:1)
// Storage: Treasury BountyDescriptions (r:0 w:1)
fn close_bounty_proposed() -> Weight {
(54_351_000 as Weight)
(54_011_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(3 as Weight))
}
// Storage: Treasury Bounties (r:1 w:1)
// Storage: System Account (r:2 w:2)
// Storage: Treasury BountyDescriptions (r:0 w:1)
fn close_bounty_active() -> Weight {
(85_377_000 as Weight)
(85_498_000 as Weight)
.saturating_add(T::DbWeight::get().reads(3 as Weight))
.saturating_add(T::DbWeight::get().writes(4 as Weight))
}
// Storage: Treasury Bounties (r:1 w:1)
fn extend_bounty_expiry() -> Weight {
(24_264_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))
}
Expand All @@ -123,8 +123,8 @@ impl<T: frame_system::Config> pallet_bounties::WeightInfo for WeightInfo<T> {
// Storage: System Account (r:2 w:2)
fn spend_funds(b: u32, ) -> Weight {
(0 as Weight)
// Standard Error: 25_000
.saturating_add((62_351_000 as Weight).saturating_mul(b as Weight))
// Standard Error: 26_000
.saturating_add((62_477_000 as Weight).saturating_mul(b as Weight))
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().reads((3 as Weight).saturating_mul(b as Weight)))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
Expand Down
68 changes: 34 additions & 34 deletions runtime/kusama/src/weights/pallet_collective.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
//! Autogenerated weights for `pallet_collective`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2021-08-18, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2021-09-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 128

// Executed Command:
Expand All @@ -41,7 +41,7 @@
use frame_support::{traits::Get, weights::Weight};
use sp_std::marker::PhantomData;

/// Weight functions for `pallet_collective`.
/// Weight functions for pallet_collective.
pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
// Storage: Instance1Collective Members (r:1 w:1)
Expand All @@ -50,34 +50,34 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
// Storage: Instance1Collective Prime (r:0 w:1)
fn set_members(m: u32, n: u32, p: u32, ) -> Weight {
(0 as Weight)
// Standard Error: 10_000
.saturating_add((17_524_000 as Weight).saturating_mul(m as Weight))
// Standard Error: 10_000
.saturating_add((123_000 as Weight).saturating_mul(n as Weight))
// Standard Error: 10_000
.saturating_add((22_266_000 as Weight).saturating_mul(p as Weight))
// Standard Error: 7_000
.saturating_add((17_163_000 as Weight).saturating_mul(m as Weight))
// Standard Error: 7_000
.saturating_add((154_000 as Weight).saturating_mul(n as Weight))
// Standard Error: 7_000
.saturating_add((22_067_000 as Weight).saturating_mul(p as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(p as Weight)))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(p as Weight)))
}
// Storage: Instance1Collective Members (r:1 w:0)
fn execute(b: u32, m: u32, ) -> Weight {
(27_341_000 as Weight)
(26_551_000 as Weight)
// Standard Error: 0
.saturating_add((4_000 as Weight).saturating_mul(b as Weight))
// Standard Error: 0
.saturating_add((102_000 as Weight).saturating_mul(m as Weight))
// Standard Error: 1_000
.saturating_add((91_000 as Weight).saturating_mul(m as Weight))
.saturating_add(T::DbWeight::get().reads(1 as Weight))
}
// Storage: Instance1Collective Members (r:1 w:0)
// Storage: Instance1Collective ProposalOf (r:1 w:0)
fn propose_execute(b: u32, m: u32, ) -> Weight {
(32_662_000 as Weight)
(30_718_000 as Weight)
// Standard Error: 0
.saturating_add((4_000 as Weight).saturating_mul(b as Weight))
// Standard Error: 0
.saturating_add((200_000 as Weight).saturating_mul(m as Weight))
.saturating_add((201_000 as Weight).saturating_mul(m as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight))
}
// Storage: Instance1Collective Members (r:1 w:0)
Expand All @@ -86,22 +86,22 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
// Storage: Instance1Collective ProposalCount (r:1 w:1)
// Storage: Instance1Collective Voting (r:0 w:1)
fn propose_proposed(b: u32, m: u32, p: u32, ) -> Weight {
(43_505_000 as Weight)
(43_545_000 as Weight)
// Standard Error: 0
.saturating_add((7_000 as Weight).saturating_mul(b as Weight))
.saturating_add((6_000 as Weight).saturating_mul(b as Weight))
// Standard Error: 0
.saturating_add((113_000 as Weight).saturating_mul(m as Weight))
.saturating_add((109_000 as Weight).saturating_mul(m as Weight))
// Standard Error: 0
.saturating_add((428_000 as Weight).saturating_mul(p as Weight))
.saturating_add((422_000 as Weight).saturating_mul(p as Weight))
.saturating_add(T::DbWeight::get().reads(4 as Weight))
.saturating_add(T::DbWeight::get().writes(4 as Weight))
}
// Storage: Instance1Collective Members (r:1 w:0)
// Storage: Instance1Collective Voting (r:1 w:1)
fn vote(m: u32, ) -> Weight {
(32_901_000 as Weight)
(33_995_000 as Weight)
// Standard Error: 0
.saturating_add((260_000 as Weight).saturating_mul(m as Weight))
.saturating_add((259_000 as Weight).saturating_mul(m as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
Expand All @@ -110,11 +110,11 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
// Storage: Instance1Collective Proposals (r:1 w:1)
// Storage: Instance1Collective ProposalOf (r:0 w:1)
fn close_early_disapproved(m: u32, p: u32, ) -> Weight {
(42_597_000 as Weight)
(43_254_000 as Weight)
// Standard Error: 0
.saturating_add((207_000 as Weight).saturating_mul(m as Weight))
.saturating_add((210_000 as Weight).saturating_mul(m as Weight))
// Standard Error: 0
.saturating_add((386_000 as Weight).saturating_mul(p as Weight))
.saturating_add((384_000 as Weight).saturating_mul(p as Weight))
.saturating_add(T::DbWeight::get().reads(3 as Weight))
.saturating_add(T::DbWeight::get().writes(3 as Weight))
}
Expand All @@ -123,12 +123,12 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
// Storage: Instance1Collective ProposalOf (r:1 w:1)
// Storage: Instance1Collective Proposals (r:1 w:1)
fn close_early_approved(b: u32, m: u32, p: u32, ) -> Weight {
(68_093_000 as Weight)
(61_942_000 as Weight)
// Standard Error: 0
.saturating_add((4_000 as Weight).saturating_mul(b as Weight))
// Standard Error: 0
.saturating_add((210_000 as Weight).saturating_mul(m as Weight))
// Standard Error: 0
// Standard Error: 1_000
.saturating_add((208_000 as Weight).saturating_mul(m as Weight))
// Standard Error: 1_000
.saturating_add((389_000 as Weight).saturating_mul(p as Weight))
.saturating_add(T::DbWeight::get().reads(4 as Weight))
.saturating_add(T::DbWeight::get().writes(3 as Weight))
Expand All @@ -139,11 +139,11 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
// Storage: Instance1Collective Proposals (r:1 w:1)
// Storage: Instance1Collective ProposalOf (r:0 w:1)
fn close_disapproved(m: u32, p: u32, ) -> Weight {
(46_655_000 as Weight)
(48_033_000 as Weight)
// Standard Error: 0
.saturating_add((212_000 as Weight).saturating_mul(m as Weight))
.saturating_add((211_000 as Weight).saturating_mul(m as Weight))
// Standard Error: 0
.saturating_add((389_000 as Weight).saturating_mul(p as Weight))
.saturating_add((383_000 as Weight).saturating_mul(p as Weight))
.saturating_add(T::DbWeight::get().reads(4 as Weight))
.saturating_add(T::DbWeight::get().writes(3 as Weight))
}
Expand All @@ -153,11 +153,11 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
// Storage: Instance1Collective ProposalOf (r:1 w:1)
// Storage: Instance1Collective Proposals (r:1 w:1)
fn close_approved(b: u32, m: u32, p: u32, ) -> Weight {
(72_866_000 as Weight)
(66_721_000 as Weight)
// Standard Error: 0
.saturating_add((4_000 as Weight).saturating_mul(b as Weight))
.saturating_add((3_000 as Weight).saturating_mul(b as Weight))
// Standard Error: 0
.saturating_add((207_000 as Weight).saturating_mul(m as Weight))
.saturating_add((209_000 as Weight).saturating_mul(m as Weight))
// Standard Error: 0
.saturating_add((389_000 as Weight).saturating_mul(p as Weight))
.saturating_add(T::DbWeight::get().reads(5 as Weight))
Expand All @@ -167,9 +167,9 @@ impl<T: frame_system::Config> pallet_collective::WeightInfo for WeightInfo<T> {
// Storage: Instance1Collective Voting (r:0 w:1)
// Storage: Instance1Collective ProposalOf (r:0 w:1)
fn disapprove_proposal(p: u32, ) -> Weight {
(25_971_000 as Weight)
(26_765_000 as Weight)
// Standard Error: 0
.saturating_add((389_000 as Weight).saturating_mul(p as Weight))
.saturating_add((385_000 as Weight).saturating_mul(p as Weight))
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(3 as Weight))
}
Expand Down
Loading