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

fix(op-node): l1 client use eth_getFinalizedBlock to get finalized block #37

Closed

Conversation

bnoieh
Copy link
Contributor

@bnoieh bnoieh commented Aug 23, 2023

There are two methods to get finalized block on BSC:

  1. eth_getBLockByNumber with finalized tag
  2. eth_getFinalizedBlock

This PR changes l1Client to use second method instead of first one, due to first method only return the fastFinalizedHeader, which is not the exact finalized block when fast finalize failed

@github-actions
Copy link
Contributor

github-actions bot commented Sep 7, 2023

This PR is stale because it has been open 14 days with no activity. Remove stale label or comment or this will be closed in 5 days.

@github-actions github-actions bot added the Stale label Sep 7, 2023
@github-actions github-actions bot closed this Sep 13, 2023
@bnoieh bnoieh reopened this Sep 19, 2023
@owen-reorg owen-reorg closed this Sep 20, 2023
@bnoieh bnoieh deleted the fix-final-block-r-testnet branch November 6, 2023 04:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants