chore: bump golangci-lint and fix all linting issues (#21761)
This commit is contained in:
+2
-2
@@ -183,7 +183,7 @@ type SimApp struct {
|
||||
sm *module.SimulationManager
|
||||
|
||||
// module configurator
|
||||
configurator module.Configurator // nolint:staticcheck // SA1019: Configurator is deprecated but still used in runtime v1.
|
||||
configurator module.Configurator //nolint:staticcheck // SA1019: Configurator is deprecated but still used in runtime v1.
|
||||
}
|
||||
|
||||
func init() {
|
||||
@@ -705,7 +705,7 @@ func (app *SimApp) EndBlocker(ctx sdk.Context) (sdk.EndBlock, error) {
|
||||
return app.ModuleManager.EndBlock(ctx)
|
||||
}
|
||||
|
||||
func (a *SimApp) Configurator() module.Configurator { // nolint:staticcheck // SA1019: Configurator is deprecated but still used in runtime v1.
|
||||
func (a *SimApp) Configurator() module.Configurator { //nolint:staticcheck // SA1019: Configurator is deprecated but still used in runtime v1.
|
||||
return a.configurator
|
||||
}
|
||||
|
||||
|
||||
@@ -81,7 +81,6 @@ func TestSimGenesisAccountValidate(t *testing.T) {
|
||||
}
|
||||
|
||||
for _, tc := range testCases {
|
||||
tc := tc
|
||||
t.Run(tc.name, func(t *testing.T) {
|
||||
require.Equal(t, tc.wantErr, tc.sga.Validate() != nil)
|
||||
})
|
||||
|
||||
@@ -81,7 +81,6 @@ func TestSimGenesisAccountValidate(t *testing.T) {
|
||||
}
|
||||
|
||||
for _, tc := range testCases {
|
||||
tc := tc
|
||||
t.Run(tc.name, func(t *testing.T) {
|
||||
require.Equal(t, tc.wantErr, tc.sga.Validate() != nil)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user