You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is rather straightforward to implement the IBC message builder components for Sovereign rollup, as they are pretty similar to the message builder implementations for Cosmos-to-Cosmos.
The main differences are:
A dummy signer field is used, by calling Signer::dummy().
cc @farhard: it is possible to make it such that IBC message types for sovereign-ibc do not include this field at all? Or should the proper signer be used eventually?
The message is encoded into Any, and wrapped inside SovereignMessage.
Assignees can use the following implementations as reference:
BuildCreateCosmosClientMessageOnSovereign for CreateClientMessageBuilder<SovereignChain, CosmosChain>.
BuildUpdateCosmosClientMessageOnSovereign for UpdateClientMessageBuilder<SovereignChain, CosmosChain>
The listed components are already implemented, and are for your reference. By "IBC message builders" I mean message builder for IBC-related messages, such as ReceivePacketMessageBuilder.
Looking at the constraints for BuildCosmosReceivePacketMessage, I'm not entirely sure which constraints needs to change for BuildReceivePacketMessageOnSovereign. More specifically, for the Chain: HasMessageType constraint, what should the Message associated type be set to?
It is rather straightforward to implement the IBC message builder components for Sovereign rollup, as they are pretty similar to the message builder implementations for Cosmos-to-Cosmos.
The main differences are:
Signer::dummy()
.Any
, and wrapped insideSovereignMessage
.Assignees can use the following implementations as reference:
BuildCreateCosmosClientMessageOnSovereign
forCreateClientMessageBuilder<SovereignChain, CosmosChain>
.BuildUpdateCosmosClientMessageOnSovereign
forUpdateClientMessageBuilder<SovereignChain, CosmosChain>
Tasks
ConnectionHandshakeMessageBuilder<SovereignChain, CosmosChain>
todo!()
forBuildCosmosConnectionHandshakeMessageOnSovereign
ChannelHandshakeMessageBuilder<SovereignChain, CosmosChain>
todo!()
forBuildCosmosChannelHandshakeMessageOnSovereign
ReceivePacketMessageBuilder<SovereignChain, CosmosChain>
AckPacketMessageBuilder<SovereignChain, CosmosChain>
TimeoutUnorderedPacketMessageBuilder<SovereignChain, CosmosChain>
The text was updated successfully, but these errors were encountered: