Closed sainoe closed 3 days ago
The recent changes introduce validation checks for equivocation evidence in the ICS consumer module to improve overall correctness and robustness. Enhancements include adding missing minimum height checks for evidence, updating related tests for better coverage, and ensuring proper validation and error handling during evidence processing and misbehavior checks.
File(s) | Change Summary |
---|---|
.../provider/2007-evidence-min-height-filter.md |
Added missing checks for minimum evidence height in consumer double-vote handler. |
tests/integration/double_vote.go , tests/integration/misbehaviour.go |
Updated tests to include cases for the minimum height check and proper evidence handling. |
x/ccv/provider/keeper/consumer_equivocation.go |
Introduced error handling and validation logic for double voting evidence processing. |
x/ccv/provider/keeper/proposal.go |
Added logic to set and delete the minimum height for equivocation evidence for consumer chains. |
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Please go to the
Preview
tab and select the appropriate sub-template:fix
,feat
, andrefactor
.Summary by CodeRabbit
Bug Fixes
Tests
New Features