From 986974a7cdb3b53e79269919dc3b48cb297924b3 Mon Sep 17 00:00:00 2001 From: Matt Kocubinski Date: Tue, 31 Dec 2024 08:36:18 -0600 Subject: [PATCH] fix(build): fix build tags (#23132) Co-authored-by: auricom <27022259+auricom@users.noreply.github.com> Co-authored-by: marbar3778 --- scripts/build/build.mk | 4 ++-- tests/integration/v2/example/example_test.go | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/scripts/build/build.mk b/scripts/build/build.mk index c715a855a4f9..e05e253ac7c2 100644 --- a/scripts/build/build.mk +++ b/scripts/build/build.mk @@ -12,9 +12,9 @@ MOCKS_DIR = $(CURDIR)/tests/mocks HTTPS_GIT := https://github.com/cosmos/cosmos-sdk.git DOCKER := $(shell which docker) PROJECT_NAME = $(shell git remote get-url origin | xargs basename -s .git) -COSMOS_BUILD_OPTIONS := v2 +COSMOS_BUILD_OPTIONS += ' v2' -rocksdb_version=v9.6.1 +rocksdb_version=v9.7.3 ifeq ($(findstring .,$(VERSION)),) VERSION := 0.0.0 diff --git a/tests/integration/v2/example/example_test.go b/tests/integration/v2/example/example_test.go index 6136d8c2c00a..7fa4f47dd1bf 100644 --- a/tests/integration/v2/example/example_test.go +++ b/tests/integration/v2/example/example_test.go @@ -22,12 +22,12 @@ import ( // Example shows how to use the integration test framework to test the integration of SDK modules. // Panics are used in this example, but in a real test case, you should use the testing.T object and assertions. +// nolint:govet // ignore removal of parameter here as its run as a test as well. func Example(t *testing.T) { + t.Helper() authority := authtypes.NewModuleAddress("gov").String() - var ( - mintKeeper *mintkeeper.Keeper - ) + var mintKeeper *mintkeeper.Keeper moduleConfigs := []configurator.ModuleOption{ configurator.AccountsModule(),