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

Merge/v1.10.15 #36

Merged
merged 12 commits into from
Jan 13, 2022
Merged

Merge/v1.10.15 #36

merged 12 commits into from
Jan 13, 2022

Conversation

AusIV
Copy link
Collaborator

@AusIV AusIV commented Jan 5, 2022

Merge v1.10.15 into mempool feed

fjl and others added 12 commits December 23, 2021 11:23
This orders the items in slice definition same as the enum values.
mispelled words in comments: th enext
Change two instances of the word `calulcated` to `calculated`.
Fixes ethereum#24167

New behaviour is that the endpoint returns results only for available
blocks without returning an error when it doesn't find a block. Note we
skip any block after a non-existent block.

This adds a header fetch for every block in range (even if header
is not needed). Alternatively, we could do the check in every field's
resolver method to avoid this overhead.
SyncProgress was modified in PR ethereum#23576 to add the fields reported for
snap sync. The PR also changed ethclient to use the SyncProgress struct
directly instead of wrapping it for hex-decoding. This broke the
SyncProgress method.

Fix it by putting back the custom wrapper. While here, also put back the
fast sync related fields because SyncProgress is stable API and thus
removing fields is not allowed.

Fixes ethereum#24180
Fixes ethereum#24176
@krisamundson krisamundson merged commit 216e55e into mempool-feed Jan 13, 2022
@krisamundson krisamundson deleted the merge/v1.10.15 branch January 13, 2022 20:31
@zeroecco zeroecco mentioned this pull request Jan 13, 2022
@zeroecco zeroecco restored the merge/v1.10.15 branch January 27, 2022 23:00
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.

8 participants