Skip to content

Commit 4d002e2

Browse files
committed
eth/tracers/logger: make structlog/json-log stack hex again
1 parent eede592 commit 4d002e2

File tree

2 files changed

+13
-4
lines changed

2 files changed

+13
-4
lines changed

eth/tracers/logger/gen_structlog.go

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

eth/tracers/logger/logger.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ type structLogMarshaling struct {
8383
GasCost math.HexOrDecimal64
8484
Memory hexutil.Bytes
8585
ReturnData hexutil.Bytes
86+
Stack []hexutil.U256
8687
OpName string `json:"opName"` // adds call to OpName() in MarshalJSON
8788
ErrorString string `json:"error,omitempty"` // adds call to ErrorString() in MarshalJSON
8889
}

0 commit comments

Comments
 (0)