Local chain type #158
Labels
I: dependencies
Internal: related to dependencies
O: tests
Objective: Test more aspect of the relayer
Milestone
We should add a new type of Chain type that is a local in-process chain. This chain will basically be our implementation of the IBC handlers. It can also be used for in-process testing of the relayer.
A Chain is expected to be running a blockchain (generating at least light blocks ...) and to have some on-chain state that can be queried and updated by transactions. So we'll need:
So basically we need to mock out a Tendermint blockchain using light blocks and a simple state machine for the ibc handlers.
Note this wouldn't be using ABCI directly, since that would assume a running instance of Tendermint Core. So we don't need to hook up real ABCI queries or any kind of transaction stuff, just a simple interface for passing in the IBC msg types and for querying from the KV store. Ultimately though we'll want this application state/logic to be able to run on top of ABCI, so it's worth keeping in mind.
The text was updated successfully, but these errors were encountered: