mirror of
https://github.com/luxfi/consensus.git
synced 2026-09-24 00:26:58 +00:00
Add GetWarpValidatorSets() and GetWarpValidatorSet() methods to the validators.State interface for accessing BLS-enabled validator sets required for Warp message signing. Changes: - Add WarpValidator and WarpSet types to represent Warp-capable validators - Add GetWarpValidatorSets(ctx, heights, netIDs) for batch lookups - Add GetWarpValidatorSet(ctx, height, netID) for single lookups - Regenerate mocks with new interface methods - Add comprehensive test coverage for Warp accessor methods - Update mockState in validators_test.go to implement new methods All tests passing: 5/5 new tests, all existing tests still pass.