Skip to content

Commit 1a03eb1

Browse files
committed
use reth 1.7.0
1 parent b1325f8 commit 1a03eb1

File tree

4 files changed

+19
-10
lines changed

4 files changed

+19
-10
lines changed

.github/workflows/build.yaml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,9 @@ jobs:
6060
6161
basic-benchmarks:
6262
runs-on: ubuntu-latest
63+
env:
64+
RETH_VERSION: 9d56da53ec0ad60e229456a0c70b338501d923a5
65+
GETH_VERSION: 4bc345b22fbee14d3162becd197373a9565b7c6d
6366
steps:
6467
- name: Harden the runner (Audit all outbound calls)
6568
uses: step-security/harden-runner@002fdce3c6a235733a90a27c80493a3241e56863 # v2.12.1
@@ -88,7 +91,7 @@ jobs:
8891
id: cache-bin
8992
with:
9093
path: ${{ runner.temp }}/bin
91-
key: ${{ runner.os }}-binaries
94+
key: ${{ runner.os }}-binaries-reth-${{ env.RETH_VERSION }}-geth-${{ env.GETH_VERSION }}
9295

9396
- name: Build Contracts
9497
run: |
@@ -100,7 +103,7 @@ jobs:
100103
mkdir -p ${{ runner.temp }}/bin
101104
102105
git clone https://github.com/paradigmxyz/reth
103-
git -C reth checkout --force fad870e3508adcc150faa4554111368e0e16f43b
106+
git -C reth checkout --force ${{ env.RETH_VERSION }}
104107
105108
pushd reth
106109
cargo build --features asm-keccak,jemalloc --profile release --bin op-reth --manifest-path crates/optimism/bin/Cargo.toml
@@ -109,7 +112,7 @@ jobs:
109112
chmod +x ${{ runner.temp }}/bin/reth
110113
111114
git clone https://github.com/ethereum-optimism/op-geth
112-
git -C op-geth checkout --force 4bc345b22fbee14d3162becd197373a9565b7c6d
115+
git -C op-geth checkout --force ${{ env.GETH_VERSION }}
113116
114117
pushd op-geth
115118
make geth

.github/workflows/examples.yaml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ on:
77
jobs:
88
example-benchmarks:
99
runs-on: ubuntu-latest
10+
env:
11+
RETH_VERSION: 9d56da53ec0ad60e229456a0c70b338501d923a5
12+
GETH_VERSION: 4bc345b22fbee14d3162becd197373a9565b7c6d
1013

1114
steps:
1215
- name: Harden the runner (Audit all outbound calls)
@@ -35,7 +38,7 @@ jobs:
3538
id: cache-bin
3639
with:
3740
path: ${{ runner.temp }}/bin
38-
key: ${{ runner.os }}-binaries
41+
key: ${{ runner.os }}-binaries-reth-${{ env.RETH_VERSION }}-geth-${{ env.GETH_VERSION }}
3942

4043
- name: Install Foundry
4144
uses: foundry-rs/foundry-toolchain@82dee4ba654bd2146511f85f0d013af94670c4de # v1.4.0
@@ -50,7 +53,7 @@ jobs:
5053
mkdir -p ${{ runner.temp }}/bin
5154
5255
git clone https://github.com/paradigmxyz/reth
53-
git -C reth checkout --force fad870e3508adcc150faa4554111368e0e16f43b
56+
git -C reth checkout --force ${{ env.RETH_VERSION }}
5457
5558
pushd reth
5659
cargo build --features asm-keccak,jemalloc --profile release --bin op-reth --manifest-path crates/optimism/bin/Cargo.toml
@@ -59,7 +62,7 @@ jobs:
5962
chmod +x ${{ runner.temp }}/bin/reth
6063
6164
git clone https://github.com/ethereum-optimism/op-geth
62-
git -C op-geth checkout --force 4bc345b22fbee14d3162becd197373a9565b7c6d
65+
git -C op-geth checkout --force ${{ env.GETH_VERSION }}
6366
6467
pushd op-geth
6568
make geth

.github/workflows/public-benchmarks.yaml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ on:
77
jobs:
88
basic-benchmarks:
99
runs-on: ubuntu-latest
10+
env:
11+
RETH_VERSION: 9d56da53ec0ad60e229456a0c70b338501d923a5
12+
GETH_VERSION: 4bc345b22fbee14d3162becd197373a9565b7c6d
1013

1114
steps:
1215
- name: Harden the runner (Audit all outbound calls)
@@ -35,7 +38,7 @@ jobs:
3538
id: cache-bin
3639
with:
3740
path: ${{ runner.temp }}/bin
38-
key: ${{ runner.os }}-binaries
41+
key: ${{ runner.os }}-binaries-reth-${{ env.RETH_VERSION }}-geth-${{ env.GETH_VERSION }}
3942

4043
- name: Install Foundry
4144
uses: foundry-rs/foundry-toolchain@82dee4ba654bd2146511f85f0d013af94670c4de # v1.4.0
@@ -50,7 +53,7 @@ jobs:
5053
mkdir -p ${{ runner.temp }}/bin
5154
5255
git clone https://github.com/paradigmxyz/reth
53-
git -C reth checkout --force fad870e3508adcc150faa4554111368e0e16f43b
56+
git -C reth checkout --force ${{ env.RETH_VERSION }}
5457
5558
pushd reth
5659
cargo build --features asm-keccak,jemalloc --profile release --bin op-reth --manifest-path crates/optimism/bin/Cargo.toml
@@ -59,7 +62,7 @@ jobs:
5962
chmod +x ${{ runner.temp }}/bin/reth
6063
6164
git clone https://github.com/ethereum-optimism/op-geth
62-
git -C op-geth checkout --force 4bc345b22fbee14d3162becd197373a9565b7c6d
65+
git -C op-geth checkout --force ${{ env.GETH_VERSION }}
6366
6467
pushd op-geth
6568
make geth

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ RUN git clone https://github.com/paradigmxyz/reth.git && \
3333
git clone https://github.com/ethereum-optimism/op-geth.git && \
3434
git clone https://github.com/base/benchmark.git
3535

36-
RUN git -C reth checkout --force fad870e3508adcc150faa4554111368e0e16f43b && \
36+
RUN git -C reth checkout --force 9d56da53ec0ad60e229456a0c70b338501d923a5 && \
3737
git -C op-geth checkout --force 4bc345b22fbee14d3162becd197373a9565b7c6d
3838

3939
# Stage 2: Build reth

0 commit comments

Comments
 (0)