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

Revert "feat: fix GetBlock for null rounds by returning nil (#12529)" #12641

Merged
merged 1 commit into from
Oct 28, 2024

Conversation

rvagg
Copy link
Member

@rvagg rvagg commented Oct 25, 2024

This reverts commit c674554.

Discussion in #12633 about the subtleties of dealing with this problem - returning nil or an error. This could be an unfixable wac-a-mole, but the fact that we had a complaint pretty quickly on an RC for just this API shows that we need to tread more cautiously.

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rvagg
Copy link
Member Author

rvagg commented Oct 28, 2024

I've left TestEthGetBlockByNumber in here because @virajbhartiya added a bunch of good coverage in there, I've just changed some of the expectations based on this reversion.

@rvagg
Copy link
Member Author

rvagg commented Oct 28, 2024

I'm also ignoring the request to fix the title and I'm going to PR the bot to accept Revert "...standard commit in here" since it's the common git format for reversions.

@rvagg rvagg enabled auto-merge (rebase) October 28, 2024 04:17
@rvagg rvagg dismissed github-actions[bot]’s stale review October 28, 2024 04:17

valid commit message for revert

@rvagg rvagg merged commit 8feaa02 into master Oct 28, 2024
81 of 83 checks passed
@rvagg rvagg deleted the rvagg/revert-getblocknull branch October 28, 2024 04:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: ☑️ Done (Archive)
Development

Successfully merging this pull request may close these issues.

3 participants