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

[v5] Add support for safe and finalized block identifiers #2655

Merged
merged 1 commit into from
Sep 21, 2022

Conversation

fselmo
Copy link
Collaborator

@fselmo fselmo commented Sep 21, 2022

What was wrong?

Closes #2641
v5 version of PR #2652

Note: I didn't add the integration tests here because we don't expect to update v5 test fixtures to post-merge. Only the relevant tests from PR #2652 were added.

Todo:

Cute Animal Picture

Put a link to a cute animal picture inside the parenthesis-->

@fselmo fselmo changed the title Add support for safe and finalized block identifiers [v5] Add support for safe and finalized block identifiers Sep 21, 2022
@fselmo fselmo force-pushed the v5-new-block-identifiers branch from a2d4431 to c40adf2 Compare September 21, 2022 20:35
@fselmo fselmo marked this pull request as ready for review September 21, 2022 20:39
@fselmo fselmo requested review from pacrob and wolovim September 21, 2022 20:39
- ``safe`` and ``finalized`` is sometimes accepted and sometimes not when it comes to filters. They are not yet part of the specifications so the documentation should reflect this. However, when creating event filters for example, these are supported block ids in Infura and they do yield different results than, say, "latest". Because of this, we should support it but provide careful documentation that they may or may not yield desirable results.
@fselmo fselmo force-pushed the v5-new-block-identifiers branch from c40adf2 to 81becd8 Compare September 21, 2022 20:42
@fselmo fselmo merged commit f3b8bf4 into ethereum:v5 Sep 21, 2022
@fselmo fselmo deleted the v5-new-block-identifiers branch April 3, 2024 20:50
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