-
Notifications
You must be signed in to change notification settings - Fork 836
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
Add post-run allocation output to EVMTool #4709
Conversation
Doc change: EVM Tool adds a new This flag is specified in the same places |
Quick question, couldn't Jackson be used to serialize the alloc? |
ethereum/evmtool/src/main/java/org/hyperledger/besu/evmtool/StateTestSubCommand.java
Outdated
Show resolved
Hide resolved
ethereum/evmtool/src/main/java/org/hyperledger/besu/evmtool/EvmToolCommand.java
Outdated
Show resolved
Hide resolved
ethereum/evmtool/src/main/java/org/hyperledger/besu/evmtool/EvmToolCommand.java
Show resolved
Hide resolved
Add a CLI flag --json-alloc that will output the post-execution state of the allocations the EVM Tool executed in. As well as post-execution state for state-tests. Signed-off-by: Danno Ferrin <[email protected]>
Signed-off-by: Danno Ferrin <[email protected]>
Why not jackson? Jackson is in-memory whereas printstream/printwriter allows us to stream the results, reducing the required memory footprint. In theory if hooked up to a on-disk database it could walk the whole data stream too. |
Signed-off-by: Danno Ferrin <[email protected]>
fc10290
to
bb5948a
Compare
Signed-off-by: Danno Ferrin <[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.
🚢
* Add post-run allocation output to EVMTool Add a CLI flag --json-alloc that will output the post-execution state of the allocations the EVM Tool executed in. As well as post-execution state for state-tests. Signed-off-by: Danno Ferrin <[email protected]> Signed-off-by: Sally MacFarlane <[email protected]>
* Add post-run allocation output to EVMTool Add a CLI flag --json-alloc that will output the post-execution state of the allocations the EVM Tool executed in. As well as post-execution state for state-tests. Signed-off-by: Danno Ferrin <[email protected]>
PR description
Add a CLI flag --json-alloc that will output the post-execution state of the allocations the EVM Tool executed in. As well as post-execution state for state-tests.
Signed-off-by: Danno Ferrin [email protected]
Fixed Issue(s)
Documentation
doc-change-required
label to this PR ifupdates are required.
Changelog