composable-ibc icon indicating copy to clipboard operation
composable-ibc copied to clipboard

WIP Relayer for Solana

Open dhruvja opened this issue 2 years ago • 11 comments

dhruvja avatar Oct 24 '23 20:10 dhruvja

Why are you planning to store data in the relayer? Ideally querying the node should suffice

blasrodri avatar Oct 26 '23 17:10 blasrodri

Why are you planning to store data in the relayer? Ideally querying the node should suffice

I am not storing any data in the relayer. I am fetching the data from the accounts which are received from the rpc.

dhruvja avatar Oct 26 '23 20:10 dhruvja

Since i am having issues with different IBC versions, I will try to fork it and upgrade the IBC for solana and cosmos relayer. Lets see how it goes. Forked Repo

dhruvja avatar Nov 23 '23 05:11 dhruvja

Upgrading is quite a big task though. What’s the main issue? It should be just a handful of types that we need from new ibc.

mina86 avatar Nov 23 '23 10:11 mina86

I mean we just have to upgrade the ibc_primitives and the relayer for cosmos and solana. I am already done with ibc_primitives and solana.

What’s the main issue?

Using the old ibc would need us to convert each type from our storage to the old ibc type. It can get messy.

dhruvja avatar Nov 23 '23 16:11 dhruvja

Well looks like @mina86 was right and upgrading seems to be a big task. So i will prolly use the old version of ibc and the new one to fetch the data from the smart contract. Would also write some conversions to convert some types from new ibc to old one.

dhruvja avatar Dec 05 '23 06:12 dhruvja

Note that with 0.48 ibc-rs got split into multiple smaller crates, so you’re probably gonna be interested only in the crates which define types.

mina86 avatar Dec 05 '23 13:12 mina86

Note that with 0.48 ibc-rs got split into multiple smaller crates, so you’re probably gonna be interested only in the crates which define types.

gotcha

dhruvja avatar Dec 05 '23 17:12 dhruvja

can we do docker compose or process compose?

dzmitry-lahoda avatar Feb 21 '24 19:02 dzmitry-lahoda

usually dockers are one liners to run

dzmitry-lahoda avatar Feb 21 '24 19:02 dzmitry-lahoda

Sure sure that could be done

dhruvja avatar Feb 21 '24 21:02 dhruvja