-
Notifications
You must be signed in to change notification settings - Fork 20.6k
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
eth/tracers: refactor block context in test runner #29450
Conversation
Hey @jsvisa do you still want this in? Its a bit tiny of a refactor, but if you rebase it on master, we could get it merged |
Sorry for the longlong delay, I'll rebase it later today |
Signed-off-by: jsvisa <[email protected]>
Signed-off-by: jsvisa <[email protected]>
Signed-off-by: jsvisa <[email protected]>
Signed-off-by: jsvisa <[email protected]>
Signed-off-by: jsvisa <[email protected]>
Signed-off-by: jsvisa <[email protected]>
@s1na @MariusVanDerWijden PTAL |
@@ -11,8 +11,7 @@ | |||
"number": "1", | |||
"stateRoot": "0xd2ebe0a7f3572ffe3e5b4c78147376d3fca767f236e4dd23f9151acfec7cb0d1", | |||
"timestamp": "1699617692", | |||
"withdrawals": [], | |||
"withdrawalsRoot": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", | |||
"totalDifficulty": "0", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Total difficulty is removed now from API. I think this line (and in the diffs above) can be removed.
Signed-off-by: jsvisa <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Made some simple adjustment for the trace testcase:
withdrawals{Root}
,genesis.baseFeePerGas
inmakeTest.js
;tracerConfig
inmaketest.js
is not null;tracerTestEnv
struct;