diff --git a/Cargo.lock b/Cargo.lock index 6579406345..2cf89cd6c3 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -747,6 +747,7 @@ dependencies = [ name = "bifrost-liquidity-mining" version = "0.8.0" dependencies = [ + "frame-benchmarking", "frame-support", "frame-system", "node-primitives", diff --git a/runtime/bifrost/src/weights/bifrost_liquidity_mining.rs b/runtime/bifrost/src/weights/bifrost_liquidity_mining.rs index 391f8ffee2..2065b80c0c 100644 --- a/runtime/bifrost/src/weights/bifrost_liquidity_mining.rs +++ b/runtime/bifrost/src/weights/bifrost_liquidity_mining.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for `bifrost_liquidity_mining` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2021-09-23, STEPS: `50`, REPEAT: 1, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2021-09-24, STEPS: `50`, REPEAT: 1, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("bifrost-local"), DB CACHE: 128 // Executed Command: @@ -34,7 +34,7 @@ // --wasm-execution=compiled // --heap-pages=4096 // --header=./HEADER-GPL3 -// --output=./runtime/bifrost/src/weights/bifrost_liquidity_mining +// --output=./runtime/bifrost/src/weights/bifrost-liquidity-mining.rs #![cfg_attr(rustfmt, rustfmt_skip)] @@ -56,7 +56,7 @@ impl bifrost_liquidity_mining::WeightInfo for WeightInf // Storage: System EventCount (r:1 w:1) // Storage: System Events (r:1 w:1) fn charge() -> Weight { - (132_000_000 as Weight) + (332_610_000 as Weight) .saturating_add(T::DbWeight::get().reads(9 as Weight)) .saturating_add(T::DbWeight::get().writes(7 as Weight)) } @@ -69,7 +69,7 @@ impl bifrost_liquidity_mining::WeightInfo for WeightInf // Storage: System EventCount (r:1 w:1) // Storage: System Events (r:1 w:1) fn deposit() -> Weight { - (88_000_000 as Weight) + (250_610_000 as Weight) .saturating_add(T::DbWeight::get().reads(10 as Weight)) .saturating_add(T::DbWeight::get().writes(8 as Weight)) } @@ -83,7 +83,7 @@ impl bifrost_liquidity_mining::WeightInfo for WeightInf // Storage: System Events (r:1 w:1) // Storage: Tokens Locks (r:2 w:2) fn redeem() -> Weight { - (179_000_000 as Weight) + (446_501_000 as Weight) .saturating_add(T::DbWeight::get().reads(13 as Weight)) .saturating_add(T::DbWeight::get().writes(11 as Weight)) } @@ -97,7 +97,7 @@ impl bifrost_liquidity_mining::WeightInfo for WeightInf // Storage: System Events (r:1 w:1) // Storage: Tokens Locks (r:2 w:2) fn volunteer_to_redeem() -> Weight { - (199_000_000 as Weight) + (497_906_000 as Weight) .saturating_add(T::DbWeight::get().reads(14 as Weight)) .saturating_add(T::DbWeight::get().writes(11 as Weight)) } @@ -110,7 +110,7 @@ impl bifrost_liquidity_mining::WeightInfo for WeightInf // Storage: System EventCount (r:1 w:1) // Storage: System Events (r:1 w:1) fn claim() -> Weight { - (117_000_000 as Weight) + (299_343_000 as Weight) .saturating_add(T::DbWeight::get().reads(9 as Weight)) .saturating_add(T::DbWeight::get().writes(7 as Weight)) }