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 QGB orchestrator should be able to listen for Valset events #317

Closed
rach-id opened this issue Apr 15, 2022 · 1 comment · Fixed by #314
Closed

The QGB orchestrator should be able to listen for Valset events #317

rach-id opened this issue Apr 15, 2022 · 1 comment · Fixed by #314
Assignees

Comments

@rach-id
Copy link
Member

rach-id commented Apr 15, 2022

The QGB orchestrator should be able to listen for Valset events emitted by Celestia-app. This would help it sign the correct valsets and be up to date with the changing valsets. The MVP will need this in order to be complete.

@rach-id rach-id added the C: QGB label Apr 15, 2022
@rach-id rach-id mentioned this issue Apr 15, 2022
11 tasks
@rach-id
Copy link
Member Author

rach-id commented Apr 15, 2022

Also, we need to check if the orchestrator has already signed a valset so that it won't resign it again.
Currently, we're getting the events via:

tendermintRPC.Subscribe(ctx, "valset-changes", fmt.Sprintf("%s.%s='%s'", types.EventTypeValsetRequest, sdk.AttributeKeyModule, types.ModuleName))

and sometimes, we receive multiple events for the same nonce.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Archived in project
1 participant