mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 09:57:56 +00:00
Switch from pwasm-utils to wasm-instrument (#10680)
* Switch executor to wasm-instrument * Switch pallet-contracts to wasm-instrument
This commit is contained in:
committed by
GitHub
parent
d174ff8a61
commit
2a122c44b1
@@ -39,12 +39,12 @@ use codec::Encode;
|
||||
use frame_benchmarking::{account, benchmarks, whitelisted_caller};
|
||||
use frame_support::weights::Weight;
|
||||
use frame_system::RawOrigin;
|
||||
use pwasm_utils::parity_wasm::elements::{BlockType, BrTableData, Instruction, ValueType};
|
||||
use sp_runtime::{
|
||||
traits::{Bounded, Hash},
|
||||
Perbill,
|
||||
};
|
||||
use sp_std::prelude::*;
|
||||
use wasm_instrument::parity_wasm::elements::{BlockType, BrTableData, Instruction, ValueType};
|
||||
|
||||
/// How many batches we do per API benchmark.
|
||||
const API_BENCHMARK_BATCHES: u32 = 20;
|
||||
|
||||
Reference in New Issue
Block a user