Sync from fork #74

Merged
0xmuralik merged 232 commits from murali/update-fork into main 2023-01-10 04:50:57 +00:00
10 changed files with 23 additions and 22 deletions
Showing only changes of commit 27ade5d731 - Show all commits

View File

@ -19,7 +19,7 @@ jobs:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- uses: actions/setup-go@v3 - uses: actions/setup-go@v3
with: with:
go-version: 1.17 go-version: 1.18
check-latest: true check-latest: true
- uses: technote-space/get-diff-action@v6.1.0 - uses: technote-space/get-diff-action@v6.1.0
id: git_diff id: git_diff

View File

@ -15,7 +15,7 @@ jobs:
- name: Set up Go - name: Set up Go
uses: actions/setup-go@v3 uses: actions/setup-go@v3
with: with:
go-version: 1.17 go-version: 1.18
check-latest: true check-latest: true
- name: release dry run - name: release dry run
run: make release-dry-run run: make release-dry-run

View File

@ -15,7 +15,7 @@ jobs:
steps: steps:
- uses: actions/setup-go@v3 - uses: actions/setup-go@v3
with: with:
go-version: 1.17 go-version: 1.18
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- uses: technote-space/get-diff-action@v6.1.0 - uses: technote-space/get-diff-action@v6.1.0
with: with:

View File

@ -20,7 +20,7 @@ jobs:
steps: steps:
- uses: actions/setup-go@v3 - uses: actions/setup-go@v3
with: with:
go-version: 1.17 go-version: 1.18
check-latest: true check-latest: true
- name: Display Go Version - name: Display Go Version
run: go version run: go version
@ -37,7 +37,7 @@ jobs:
steps: steps:
- uses: actions/setup-go@v3 - uses: actions/setup-go@v3
with: with:
go-version: 1.17 go-version: 1.18
check-latest: true check-latest: true
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- uses: technote-space/get-diff-action@v6.1.0 - uses: technote-space/get-diff-action@v6.1.0
@ -62,7 +62,7 @@ jobs:
steps: steps:
- uses: actions/setup-go@v3 - uses: actions/setup-go@v3
with: with:
go-version: 1.17 go-version: 1.18
check-latest: true check-latest: true
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- uses: technote-space/get-diff-action@v6.1.0 - uses: technote-space/get-diff-action@v6.1.0
@ -83,7 +83,7 @@ jobs:
steps: steps:
- uses: actions/setup-go@v3 - uses: actions/setup-go@v3
with: with:
go-version: 1.17 go-version: 1.18
check-latest: true check-latest: true
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- uses: technote-space/get-diff-action@v6.1.0 - uses: technote-space/get-diff-action@v6.1.0
@ -104,7 +104,7 @@ jobs:
steps: steps:
- uses: actions/setup-go@v3 - uses: actions/setup-go@v3
with: with:
go-version: 1.17 go-version: 1.18
check-latest: true check-latest: true
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- uses: technote-space/get-diff-action@v6.1.0 - uses: technote-space/get-diff-action@v6.1.0
@ -125,7 +125,7 @@ jobs:
steps: steps:
- uses: actions/setup-go@v3 - uses: actions/setup-go@v3
with: with:
go-version: 1.17 go-version: 1.18
check-latest: true check-latest: true
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- uses: technote-space/get-diff-action@v6.1.0 - uses: technote-space/get-diff-action@v6.1.0
@ -145,7 +145,7 @@ jobs:
steps: steps:
- uses: actions/setup-go@v3 - uses: actions/setup-go@v3
with: with:
go-version: 1.17 go-version: 1.18
check-latest: true check-latest: true
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- uses: technote-space/get-diff-action@v6.1.0 - uses: technote-space/get-diff-action@v6.1.0
@ -165,7 +165,7 @@ jobs:
steps: steps:
- uses: actions/setup-go@v3 - uses: actions/setup-go@v3
with: with:
go-version: 1.17 go-version: 1.18
check-latest: true check-latest: true
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- uses: technote-space/get-diff-action@v6.1.0 - uses: technote-space/get-diff-action@v6.1.0
@ -185,7 +185,7 @@ jobs:
steps: steps:
- uses: actions/setup-go@v3 - uses: actions/setup-go@v3
with: with:
go-version: 1.17 go-version: 1.18
check-latest: true check-latest: true
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- uses: technote-space/get-diff-action@v6.1.0 - uses: technote-space/get-diff-action@v6.1.0

View File

@ -5,7 +5,7 @@ run:
linters: linters:
enable: enable:
- bodyclose # - bodyclose
- deadcode - deadcode
- depguard - depguard
- dogsled - dogsled
@ -26,11 +26,11 @@ linters:
- prealloc - prealloc
- exportloopref - exportloopref
- staticcheck - staticcheck
- structcheck # - structcheck
- stylecheck - stylecheck
# - typecheck #TODO: enable # - typecheck #TODO: enable
- unconvert - unconvert
- unparam # - unparam
- unused - unused
- varcheck - varcheck
- nolintlint - nolintlint
@ -41,8 +41,8 @@ linters:
- gomodguard - gomodguard
# - nestif # - nestif
# - nlreturn # - nlreturn
- noctx # - noctx
- rowserrcheck # - rowserrcheck
# - whitespace # - whitespace
# - wsl # - wsl
@ -71,7 +71,7 @@ linters-settings:
require-explanation: false require-explanation: false
require-specific: false require-specific: false
gofumpt: gofumpt:
lang-version: "1.17" lang-version: "1.18"
gomodguard: gomodguard:
blocked: blocked:
versions: # List of blocked module version constraints versions: # List of blocked module version constraints

View File

@ -51,6 +51,7 @@ Ref: https://keepachangelog.com/en/1.0.0/
### Improvements ### 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) [\#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 * (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. * (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 PACKAGE_NAME:=github.com/evmos/ethermint
GOLANG_CROSS_VERSION = v1.17.1 GOLANG_CROSS_VERSION = v1.18
GOPATH ?= '$(HOME)/go' GOPATH ?= '$(HOME)/go'
release-dry-run: release-dry-run:
docker 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. 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 ## Installation

2
go.mod
View File

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

View File

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