Skip to content

fix: load validator names inventory before yaml ranges#615

Merged
barnabasbusa merged 1 commit intomasterfrom
fix/validator-names-load-order
Mar 19, 2026
Merged

fix: load validator names inventory before yaml ranges#615
barnabasbusa merged 1 commit intomasterfrom
fix/validator-names-load-order

Conversation

@barnabasbusa
Copy link
Collaborator

Summary

  • Swap the loading order in LoadValidatorNames() so that validatorNamesInventory is loaded first, then YAML/ranges are loaded second
  • This allows YAML range entries to override inventory values for overlapping validator indices, since both write to the same maps and last-writer-wins

Test plan

  • Verify that when both validatorNamesInventory and validatorNamesYaml are configured with overlapping indices, the YAML values take precedence
  • Verify that inventory-only entries still appear correctly
  • Verify that YAML-only entries still appear correctly

🤖 Generated with Claude Code

Load validatorNamesInventory first so that YAML/ranges entries
can override inventory values for the same validator indices.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@barnabasbusa barnabasbusa merged commit 347c926 into master Mar 19, 2026
2 checks passed
@barnabasbusa barnabasbusa deleted the fix/validator-names-load-order branch March 19, 2026 11:36
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