-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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: op-program --network flag accepts number as chainid #12503
feat: op-program --network flag accepts number as chainid #12503
Conversation
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.
Generally looks good. There's a test failing because we no longer provide a clear error message when the network name is unknown. It would be good to get that error back. And would be good to avoid the duplication of parsing the rollup.Config.
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. Thanks.
a0aa656
…ptimism#12503) * feat: op-program --network flag accepts number as chainid * put common parse code into rollup.Config struct * address comments --------- Co-authored-by: Qi Zhou <[email protected]>
* feat: op-program --network flag accepts number as chainid * put common parse code into rollup.Config struct * address comments --------- Co-authored-by: Qi Zhou <[email protected]>
* feat: op-program --network flag accepts number as chainid * put common parse code into rollup.Config struct * address comments --------- Co-authored-by: Qi Zhou <[email protected]>
Description
This will allow the
op-program
to use the embedded custom rollup config, where the chainid of the custom rollup is passed via--network
flag. This way, we can now verifyop-program
in the independent process mode.Tests
Run devnet locally, then pass
make verify-devnet
under theop-program
folder.Additional context
Metadata