Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable and fix integration tests for debug_accontAt #106

Merged
merged 1 commit into from
Mar 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions integration/goerli/debug_accountAt/test_06.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@
"id": 240,
"jsonrpc": "2.0",
"result": {
"balance": "0x50f97e8935000",
"balance": "0x57ffbb8f2ec00",
"code": "0x",
"codeHash": "0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470",
"nonce": "0x4"
"nonce": "0x3"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion integration/goerli/debug_accountAt/test_07.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"id": 240,
"jsonrpc": "2.0",
"result": {
"balance": "0x1e3feb824dfbd9346d",
"balance": "0x1e8ee8db15d80c9f79",
"code": "0x",
"codeHash": "0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470",
"nonce": "0x178df"
Expand Down
4 changes: 2 additions & 2 deletions integration/goerli/debug_accountAt/test_11.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@
"id": 240,
"jsonrpc": "2.0",
"result": {
"balance": "0x8aba8f680f66c000",
"balance": "0x8ac397578e6ba000",
"code": "0x",
"codeHash": "0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470",
"nonce": "0x3a6c"
"nonce": "0x3a6b"
}
}
}
Expand Down
4 changes: 2 additions & 2 deletions integration/mainnet/debug_accountAt/test_02.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@
"id": 240,
"jsonrpc": "2.0",
"result": {
"balance": "0xa00318644f1eb3688b",
"balance": "0xa003cd03050b14e88b",
"code": "0x",
"codeHash": "0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470",
"nonce": "0x12c7"
"nonce": "0x12c6"
}
}
}
Expand Down
4 changes: 2 additions & 2 deletions integration/mainnet/debug_accountAt/test_05.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@
"id": 240,
"jsonrpc": "2.0",
"result": {
"balance": "0xffcb9e57d4000",
"balance": "0x0",
"code": "0x",
"codeHash": "0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470",
"codeHash": "0x0000000000000000000000000000000000000000000000000000000000000000",
"nonce": "0x0"
}
}
Expand Down
4 changes: 2 additions & 2 deletions integration/mainnet/debug_accountAt/test_07.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@
"id": 240,
"jsonrpc": "2.0",
"result": {
"balance": "0x2f7947a32f423a735d",
"balance": "0x2f7b74ae167dfe45e4",
"code": "0x",
"codeHash": "0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470",
"nonce": "0x842524"
"nonce": "0x842523"
}
}
}
Expand Down
4 changes: 2 additions & 2 deletions integration/mainnet/debug_accountAt/test_08.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@
"id": 240,
"jsonrpc": "2.0",
"result": {
"balance": "0x2f7884aa752ef5f50b",
"balance": "0x2f7947a32f423a735d",
"code": "0x",
"codeHash": "0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470",
"nonce": "0x842525"
"nonce": "0x842524"
}
}
}
Expand Down
8 changes: 0 additions & 8 deletions integration/run_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,6 @@
]

tests_not_compared = [
"goerli/debug_accountAt/test_06.json", # debug diff on balance
"goerli/debug_accountAt/test_07.json", # debug diff on balance
"goerli/debug_accountAt/test_11.json", # debug
"goerli/debug_traceBlockByHash/test_02.tar", # diff on gasCost
"goerli/debug_traceBlockByHash/test_03.tar", # diff on gasCost
"goerli/debug_traceBlockByHash/test_04.tar", # diff on gasCost
Expand All @@ -66,11 +63,6 @@
"goerli/eth_getLogs/test_14.json", # validator doesn't support earlist and latest
"goerli/eth_getLogs/test_15.json", # validator doesn't support earlist and latest

"mainnet/debug_accountAt/test_02.json", # to be debugged
"mainnet/debug_accountAt/test_05.json", # to be debugged
"mainnet/debug_accountAt/test_07.json", # to be debugged
"mainnet/debug_accountAt/test_08.json", # to be debugged

"mainnet/debug_traceBlockByNumber/test_05.tar", # json too big
"mainnet/debug_traceBlockByNumber/test_06.tar", # json too big
"mainnet/debug_traceBlockByNumber/test_08.tar", # json too big
Expand Down