[v5] Rebase to 1.11.5 #340
Labels
No Label
bug
critical
duplicate
enhancement
epic
help wanted
in progress
invalid
low priority
question
rebase
v1
v5
wontfix
Copied from Github
Kind/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: cerc-io/go-ethereum#340
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
1.11.5 was released last week, we need to update our custom geth client to work on top of this release.
This rebase is required before April 12th
Note: there are consensus breaking changes and numerous EIPs in this upgrade, so it will likely be a relatively heavy rebase.
After cutting a release, we will need to update the following v5 versions of the repos to use this release:
We will also need to update and release v5 versions of the following repos that use the root v1.11.5 release:
Might need to update
During the rebase upgrade from v1.10.25 to v1.10.26, our commits were not squashed (see our intervening commits between
fda1723
and69568c5
in https://github.com/cerc-io/go-ethereum/commits/v1.11.5-statediff-5.0.0-alpha?after=e577ea3f56e59854f4c98c7262894e8cddb6b33c+104&branch=v1.11.5-statediff-5.0.0-alpha&qualified_name=refs%2Fheads%2Fv1.11.5-statediff-5.0.0-alpha.And all the upstream changes in v1.10.26 we squashed into
fda1723
, so we lost that incremental history and retaining that was the main point of our rebase scheme 👍It also means we have to decide whether to now squash back to
fda1723
or69568c5
for the next rebase, squashing to the former preserves the upstream v1.10.26 history (but not really, it just preserves it within that single squashed commit aka useless) but means we have to resolve conflicts for all the commits from69568c5
tofda1723
. Squashing down to69568c5
blows away the v1.10.26 upstream history entirely, but goes back to our regular workflow that only requires resolving conflicts for a single commit.Of those two I'm inclined to do the latter, since the v1.10.26 history is pretty much useless in the squashed form. And otherwise we will have to continue resolving conflicts for this set of intervening commits in every future rebase.
A third option is to roll back to https://github.com/cerc-io/go-ethereum/releases/tag/v1.10.25-statediff-4.2.1-alpha and then correctly re-apply all changes and rebases since then. This is the correct way to do it but will take a relatively long time.
The cost of the third option is amplified by the need to do it for both v4 and v5
A fourth option that I should have recognized earlier: checkout fresh upstream v1.11.5 and simply merge our latest working branch in. First need to collect and cache our work somewhere, so it can be applied ontop as a single commit instead of interweaving with the upstream history.
The v4 rebase is easy because Mike had already gone back and fixed this in the latest v4 release
Closing this, the remaining repos need to be refactored to work with v5 which is substantially more than a simple rebase. Each repo has an issue to track this, and this top-level issue: https://github.com/cerc-io/issue_tracking/issues/38