Skip to content

Commit

Permalink
evm_tools: Parse state_test in daemon as t8n option
Browse files Browse the repository at this point in the history
  • Loading branch information
marioevz committed Nov 5, 2024
1 parent a95b7aa commit a173ec9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/ethereum_spec_tools/evm_tools/daemon.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ def do_POST(self) -> None:
f"--state.chainid={content['state']['chainid']}",
f"--state.reward={content['state']['reward']}",
]
if 'state_test' in content and content['state_test']:
args.append("--state-test")

self.send_response(200)
self.send_header("Content-type", "application/octet-stream")
Expand Down

0 comments on commit a173ec9

Please sign in to comment.