From e9edd09d46fee874ac733533503251cd056f8214 Mon Sep 17 00:00:00 2001 From: likhita-809 Date: Fri, 8 Sep 2023 11:05:31 +0530 Subject: [PATCH] fix lint --- go.mod | 4 ++++ x/pool/module.go | 2 -- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/go.mod b/go.mod index 2dfa6192e757..b6ed27caa31d 100644 --- a/go.mod +++ b/go.mod @@ -1,5 +1,7 @@ go 1.21 +toolchain go1.21.0 + module github.com/cosmos/cosmos-sdk require ( @@ -182,6 +184,8 @@ replace ( replace cosmossdk.io/x/pool => ./x/pool +replace cosmossdk.io/api => ./api + retract ( // revert fix https://github.com/cosmos/cosmos-sdk/pull/16331 v0.46.12 diff --git a/x/pool/module.go b/x/pool/module.go index 27ad502a5315..7942c59975d0 100644 --- a/x/pool/module.go +++ b/x/pool/module.go @@ -6,7 +6,6 @@ import ( gwruntime "github.com/grpc-ecosystem/grpc-gateway/runtime" modulev1 "cosmossdk.io/api/cosmos/pool/module/v1" - "cosmossdk.io/core/address" "cosmossdk.io/core/appmodule" storetypes "cosmossdk.io/core/store" "cosmossdk.io/depinject" @@ -33,7 +32,6 @@ var ( // AppModuleBasic defines the basic application module used by the pool module. type AppModuleBasic struct { cdc codec.Codec - ac address.Codec } // Name returns the pool module's name.