Skip to content

Commit

Permalink
add txhash to traceBlock (#1221)
Browse files Browse the repository at this point in the history
  • Loading branch information
V-Staykov authored Sep 25, 2024
1 parent 420f936 commit e7957ba
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cmd/rpcdaemon/commands/tracing_zkevm.go
Original file line number Diff line number Diff line change
@@ -105,6 +105,9 @@ func (api *PrivateDebugAPIImpl) traceBlock(ctx context.Context, blockNrOrHash rp

for idx, txn := range txns {
stream.WriteObjectStart()
stream.WriteObjectField("txHash")
stream.WriteString(txn.Hash().Hex())
stream.WriteMore()
stream.WriteObjectField("result")
select {
default:

0 comments on commit e7957ba

Please sign in to comment.