diff --git a/.golangci.yml b/.golangci.yml index 53f3833d1..3131b8918 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -48,6 +48,9 @@ linters: - unconvert - unused +excludes: + gosec: + - G115 issues: exclude-use-default: false exclude: @@ -71,4 +74,4 @@ linters-settings: severity: warning disabled: true errcheck: - check-type-assertions: true \ No newline at end of file + check-type-assertions: true diff --git a/block/manager.go b/block/manager.go index ea32e8a38..5a424e2a9 100644 --- a/block/manager.go +++ b/block/manager.go @@ -408,5 +408,4 @@ func (m *Manager) freezeNode(ctx context.Context, err error) { if m.RunMode == RunModeFullNode { m.unsubscribeFullNodeEvents(ctx) } - } diff --git a/block/modes.go b/block/modes.go index 000d03fa1..bd99ec44b 100644 --- a/block/modes.go +++ b/block/modes.go @@ -3,6 +3,7 @@ package block import ( "context" "fmt" + "github.com/dymensionxyz/dymint/types" "github.com/dymensionxyz/dymint/p2p"