Skip to content

Commit

Permalink
fix missing nonce for DepositReceiptVersion
Browse files Browse the repository at this point in the history
  • Loading branch information
billettc committed May 15, 2024
1 parent a0e75ee commit cb5b8a3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions eth/tracers/firehose.go
Original file line number Diff line number Diff line change
Expand Up @@ -589,6 +589,10 @@ func (f *Firehose) OnTxEnd(receipt *types.Receipt, err error) {

trxTrace := f.completeTransaction(receipt)

if receipt.DepositReceiptVersion != nil {
trxTrace.Nonce = *receipt.DepositNonce
}

// In this case, we are in some kind of parallel processing and we must simply add the transaction
// to a transient storage (and not in the block directly). Adding it to the block will be done by the
// `OnTxCommit` callback.
Expand Down

0 comments on commit cb5b8a3

Please sign in to comment.