File tree Expand file tree Collapse file tree 4 files changed +19
-10
lines changed Expand file tree Collapse file tree 4 files changed +19
-10
lines changed Original file line number Diff line number Diff line change 60
60
61
61
basic-benchmarks :
62
62
runs-on : ubuntu-latest
63
+ env :
64
+ RETH_VERSION : 9d56da53ec0ad60e229456a0c70b338501d923a5
65
+ GETH_VERSION : 4bc345b22fbee14d3162becd197373a9565b7c6d
63
66
steps :
64
67
- name : Harden the runner (Audit all outbound calls)
65
68
uses : step-security/harden-runner@002fdce3c6a235733a90a27c80493a3241e56863 # v2.12.1
88
91
id : cache-bin
89
92
with :
90
93
path : ${{ runner.temp }}/bin
91
- key : ${{ runner.os }}-binaries
94
+ key : ${{ runner.os }}-binaries-reth-${{ env.RETH_VERSION }}-geth-${{ env.GETH_VERSION }}
92
95
93
96
- name : Build Contracts
94
97
run : |
@@ -100,7 +103,7 @@ jobs:
100
103
mkdir -p ${{ runner.temp }}/bin
101
104
102
105
git clone https://github.com/paradigmxyz/reth
103
- git -C reth checkout --force fad870e3508adcc150faa4554111368e0e16f43b
106
+ git -C reth checkout --force ${{ env.RETH_VERSION }}
104
107
105
108
pushd reth
106
109
cargo build --features asm-keccak,jemalloc --profile release --bin op-reth --manifest-path crates/optimism/bin/Cargo.toml
@@ -109,7 +112,7 @@ jobs:
109
112
chmod +x ${{ runner.temp }}/bin/reth
110
113
111
114
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 }}
113
116
114
117
pushd op-geth
115
118
make geth
Original file line number Diff line number Diff line change 7
7
jobs :
8
8
example-benchmarks :
9
9
runs-on : ubuntu-latest
10
+ env :
11
+ RETH_VERSION : 9d56da53ec0ad60e229456a0c70b338501d923a5
12
+ GETH_VERSION : 4bc345b22fbee14d3162becd197373a9565b7c6d
10
13
11
14
steps :
12
15
- name : Harden the runner (Audit all outbound calls)
35
38
id : cache-bin
36
39
with :
37
40
path : ${{ runner.temp }}/bin
38
- key : ${{ runner.os }}-binaries
41
+ key : ${{ runner.os }}-binaries-reth-${{ env.RETH_VERSION }}-geth-${{ env.GETH_VERSION }}
39
42
40
43
- name : Install Foundry
41
44
uses : foundry-rs/foundry-toolchain@82dee4ba654bd2146511f85f0d013af94670c4de # v1.4.0
50
53
mkdir -p ${{ runner.temp }}/bin
51
54
52
55
git clone https://github.com/paradigmxyz/reth
53
- git -C reth checkout --force fad870e3508adcc150faa4554111368e0e16f43b
56
+ git -C reth checkout --force ${{ env.RETH_VERSION }}
54
57
55
58
pushd reth
56
59
cargo build --features asm-keccak,jemalloc --profile release --bin op-reth --manifest-path crates/optimism/bin/Cargo.toml
59
62
chmod +x ${{ runner.temp }}/bin/reth
60
63
61
64
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 }}
63
66
64
67
pushd op-geth
65
68
make geth
Original file line number Diff line number Diff line change 7
7
jobs :
8
8
basic-benchmarks :
9
9
runs-on : ubuntu-latest
10
+ env :
11
+ RETH_VERSION : 9d56da53ec0ad60e229456a0c70b338501d923a5
12
+ GETH_VERSION : 4bc345b22fbee14d3162becd197373a9565b7c6d
10
13
11
14
steps :
12
15
- name : Harden the runner (Audit all outbound calls)
35
38
id : cache-bin
36
39
with :
37
40
path : ${{ runner.temp }}/bin
38
- key : ${{ runner.os }}-binaries
41
+ key : ${{ runner.os }}-binaries-reth-${{ env.RETH_VERSION }}-geth-${{ env.GETH_VERSION }}
39
42
40
43
- name : Install Foundry
41
44
uses : foundry-rs/foundry-toolchain@82dee4ba654bd2146511f85f0d013af94670c4de # v1.4.0
50
53
mkdir -p ${{ runner.temp }}/bin
51
54
52
55
git clone https://github.com/paradigmxyz/reth
53
- git -C reth checkout --force fad870e3508adcc150faa4554111368e0e16f43b
56
+ git -C reth checkout --force ${{ env.RETH_VERSION }}
54
57
55
58
pushd reth
56
59
cargo build --features asm-keccak,jemalloc --profile release --bin op-reth --manifest-path crates/optimism/bin/Cargo.toml
59
62
chmod +x ${{ runner.temp }}/bin/reth
60
63
61
64
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 }}
63
66
64
67
pushd op-geth
65
68
make geth
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ RUN git clone https://github.com/paradigmxyz/reth.git && \
33
33
git clone https://github.com/ethereum-optimism/op-geth.git && \
34
34
git clone https://github.com/base/benchmark.git
35
35
36
- RUN git -C reth checkout --force fad870e3508adcc150faa4554111368e0e16f43b && \
36
+ RUN git -C reth checkout --force 9d56da53ec0ad60e229456a0c70b338501d923a5 && \
37
37
git -C op-geth checkout --force 4bc345b22fbee14d3162becd197373a9565b7c6d
38
38
39
39
# Stage 2: Build reth
You can’t perform that action at this time.
0 commit comments