Skip to content

feat(revme): add --json output flag to evmrunner command#3428

Merged
rakita merged 1 commit intobluealloy:mainfrom
bluebluesaku:json
Feb 24, 2026
Merged

feat(revme): add --json output flag to evmrunner command#3428
rakita merged 1 commit intobluealloy:mainfrom
bluebluesaku:json

Conversation

@bluebluesaku
Copy link
Copy Markdown
Contributor

Noticed that statetest and blockchaintest both have --json but evmrunner doesn't, which makes it a pain to parse output in scripts. Added a --json flag that dumps the execution result as structured JSON instead of Debug format. When combined with --state, it includes the state diff too.

Had to enable the serde feature for revm in revme's Cargo.toml since the result types need it for serialization.

@codspeed-hq
Copy link
Copy Markdown

codspeed-hq bot commented Feb 23, 2026

Merging this PR will not alter performance

✅ 176 untouched benchmarks


Comparing bluebluesaku:json (cc6db71) with main (3bccc97)

Open in CodSpeed

@rakita rakita merged commit 9756496 into bluealloy:main Feb 24, 2026
31 checks passed
@github-actions github-actions bot mentioned this pull request Feb 23, 2026
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.

2 participants