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: Validate rejected-tx cli options without ArgGroup #95

Merged
merged 2 commits into from
Oct 8, 2024

Conversation

usmansaleem
Copy link
Contributor

Removed PicoCli ArgGroup validation as it didn't work in Besu with config file parsing which uses DefaultValueProvider.

Instead, validate rejected tx cli options in the toDomainObject method. Enforce the rule that node type is required when endpoint is specified. If only node type is specified, we need no custom validation as we are only enabling reporting when endpoint is specified.

 -- Validate that node type is required with endpoint is specified in toDomainObject method
@usmansaleem usmansaleem merged commit 2902410 into Consensys:main Oct 8, 2024
5 checks passed
@usmansaleem usmansaleem deleted the rej_tx_opt_validation branch October 8, 2024 09:01
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.

2 participants