Skip to content

Prevent duplicate addresses in platform validators#124

Open
lukitsbrian wants to merge 2 commits intorelease/3.0from
feature/check-duplicate-addresses
Open

Prevent duplicate addresses in platform validators#124
lukitsbrian wants to merge 2 commits intorelease/3.0from
feature/check-duplicate-addresses

Conversation

@lukitsbrian
Copy link
Copy Markdown
Contributor

Summary

  • Add duplicate address validation to validatePlatformValidatorsParam function
  • Export ValidatePlatformValidators function for reuse
  • Add validation call in SetPlatformValidators keeper method to validate input before storing
  • Add comprehensive unit tests for the validation logic

Add validation to reject duplicate addresses when setting platform
validators. This prevents configuration errors where the same address
could appear multiple times in the list.
Export ValidatePlatformValidators function and call it from the keeper's
SetPlatformValidators method to validate input before storing.
@lukitsbrian lukitsbrian changed the base branch from main to release/1.0 December 18, 2025 21:14
@lukitsbrian lukitsbrian changed the base branch from release/1.0 to release/3.0 December 23, 2025 06:17
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.

1 participant