diff --git a/.github/workflows/interchaintest.yml b/.github/workflows/interchaintest.yml index cc6b9876..bb2418e0 100644 --- a/.github/workflows/interchaintest.yml +++ b/.github/workflows/interchaintest.yml @@ -13,7 +13,7 @@ env: GITHUB_TOKEN: ${{ secrets.PAT }} TAR_PATH: /tmp/seda-docker-image.tar IMAGE_NAME: seda-chaind-e2e - SEDA_EXPONENT: 6 + SEDA_EXPONENT: ${{ secrets.SEDA_EXPONENT_ICT || 18 }} permissions: contents: read diff --git a/app/params/config.go b/app/params/config.go index 7279210b..206b4a71 100644 --- a/app/params/config.go +++ b/app/params/config.go @@ -38,7 +38,7 @@ var ( func getSedaExponent() int64 { sedaExponent := os.Getenv("SEDA_EXPONENT") if sedaExponent == "" { - return 18 // default value + return 18 // default } value, err := strconv.Atoi(sedaExponent) diff --git a/dockerfiles/Dockerfile.e2e b/dockerfiles/Dockerfile.e2e index 2bd73c68..fca50ffa 100644 --- a/dockerfiles/Dockerfile.e2e +++ b/dockerfiles/Dockerfile.e2e @@ -2,6 +2,7 @@ ARG GO_VERSION="1.21" ARG RUNNER_IMAGE="alpine:3.17" +ARG SEDA_EXPONENT="18" # -------------------------------------------------------- # Builder @@ -64,11 +65,12 @@ RUN --mount=type=cache,target=/root/.cache/go-build \ FROM ${RUNNER_IMAGE} -ARG SEDA_EXPONENT - COPY --from=builder /seda-chain/build/seda-chaind /bin/seda-chaind +ARG SEDA_EXPONENT # use default if not set +ENV SEDA_EXPONENT=${SEDA_EXPONENT} ENV HOME /seda-chain + WORKDIR $HOME EXPOSE 26656 26657 1317 9090