Closed bap2pecs closed 4 months ago
query consumer chain id from the CW contract’s CONFIG state. this is needed to fetch all registered FPs for the consumer chain
CONFIG
I also refactored test a bit to extract common logic to newE2eClientWithStubContract
newE2eClientWithStubContract
make test make run
Note: the stub contract was deployed to Babylon devnet. the exact same contract was deployed to https://www.seiscan.app/atlantic-2/query?contract=sei16ckfmlym6wv5hwptuzpeumen028cu065a77ypj4dp7k56fsmj9hqx6t4gy
the stub code: https://gist.github.com/bap2pecs/dab60fa5371b33ba5fc972d9986118f2
Summary
query consumer chain id from the CW contract’s
CONFIG
state. this is needed to fetch all registered FPs for the consumer chainI also refactored test a bit to extract common logic to
newE2eClientWithStubContract
Test Plan
Note: the stub contract was deployed to Babylon devnet. the exact same contract was deployed to https://www.seiscan.app/atlantic-2/query?contract=sei16ckfmlym6wv5hwptuzpeumen028cu065a77ypj4dp7k56fsmj9hqx6t4gy
the stub code: https://gist.github.com/bap2pecs/dab60fa5371b33ba5fc972d9986118f2