Skip to content

Commit

Permalink
Update pallet-xvm weight info.
Browse files Browse the repository at this point in the history
  • Loading branch information
shaunxw committed Aug 2, 2023
1 parent d1ae1cc commit 22dc6e2
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion pallets/xvm/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ fn evm_call_works() {
MockEthereumTransact::assert_transacted(
source,
CheckedEthereumTx {
gas_limit: U256::from(182000),
gas_limit: U256::from(244000),
target: H160::repeat_byte(0xFF),
value: U256::from(value),
input: EthereumTxInput::try_from(input).unwrap(),
Expand Down
18 changes: 9 additions & 9 deletions pallets/xvm/src/weights.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
//! Autogenerated weights for pallet_xvm
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-07-27, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2023-08-02, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `devserver-01`, CPU: `Intel(R) Xeon(R) E-2236 CPU @ 3.40GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("shibuya-dev"), DB CACHE: 1024
Expand Down Expand Up @@ -59,15 +59,15 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 771_000 picoseconds.
Weight::from_parts(818_000, 0)
// Minimum execution time: 674_000 picoseconds.
Weight::from_parts(756_000, 0)
}
fn wasm_call_overheads() -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 304_000 picoseconds.
Weight::from_parts(337_000, 0)
// Minimum execution time: 1_602_000 picoseconds.
Weight::from_parts(1_649_000, 0)
}
}

Expand All @@ -77,14 +77,14 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 771_000 picoseconds.
Weight::from_parts(818_000, 0)
// Minimum execution time: 674_000 picoseconds.
Weight::from_parts(756_000, 0)
}
fn wasm_call_overheads() -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 304_000 picoseconds.
Weight::from_parts(337_000, 0)
// Minimum execution time: 1_602_000 picoseconds.
Weight::from_parts(1_649_000, 0)
}
}

0 comments on commit 22dc6e2

Please sign in to comment.