mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 13:27:57 +00:00
contracts: Remove ConfigCache (#8047)
* contracts: Remove ConfigCache * cargo run --release --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=pallet_contracts --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/contracts/src/weights.rs --template=./.maintain/frame-weight-template.hbs * Fixup test Co-authored-by: Parity Benchmarking Bot <admin@parity.io>
This commit is contained in:
committed by
GitHub
parent
dfefa163f8
commit
1b31f7c5d1
@@ -588,7 +588,7 @@ fn deploying_wasm_contract_should_work() {
|
||||
&[],
|
||||
);
|
||||
|
||||
let subsistence = pallet_contracts::ConfigCache::<Runtime>::subsistence_threshold_uncached();
|
||||
let subsistence = pallet_contracts::Module::<Runtime>::subsistence_threshold();
|
||||
|
||||
let b = construct_block(
|
||||
&mut new_test_ext(compact_code_unwrap(), false),
|
||||
|
||||
Reference in New Issue
Block a user