Skip to content

Conversation

@ARR4N
Copy link
Collaborator

@ARR4N ARR4N commented Jun 10, 2025

Why this should be merged

Prerequisite for #186, cherry-picking to main.

Note

These are already on the production release branch so merging them will have no effect on functionality. The only difference is which branch we use for cherry-picking.

How this works

Runs cherry-pick script previously reserved for release branches. This PR MUST be fast-forward merged to main to allow reverting individual commits in the event that we upgrade geth to some point in the middle of the cherry-picks.

There were no non-trivial merge conflicts that required resolution. One was due to our change of ethereum/go-ethereum to ava-labs/libevm in an import path, and the other was due to a cherry-pick deleting a maps.Clone where we still had a manual, per-key copying of the map. The change to eth/gasprice assumed a different return signature, which was rectified, but didn't result in a conflict.

This PR is being tracked in #128.

How this was tested

Existing unit tests.

I have locally verified that every commit builds, independently, and that the tests for the relevant packages pass.

@ARR4N ARR4N changed the title Arr4n/cherry pick all chore: cherry-pick all to main Jun 10, 2025
@ARR4N ARR4N force-pushed the arr4n/cherry-pick-all branch from 816b485 to ae5a958 Compare June 10, 2025 09:47
@ARR4N ARR4N requested a review from alarso16 June 10, 2025 09:54
wzshiming and others added 7 commits June 10, 2025 15:08
…ion (ethereum#29563)

This change removes an unnecessary preallocation and fixes a flaw with no-op copies of some parts of the statedb
…thereum#29644)

* eth/gasprice: add query limit for FeeHistory to defend DDOS attack

* fix return values after cherry-pick

---------

Co-authored-by: Eric <[email protected]>
* upgrade lock usage

* revert unnecessary change
Fixes an error when the block is not found in debug methods.
@ARR4N ARR4N force-pushed the arr4n/cherry-pick-all branch from ae5a958 to 7b6ff3e Compare June 10, 2025 14:09
@ARR4N
Copy link
Collaborator Author

ARR4N commented Jun 10, 2025

Thanks for the review @alarso16. I stupidly didn't pull #183 before doing the cherry-picks so then couldn't fast-forward merge the branch 🤦

I've rebased and force-pushed from ae5a958 (which you approved) to 7b6ff3e. The comparison shows that the only diff is the code from #183.

I'm going to go ahead and merge despite force-pushing post review but wanted to record my rationale before doing so.

@ARR4N ARR4N merged commit 7b6ff3e into main Jun 10, 2025
12 checks passed
@ARR4N ARR4N deleted the arr4n/cherry-pick-all branch June 10, 2025 14:17
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