chain icon indicating copy to clipboard operation
chain copied to clipboard

feat: add max voting power per pool

Open shifty11 opened this issue 9 months ago • 1 comments

Summary by CodeRabbit

  • New Features

    • Introduced a new parameter, max_voting_power_per_pool, to manage voting power limits within pools.
  • Bug Fixes

    • Updated error message for ErrVotingPowerTooHigh to be more descriptive.
  • 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.

shifty11 avatar May 23 '24 09:05 shifty11