-
Notifications
You must be signed in to change notification settings - Fork 15
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
feat: Cannon-compatible binary #8
Conversation
Update optimism dependency version Group rvgo tests into package
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. Just added a couple of notes about related PRs.
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.
This looks good to me. Approving pending the monorepo changes being merged + updating the dependency :)
Apply logging changes Update op-geth version
@ajsutton Thank you for the updates about Canon changes. I have updated optimism dependency to the latest develop branch and applied log library changes and blob preimage key handling. |
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.
Nice. :)
Description
Implement Asterisc binary with Cannon-compatible commands:
load-elf
witness
run
Almost every code is based on Cannon's implementation with minor fixes.
If the codes are related to VM or its other functionalities, I just copied and reused those codes from Cannon to minimize dependencies on Cannon and keep it as an alternative implementation. Otherwise if the codes are just utilities unrelated to VM, they are imported as dependencies.
For the special case, flags of each command are directly imported from Cannon as a dependency because the interface of Asterisc binary must be compatible with Cannon for op-challenger integration.
This PR depends on modification on Optimism monorepo(ethereum-optimism/optimism#9350). The dependency is temporarily set to the working branch for now, and it will be changed to the develop branch once the optimism PR is merged.
Tests
Tested each command for
minimal.go
. More test cases could be added in future PRs, and this may be further tested and modified as we work on the op-challenger integration.