Skip to content

Commit

Permalink
[R4R]-[l2geth]feat: add data in eth_calls response when revert
Browse files Browse the repository at this point in the history
  • Loading branch information
Tri-stone committed Nov 6, 2023
1 parent d5273c9 commit 6da920a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion l2geth/core/state_transition.go
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,6 @@ func (result *ExecutionResult) Return() []byte {
// Revert returns the concrete revert reason if the execution is aborted by `REVERT`
// opcode. Note the reason can be nil if no data supplied with revert opcode.
func (result *ExecutionResult) Revert() []byte {
log.Info("ExecutionResult", "result.Err", result.Err)
if result.Err != vm.ErrExecutionReverted {
return nil
}
Expand Down

0 comments on commit 6da920a

Please sign in to comment.