Coder Social home page Coder Social logo

Comments (12)

jtieri avatar jtieri commented on July 2, 2024 4

@arhamchordia I have had to make some changes around our local testing environment due to some changes and errors introduced in the v6.0.0 release of gaia.

Unfortunately I haven't gotten everything fully working again so haven't been able to test a fix for the issue described :/
Gonna keep pushing on this and hopefully will have something substantial to report back soon

from packet-forward-middleware.

jtieri avatar jtieri commented on July 2, 2024 2

@jtieri any updates on this? Were you able to replicate the issue? We are planning on adding this to Persistence chain, core-1 If you suggest we can hold this off till next release

Sorry for the delay in getting a reply to you! I needed to update the tests I used for using the packet-forward-middleware on my local machine and didn't have the bandwidth until yesterday evening. I'm going to make this my top priority today and get back to you ASAP!

from packet-forward-middleware.

jtieri avatar jtieri commented on July 2, 2024 1

This issue should be fixed in the current main branch and there is now testing coverage around this.
Feature should be usable following the Rho upgrade of the Hub, closing this issue now.

from packet-forward-middleware.

jtieri avatar jtieri commented on July 2, 2024

thanks for opening an issue @arhamchordia

I'm going to create a new demo in a branch on this repo where I will attempt to reproduce this issue locally. Just to be clear you are able to send tokens from A to C, using B as a router, but you are not able to go back from C to A the same way?

from packet-forward-middleware.

arhamchordia avatar arhamchordia commented on July 2, 2024

@jtieri
Suppose chain A has a token stakeA and chain C has a token stakeC. I am able to send satkeA from A to C and stakeC from C to A.
The problem occurs when I'm trying to send back satkeA back to chain A from chain C through chain B via routing.

from packet-forward-middleware.

puneet2019 avatar puneet2019 commented on July 2, 2024

@jtieri I think sending back ibc/Hash tokens is giving some problems, chain originating tokens are moving across using routing.

from packet-forward-middleware.

puneet2019 avatar puneet2019 commented on July 2, 2024

@jtieri any updates on this? Were you able to replicate the issue?
We are planning on adding this to Persistence chain, core-1
If you suggest we can hold this off till next release

from packet-forward-middleware.

arhamchordia avatar arhamchordia commented on July 2, 2024

Any updates on this issue @jtieri.

from packet-forward-middleware.

arhamchordia avatar arhamchordia commented on July 2, 2024

Hey @jtieri
Any updates on this issue?

from packet-forward-middleware.

Ehsan-saradar avatar Ehsan-saradar commented on July 2, 2024

Hi, I encountered the same problem during my testing on gaia.
How to reproduce the problem

  1. Run 3 instances of gaiad v6.0.3 (in my case i did this with starport) and name them A, B, C
  2. Create transfer channel for each pair (e.g. A-B, A-C, B-C) and start the relayer.
  3. Transfer assets from A to B using the following command
    gaiad tx ibc-transfer transfer transfer channel-0 "B-addr" 1000stake --home ~/.A --node={A-node} --from bob --chain-id A
  4. Transfer the received tokens on B to C through A
    gaiad tx ibc-transfer transfer transfer channel-1 "cosmos16plylpsgxechajltx9yeseqexzdzut9g8vla4k|transfer/channel-1:C-addr" 1000ibc/C4CFF46FD6DE35CA4CF4CE031E643C8FDC9BA4B99AE598E9B0ED98FE3A2319F9 --home ~/.B --node={B-node} --from bob --chain-id B

Now after step 5 if we take a look at relayer log we'll see something like this:

Relay 1 packets from B => A
Relay 1 acks from A => B

Which shows that there's a problem with how router is handling ibc denoms because when you try it with native tokens relayer's output is like this:

Relay 1 packets from B => A
Relay 1 packets from A => C
Relay 1 acks from A => B
Relay 1 acks from C => A

Starport version : v0.19.2
Packet-forward-middleware version : v1.0.1
Gaia version : 6.0.3

from packet-forward-middleware.

jtieri avatar jtieri commented on July 2, 2024

Sorry for the delay!

I've recreated the issue in our test environment and have identified the issue. Working on a patch to fix the issue that should be ready before the theta upgrade on the hub this month.

from packet-forward-middleware.

Ehsan-saradar avatar Ehsan-saradar commented on July 2, 2024

@jtieri Any update on this issue?

from packet-forward-middleware.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.