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

fix(cli): clean command line argument + columns metrics #272

Closed
wants to merge 1 commit into from

Conversation

antiyro
Copy link
Member

@antiyro antiyro commented Sep 19, 2024

Removed required presets and chain config if a network was specified

NetworkType::Test => ChainConfig::from_preset("sepolia")?,
NetworkType::Devnet => ChainConfig::from_preset("test")?,
NetworkType::Integration => ChainConfig::from_preset("integration")?,
_ => {
Copy link
Member

@jbcaron jbcaron Sep 19, 2024

Choose a reason for hiding this comment

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

why the wildcard? all cases are already covered

@antiyro antiyro changed the title fix(db): fixing columns + presets + network fix(cli): clean command line argument + columns metrics Sep 19, 2024
@antiyro antiyro marked this pull request as draft September 19, 2024 11:24
@antiyro antiyro self-assigned this Sep 20, 2024
@antiyro antiyro added bug Something isn't working code quality labels Sep 20, 2024
@@ -67,7 +67,7 @@ impl SyncParams {
feeder_gateway,
chain_id,
sound,
verify: !self.disable_root,
verify: self.disable_root,
Copy link
Collaborator

Choose a reason for hiding this comment

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

This seems a bit strange to me

@antiyro antiyro closed this Sep 23, 2024
@antiyro antiyro deleted the fix/columns_metrics branch September 23, 2024 08:47
@antiyro antiyro restored the fix/columns_metrics branch September 23, 2024 09:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working code quality
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants