btc-staking is growing big, and is in fact containing functionality related to finality signatures, and the finality providers set.
Consider introducing a new finality contract to handle finality votes, power, and the voting round. The power that comes frombtc-staking can be read through a raw query for performance.
Also, the voting round and the finality validator set, though related to finality, could be perhaps better be in its own fpset contract. Again, poe-contracts provides a reference for this.
@maurolacy cloned issue babylonchain/babylon-contract#131 on 2024-06-05: