We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6f61673 commit df673aaCopy full SHA for df673aa
packages/vm/src/wasm_backend/engine.rs
@@ -23,6 +23,10 @@ fn cost(operator: &Operator) -> u64 {
23
// In https://github.com/CosmWasm/cosmwasm/pull/1042 a profiler is developed to
24
// identify runtime differences between different Wasm operation, but this is not yet
25
// precise enough to derive insights from it.
26
+ //
27
+ // Please note that any changes to this function need to be accompanied by a bump of
28
+ // `MODULE_SERIALIZATION_VERSION` to avoid cached modules from using different amounts of gas
29
+ // compared to newly compiled ones.
30
const GAS_PER_OPERATION: u64 = 115;
31
32
match operator {
0 commit comments