Open Buckram123 opened 1 month ago
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 think issue could be here: https://github.com/cosmology-tech/starship/blob/main/starship/registry/chain.go#L247 Maybe we need to update the way we fetch connection information between the chains
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 think issue could be here: https://github.com/cosmology-tech/starship/blob/main/starship/registry/chain.go#L247 Maybe we need to update the way we fetch connection information between the chains
Great, thanks for active maintaining of this awesome tool!
Yeah it seems like connection_id just swaps on ibc/chain1/chain2
(in case of incorrect result), so:
For some time and then it gets back to normal until flips again. Can't say for sure tho, as I only observed the results
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