Skip to content

Commit

Permalink
types
Browse files Browse the repository at this point in the history
  • Loading branch information
grepsuzette committed Jun 17, 2024
1 parent 95abc45 commit edc0f3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gnovm/pkg/gnolang/preprocess.go
Original file line number Diff line number Diff line change
Expand Up @@ -3066,7 +3066,7 @@ func predefineNow(store Store, last BlockNode, d Decl) (Decl, bool) {
if rerr, ok := r.(error); ok {
// NOTE: gotuna/gorilla expects error exceptions.
panic(errors.Wrap(rerr, loc.String()))
} else if ex, ok := r.(OutOfGasException); ok {
} else if ex, ok := r.(types.OutOfGasException); ok {
// NOTE: baseapp.runTx() handles OutOfGasException
// which it then converts into ABCIError(std.ErrOutOfGas)
panic(ex)

Check warning on line 3072 in gnovm/pkg/gnolang/preprocess.go

View check run for this annotation

Codecov / codecov/patch

gnovm/pkg/gnolang/preprocess.go#L3072

Added line #L3072 was not covered by tests
Expand Down

0 comments on commit edc0f3b

Please sign in to comment.