contracts: Allow stack height metering to be disabled (#10877)
* Allow stack height metering to be disabled
* cargo run --quiet --profile=production --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
* cargo run --quiet --profile=production --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
Co-authored-by:
Parity Bot <admin@parity.io>
Showing
- substrate/frame/contracts/src/benchmarking/code.rs 5 additions, 2 deletionssubstrate/frame/contracts/src/benchmarking/code.rs
- substrate/frame/contracts/src/benchmarking/mod.rs 3 additions, 3 deletionssubstrate/frame/contracts/src/benchmarking/mod.rs
- substrate/frame/contracts/src/schedule.rs 9 additions, 3 deletionssubstrate/frame/contracts/src/schedule.rs
- substrate/frame/contracts/src/tests.rs 7 additions, 1 deletionsubstrate/frame/contracts/src/tests.rs
- substrate/frame/contracts/src/wasm/prepare.rs 6 additions, 3 deletionssubstrate/frame/contracts/src/wasm/prepare.rs
- substrate/frame/contracts/src/weights.rs 579 additions, 579 deletionssubstrate/frame/contracts/src/weights.rs
Please register or sign in to comment