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
I have a config with 4 chains and 3 relayers between them and /ibc/{chain_1}/{chain_2} request returns incorrect connection id randomly.
For reproduction here's the config I'm using:
When it's running I create one channel betwenn each of them:
kubectl exec hermes-juno-juno2-0 -- hermes create channel --order unordered --a-chain juno-1 --a-connection connection-0 --a-port transfer --b-port transfer
kubectl exec hermes-juno2-juno3-0 -- hermes create channel --order unordered --a-chain junotwo-1 --a-connection connection-0 --a-port transfer --b-port transfer
kubectl exec hermes-juno3-juno4-0 -- hermes create channel --order unordered --a-chain junothree-1 --a-connection connection-0 --a-port transfer --b-port transfer
After that I'm doing couple of GET requests to get connection_id between chains:
$ curl -s GET 'http://localhost:8081/ibc/juno-1/junotwo-1'| jq ".chain_1.connection_id"&& curl -s GET 'http://localhost:8081/ibc/junotwo-1/junothree-1'| jq ".chain_1.connection_id"&& curl -s GET 'http://localhost:8081/ibc/junothree-1/junofour-1'| jq ".chain_1.connection_id""connection-0""connection-0""connection-0"
If you repeat running this command eventually you will get something like that instead of correct result:
"connection-0""connection-0""connection-1"
Where one of the connection ids incorrect.
Why it's bad:
We use this endpoint to determine command for opening channels in hermes and when incorrect connection_id passed inside hermes it errors that it does not have config for the chain_b
The text was updated successfully, but these errors were encountered:
Ahh i think this is cuz there can be multiple connections between the chains, maybe some are not active or invalid even.
This is a good bug to report thanks.
Ahh i think this is cuz there can be multiple connections between the chains, maybe some are not active or invalid even. This is a good bug to report thanks.
I have a config with 4 chains and 3 relayers between them and
/ibc/{chain_1}/{chain_2}
request returns incorrect connection id randomly.For reproduction here's the config I'm using:
When it's running I create one channel betwenn each of them:
After that I'm doing couple of GET requests to get connection_id between chains:
If you repeat running this command eventually you will get something like that instead of correct result:
Where one of the connection ids incorrect.
Why it's bad:
We use this endpoint to determine command for opening channels in hermes and when incorrect connection_id passed inside hermes it errors that it does not have config for the chain_b
The text was updated successfully, but these errors were encountered: