babylonchain / babylon-finality-gadget

3 stars 3 forks source link

chore: expose QueryListOfVotedFinalityProviders in SDK #53

Closed bap2pecs closed 4 months ago

bap2pecs commented 4 months ago

Summary

we need to use the method in our e2e test TestFinalityStuckAndRecover to verify when FP votes, the vote does arrive in the cw contract.

this PR is part of the task: babylonchain/finality-provider#502

Since this method can also be useful for users and makes sense to be exposed as part of the SDK, I want to expose it instead of copying it to the FP e2e test.

Test Plan

make lint