This repository was archived by the owner on May 21, 2024. It is now read-only.
forked from cerc-io/go-ethereum
-
Notifications
You must be signed in to change notification settings - Fork 3
Home
Andrew J Yao edited this page Dec 2, 2021
·
7 revisions
It's important for us to stay pretty close with the ethereum/go-ethereum releases in order for our nodes to be kept in sync. Occasionally there will be a hard fork where we must update to a certain release on a certain date. Examples from the past include the London and Berlin hard forks.
At the time of writing, we have a branch called statediff-develop which is based on the tagged release (v1.10.12-vdb-go-ethereum) in this repo (commit da8aef1c7). In order to do an upgrade we will be checking out a branch from statediff-develop, merging upstream geth changes, resolving conflicts, running geth repo tests, running an integration test, and opening/merging a PR.
- From the
statediff-developbranchgit checkout upgrade/v1.10.x - Make sure you have a remote setup that points to the upstream
github.com:ethereum/go-ethereumrepo git fetch upstream --tagsgit merge v1.10.x- Resolve any conflicts that may have occurred
- Run the tests in the repo
make test - Run the node and make sure extract diffs can connect to it
- Open a PR from
upgrade/v1.10.xtostatediff-developand merge - Tag the release
v1.10.x-vdb-go-ethereum
Build the image, tag it, and push to dockerhub