Skip to content
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

phase2(flag): create type 1 rollup flag #1803

Draft
wants to merge 3 commits into
base: zkevm
Choose a base branch
from

Conversation

elliothllm
Copy link
Collaborator

No description provided.

@cla-bot cla-bot bot added the cla-signed label Mar 4, 2025
@@ -177,6 +177,9 @@ func ApplyFlagsForZkConfig(ctx *cli.Context, cfg *ethconfig.Config) {
}
}

// set type 1 enabled as a global var for easier access
ethconfig.Type1Enabled = ctx.Bool(utils.EnableType1Rollups.Name)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I doubt about keeping it global rather than a part of the config. This introduces inconsistency with other flags and makes it harder to maintain as a result. Now we ll need to keep track of the zk config and this flag separately, if moved, inherited, or initialized.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants