diff --git a/README.md b/README.md index 32ff3a6312..ea46a1e7c8 100644 --- a/README.md +++ b/README.md @@ -135,14 +135,14 @@ subkey generate-node-key --file ~/node-key/bifrost.key Replace your-fullnode-name ```sh -docker pull bifrostnetwork/bifrost:v0.8.3 +docker pull bifrostnetwork/bifrost:latest docker run -d \ -v ~/node-key:/node-key \ -p 9944:9944 \ -p 9933:9933 \ -p 30333:30333 \ -p 9615:9615 \ -bifrostnetwork/bifrost:v0.8.3 \ +bifrostnetwork/bifrost:latest \ --name your-fullnode-name \ --base-path "/data" \ --node-key-file "/node-key/bifrost.key" \ @@ -154,4 +154,4 @@ bifrostnetwork/bifrost:v0.8.3 \ --ws-external \ --rpc-cors all \ --execution wasm -``` \ No newline at end of file +``` diff --git a/runtime/bifrost/src/weights/bifrost_liquidity_mining.rs b/runtime/bifrost/src/weights/bifrost_liquidity_mining.rs index 16fdd81419..8f9545d678 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-26, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("bifrost-local"), DB CACHE: 128 // Executed Command: @@ -27,14 +27,14 @@ // benchmark // --chain=bifrost-local // --steps=50 -// --repeat=1 +// --repeat=20 // --pallet=bifrost-liquidity-mining // --extrinsic=* // --execution=wasm // --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,34 +56,33 @@ impl bifrost_liquidity_mining::WeightInfo for WeightInf // Storage: System EventCount (r:1 w:1) // Storage: System Events (r:1 w:1) fn charge() -> Weight { - (332_610_000 as Weight) + (316_998_000 as Weight) .saturating_add(T::DbWeight::get().reads(9 as Weight)) .saturating_add(T::DbWeight::get().writes(7 as Weight)) } // Storage: LiquidityMining TotalPoolInfos (r:1 w:1) // Storage: LiquidityMining TotalDepositData (r:1 w:1) - // Storage: Tokens Accounts (r:2 w:2) - // Storage: Tokens Locks (r:2 w:2) + // Storage: Tokens Accounts (r:4 w:4) + // Storage: System Account (r:1 w:1) // Storage: System Number (r:1 w:0) // Storage: System ExecutionPhase (r:1 w:0) // Storage: System EventCount (r:1 w:1) // Storage: System Events (r:1 w:1) fn deposit() -> Weight { - (250_610_000 as Weight) - .saturating_add(T::DbWeight::get().reads(10 as Weight)) - .saturating_add(T::DbWeight::get().writes(8 as Weight)) + (331_734_000 as Weight) + .saturating_add(T::DbWeight::get().reads(11 as Weight)) + .saturating_add(T::DbWeight::get().writes(9 as Weight)) } // Storage: LiquidityMining TotalPoolInfos (r:1 w:1) // Storage: System Number (r:1 w:0) // Storage: LiquidityMining TotalDepositData (r:1 w:1) // Storage: System Account (r:1 w:1) - // Storage: Tokens Accounts (r:4 w:4) + // Storage: Tokens Accounts (r:6 w:6) // Storage: System ExecutionPhase (r:1 w:0) // Storage: System EventCount (r:1 w:1) // Storage: System Events (r:1 w:1) - // Storage: Tokens Locks (r:2 w:2) fn redeem() -> Weight { - (446_501_000 as Weight) + (509_879_000 as Weight) .saturating_add(T::DbWeight::get().reads(13 as Weight)) .saturating_add(T::DbWeight::get().writes(11 as Weight)) } @@ -91,13 +90,12 @@ impl bifrost_liquidity_mining::WeightInfo for WeightInf // Storage: System Number (r:1 w:0) // Storage: LiquidityMining TotalDepositData (r:1 w:1) // Storage: System Account (r:1 w:1) - // Storage: Tokens Accounts (r:4 w:4) + // Storage: Tokens Accounts (r:6 w:6) // Storage: System ExecutionPhase (r:1 w:0) // Storage: System EventCount (r:1 w:1) // Storage: System Events (r:1 w:1) - // Storage: Tokens Locks (r:2 w:2) fn redeem_all() -> Weight { - (175_000_000 as Weight) + (508_156_000 as Weight) .saturating_add(T::DbWeight::get().reads(13 as Weight)) .saturating_add(T::DbWeight::get().writes(11 as Weight)) } @@ -105,13 +103,12 @@ impl bifrost_liquidity_mining::WeightInfo for WeightInf // Storage: System Number (r:1 w:0) // Storage: LiquidityMining TotalDepositData (r:2 w:1) // Storage: System Account (r:1 w:1) - // Storage: Tokens Accounts (r:4 w:4) + // Storage: Tokens Accounts (r:6 w:6) // Storage: System ExecutionPhase (r:1 w:0) // Storage: System EventCount (r:1 w:1) // Storage: System Events (r:1 w:1) - // Storage: Tokens Locks (r:2 w:2) fn volunteer_to_redeem() -> Weight { - (497_906_000 as Weight) + (553_725_000 as Weight) .saturating_add(T::DbWeight::get().reads(14 as Weight)) .saturating_add(T::DbWeight::get().writes(11 as Weight)) } @@ -124,7 +121,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 { - (299_343_000 as Weight) + (298_725_000 as Weight) .saturating_add(T::DbWeight::get().reads(9 as Weight)) .saturating_add(T::DbWeight::get().writes(7 as Weight)) }