chain
chain copied to clipboard
feat: add max voting power per pool
Summary by CodeRabbit
-
New Features
- Introduced a new parameter,
max_voting_power_per_pool
, to manage voting power limits within pools.
- Introduced a new parameter,
-
Bug Fixes
- Updated error message for
ErrVotingPowerTooHigh
to be more descriptive.
- Updated error message for
-
Refactor
- Improved the logic for setting pool parameters in various test scenarios.
- Updated the
AssertPoolCanRun
method to compare delegation based on voting power.
-
Tests
- Added test cases to validate pool functionality under different voting power conditions.
-
Documentation
- Added the
max_voting_power_per_pool
field to the API documentation.
- Added the