babylonchain / babylon-finality-gadget

2 stars 2 forks source link

test: add interfaces, mocks, and tests #56

Closed bap2pecs closed 1 month ago

bap2pecs commented 1 month ago

Summary

this is to complement #55 and is part of the issue #43

more context see: https://github.com/babylonchain/babylon-finality-gadget/pull/45#discussion_r1666279613

Suggest we formalise the mock procedure for unit tests, like what we did in finality provider

Test Plan

make mock-gen
make lint
make test
bap2pecs commented 1 month ago

resolved @gitferry 's comments to 1) move all interfaces to expected_clients.go 2) rename interfaces