From 324d345597f867f0fd640d089243de5fc21d20bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E8=B6=85=E8=B6=8A?= <993921@qq.com> Date: Wed, 28 Aug 2024 21:46:21 +0800 Subject: [PATCH] update golang ver fix op-mainnet config --- Dockerfile | 4 ++-- conf/appsettings.yaml | 4 ++-- go.mod | 3 ++- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 0f17ce3..482000c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ ## build -FROM golang:1.22.2-alpine3.19 AS build-env +FROM golang:1.23-alpine3.20 AS build-env RUN apk add build-base @@ -12,7 +12,7 @@ RUN go env -w GO111MODULE=on \ && go build -o cnode ## run -FROM alpine:3.19 +FROM alpine3.20 RUN mkdir -p /aa && mkdir -p /aa/log diff --git a/conf/appsettings.yaml b/conf/appsettings.yaml index eb51471..14d19d3 100644 --- a/conf/appsettings.yaml +++ b/conf/appsettings.yaml @@ -50,8 +50,8 @@ chain_networks: # not supported in env, only in appsettings.yaml "is_test": false, "v06_entrypoint_address" : "0x5FF137D4b0FDCD49DcA30c7CF57E578a026d2789", "v07_entrypoint_address" : "0x0000000071727De22E5E9d8BAf0edAc6f37da032", - "v06_paymaster_address" : "0xF2147CA7f18e8014b76e1A98BaffC96ebB90a29f", - "v07_paymaster_address": "0xF2147CA7f18e8014b76e1A98BaffC96ebB90a29f", + "v06_factory_address" : "0xF2147CA7f18e8014b76e1A98BaffC96ebB90a29f", + "v07_factory_address": "0xF2147CA7f18e8014b76e1A98BaffC96ebB90a29f", "gas_token": "ETH", "token_config": { "USDT": "0x94b008aa00579c1307b0ef2c499ad98a8ce58e58", diff --git a/go.mod b/go.mod index eb35e37..7c51518 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,7 @@ module another_node -go 1.22.2 +go 1.23 + toolchain go1.23.0 require (