From fd364d2d84474b14dde207ae1977afa3710d9a73 Mon Sep 17 00:00:00 2001 From: Jacob Gadikian Date: Tue, 22 Aug 2023 13:36:11 +0800 Subject: [PATCH 1/2] bump the proto image builder and golangci-lint --- .github/workflows/golangci.yml | 2 +- Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/golangci.yml b/.github/workflows/golangci.yml index 683aa1a9ff9..63b4a2fe323 100644 --- a/.github/workflows/golangci.yml +++ b/.github/workflows/golangci.yml @@ -22,5 +22,5 @@ jobs: - name: golangci-lint uses: golangci/golangci-lint-action@v3.7.0 with: - version: v1.54.1 + version: v1.54.2 args: --timeout 5m diff --git a/Makefile b/Makefile index cddf4b843c3..0911958bdb3 100644 --- a/Makefile +++ b/Makefile @@ -318,7 +318,7 @@ docs-lint-changed: ### Protobuf ### ############################################################################### -protoVer=0.13.2 +protoVer=0.14.0 protoImageName=ghcr.io/cosmos/proto-builder:$(protoVer) protoImage=$(DOCKER) run --rm -v $(CURDIR):/workspace --workdir /workspace $(protoImageName) From 0a258eadc7a7593f9188eaf189b139ac8cab2135 Mon Sep 17 00:00:00 2001 From: Jacob Gadikian Date: Tue, 22 Aug 2023 13:50:57 +0800 Subject: [PATCH 2/2] address implicit memory aliasing --- modules/apps/transfer/simulation/genesis_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/apps/transfer/simulation/genesis_test.go b/modules/apps/transfer/simulation/genesis_test.go index 11c61aca767..1aae1278e56 100644 --- a/modules/apps/transfer/simulation/genesis_test.go +++ b/modules/apps/transfer/simulation/genesis_test.go @@ -73,6 +73,7 @@ func TestRandomizedGenState1(t *testing.T) { } for _, tt := range tests { + tt := tt require.Panicsf(t, func() { simulation.RandomizedGenState(&tt.simState) }, tt.panicMsg) } }