diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9373ec05..e8cb4105 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -19,7 +19,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-go@v3 with: - go-version: 1.17 + go-version: 1.18 check-latest: true - uses: technote-space/get-diff-action@v6.1.0 id: git_diff diff --git a/.github/workflows/goreleaser.yml b/.github/workflows/goreleaser.yml index 1158c83e..1bda08f3 100644 --- a/.github/workflows/goreleaser.yml +++ b/.github/workflows/goreleaser.yml @@ -15,7 +15,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v3 with: - go-version: 1.17 + go-version: 1.18 check-latest: true - name: release dry run run: make release-dry-run diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 2451488b..d6e06dfc 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -15,7 +15,7 @@ jobs: steps: - uses: actions/setup-go@v3 with: - go-version: 1.17 + go-version: 1.18 - uses: actions/checkout@v3 - uses: technote-space/get-diff-action@v6.1.0 with: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 67768136..b79f357f 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -20,7 +20,7 @@ jobs: steps: - uses: actions/setup-go@v3 with: - go-version: 1.17 + go-version: 1.18 check-latest: true - name: Display Go Version run: go version @@ -37,7 +37,7 @@ jobs: steps: - uses: actions/setup-go@v3 with: - go-version: 1.17 + go-version: 1.18 check-latest: true - uses: actions/checkout@v3 - uses: technote-space/get-diff-action@v6.1.0 @@ -62,7 +62,7 @@ jobs: steps: - uses: actions/setup-go@v3 with: - go-version: 1.17 + go-version: 1.18 check-latest: true - uses: actions/checkout@v3 - uses: technote-space/get-diff-action@v6.1.0 @@ -83,7 +83,7 @@ jobs: steps: - uses: actions/setup-go@v3 with: - go-version: 1.17 + go-version: 1.18 check-latest: true - uses: actions/checkout@v3 - uses: technote-space/get-diff-action@v6.1.0 @@ -104,7 +104,7 @@ jobs: steps: - uses: actions/setup-go@v3 with: - go-version: 1.17 + go-version: 1.18 check-latest: true - uses: actions/checkout@v3 - uses: technote-space/get-diff-action@v6.1.0 @@ -125,7 +125,7 @@ jobs: steps: - uses: actions/setup-go@v3 with: - go-version: 1.17 + go-version: 1.18 check-latest: true - uses: actions/checkout@v3 - uses: technote-space/get-diff-action@v6.1.0 @@ -145,7 +145,7 @@ jobs: steps: - uses: actions/setup-go@v3 with: - go-version: 1.17 + go-version: 1.18 check-latest: true - uses: actions/checkout@v3 - uses: technote-space/get-diff-action@v6.1.0 @@ -165,7 +165,7 @@ jobs: steps: - uses: actions/setup-go@v3 with: - go-version: 1.17 + go-version: 1.18 check-latest: true - uses: actions/checkout@v3 - uses: technote-space/get-diff-action@v6.1.0 @@ -185,7 +185,7 @@ jobs: steps: - uses: actions/setup-go@v3 with: - go-version: 1.17 + go-version: 1.18 check-latest: true - uses: actions/checkout@v3 - uses: technote-space/get-diff-action@v6.1.0 diff --git a/.golangci.yml b/.golangci.yml index e5e9ae6e..1007bcfa 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -5,7 +5,7 @@ run: linters: enable: - - bodyclose + # - bodyclose - deadcode - depguard - dogsled @@ -26,11 +26,11 @@ linters: - prealloc - exportloopref - staticcheck - - structcheck + # - structcheck - stylecheck # - typecheck #TODO: enable - unconvert - - unparam + # - unparam - unused - varcheck - nolintlint @@ -41,8 +41,8 @@ linters: - gomodguard # - nestif # - nlreturn - - noctx - - rowserrcheck + # - noctx + # - rowserrcheck # - whitespace # - wsl @@ -71,7 +71,7 @@ linters-settings: require-explanation: false require-specific: false gofumpt: - lang-version: "1.17" + lang-version: "1.18" gomodguard: blocked: versions: # List of blocked module version constraints diff --git a/CHANGELOG.md b/CHANGELOG.md index 83d6292c..9aefd6c9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -51,6 +51,7 @@ Ref: https://keepachangelog.com/en/1.0.0/ ### Improvements +* (deps) [\#1147](https://github.com/evmos/ethermint/pull/1147) Bump Go version to `1.18`. * (feemarket) [\#1120](https://github.com/evmos/ethermint/pull/1120) Make `min-gas-multiplier` parameter accept zero value * (feemarket) [\#1135](https://github.com/evmos/ethermint/pull/1135) Set lower bound of base fee to min gas price param * (evm) [\#1142](https://github.com/evmos/ethermint/pull/1142) Rename `RejectUnprotectedTx` to `AllowUnprotectedTxs` for consistency with go-ethereum. diff --git a/Makefile b/Makefile index ce11bf2b..b87b7bd7 100755 --- a/Makefile +++ b/Makefile @@ -154,7 +154,7 @@ build-all: tools build lint test ############################################################################### PACKAGE_NAME:=github.com/evmos/ethermint -GOLANG_CROSS_VERSION = v1.17.1 +GOLANG_CROSS_VERSION = v1.18 GOPATH ?= '$(HOME)/go' release-dry-run: docker run \ diff --git a/README.md b/README.md index 90c72cba..83587e82 100644 --- a/README.md +++ b/README.md @@ -40,7 +40,7 @@ parent: Ethermint is a scalable and interoperable Ethereum library, built on Proof-of-Stake with fast-finality using the [Cosmos SDK](https://github.com/cosmos/cosmos-sdk/) which runs on top of [Tendermint Core](https://github.com/tendermint/tendermint) consensus engine. -**Note**: Requires [Go 1.17+](https://golang.org/dl/) +**Note**: Requires [Go 1.18+](https://golang.org/dl/) ## Installation diff --git a/go.mod b/go.mod index 7bec8631..1e648b20 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/evmos/ethermint -go 1.17 +go 1.18 require ( github.com/armon/go-metrics v0.4.0 diff --git a/networks/local/ethermintnode/Dockerfile b/networks/local/ethermintnode/Dockerfile index 3fbf0b3e..a275b751 100644 --- a/networks/local/ethermintnode/Dockerfile +++ b/networks/local/ethermintnode/Dockerfile @@ -15,7 +15,7 @@ COPY . . RUN make build-linux # Final image -FROM golang:1.17 as final +FROM golang:1.18 as final WORKDIR /