Skip to content

Commit a06470c

Browse files
authored
integration: debug_traceTransaction without code (#494)
1 parent 00a9c20 commit a06470c

File tree

1 file changed

+59
-0
lines changed

1 file changed

+59
-0
lines changed
Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
[
2+
{
3+
"request": {
4+
"id": 1,
5+
"jsonrpc": "2.0",
6+
"method": "debug_traceTransaction",
7+
"params": [
8+
"0x913cc6e3b6aba24db51ef201334cd400dd7480f6226ca0bec15b5f80db8d93ca",
9+
{
10+
"tracer": "prestateTracer",
11+
"tracerConfig": {
12+
"diffMode": true,
13+
"disableCode": true
14+
}
15+
}
16+
]
17+
},
18+
"response": {
19+
"id": 1,
20+
"jsonrpc": "2.0",
21+
"result": {
22+
"post": {
23+
"0x1f9090aae28b8a3dceadf281b0f12828e676c326": {
24+
"balance": "0x35f52854f41fa265"
25+
},
26+
"0x5af239c0d236d96c334d9ca6b845a3ed6861eaf0": {
27+
"balance": "0x9a39cfd7e3d4dc55a",
28+
"nonce": 8939
29+
},
30+
"0x758ed0650bdf2ac3bf4a48440c3eb2f6d2bb42a5": {
31+
"nonce": 8735
32+
}
33+
},
34+
"pre": {
35+
"0x1f9090aae28b8a3dceadf281b0f12828e676c326": {
36+
"balance": "0x35f4bc0a06d55d77",
37+
"nonce": 542373
38+
},
39+
"0x1fb752ae11bdccf642b352474b86718c44533673": {
40+
"balance": "0xaad999a73fa000"
41+
},
42+
"0x5af239c0d236d96c334d9ca6b845a3ed6861eaf0": {
43+
"balance": "0x9a2f70ee15bacaacc",
44+
"nonce": 8938
45+
},
46+
"0x758ed0650bdf2ac3bf4a48440c3eb2f6d2bb42a5": {
47+
"balance": "0x0",
48+
"codeHash": "0x1b064b625546024df8b0e61d74d84bba7e1f22e31ed3b3c1b37fbe533e33bd72",
49+
"nonce": 8734
50+
}
51+
}
52+
}
53+
},
54+
"test": {
55+
"description": "the response should not include code, the codeHash should be present",
56+
"reference": "https://etherscan.io/tx/0x913cc6e3b6aba24db51ef201334cd400dd7480f6226ca0bec15b5f80db8d93ca"
57+
}
58+
}
59+
]

0 commit comments

Comments
 (0)