mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-18 19:00:46 +00:00
Merge 828ac1670e into dddbaa4bf3
This commit is contained in:
commit
74b7cf7522
1 changed files with 3 additions and 0 deletions
|
|
@ -219,6 +219,9 @@ func execute(ctx context.Context, call *core.Message, opts *Options, gasLimit ui
|
|||
if errors.Is(err, core.ErrGasLimitTooHigh) {
|
||||
return true, nil, nil // Special case, lower gas limit
|
||||
}
|
||||
if errors.Is(err, vm.ErrFloorDataGas) {
|
||||
return true, nil, nil // Special case, raise gas limit
|
||||
}
|
||||
return true, nil, err // Bail out
|
||||
}
|
||||
return result.Failed(), result, nil
|
||||
|
|
|
|||
Loading…
Reference in a new issue