deps: Go 1.18 (#1147)

* deps: Go 1.18

* changelog

* update
This commit is contained in:
Federico Kunze Küllmer 2022-06-24 18:16:19 +02:00 committed by GitHub
parent 4a9bf0e91e
commit 27ade5d731
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
10 changed files with 23 additions and 22 deletions

View File

@ -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

View File

@ -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

View File

@ -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:

View File

@ -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

View File

@ -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

View File

@ -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.

View File

@ -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 \

View File

@ -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

2
go.mod
View File

@ -1,6 +1,6 @@
module github.com/evmos/ethermint
go 1.17
go 1.18
require (
github.com/armon/go-metrics v0.4.0

View File

@ -15,7 +15,7 @@ COPY . .
RUN make build-linux
# Final image
FROM golang:1.17 as final
FROM golang:1.18 as final
WORKDIR /