Skip to content

validator: Refactor account paths parsing in ValidatorConfig#7085

Merged
steviez merged 1 commit intoanza-xyz:masterfrom
steviez:val_mv_account_paths
Jul 22, 2025
Merged

validator: Refactor account paths parsing in ValidatorConfig#7085
steviez merged 1 commit intoanza-xyz:masterfrom
steviez:val_mv_account_paths

Conversation

@steviez
Copy link
Copy Markdown

@steviez steviez commented Jul 22, 2025

Problem

These fields are currently parsed and set in a ValidatorConfig after the ValidatorConfig has been created. Parsing the values prior and passing them into ValidatorConfig creation allows us to move towards removing the use of ..ValidatorConfig::default()

Summary of Changes

Parse the fields first + set in ValidatorConfig initialization directly

These fields are currently parsed and set in a ValidatorConfig after the
ValidatorConfig has been created. Parsing the values prior and passing
them into ValidatorConfig creation allows us to move towards removing
the use of ..ValidatorConfig::default()
@steviez
Copy link
Copy Markdown
Author

steviez commented Jul 22, 2025

I was hoping for review from @brooksprumo, added @yihau as well since you have been poking around in these files recently

Copy link
Copy Markdown

@brooksprumo brooksprumo left a comment

Choose a reason for hiding this comment

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

:shipit:

@steviez steviez merged commit 4fc35f7 into anza-xyz:master Jul 22, 2025
41 checks passed
@steviez steviez deleted the val_mv_account_paths branch July 22, 2025 20:52
puhtaytow pushed a commit to puhtaytow/agave that referenced this pull request Jul 24, 2025
…z#7085)

These fields are currently parsed and set in a ValidatorConfig after the
ValidatorConfig has been created. Parsing the values prior and passing
them into ValidatorConfig creation allows us to move towards removing
the use of ..ValidatorConfig::default()
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