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

[RPC] Add Fork endpoints #3782

Merged
merged 3 commits into from
Sep 13, 2024
Merged

Conversation

tclemos
Copy link
Contributor

@tclemos tclemos commented Sep 2, 2024

Closes #3781.

What does this PR do?

add custom endpoints to provide fork information:

zkevm_getForkId: returns the network's current fork ID
zkevm_getForkById: returns the network fork ID interval given the provided fork id
zkevm_getForkIdByBatchNumber: returns the fork ID given the provided batch number
zkevm_getForks: returns the network fork ID intervals

@tclemos tclemos added this to the v0.7.4 milestone Sep 2, 2024
@tclemos tclemos requested a review from agnusmor September 2, 2024 13:32
@tclemos tclemos self-assigned this Sep 2, 2024
@cla-bot cla-bot bot added the cla-signed label Sep 2, 2024
@tclemos tclemos changed the title add forkid endpoints [RPC] Add Fork endpoints Sep 2, 2024
@tclemos tclemos merged commit 2499ae9 into release/v0.7.4 Sep 13, 2024
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants