Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dump blocks, transaction, events, traces into local disk #1

Open
wants to merge 6 commits into
base: release/txtracing/1.0.2-rc.7
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fix(dump-logs): fix dump tx typo
  • Loading branch information
mortal123 committed Dec 22, 2021
commit 98512fa9fd0d7b6b3ed53161635ffd0bc81f32df
2 changes: 1 addition & 1 deletion evmcore/state_processor.go
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ func (ctx *LoggerContext) dumpTransaction(index int, tx *types.Transaction, rece
from, _ := types.Sender(ctx.signer, tx)
entry := map[string]interface{}{
"blockNumber": ctx.header.Number.Uint64(),
"blockHash": ctx.header.Number.Uint64(),
"blockHash": ctx.header.Hash,
"transactionIndex": index,
"transactionHash": tx.Hash(),
"from": from,
Expand Down