diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 6a493b4137..dbdde31be0 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -6,7 +6,7 @@ "image": "mcr.microsoft.com/devcontainers/base:bookworm", "features": { "ghcr.io/devcontainers/features/go:1": { - "version": "1.25.1" + "version": "1.25.6" }, "ghcr.io/dhoeric/features/act:1": {}, "ghcr.io/devcontainers/features/node:1": { diff --git a/.github/workflows/build-pr.yml b/.github/workflows/build-pr.yml index c0a9545091..33b8d7c462 100644 --- a/.github/workflows/build-pr.yml +++ b/.github/workflows/build-pr.yml @@ -19,7 +19,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v5 with: - go-version: 1.25.1 + go-version: 1.25.6 # Set the initial build number environment variable - name: Set Build Number diff --git a/.github/workflows/build-release-images-alibaba.yml b/.github/workflows/build-release-images-alibaba.yml index 80eb34f678..88853c968d 100644 --- a/.github/workflows/build-release-images-alibaba.yml +++ b/.github/workflows/build-release-images-alibaba.yml @@ -21,7 +21,7 @@ jobs: - uses: actions/setup-go@v5 with: - go-version: 1.25.1 + go-version: 1.25.6 - name: 'Login to Alibaba Cloud Container Registry' uses: docker/login-action@v3 diff --git a/.github/workflows/build-release-images.yml b/.github/workflows/build-release-images.yml index ba7159e9ef..7ae80fe80c 100644 --- a/.github/workflows/build-release-images.yml +++ b/.github/workflows/build-release-images.yml @@ -30,7 +30,7 @@ jobs: - uses: actions/setup-go@v5 with: - go-version: 1.25.1 + go-version: 1.25.6 - name: 'Login to Azure docker registry' uses: azure/docker-login@v1 diff --git a/.github/workflows/golangci-lint.yml b/.github/workflows/golangci-lint.yml index 8204eef305..2e24c7c3f9 100644 --- a/.github/workflows/golangci-lint.yml +++ b/.github/workflows/golangci-lint.yml @@ -23,7 +23,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-go@v5 with: - go-version: '1.25.1' + go-version: '1.25.6' - name: golangci-lint uses: golangci/golangci-lint-action@v8 with: diff --git a/.github/workflows/manual-deploy-k8s-consolidated.yml b/.github/workflows/manual-deploy-k8s-consolidated.yml index 83063f9152..29445a7590 100644 --- a/.github/workflows/manual-deploy-k8s-consolidated.yml +++ b/.github/workflows/manual-deploy-k8s-consolidated.yml @@ -304,7 +304,7 @@ jobs: - uses: actions/setup-go@v5 with: - go-version: 1.25.1 + go-version: 1.25.6 - name: 'Login via Azure CLI (for HSM)' if: github.event.inputs.use_azure_hsm == 'yes' @@ -580,7 +580,7 @@ jobs: - uses: actions/setup-go@v5 with: - go-version: 1.25.1 + go-version: 1.25.6 - name: 'Login via Azure CLI' uses: azure/login@v1 diff --git a/.github/workflows/manual-deploy-k8s-testnet-after-nodes.yml b/.github/workflows/manual-deploy-k8s-testnet-after-nodes.yml index 3b819053f2..7ee303f3fa 100644 --- a/.github/workflows/manual-deploy-k8s-testnet-after-nodes.yml +++ b/.github/workflows/manual-deploy-k8s-testnet-after-nodes.yml @@ -131,7 +131,7 @@ jobs: - uses: actions/setup-go@v5 with: - go-version: 1.25.1 + go-version: 1.25.6 - name: 'Build and push obscuro node images' run: | DOCKER_BUILDKIT=1 docker build -t ${{ vars.DOCKER_BUILD_TAG_L2_HARDHAT_DEPLOYER }} -f tools/hardhatdeployer/Dockerfile . diff --git a/.github/workflows/manual-deploy-k8s-testnet-before-nodes.yml b/.github/workflows/manual-deploy-k8s-testnet-before-nodes.yml index ffe12417a9..d4f7fdef0f 100644 --- a/.github/workflows/manual-deploy-k8s-testnet-before-nodes.yml +++ b/.github/workflows/manual-deploy-k8s-testnet-before-nodes.yml @@ -86,7 +86,7 @@ jobs: - uses: actions/setup-go@v5 with: - go-version: 1.25.1 + go-version: 1.25.6 - name: 'Login via Azure CLI' uses: azure/login@v1 diff --git a/.github/workflows/manual-deploy-testnet-l2.yml b/.github/workflows/manual-deploy-testnet-l2.yml index df96b8c49c..3190ec3b4d 100644 --- a/.github/workflows/manual-deploy-testnet-l2.yml +++ b/.github/workflows/manual-deploy-testnet-l2.yml @@ -68,7 +68,7 @@ jobs: - uses: actions/setup-go@v5 with: - go-version: 1.25.1 + go-version: 1.25.6 - name: 'Login via Azure CLI' uses: azure/login@v1 diff --git a/.github/workflows/manual-deploy-testnet-validator.yml b/.github/workflows/manual-deploy-testnet-validator.yml index dd66c4a58c..7a4eefa99e 100644 --- a/.github/workflows/manual-deploy-testnet-validator.yml +++ b/.github/workflows/manual-deploy-testnet-validator.yml @@ -76,7 +76,7 @@ jobs: - uses: actions/setup-go@v5 with: - go-version: 1.25.1 + go-version: 1.25.6 - name: "Login via Azure CLI" uses: azure/login@v1 diff --git a/.github/workflows/manual-l1-contracts-multisig-setup.yml b/.github/workflows/manual-l1-contracts-multisig-setup.yml index a22592fb85..bfab48f9b4 100644 --- a/.github/workflows/manual-l1-contracts-multisig-setup.yml +++ b/.github/workflows/manual-l1-contracts-multisig-setup.yml @@ -36,7 +36,7 @@ jobs: - uses: actions/setup-go@v5 with: - go-version: 1.25.1 + go-version: 1.25.6 - name: 'Login to Azure docker registry' uses: azure/docker-login@v1 diff --git a/.github/workflows/manual-l1-contracts-multisig-upgrade.yml b/.github/workflows/manual-l1-contracts-multisig-upgrade.yml index 4b065a609c..d8d556bdf9 100644 --- a/.github/workflows/manual-l1-contracts-multisig-upgrade.yml +++ b/.github/workflows/manual-l1-contracts-multisig-upgrade.yml @@ -36,7 +36,7 @@ jobs: - uses: actions/setup-go@v5 with: - go-version: 1.25.1 + go-version: 1.25.6 - name: 'Login to Azure docker registry' uses: azure/docker-login@v1 diff --git a/.github/workflows/manual-pause-all-contracts.yml b/.github/workflows/manual-pause-all-contracts.yml index 0ba902dcce..0e08b68196 100644 --- a/.github/workflows/manual-pause-all-contracts.yml +++ b/.github/workflows/manual-pause-all-contracts.yml @@ -44,7 +44,7 @@ jobs: - uses: actions/setup-go@v5 with: - go-version: 1.25.1 + go-version: 1.25.6 - name: 'Login to Azure docker registry' uses: azure/docker-login@v1 diff --git a/.github/workflows/manual-transfer-unpauser-roles.yml b/.github/workflows/manual-transfer-unpauser-roles.yml index 157adf2d39..4fd20f39f0 100644 --- a/.github/workflows/manual-transfer-unpauser-roles.yml +++ b/.github/workflows/manual-transfer-unpauser-roles.yml @@ -36,7 +36,7 @@ jobs: - uses: actions/setup-go@v5 with: - go-version: 1.25.1 + go-version: 1.25.6 - name: 'Login to Azure docker registry' uses: azure/docker-login@v1 diff --git a/.github/workflows/manual-upgrade-l1-contracts.yml b/.github/workflows/manual-upgrade-l1-contracts.yml index 7d7d1292c0..d1ce738378 100644 --- a/.github/workflows/manual-upgrade-l1-contracts.yml +++ b/.github/workflows/manual-upgrade-l1-contracts.yml @@ -74,7 +74,7 @@ jobs: - uses: actions/setup-go@v5 with: - go-version: 1.25.1 + go-version: 1.25.6 - name: 'Login to Azure docker registry' uses: azure/docker-login@v1 diff --git a/.github/workflows/manual-upgrade-testnet-l2.yml b/.github/workflows/manual-upgrade-testnet-l2.yml index a261f074a5..20e544985d 100644 --- a/.github/workflows/manual-upgrade-testnet-l2.yml +++ b/.github/workflows/manual-upgrade-testnet-l2.yml @@ -62,7 +62,7 @@ jobs: - uses: actions/setup-go@v5 with: - go-version: 1.25.1 + go-version: 1.25.6 - name: 'Print GitHub variables' # This is a useful record of what the environment variables were at the time the job ran, for debugging and reference diff --git a/dockerfiles/enclave.Dockerfile b/dockerfiles/enclave.Dockerfile index 2365ed9736..c05ccc3ba0 100644 --- a/dockerfiles/enclave.Dockerfile +++ b/dockerfiles/enclave.Dockerfile @@ -14,7 +14,7 @@ ARG AZURE_SUBSCRIPTION_ID # /home/obscuro/go-obscuro/go/enclave/main contains the executable for the enclave # -FROM ghcr.io/edgelesssys/ego-dev:v1.8.0 AS build-base +FROM ghcr.io/edgelesssys/ego-dev:v1.8.1 AS build-base # setup container data structure RUN mkdir -p /home/obscuro/go-obscuro @@ -46,7 +46,7 @@ RUN ego sign enclave.json RUN /home/obscuro/go-obscuro/tools/enclavesigner/AzureHSMSignatureScript.sh main /home/obscuro/go-obscuro/tools/enclavesigner/main # Trigger a new build stage and use the smaller ego version: -FROM ghcr.io/edgelesssys/ego-deploy:v1.8.0 +FROM ghcr.io/edgelesssys/ego-deploy:v1.8.1 # Copy just the binary for the enclave into this build stage COPY --from=build-enclave \ diff --git a/go.mod b/go.mod index e16671630e..98d98a9962 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/ten-protocol/go-ten -go 1.25.1 +go 1.25.6 require ( github.com/Azure/azure-sdk-for-go/sdk/azcore v1.20.0 @@ -15,7 +15,7 @@ require ( github.com/dgraph-io/ristretto/v2 v2.3.0 github.com/docker/docker v28.5.2+incompatible github.com/docker/go-connections v0.6.0 - github.com/edgelesssys/ego v1.8.0 + github.com/edgelesssys/ego v1.8.1 github.com/ethereum/go-ethereum v1.16.8 github.com/gin-contrib/cors v1.7.6 github.com/gin-gonic/gin v1.11.0 diff --git a/go.sum b/go.sum index e32f3aa66d..3dcf522bb0 100644 --- a/go.sum +++ b/go.sum @@ -124,8 +124,8 @@ github.com/docker/go-units v0.5.0 h1:69rxXcBk27SvSaaxTtLh/8llcHD8vYHT7WSdRZ/jvr4 github.com/docker/go-units v0.5.0/go.mod h1:fgPhTUdO+D/Jk86RDLlptpiXQzgHJF7gydDDbaIK4Dk= github.com/dustin/go-humanize v1.0.1 h1:GzkhY7T5VNhEkwH0PVJgjz+fX1rhBrR7pRT3mDkpeCY= github.com/dustin/go-humanize v1.0.1/go.mod h1:Mu1zIs6XwVuF/gI1OepvI0qD18qycQx+mFykh5fBlto= -github.com/edgelesssys/ego v1.8.0 h1:g/02JeTC/vajbAfFqxckwSC+siKno/R4H/Em2YsHheU= -github.com/edgelesssys/ego v1.8.0/go.mod h1:fg0M/xfLWnrkoD2OZpY9xmltGlAPFsIiUmyHTuCS7zo= +github.com/edgelesssys/ego v1.8.1 h1:cpc9PfxLbADg+ZelHz3g02JBr/89N9zXpsEQCq0IIH4= +github.com/edgelesssys/ego v1.8.1/go.mod h1:fg0M/xfLWnrkoD2OZpY9xmltGlAPFsIiUmyHTuCS7zo= github.com/elazarl/goproxy v1.7.2 h1:Y2o6urb7Eule09PjlhQRGNsqRfPmYI3KKQLFpCAV3+o= github.com/elazarl/goproxy v1.7.2/go.mod h1:82vkLNir0ALaW14Rc399OTTjyNREgmdL2cVoIbS6XaE= github.com/emicklei/dot v1.9.2 h1:E/Wjz+BAH+JDhybEpISbo+QyDMNSiu/wqmIW9y922P8= diff --git a/tools/edbconnect/Dockerfile b/tools/edbconnect/Dockerfile index c3ec7faab2..026a5376a5 100644 --- a/tools/edbconnect/Dockerfile +++ b/tools/edbconnect/Dockerfile @@ -4,7 +4,7 @@ # deploy = copies over only the enclave executable without the source # in a lightweight base image specialized for deployment and prepares the /data/ folder. -FROM ghcr.io/edgelesssys/ego-dev:v1.8.0 AS build-base +FROM ghcr.io/edgelesssys/ego-dev:v1.8.1 AS build-base # setup container data structure RUN mkdir -p /home/ten/go-ten @@ -34,7 +34,7 @@ RUN ego sign edb-enclave.json RUN /home/obscuro/go-obscuro/tools/enclavesigner/AzureHSMSignatureScript.sh main /home/obscuro/go-obscuro/tools/enclavesigner/main # Trigger a new build stage and use the smaller ego version: -FROM ghcr.io/edgelesssys/ego-deploy:v1.8.0 +FROM ghcr.io/edgelesssys/ego-deploy:v1.8.1 # Copy the binary and the entrypoint script COPY --from=sign-built-enclave \ diff --git a/tools/gateway-unsealing-enc-key/Dockerfile b/tools/gateway-unsealing-enc-key/Dockerfile index fd45743089..afd22d38e5 100644 --- a/tools/gateway-unsealing-enc-key/Dockerfile +++ b/tools/gateway-unsealing-enc-key/Dockerfile @@ -4,7 +4,7 @@ # deploy = copies over only the enclave executable without the source # in a lightweight base image specialized for deployment and prepares the /data/ folder. -FROM ghcr.io/edgelesssys/ego-dev:v1.8.0 AS build-base +FROM ghcr.io/edgelesssys/ego-dev:v1.8.1 AS build-base # setup container data structure RUN mkdir -p /home/ten/go-ten @@ -31,7 +31,7 @@ FROM build-enclave as sign-built-enclave RUN ego sign gw-unseal.json # Trigger a new build stage and use the smaller ego version: -FROM ghcr.io/edgelesssys/ego-deploy:v1.8.0 +FROM ghcr.io/edgelesssys/ego-deploy:v1.8.1 # Copy the binary and the entrypoint script COPY --from=sign-built-enclave \ diff --git a/tools/walletextension/enclave.Dockerfile b/tools/walletextension/enclave.Dockerfile index 6e8ad37e50..0811928a31 100644 --- a/tools/walletextension/enclave.Dockerfile +++ b/tools/walletextension/enclave.Dockerfile @@ -9,7 +9,7 @@ # /data persistent volume mount point # Trigger new build stage for compiling the enclave -FROM ghcr.io/edgelesssys/ego-dev:v1.8.0 AS build-base +FROM ghcr.io/edgelesssys/ego-dev:v1.8.1 AS build-base # Install ca-certificates package and update it RUN apt-get update && apt-get install -y \ @@ -42,7 +42,7 @@ RUN ego sign enclave.json # Run the complete Azure HSM setup (builds signer tool, signs binary, or skips if not needed) RUN /home/ten/go-ten/tools/enclavesigner/AzureHSMSignatureScript.sh main /home/ten/go-ten/tools/enclavesigner/main -FROM ghcr.io/edgelesssys/ego-deploy:v1.8.0 +FROM ghcr.io/edgelesssys/ego-deploy:v1.8.1 # Create data directory that will be used for persistence RUN mkdir -p /data && chmod 777 /data