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

feat(ethclient): softblock websocket stream #356

Closed
wants to merge 8 commits into from

Conversation

cyberhorsey
Copy link

No description provided.

@davidtaikocha
Copy link
Member

I think ppl can just subscribe the current new head event, and check if the current block has the latest state (which means its a softblock), then fetch the l1Origin to query the batch info.

Right now, here is the meaning of the block state in our L2:

  • latest: soft block
  • safe: proposed block
  • finalized: verified block

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 this pull request may close these issues.

2 participants