diff --git a/crates/namada/src/vm/wasm/run.rs b/crates/namada/src/vm/wasm/run.rs index 166f5e5ae1..85200f8fa7 100644 --- a/crates/namada/src/vm/wasm/run.rs +++ b/crates/namada/src/vm/wasm/run.rs @@ -613,7 +613,9 @@ impl wasm_instrument::gas_metering::Rules for GasRules { ) -> Option { // NOTE: costs set to 0 don't actually trigger the injection of a call // to the gas host function (no useless instructions are - // injected) NOTE: none of these costs should be zero + // injected) + // NOTE: these costs are taken from the benchmarks crate. None of them + // should be zero let gas = match instruction { Unreachable => 129_358, // Just a flag, aribitrary cost of 1