Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement solomachine chain context #30

Open
5 tasks
Tracked by #31
soareschen opened this issue Dec 7, 2022 · 1 comment
Open
5 tasks
Tracked by #31

Implement solomachine chain context #30

soareschen opened this issue Dec 7, 2022 · 1 comment
Assignees

Comments

@soareschen
Copy link
Collaborator

soareschen commented Dec 7, 2022

Summary

The design of chain context in the new relayer architecture allow the relaying between Cosmos and non-Cosmos chains. The simplest non-Cosmos chain that we can implement is a solomachine chain.

The IBC solomachine spec is rather simple, and we can implement an in-memory solomachine in similar ways as informalsystems/hermes#2733.

Here is a rough overview of how the solomachine would be implemented:

  • It holds an in-memory merkle store.
  • It holds an in-memory private key.
  • It implements OfaBaseChain.
  • It processes incoming IBC packets through the send_messages method.
  • It creates new IBC packets to be relayed through its own methods outside of the chain trait.
  • It follows the IBC specification and stores the appropriate IBC data in the given merkle path.

In this issue, we will be focusing only on relaying between two solomachines. #31 tracks the remaining work required to support relaying between a Cosmos chain and a solomachine chain.


For Admin Use

  • Not duplicate issue
  • Appropriate labels applied
  • Appropriate milestone (priority) applied
  • Appropriate contributors tagged
  • Contributor assigned/self-assigned
@DaviRain-Su
Copy link
Contributor

I suggest that the solomachine client context here implement an abstraction layer, so that I regard the near chain or solana chain as a solo machine client so that some content should not be a specific chain.

@seanchen1991 seanchen1991 assigned ljoss17 and unassigned seanchen1991 Jul 25, 2023
@soareschen soareschen assigned soareschen and unassigned ljoss17 Jul 28, 2023
@soareschen soareschen transferred this issue from informalsystems/hermes Sep 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 🏗 In progress
Development

Successfully merging a pull request may close this issue.

4 participants