Skip to content

Commit 03281a5

Browse files
committed
fix(devnet-sdk): use correct op-deployer artifacts
Also cleanup the op-program-svc builders
1 parent ee02186 commit 03281a5

File tree

3 files changed

+14
-7
lines changed

3 files changed

+14
-7
lines changed

devnet-sdk/proofs/prestate/client.go

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,11 @@ import (
1111
"path/filepath"
1212
)
1313

14+
// These constants should be in sync with op-program/chainconfig/chaincfg.go
1415
const (
15-
InteropDepSetName = "depsets.json"
16+
InteropDepSetName = "depsets.json"
17+
rollupConfigSuffix = "-rollup.json"
18+
genensisConfigSuffix = "-genesis-l2.json"
1619
)
1720

1821
// PrestateManifest maps prestate identifiers to their hashes
@@ -106,12 +109,12 @@ func WithChainConfig(chainId string, rollupContent io.Reader, genesisContent io.
106109
c.chains = append(c.chains, chainId)
107110
c.files = append(c.files,
108111
FileInput{
109-
Name: chainId + "-rollup.json",
112+
Name: chainId + rollupConfigSuffix,
110113
Content: rollupContent,
111114
Type: "rollup-config",
112115
},
113116
FileInput{
114-
Name: chainId + "-genesis.json",
117+
Name: chainId + genensisConfigSuffix,
115118
Content: genesisContent,
116119
Type: "genesis-config",
117120
},

kurtosis-devnet/justfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,10 @@ op-proposer-image TAG='op-proposer:devnet': (_docker_build_stack TAG "op-propose
7070
op-supervisor-image TAG='op-supervisor:devnet': (_docker_build_stack TAG "op-supervisor-target")
7171
op-wheel-image TAG='op-wheel:devnet': (_docker_build_stack TAG "op-wheel-target")
7272

73+
op-program-builder-image TAG='op-program-builder:devnet':
74+
just op-program-svc/op-program-svc {{TAG}}
75+
76+
7377
# Devnet template recipe
7478
devnet TEMPLATE_FILE DATA_FILE="" NAME="" PACKAGE=KURTOSIS_PACKAGE:
7579
#!/usr/bin/env bash
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
op-program-base:
2-
docker buildx build -f ../../op-program/Dockerfile.repro --target=src -t op-program-base:latest ../..
1+
op-program-base TAG='op-program-base:latest':
2+
docker buildx build -f ../../op-program/Dockerfile.repro --target=src -t {{TAG}} ../..
33

4-
op-program-svc: op-program-base
5-
docker buildx build -f Dockerfile -t op-program-svc:latest .
4+
op-program-svc TAG='op-program-svc:latest': op-program-base
5+
docker buildx build -f Dockerfile -t {{TAG}} .

0 commit comments

Comments
 (0)