Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-release-images-alibaba.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-release-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/manual-deploy-k8s-consolidated.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 .
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/manual-deploy-testnet-l2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/manual-deploy-testnet-validator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/manual-l1-contracts-multisig-setup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/manual-l1-contracts-multisig-upgrade.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/manual-pause-all-contracts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/manual-transfer-unpauser-roles.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/manual-upgrade-l1-contracts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/manual-upgrade-testnet-l2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions dockerfiles/enclave.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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 \
Expand Down
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -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=
Expand Down
4 changes: 2 additions & 2 deletions tools/edbconnect/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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 \
Expand Down
4 changes: 2 additions & 2 deletions tools/gateway-unsealing-enc-key/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 \
Expand Down
4 changes: 2 additions & 2 deletions tools/walletextension/enclave.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down Expand Up @@ -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
Expand Down