Skip to content

Commit

Permalink
Upgrade clients to support granite hard fork (#36)
Browse files Browse the repository at this point in the history
* Upgrade clients to support granite hard fork

* Update mainnet genesis and rollup configs
  • Loading branch information
Incede authored Sep 2, 2024
1 parent 74c3584 commit fe4eb02
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 8 deletions.
8 changes: 4 additions & 4 deletions geth/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ FROM golang:1.21 AS op
WORKDIR /app

ENV REPO=https://github.com/ethereum-optimism/optimism.git
ENV VERSION=v1.9.0
ENV COMMIT=ec45f6634ab2855a4ae5d30c4e240d79f081d689
ENV VERSION=v1.9.1
ENV COMMIT=4797ddb70e05d4952685bad53e608cb5606284e6
RUN git clone $REPO --branch op-node/$VERSION --single-branch . && \
git switch -c branch-$VERSION && \
bash -c '[ "$(git rev-parse HEAD)" = "$COMMIT" ]'
Expand All @@ -21,8 +21,8 @@ FROM golang:1.21 AS geth
WORKDIR /app

ENV REPO=https://github.com/ethereum-optimism/op-geth.git
ENV VERSION=v1.101315.3
ENV COMMIT=8af19cf20261c0b62f98cc27da3a268f542822ee
ENV VERSION=v1.101408.0
ENV COMMIT=5c2e75862239c77d2873de1888ba52ee84c83178
RUN git clone $REPO --branch $VERSION --single-branch . && \
git switch -c branch-$VERSION && \
bash -c '[ "$(git rev-parse HEAD)" = "$COMMIT" ]'
Expand Down
1 change: 1 addition & 0 deletions mainnet/genesis.json
Original file line number Diff line number Diff line change
Expand Up @@ -15312,6 +15312,7 @@
"eip150Block": 0,
"eip155Block": 0,
"eip158Block": 0,
"graniteTime": 1726070401,
"londonBlock": 0,
"bedrockBlock": 0,
"regolithTime": 0,
Expand Down
1 change: 1 addition & 0 deletions mainnet/rollup.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
"l1_chain_id": 1,
"l2_chain_id": 1135,
"ecotone_time": 0,
"granite_time": 1726070401,
"regolith_time": 0,
"channel_timeout": 300,
"seq_window_size": 3600,
Expand Down
8 changes: 4 additions & 4 deletions reth/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ FROM golang:1.21 AS op
WORKDIR /app

ENV REPO=https://github.com/ethereum-optimism/optimism.git
ENV VERSION=v1.9.0
ENV COMMIT=ec45f6634ab2855a4ae5d30c4e240d79f081d689
ENV VERSION=v1.9.1
ENV COMMIT=4797ddb70e05d4952685bad53e608cb5606284e6
RUN git clone $REPO --branch op-node/$VERSION --single-branch . && \
git switch -c branch-$VERSION && \
bash -c '[ "$(git rev-parse HEAD)" = "$COMMIT" ]'
Expand All @@ -26,8 +26,8 @@ WORKDIR /app
RUN apt-get update && apt-get -y upgrade && apt-get install -y git libclang-dev pkg-config curl build-essential

ENV REPO=https://github.com/paradigmxyz/reth.git
ENV VERSION=v1.0.5
ENV COMMIT=603e39ab74509e0863fc023461a4c760fb2126d1
ENV VERSION=v1.0.6
ENV COMMIT=c228fe15808c3acbf18dc3af1a03ef5cbdcda07a
RUN git clone $REPO --branch $VERSION --single-branch . && \
git switch -c branch-$VERSION && \
bash -c '[ "$(git rev-parse HEAD)" = "$COMMIT" ]'
Expand Down

0 comments on commit fe4eb02

Please sign in to comment.