chore: fix linting issues exposed by fixing golangci-lint (#12895)
Co-authored-by: Marko <marbar3778@yahoo.com> Co-authored-by: Julien Robert <julien@rbrt.fr>
This commit is contained in:
co-authored by
Marko
Julien Robert
parent
15b04c2a87
commit
0943a70215
@@ -2,7 +2,7 @@ package client
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"io/ioutil"
|
||||
"io"
|
||||
"os"
|
||||
|
||||
"github.com/gogo/protobuf/proto"
|
||||
@@ -419,7 +419,7 @@ func (s *EndToEndTestSuite) TestNewSendTxCmdDryRun() {
|
||||
s.Require().NoError(err)
|
||||
|
||||
w.Close()
|
||||
out, _ := ioutil.ReadAll(r)
|
||||
out, _ := io.ReadAll(r)
|
||||
os.Stderr = oldSterr
|
||||
|
||||
s.Require().Regexp("gas estimate: [0-9]+", string(out))
|
||||
|
||||
@@ -31,7 +31,6 @@ type IntegrationTestSuite struct {
|
||||
}
|
||||
|
||||
func TestIntegrationTestSuite(t *testing.T) {
|
||||
|
||||
suite.Run(t, new(IntegrationTestSuite))
|
||||
}
|
||||
|
||||
|
||||
@@ -122,7 +122,6 @@ func (suite *IntegrationTestSuite) initKeepersWithmAccPerms(blockedAddrs map[str
|
||||
}
|
||||
|
||||
func (suite *IntegrationTestSuite) SetupTest() {
|
||||
|
||||
var interfaceRegistry codectypes.InterfaceRegistry
|
||||
|
||||
app, err := sims.Setup(
|
||||
@@ -139,7 +138,7 @@ func (suite *IntegrationTestSuite) SetupTest() {
|
||||
suite.ctx = app.BaseApp.NewContext(false, tmproto.Header{Time: time.Now()})
|
||||
suite.fetchStoreKey = app.UnsafeFindStoreKey
|
||||
|
||||
//suite.Require().NoError(suite.accountKeeper.SetParams(suite.ctx, authtypes.DefaultParams()))
|
||||
// suite.Require().NoError(suite.accountKeeper.SetParams(suite.ctx, authtypes.DefaultParams()))
|
||||
suite.Require().NoError(suite.bankKeeper.SetParams(suite.ctx, types.DefaultParams()))
|
||||
|
||||
queryHelper := baseapp.NewQueryServerTestHelper(suite.ctx, interfaceRegistry)
|
||||
|
||||
Reference in New Issue
Block a user