Skip to content

Commit 93675c5

Browse files
Merge pull request #308 from terra-money/upgrade/sdk50
Upgrade/sdk50
2 parents 8439e9f + 77fb4f0 commit 93675c5

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

78 files changed

+3387
-2817
lines changed

.github/workflows/lint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ jobs:
1717
steps:
1818
- uses: actions/setup-go@v4
1919
with:
20-
go-version: 1.20.0
20+
go-version: 1.21.0
2121
- uses: actions/checkout@v3
2222
- name: golangci-lint
2323
uses: golangci/golangci-lint-action@v3
2424
with:
2525
# Optional: version of golangci-lint to use in form of v1.2 or v1.2.3 or `latest` to use the latest version
26-
version: v1.52.2
26+
version: v1.54.2

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
- name: Install Go
1515
uses: actions/setup-go@v4
1616
with:
17-
go-version: 1.20.0
17+
go-version: 1.21.0
1818
- name: Checkout code
1919
uses: actions/checkout@v3
2020
- name: Test

.golangci.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ run:
66
linters:
77
disable-all: true
88
enable:
9-
- depguard
109
- dogsled
1110
- errcheck
1211
- exportloopref

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,14 +111,14 @@ format-tools:
111111
go install mvdan.cc/gofumpt@v0.4.0
112112
go install github.com/client9/misspell/cmd/misspell@v0.3.4
113113
go install golang.org/x/tools/cmd/goimports@latest
114-
go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.52.2
114+
go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.54.2
115115

116116
lint: format-tools
117117
golangci-lint run
118118
find . -name '*.go' -type f -not -path "./vendor*" -not -path "*.git*" -not -path "*.pb.go" -not -path "*pb.gw.go" | xargs gofumpt -d
119119

120120
lint-docker:
121-
docker run --rm -v $(PWD):/app -w /app golangci/golangci-lint:v1.52.2-alpine golangci-lint run --timeout 10m
121+
docker run --rm -v $(PWD):/app -w /app golangci/golangci-lint:v1.54.2-alpine golangci-lint run --timeout 10m
122122

123123
format: format-tools
124124
find . -name '*.go' -type f -not -path "./vendor*" -not -path "*.git*" -not -path "*.pb.go" -not -path "*pb.gw.go" | xargs gofumpt -w

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,8 @@ Compatibility matrix:
6262

6363
| Release | Branch | CosmosSDK |
6464
|---------|----------------|-----------|
65+
| v0.4.0 | release/v0.4.x | 0.50 |
66+
| v0.3.0 | release/v0.3.x | 0.47 |
6567
| v0.2.0 | release/v0.2.x | 0.47 |
6668
| v0.1.0 | release/v0.1.x | 0.46 |
6769

@@ -71,7 +73,7 @@ For an in-depth guide on integrating `x/alliance`, visit the [Alliance Module In
7173

7274
The following sections are for developers working on the `x/alliance` module.
7375

74-
This project uses [Go v1.19](https://go.dev/dl/).
76+
This project uses [Go v1.21](https://go.dev/dl/).
7577

7678
To build a ready-to-use binary, run the following:
7779

0 commit comments

Comments
 (0)