File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -914,7 +914,7 @@ mod tests {
914
914
915
915
let report2 = instance. create_gas_report ( ) ;
916
916
assert_eq ! ( report2. used_externally, 251 ) ;
917
- assert_eq ! ( report2. used_internally, 8461548 ) ;
917
+ assert_eq ! ( report2. used_internally, 9589728 ) ;
918
918
assert_eq ! ( report2. limit, LIMIT ) ;
919
919
assert_eq ! (
920
920
report2. remaining,
@@ -1105,7 +1105,7 @@ mod tests {
1105
1105
. unwrap ( ) ;
1106
1106
1107
1107
let init_used = orig_gas - instance. get_gas_left ( ) ;
1108
- assert_eq ! ( init_used, 8461799 ) ;
1108
+ assert_eq ! ( init_used, 9589979 ) ;
1109
1109
}
1110
1110
1111
1111
#[ test]
@@ -1130,7 +1130,7 @@ mod tests {
1130
1130
. unwrap ( ) ;
1131
1131
1132
1132
let execute_used = gas_before_execute - instance. get_gas_left ( ) ;
1133
- assert_eq ! ( execute_used, 11181706 ) ;
1133
+ assert_eq ! ( execute_used, 12658786 ) ;
1134
1134
}
1135
1135
1136
1136
#[ test]
@@ -1173,6 +1173,6 @@ mod tests {
1173
1173
) ;
1174
1174
1175
1175
let query_used = gas_before_query - instance. get_gas_left ( ) ;
1176
- assert_eq ! ( query_used, 7142556 ) ;
1176
+ assert_eq ! ( query_used, 8094896 ) ;
1177
1177
}
1178
1178
}
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ fn cost(_operator: &Operator) -> u64 {
23
23
// In https://github.com/CosmWasm/cosmwasm/pull/1042 a profiler is developed to
24
24
// identify runtime differences between different Wasm operation, but this is not yet
25
25
// precise enough to derive insights from it.
26
- 150
26
+ 170
27
27
}
28
28
29
29
/// Use Cranelift as the compiler backend if the feature is enabled
You can’t perform that action at this time.
0 commit comments