Comments (12)
@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 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.
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.
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.
@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.
@jtieri I think sending back ibc/Hash tokens is giving some problems, chain originating tokens are moving across using routing.
from packet-forward-middleware.
@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.
Any updates on this issue @jtieri.
from packet-forward-middleware.
Hey @jtieri
Any updates on this issue?
from packet-forward-middleware.
Hi, I encountered the same problem during my testing on gaia
.
How to reproduce the problem
- Run 3 instances of
gaiad v6.0.3
(in my case i did this withstarport
) and name them A, B, C - Create
transfer
channel for each pair (e.g. A-B, A-C, B-C) and start the relayer. - 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
- 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.
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.
@jtieri Any update on this issue?
from packet-forward-middleware.
Related Issues (20)
- Hub routing idea HOT 1
- The name `router` is ambiguous given its usage in other contexts HOT 4
- v2.1.0 release module name HOT 3
- Update to v0.46 HOT 5
- Run tests in CI
- Add a simple binary for testing purposes HOT 2
- token gets lost when using unsupported destination address HOT 3
- The `router` module is not an IBCMiddleware HOT 4
- Status of the project. HOT 1
- Allow native JSON on the memo field
- Migrate to ibc-go v7 HOT 1
- use cometbft HOT 1
- pfm depends on an older version of itself HOT 1
- Middleware panics when transferring tokens with 10^18 denom HOT 2
- Migrate PFM to `ibc-apps` repo HOT 4
- Test packet forward middleware with SDK alpha release
- bump packet-forward-middleware to cosmos-sdk 0.45.1 HOT 2
- PFM repo should be archived and users should be pointed to `ibc-apps` repo for issues. HOT 6
- PFM hook possible fixes when used along with IBC-hook? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from packet-forward-middleware.