Skip to content

Commit 91426d1

Browse files
ziogaschrs1na
authored andcommitted
Supply delta live tracer (ethereum#29347)
Introduces the first built-in live tracer. The supply tracer tracks ETH supply changes across blocks and writes the output to disk. This will need to be enabled through CLI using the `--vmtrace supply` flag. Co-authored-by: Sina Mahmoodi <[email protected]>
1 parent 60aa22a commit 91426d1

File tree

6 files changed

+1060
-0
lines changed

6 files changed

+1060
-0
lines changed

core/tracing/gen_balance_change_reason_stringer.go

Lines changed: 37 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

core/tracing/hooks.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,8 @@ type Hooks struct {
199199
// for tracing and reporting.
200200
type BalanceChangeReason byte
201201

202+
//go:generate stringer -type=BalanceChangeReason -output gen_balance_change_reason_stringer.go
203+
202204
const (
203205
BalanceChangeUnspecified BalanceChangeReason = 0
204206

0 commit comments

Comments
 (0)