This repository has been 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 3, 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-develop
branchgit checkout upgrade/v1.10.x
- Make sure you have a remote setup that points to the upstream
github.com:ethereum/go-ethereum
repo [include add remote steps] git fetch upstream --tags
git 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.x
tostatediff-develop
and merge - Tag the release
v1.10.x-vdb-go-ethereum
Build the image, tag it, and push to dockerhub [detail steps here]
- From your tagged release locally, build an image and tag it for dockerhub
docker build . -t makerdao/vdb-go-ethereum:v1.10.x
- Push the new image to docker
docker push makerdao/vdb-go-ethereum:v.10.x