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) Allow Pruning CLI Args to take precedence over TOML configuration #10774

Merged
merged 3 commits into from
Sep 17, 2024

Conversation

garwahl
Copy link
Contributor

@garwahl garwahl commented Sep 8, 2024

Now that #10639 is in, we expose all PruneConfig via CLI. Now that configuration can be set either via CLI or reth.toml we should allow CLI to clobber and take precedence over any file based configuration.

This PR then addresses discussion in #9808, superseding the approach in #10409

@garwahl
Copy link
Contributor Author

garwahl commented Sep 8, 2024

Hey @emhane would love your review on this one too when you get the chance.

mattsse
mattsse previously requested changes Sep 9, 2024
Copy link
Collaborator

@mattsse mattsse left a comment

Choose a reason for hiding this comment

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

pedantic style nit

crates/config/src/config.rs Outdated Show resolved Hide resolved
crates/node/builder/src/launch/common.rs Outdated Show resolved Hide resolved
@garwahl
Copy link
Contributor Author

garwahl commented Sep 12, 2024

ping @mattsse PTAL nits resolved

@garwahl
Copy link
Contributor Author

garwahl commented Sep 14, 2024

ping @mattsse PTAL

@garwahl
Copy link
Contributor Author

garwahl commented Sep 16, 2024

Hey @mattsse LMKWYT changes have been addressed

@emhane emhane added this pull request to the merge queue Sep 17, 2024
Merged via the queue into paradigmxyz:main with commit c795389 Sep 17, 2024
35 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants