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

eth/tracers: refactor block context in test runner #29450

Merged
merged 7 commits into from
Feb 20, 2025

Conversation

jsvisa
Copy link
Contributor

@jsvisa jsvisa commented Apr 4, 2024

Made some simple adjustment for the trace testcase:

  1. rm withdrawals{Root}, genesis.baseFeePerGas in makeTest.js;
  2. add tracerConfig in maketest.js is not null;
  3. reuse tracerTestEnv struct;

@jsvisa jsvisa requested a review from s1na as a code owner April 4, 2024 12:05
@MariusVanDerWijden
Copy link
Member

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

@jsvisa
Copy link
Contributor Author

jsvisa commented Feb 18, 2025

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

@jsvisa
Copy link
Contributor Author

jsvisa commented Feb 18, 2025

@s1na @MariusVanDerWijden PTAL

@@ -11,8 +11,7 @@
"number": "1",
"stateRoot": "0xd2ebe0a7f3572ffe3e5b4c78147376d3fca767f236e4dd23f9151acfec7cb0d1",
"timestamp": "1699617692",
"withdrawals": [],
"withdrawalsRoot": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
"totalDifficulty": "0",
Copy link
Contributor

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]>
Copy link
Contributor

@s1na s1na left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@s1na s1na changed the title eth/tracers: some simple adjustment for the testcase eth/tracers: refactor block context in test runner Feb 20, 2025
@s1na s1na added this to the 1.15.3 milestone Feb 20, 2025
@s1na s1na merged commit dcc0b37 into ethereum:master Feb 20, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants