Skip to content

Commit be119bb

Browse files
committed
use isthmus as standard for op-deployer
1 parent ea84370 commit be119bb

File tree

2 files changed

+23
-4
lines changed

2 files changed

+23
-4
lines changed

.github/workflows/release.yml

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,20 @@ jobs:
6969
--push \
7070
op-node
7171
72+
- name: Build & Push op-deployer
73+
run: |
74+
IMAGE_TAGS=${{ steps.meta.outputs.tag_name }}-${{ matrix.platform.arch }},${{ !contains(github.ref_name, 'rc') && format('latest-{0}', matrix.platform.arch) || '' }} \
75+
GIT_COMMIT=${{ steps.meta.outputs.git_commit }} \
76+
GIT_DATE=${{ steps.meta.outputs.git_date }} \
77+
GIT_VERSION=${{ steps.meta.outputs.tag_name }} \
78+
REGISTRY=ghcr.io \
79+
REPOSITORY=gattaca-com/based-optimism \
80+
PLATFORMS=linux/${{ matrix.platform.arch == 'arm64' && 'arm64/v8' || matrix.platform.arch }} \
81+
docker buildx bake \
82+
-f docker-bake.hcl \
83+
--push \
84+
op-deployer
85+
7286
create-manifest:
7387
needs: build-and-push
7488
runs-on: ubuntu-latest
@@ -92,11 +106,15 @@ jobs:
92106
docker buildx imagetools create \
93107
--tag $ghcr/based-op-node:$tag \
94108
$ghcr/based-op-node:$tag-amd64 \
95-
$ghcr/based-op-node:$tag-arm64
109+
$ghcr/based-op-node:$tag-arm64 \
110+
$ghcr/based-op-deployer:$tag-amd64 \
111+
$ghcr/based-op-deployer:$tag-arm64 \
96112
97113
if [[ ! "$tag" =~ "rc" ]]; then
98114
docker buildx imagetools create \
99115
--tag $ghcr/based-op-node:latest \
100116
$ghcr/based-op-node:latest-amd64 \
101-
$ghcr/based-op-node:latest-arm64
102-
fi
117+
$ghcr/based-op-node:latest-arm64 \
118+
$ghcr/based-op-deployer:latest-amd64 \
119+
$ghcr/based-op-deployer:latest-arm64
120+
fi

op-deployer/pkg/deployer/standard/standard.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ const (
3939
ContractsV180Tag = "op-contracts/v1.8.0-rc.4"
4040
ContractsV170Beta1L2Tag = "op-contracts/v1.7.0-beta.1+l2-contracts"
4141
ContractsV200Tag = "op-contracts/v2.0.0-rc.1"
42-
ContractsV300Tag = "op-contracts/v3.0.0-rc.2"
42+
ContractsV300Tag = "op-contracts/v3.0.0"
4343
)
4444

4545
var DisputeAbsolutePrestate = common.HexToHash("0x038512e02c4c3f7bdaec27d00edf55b7155e0905301e1a88083e4e0a6764d54c")
@@ -241,6 +241,7 @@ func DefaultHardforkScheduleForTag(tag string) *genesis.UpgradeScheduleDeployCon
241241
return sched
242242
case ContractsV180Tag, ContractsV200Tag, ContractsV300Tag:
243243
sched.ActivateForkAtGenesis(rollup.Holocene)
244+
sched.ActivateForkAtGenesis(rollup.Isthmus)
244245
default:
245246
sched.ActivateForkAtGenesis(rollup.Holocene)
246247
sched.ActivateForkAtGenesis(rollup.Isthmus)

0 commit comments

Comments
 (0)