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

Commit ec64ad6

Browse files
authored
Add AA51 to validation OOG case (#287)
1 parent 4e71418 commit ec64ad6

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 isPrefundNotPaid(err error) bool {
2424
func isValidationOOG(err error) bool {
2525
return strings.Contains(err.Error(), "AA40 over verificationGasLimit") ||
2626
strings.Contains(err.Error(), "AA41 too little verificationGas") ||
27+
strings.Contains(err.Error(), "AA51 prefund below actualGasCost") ||
2728
strings.Contains(err.Error(), "AA13 initCode failed or OOG") ||
2829
strings.Contains(err.Error(), "AA23 reverted (or OOG)") ||
2930
strings.Contains(err.Error(), "AA33 reverted (or OOG)") ||

0 commit comments

Comments
 (0)