mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-26 06:36:43 +00:00
eth/tracers: updated returnValue to hex-encode to fix TestIOdump
This commit is contained in:
parent
b1a5900556
commit
20cc6d4f6c
2 changed files with 2 additions and 1 deletions
1
eth/tracers/.gitignore
vendored
Normal file
1
eth/tracers/.gitignore
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
data.csv
|
||||
|
|
@ -729,7 +729,7 @@ func TestIOdump(t *testing.T) {
|
|||
IOFlag: ioflag,
|
||||
},
|
||||
blockNumber: rpc.BlockNumber(genBlocks),
|
||||
want: `[{"result":{"gas":21000,"failed":false,"returnValue":"","structLogs":[]}},{"result":{"gas":21000,"failed":false,"returnValue":"","structLogs":[]}},{"result":{"gas":21000,"failed":false,"returnValue":"","structLogs":[]}},{"result":{"gas":21000,"failed":false,"returnValue":"","structLogs":[]}},{"result":{"gas":21000,"failed":false,"returnValue":"","structLogs":[]}}]`,
|
||||
want: `[{"result":{"gas":21000,"failed":false,"returnValue":"0x","structLogs":[]}},{"result":{"gas":21000,"failed":false,"returnValue":"0x","structLogs":[]}},{"result":{"gas":21000,"failed":false,"returnValue":"0x","structLogs":[]}},{"result":{"gas":21000,"failed":false,"returnValue":"0x","structLogs":[]}},{"result":{"gas":21000,"failed":false,"returnValue":"0x","structLogs":[]}}]`,
|
||||
},
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue