Skip to content

Commit

Permalink
test(logic): reajust gas cosumption
Browse files Browse the repository at this point in the history
  • Loading branch information
bdeneux committed Jul 29, 2024
1 parent bc60a0b commit 1802e83
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions x/logic/keeper/grpc_query_ask_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -154,15 +154,15 @@ func TestGRPCAsk(t *testing.T) {
{
query: "bank_balances(X, Y).",
maxGas: 3000,
expectedError: "out of gas: logic <panic: {ValuePerByte}> (3102/3000): limit exceeded",
expectedError: "out of gas: logic <panic: {ValuePerByte}> (3093/3000): limit exceeded",
},
{
query: "block_height(X).",
maxGas: 3000,
predicateCosts: map[string]uint64{
"block_height/1": 10000,
},
expectedError: "out of gas: logic <block_height/1> (11176/3000): limit exceeded",
expectedError: "out of gas: logic <block_height/1> (11167/3000): limit exceeded",
},
{
query: "length(List, 100000).",
Expand Down

0 comments on commit 1802e83

Please sign in to comment.