Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

roller extarcts wrong active channel #497

Closed
mtsitrin opened this issue Sep 5, 2023 · 0 comments · Fixed by #498
Closed

roller extarcts wrong active channel #497

mtsitrin opened this issue Sep 5, 2023 · 0 comments · Fixed by #498
Assignees
Labels
bug Something isn't working

Comments

@mtsitrin
Copy link
Contributor

mtsitrin commented Sep 5, 2023

roller looks for last connection in the
``
to use as active connection

but the list isn't sorted correctly

["ORDER_ORDERED","ORDER_UNORDERED"]}],"state":"STATE_OPEN","counterparty":{"client_id":"01-dymint-442","connection_id":"connection-10121","prefix":{"key_prefix":"aWJj"}},"delay_period":"0"}
{"id":"connection-89","client_id":"07-tendermint-0","versions":[{"identifier":"1","features":["ORDER_ORDERED","ORDER_UNORDERED"]}],"state":"STATE_OPEN","counterparty":{"client_id":"01-dymint-442","connection_id":"connection-10122","prefix":{"key_prefix":"aWJj"}},"delay_period":"0"}
{"id":"connection-9","client_id":"07-tendermint-0","versions":[{"identifier":"1","features":["ORDER_ORDERED","ORDER_UNORDERED"]}],"state":"STATE_OPEN","counterparty":{"client_id":"01-dymint-442","connection_id":"connection-4973","prefix":{"key_prefix":"aWJj"}},"delay_period":"0"}
{"id":"connection-90","client_id":"07-tendermint-0","versions":[{"identifier":"1","features":["ORDER_ORDERED","ORDER_UNORDERED"]}],"state":"STATE_OPEN","counterparty":{"client_id":"01-dymint-442","connection_id":"connection-10123","prefix":{"key_prefix":"aWJj"}},"delay_period":"0"}

as we can see connection-9 is higher than connection-89

we should read the active connection from the relayer config file

@mtsitrin mtsitrin self-assigned this Sep 5, 2023
@omritoptix omritoptix added the bug Something isn't working label Sep 5, 2023
@mtsitrin mtsitrin linked a pull request Sep 5, 2023 that will close this issue
12 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants