Skip to content

Commit

Permalink
Merge branch 'main' into backport_v0.46.x
Browse files Browse the repository at this point in the history
* main: (30 commits)
  chore(deps): Bump actions/cache from 3.2.2 to 3.2.3 (Finschia#860)
  chore(deps): Bump golang.org/x/crypto from 0.4.0 to 0.5.0 (Finschia#854)
  feat: Remove `x/wasm` module (Finschia#850)
  refactor: Remove useless stub BeginBlock/EndBlock methods (Finschia#853)
  feat: enable querying based on mempool status (only gRPC) (Finschia#840)
  feat(x/foundation): remove unnecessary gov-mint feature (Finschia#848)
  chore(deps): Bump actions/cache from 3.2.1 to 3.2.2 (Finschia#845)
  chore(deps): Bump github.com/mattn/go-isatty from 0.0.16 to 0.0.17 (Finschia#847)
  chore(deps): Bump actions/cache from 3.2.0 to 3.2.1 (Finschia#841)
  fix: apply foundation audit (Finschia#834)
  chore(deps): Bump actions/setup-go from 3.4.0 to 3.5.0 (Finschia#831)
  chore(deps): Bump actions/cache from 3.0.11 to 3.2.0 (Finschia#839)
  ci: automate release process (Finschia#829)
  chore(deps): Bump github.com/prometheus/common from 0.37.0 to 0.39.0 (Finschia#832)
  chore(deps): Bump goreleaser/goreleaser-action from 3 to 4 (Finschia#830)
  chore(deps): Bump github.com/magiconair/properties from 1.8.6 to 1.8.7 (Finschia#826)
  chore(deps): Bump technote-space/get-diff-action from 6.1.1 to 6.1.2 (Finschia#822)
  chore(deps): Bump golang.org/x/crypto from 0.2.0 to 0.4.0 (Finschia#828)
  feat: Get validator pubkey considering KMS (Finschia#821)
  Remove support for composite (BLS) key type (Finschia#817)
  ...

# Conflicts:
#	x/foundation/msgs.go
#	x/wasm/lbmtypes/codec.go
#	x/wasm/types/codec.go
  • Loading branch information
zemyblue committed Jan 12, 2023
2 parents 925755c + f43e2e6 commit 70fca52
Show file tree
Hide file tree
Showing 388 changed files with 4,527 additions and 77,425 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 6
steps:
- uses: actions/setup-go@v3.3.1
- uses: actions/setup-go@v3.5.0
with:
go-version: 1.18
- uses: actions/checkout@v3
- uses: technote-space/[email protected].1
- uses: technote-space/[email protected].2
with:
PATTERNS: |
**/**.go
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/proto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
timeout-minutes: 5
steps:
- uses: actions/checkout@v3
- uses: DoozyX/clang-format-lint-action@v0.14
- uses: DoozyX/clang-format-lint-action@v0.15
with:
source: '.'
exclude: './third_party'
Expand All @@ -24,7 +24,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v3.3.1
- uses: actions/setup-go@v3.5.0
with:
go-version: 1.18
- uses: ./.github/actions/generate-swagger
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/release-sims.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
if: "!contains(github.event.head_commit.message, 'skip-sims') && contains(github.event.pull_request.labels.*.name, 'release')"
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3.3.0
- uses: actions/setup-go@v3.5.0
with:
go-version: 1.18
- run: |
Expand All @@ -37,13 +37,13 @@ jobs:
runs-on: ubuntu-latest
needs: build
steps:
- uses: actions/setup-go@v3.3.0
- uses: actions/setup-go@v3.5.0
with:
go-version: 1.18
- name: install runsim
run: |
export GO111MODULE="on" && go install github.com/cosmos/tools/cmd/[email protected]
- uses: actions/cache@v3.0.11
- uses: actions/cache@v3.2.3
with:
path: ~/go/bin
key: ${{ runner.os }}-go-runsim-binary
Expand All @@ -53,10 +53,10 @@ jobs:
needs: [build, install-runsim]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3.3.0
- uses: actions/setup-go@v3.5.0
with:
go-version: 1.18
- uses: actions/cache@v3.0.11
- uses: actions/cache@v3.2.3
with:
path: ~/go/bin
key: ${{ runner.os }}-go-runsim-binary
Expand All @@ -73,10 +73,10 @@ jobs:
needs: [build, install-runsim, test-sim-multi-seed-long-part1]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3.3.0
- uses: actions/setup-go@v3.5.0
with:
go-version: 1.18
- uses: actions/cache@v3.0.11
- uses: actions/cache@v3.2.3
with:
path: ~/go/bin
key: ${{ runner.os }}-go-runsim-binary
Expand All @@ -93,10 +93,10 @@ jobs:
needs: [build, install-runsim, test-sim-multi-seed-long-part2]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3.3.0
- uses: actions/setup-go@v3.5.0
with:
go-version: 1.18
- uses: actions/cache@v3.0.11
- uses: actions/cache@v3.2.3
with:
path: ~/go/bin
key: ${{ runner.os }}-go-runsim-binary
Expand Down
30 changes: 15 additions & 15 deletions .github/workflows/sims.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
if: "!contains(github.event.head_commit.message, 'skip-sims')"
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3.3.1
- uses: actions/setup-go@v3.5.0
with:
go-version: 1.18
- name: Display go version
Expand All @@ -35,14 +35,14 @@ jobs:
runs-on: ubuntu-latest
needs: build
steps:
- uses: actions/setup-go@v3.3.1
- uses: actions/setup-go@v3.5.0
with:
go-version: 1.18
- name: Display go version
run: go version
- name: Install runsim
run: export GO111MODULE="on" && go install github.com/cosmos/tools/cmd/[email protected]
- uses: actions/cache@v3.0.11
- uses: actions/cache@v3.2.3
with:
path: ~/go/bin
key: ${{ runner.os }}-go-runsim-binary
Expand All @@ -52,19 +52,19 @@ jobs:
needs: [build, install-runsim]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3.3.1
- uses: actions/setup-go@v3.5.0
with:
go-version: 1.18
- name: Display go version
run: go version
- uses: technote-space/[email protected].1
- uses: technote-space/[email protected].2
with:
PATTERNS: |
**/**.go
!**/**_test.go
go.mod
go.sum
- uses: actions/cache@v3.0.11
- uses: actions/cache@v3.2.3
with:
path: ~/go/bin
key: ${{ runner.os }}-go-runsim-binary
Expand All @@ -79,12 +79,12 @@ jobs:
needs: [build, install-runsim]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3.3.1
- uses: actions/setup-go@v3.5.0
with:
go-version: 1.18
- name: Display go version
run: go version
- uses: technote-space/[email protected].1
- uses: technote-space/[email protected].2
with:
PATTERNS: |
**/**.go
Expand All @@ -93,7 +93,7 @@ jobs:
go.sum
SET_ENV_NAME_INSERTIONS: 1
SET_ENV_NAME_LINES: 1
- uses: actions/cache@v3.0.11
- uses: actions/cache@v3.2.3
with:
path: ~/go/bin
key: ${{ runner.os }}-go-runsim-binary
Expand All @@ -108,12 +108,12 @@ jobs:
needs: [build, install-runsim]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3.3.1
- uses: actions/setup-go@v3.5.0
with:
go-version: 1.18
- name: Display go version
run: go version
- uses: technote-space/[email protected].1
- uses: technote-space/[email protected].2
with:
PATTERNS: |
**/**.go
Expand All @@ -122,7 +122,7 @@ jobs:
go.sum
SET_ENV_NAME_INSERTIONS: 1
SET_ENV_NAME_LINES: 1
- uses: actions/cache@v3.0.11
- uses: actions/cache@v3.2.3
with:
path: ~/go/bin
key: ${{ runner.os }}-go-runsim-binary
Expand All @@ -137,12 +137,12 @@ jobs:
needs: [build, install-runsim]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3.3.1
- uses: actions/setup-go@v3.5.0
with:
go-version: 1.18
- name: Display go version
run: go version
- uses: technote-space/[email protected].1
- uses: technote-space/[email protected].2
with:
PATTERNS: |
**/**.go
Expand All @@ -151,7 +151,7 @@ jobs:
go.sum
SET_ENV_NAME_INSERTIONS: 1
SET_ENV_NAME_LINES: 1
- uses: actions/cache@v3.0.11
- uses: actions/cache@v3.2.3
with:
path: ~/go/bin
key: ${{ runner.os }}-go-runsim-binary
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/sims_normal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
if: "!contains(github.event.head_commit.message, 'skip-sims')"
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3.3.1
- uses: actions/setup-go@v3.5.0
with:
go-version: 1.18
- name: Display go version
Expand All @@ -22,14 +22,14 @@ jobs:
runs-on: ubuntu-latest
needs: build
steps:
- uses: actions/setup-go@v3.3.1
- uses: actions/setup-go@v3.5.0
with:
go-version: 1.18
- name: Display go version
run: go version
- name: Install runsim
run: export GO111MODULE="on" && go install github.com/cosmos/tools/cmd/[email protected]
- uses: actions/cache@v3.0.11
- uses: actions/cache@v3.2.3
with:
path: ~/go/bin
key: ${{ runner.os }}-go-runsim-binary
Expand All @@ -39,12 +39,12 @@ jobs:
needs: [build, install-runsim]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3.3.1
- uses: actions/setup-go@v3.5.0
with:
go-version: 1.18
- name: Display go version
run: go version
- uses: actions/cache@v3.0.11
- uses: actions/cache@v3.2.3
with:
path: ~/go/bin
key: ${{ runner.os }}-go-runsim-binary
Expand All @@ -57,12 +57,12 @@ jobs:
needs: [build, install-runsim]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3.3.1
- uses: actions/setup-go@v3.5.0
with:
go-version: 1.18
- name: Display go version
run: go version
- uses: actions/cache@v3.0.11
- uses: actions/cache@v3.2.3
with:
path: ~/go/bin
key: ${{ runner.os }}-go-runsim-binary
Expand All @@ -75,12 +75,12 @@ jobs:
needs: [build, install-runsim]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3.3.1
- uses: actions/setup-go@v3.5.0
with:
go-version: 1.18
- name: Display go version
run: go version
- uses: actions/cache@v3.0.11
- uses: actions/cache@v3.2.3
with:
path: ~/go/bin
key: ${{ runner.os }}-go-runsim-binary
Expand Down
24 changes: 11 additions & 13 deletions .github/workflows/tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,24 +3,22 @@ name: Release
# This job will only be triggered when a tag (vX.X.x) is pushed
on:
push:
# Sequence of patterns matched against refs/tags
tags:
- "v[0-9]+.[0-9]+.[0-9]+" # Push events to matching v*, i.e. v1.0, v20.15.10

- 'v[0-9]+.[0-9]+.[0-9]+*' # Push events to matching v*, i.e. v1.0, v20.15.10
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install Go
uses: actions/[email protected]
with:
go-version: 1.18
- name: Unshallow
run: git fetch --prune --unshallow
- name: Create release
uses: goreleaser/goreleaser-action@v3
with:
args: release --rm-dist --release-notes ./RELEASE_NOTES.md
fetch-depth: 0
- run: git fetch --force --tags
- name: Build & Publish release
run: |
make release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GORELEASER_MOUNT_CONFIG: true
GORELEASER_IMAGE: line/goreleaserx-wasm:1.0.0-0.10.0
GORELEASER_RELEASE: true
BUILD_TAGS: static
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Loading

0 comments on commit 70fca52

Please sign in to comment.