diff --git a/.github/workflows/antithesis.yml b/.github/workflows/antithesis.yml index f3aa9c229..4cd6e457e 100644 --- a/.github/workflows/antithesis.yml +++ b/.github/workflows/antithesis.yml @@ -38,7 +38,9 @@ jobs: context: . platforms: linux/amd64,linux/arm64 push: true - tags: us-central1-docker.pkg.dev/molten-verve-216720/dominant-repository/go-quai:${{ env.IMAGE_TAG }} + tags: | + us-central1-docker.pkg.dev/molten-verve-216720/dominant-repository/go-quai:${{ env.IMAGE_TAG }} + us-central1-docker.pkg.dev/molten-verve-216720/dominant-repository/go-quai:latest cache-to: type=inline - name: Run Antithesis Test diff --git a/Dockerfile b/Dockerfile index 3f2f8648d..f94f08295 100644 --- a/Dockerfile +++ b/Dockerfile @@ -15,6 +15,12 @@ RUN go mod download # Copy the source code COPY . . +# Modify params/protocol_params.go before building +RUN sed -i 's/TimeToStartTx[[:space:]]*uint64[[:space:]]*=[[:space:]]*15 \* BlocksPerDay/TimeToStartTx uint64 = 0/' params/protocol_params.go + +# Verify the modification (optional, remove if not needed) +RUN grep "TimeToStartTx" params/protocol_params.go + # Build the Go app using the Makefile RUN make go-quai