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

Ensure events are buffered when NetworkPeer is not ready #207

Open
ryardley opened this issue Dec 13, 2024 · 0 comments
Open

Ensure events are buffered when NetworkPeer is not ready #207

ryardley opened this issue Dec 13, 2024 · 0 comments
Labels
bug Something isn't working Ciphernode Related to the ciphernode package

Comments

@ryardley
Copy link
Contributor

ryardley commented Dec 13, 2024

If a node connects to the evm contracts before the network peer is ready it may create events destined for the peer to peer network that will never be broadcast causing state inconsistencies

A good way to solve this issue is to place an event buffer before the net module until the net module has connected to at least one network peer.

Reproducability:

  • connect to evm event source
  • delay connection to network
  • notice that events are not broadcast.
@ryardley ryardley added bug Something isn't working Ciphernode Related to the ciphernode package labels Dec 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Ciphernode Related to the ciphernode package
Projects
None yet
Development

No branches or pull requests

1 participant