-
Notifications
You must be signed in to change notification settings - Fork 3
Home
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
- Open a PR from
upgrade/v1.10.x
tostatediff-develop
and merge - Tag the release
v1.10.x-vdb-go-ethereum
We'll need to build the image, tag it, and push to dockerhub so its available in AWS.
- From your local tagged release branch, 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:v1.10.x