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

Implement the utility tool to get the approx L1 block number for the L2 block number in L2 rpc clients #555

Open
2 tasks
cool-develope opened this issue Aug 29, 2024 · 0 comments

Comments

@cool-develope
Copy link
Contributor

cool-develope commented Aug 29, 2024

Context

To start the sequencer from the intermediate L2 block, it is needed to determine the related L1 block number.
To simulate the L2BlockRefByNumber api, get the L2 block by eth_getBlockByNumber and inspects the first transaction. The first tx includes the L1BlockInfo and it is able to get the L1 block number through it.

Tasks

  • Optimism utility tool
  • Arbitrum utility tool
@mastereng12 mastereng12 changed the title Implement the utility tool to get the approx L1 block number for the L2 block number in op-stack rpc Implement the utility tool to get the approx L1 block number for the L2 block number in L2 rpc clients Oct 23, 2024
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

No branches or pull requests

1 participant