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 da9f4f7 commit f1590d1Copy full SHA for f1590d1
x/logic/keeper/grpc_query_ask_test.go
@@ -28,6 +28,7 @@ import (
28
"github.com/axone-protocol/axoned/v10/x/logic/types"
29
)
30
31
+//nolint:lll
32
func TestGRPCAsk(t *testing.T) {
33
emptySolution := types.Result{}
34
Convey("Given a test cases", t, func() {
@@ -171,6 +172,12 @@ func TestGRPCAsk(t *testing.T) {
171
172
maxGas: 3000,
173
expectedError: "out of gas: logic <recursionOfDeath/0> (3001/3000): limit exceeded",
174
},
175
+ {
176
+ program: "backtrackOfDeath :- repeat, fail.",
177
+ query: "backtrackOfDeath.",
178
+ maxGas: 3014,
179
+ expectedError: "out of gas: logic <fail/0> (3015/3014): limit exceeded",
180
+ },
181
{
182
query: "length(List, 100000).",
183
maxVariables: 1000,
0 commit comments