Skip to content

Commit

Permalink
Merge pull request ethereum#20 from quilt/aa-validate-log
Browse files Browse the repository at this point in the history
Add trace logging for validation errors
  • Loading branch information
villanuevawill authored Jul 1, 2020
2 parents a405616 + cd4ce62 commit 810819a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/tx_pool.go
Original file line number Diff line number Diff line change
Expand Up @@ -582,6 +582,7 @@ func (pool *TxPool) validateTx(tx *types.Transaction, local bool) error {
pool.currentState.RevertToSnapshot(snapshotRevisionId)
aaValidationTimer.UpdateSince(now)
if err != nil {
log.Trace("AA tx execution invalidated", "hash", tx.Hash(), "err", err)
return ErrInvalidAA
}
}
Expand Down

0 comments on commit 810819a

Please sign in to comment.