From cb5b8a3c3ab6b5f723076d0a298eef1f1e1bb6e0 Mon Sep 17 00:00:00 2001 From: Charles Billette Date: Wed, 15 May 2024 15:32:31 -0400 Subject: [PATCH] fix missing nonce for DepositReceiptVersion --- eth/tracers/firehose.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/eth/tracers/firehose.go b/eth/tracers/firehose.go index a4e92bf591c5..beb1a0f82d9d 100644 --- a/eth/tracers/firehose.go +++ b/eth/tracers/firehose.go @@ -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.