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

the websocket monitoring is hanging, need to review the MonitorTransaction function #1313

Open
artemijspavlovs opened this issue Mar 7, 2025 · 0 comments · May be fixed by #1324
Open

the websocket monitoring is hanging, need to review the MonitorTransaction function #1313

artemijspavlovs opened this issue Mar 7, 2025 · 0 comments · May be fixed by #1324
Assignees

Comments

@artemijspavlovs
Copy link
Collaborator

artemijspavlovs commented Mar 7, 2025

need to review the function, there are 2 flavors of websocket endpoints,

http - when the websocket is exposed at /websocket of the dymint rpc
ws - when there's a separate

we assume use the http right now, because of that for some hub endpoints, the transaction is not monitored properly

We should add an optional field to the roller config named wss_endpoint, if it is set, then use that as the endpoint for MonitorTransaction, otherwise default to the rpc endpoint's /websocket path

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants