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

Replace usage of checkActivity with VM-level events #1770

Open
aaronbuchwald opened this issue Nov 13, 2024 · 0 comments
Open

Replace usage of checkActivity with VM-level events #1770

aaronbuchwald opened this issue Nov 13, 2024 · 0 comments

Comments

@aaronbuchwald
Copy link
Collaborator

Replace usage of checkActivity to queue the gossiper and builder: https://github.com/ava-labs/hypersdk/blob/main/vm/vm.go#L534 with providing those components the ability to subscribe to a notification of the relevant events.

Currently, the gossiper/builder are notified when:

  • a block is verified
  • the VM is marked as ready
  • normal consensus starts
  • after building a block
  • after a tx is submitted
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant