diff --git a/x/logic/keeper/grpc_query_ask_test.go b/x/logic/keeper/grpc_query_ask_test.go index f7a16c2c..9e7f5316 100644 --- a/x/logic/keeper/grpc_query_ask_test.go +++ b/x/logic/keeper/grpc_query_ask_test.go @@ -171,6 +171,12 @@ func TestGRPCAsk(t *testing.T) { maxGas: 3000, expectedError: "out of gas: logic (3001/3000): limit exceeded", }, + { + program: "backtrackOfDeath :- repeat, fail.", + query: "backtrackOfDeath.", + maxGas: 3014, + expectedError: "out of gas: logic (3015/3014): limit exceeded", + }, { query: "length(List, 100000).", maxVariables: 1000,