Skip to content

Commit

Permalink
Fix gas for recursive query test
Browse files Browse the repository at this point in the history
  • Loading branch information
chipshort committed Jun 19, 2024
1 parent 588bdf7 commit 12f8ec5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions x/wasm/keeper/recurse_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -263,8 +263,8 @@ func TestLimitRecursiveQueryGas(t *testing.T) {
},
expectQueriesFromContract: 10,
expectOutOfGas: false,
expectError: "query wasm contract failed", // Error we get from the contract instance doing the failing query, not wasmd
expectedGas: 10*(GasWork2k+GasReturnHashed) - 249,
expectError: "query wasm contract failed", // Error we get from the contract instance doing the failing query, not wasmd
expectedGas: 10*(GasWork2k+GasReturnHashed) + 3124, // lots of additional gas for long error message
},
}

Expand Down

0 comments on commit 12f8ec5

Please sign in to comment.