Skip to content

Commit

Permalink
Fix CallFrame output for debug_Trace funcs
Browse files Browse the repository at this point in the history
* Format fields as Hex instead of Base64
  • Loading branch information
lmoe committed Oct 18, 2024
1 parent 5ed3b99 commit 910b1d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/evm/jsonrpc/tracer_call.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ type CallFrame struct {
Gas hexutil.Uint64 `json:"gas"`
GasUsed hexutil.Uint64 `json:"gasUsed"`
To *common.Address `json:"to,omitempty" rlp:"optional"`
Input []byte `json:"input" rlp:"optional"`
Output []byte `json:"output,omitempty" rlp:"optional"`
Input hexutil.Bytes `json:"input" rlp:"optional"`
Output hexutil.Bytes `json:"output,omitempty" rlp:"optional"`
Error string `json:"error,omitempty" rlp:"optional"`
RevertReason string `json:"revertReason,omitempty"`
Calls []CallFrame `json:"calls,omitempty" rlp:"optional"`
Expand Down

0 comments on commit 910b1d3

Please sign in to comment.