Split out Cosmos-specific code into its own crate #1580
Labels
E: non-cosmos
External: related to non-Cosmos chains
I: logic
Internal: related to the relaying logic
Milestone
Crate
ibc-relayer
Summary
Split out the
CosmosSdk
struct, itsChainEndpoint
implementation, and all related Cosmos-specific code into aibc-relayer-cosmos
crate.Problem Definition
While the relayer was developed against and currently only supports Cosmos chains, this will have to change in the future with non-Cosmos chains connecting via IBC. Because it is likely that each and every non-Cosmos chain will require specific support and tailored code in the relayer, the
ibc-relayer
library will grow in size and in scope way past a healthy point for a library.Proposal
Split out all the Cosmos-specific code out of the
ibc-relayer
crate and into a newibc-relayer-cosmos
crate.Code to split out
Acceptance Criteria
The
ibc-relayer
crate does not contain any Cosmos-specific code and a newibc-relayer-cosmos
crate is added to the workspace.Potential concerns
ibc-relayer
andibc-relayer-cosmos
, may require introducing aibc-relayer-base
crate or similar to host the traits to be implemented in the-cosmos
crate.For Admin Use
The text was updated successfully, but these errors were encountered: