Skip to content
This repository was archived by the owner on Oct 20, 2024. It is now read-only.

Commit 66a3b89

Browse files
authored
Account for paymaster validation OOG (#283)
1 parent 618f819 commit 66a3b89

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/gas/estimate.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ func isValidationOOG(err error) bool {
2424
return strings.HasPrefix(err.Error(), "AA13") ||
2525
strings.HasPrefix(err.Error(), "AA40") ||
2626
err.Error() == "AA23 reverted (or OOG)" ||
27+
err.Error() == "AA33 reverted (or OOG)" ||
2728
strings.Contains(err.Error(), "return data out of bounds") ||
2829
strings.Contains(err.Error(), "validation OOG")
2930
}

0 commit comments

Comments
 (0)