Skip to content

Rename Block Types #2087

Rename Block Types

Rename Block Types #2087

GitHub Actions / golangci failed Oct 27, 2023 in 1s

reviewdog [golangci] report

reported by reviewdog 🐶

Findings (13)

components/inx/server.go|11 col 6| could not import github.com/iotaledger/inx/go (-: # github.com/iotaledger/inx/go
/home/runner/go/pkg/mod/github.com/iotaledger/inx/[email protected]/utils.go|23 col 30| undefined: iotago.ProtocolBlock
/home/runner/go/pkg/mod/github.com/iotaledger/inx/[email protected]/utils.go|34 col 73| undefined: iotago.ProtocolBlock
/home/runner/go/pkg/mod/github.com/iotaledger/inx/[email protected]/utils.go|35 col 22| not enough arguments in call to lo.DropCount
/home/runner/go/pkg/mod/github.com/iotaledger/inx/[email protected]/utils.go|35 col 29| undefined: iotago.ProtocolBlockFromBytes
/home/runner/go/pkg/mod/github.com/iotaledger/inx/[email protected]/utils.go|50 col 70| undefined: iotago.ProtocolBlock
/home/runner/go/pkg/mod/github.com/iotaledger/inx/[email protected]/utils.go|54 col 73| undefined: iotago.ProtocolBlock
/home/runner/go/pkg/mod/github.com/iotaledger/inx/[email protected]/utils.go|234 col 31| undefined: iotago.BlockPayload
/home/runner/go/pkg/mod/github.com/iotaledger/inx/[email protected]/utils.go|245 col 75| undefined: iotago.BlockPayload
/home/runner/go/pkg/mod/github.com/iotaledger/inx/[email protected]/utils.go|246 col 21| undefined: iotago.BlockPayload) (typecheck)
components/inx/server_issuance.go|6 col 2| "github.com/iotaledger/hive.go/ierrors" imported and not used (typecheck)
components/inx/server_issuance.go|7 col 2| "github.com/iotaledger/hive.go/lo" imported and not used (typecheck)
components/inx/server_issuance.go|10 col 2| "github.com/iotaledger/iota-core/pkg/protocol/engine/mempool" imported and not used (typecheck)

Filtered Findings (0)

Annotations

Check failure on line 11 in components/inx/server.go

See this annotation in the file changed.

@github-actions github-actions / golangci

[golangci] components/inx/server.go#L11

could not import github.com/iotaledger/inx/go (-: # github.com/iotaledger/inx/go
Raw output
components/inx/server.go:11:6: could not import github.com/iotaledger/inx/go (-: # github.com/iotaledger/inx/go

Check failure on line 23 in /home/runner/go/pkg/mod/github.com/iotaledger/inx/[email protected]/utils.go

See this annotation in the file changed.

@github-actions github-actions / golangci

[golangci] /home/runner/go/pkg/mod/github.com/iotaledger/inx/[email protected]/utils.go#L23

undefined: iotago.ProtocolBlock
Raw output
/home/runner/go/pkg/mod/github.com/iotaledger/inx/[email protected]/utils.go:23:30: undefined: iotago.ProtocolBlock

Check failure on line 34 in /home/runner/go/pkg/mod/github.com/iotaledger/inx/[email protected]/utils.go

See this annotation in the file changed.

@github-actions github-actions / golangci

[golangci] /home/runner/go/pkg/mod/github.com/iotaledger/inx/[email protected]/utils.go#L34

undefined: iotago.ProtocolBlock
Raw output
/home/runner/go/pkg/mod/github.com/iotaledger/inx/[email protected]/utils.go:34:73: undefined: iotago.ProtocolBlock

Check failure on line 35 in /home/runner/go/pkg/mod/github.com/iotaledger/inx/[email protected]/utils.go

See this annotation in the file changed.

@github-actions github-actions / golangci

[golangci] /home/runner/go/pkg/mod/github.com/iotaledger/inx/[email protected]/utils.go#L35

not enough arguments in call to lo.DropCount
Raw output
/home/runner/go/pkg/mod/github.com/iotaledger/inx/[email protected]/utils.go:35:22: not enough arguments in call to lo.DropCount
	have (unknown type)
	want (T, int, error)

Check failure on line 35 in /home/runner/go/pkg/mod/github.com/iotaledger/inx/[email protected]/utils.go

See this annotation in the file changed.

@github-actions github-actions / golangci

[golangci] /home/runner/go/pkg/mod/github.com/iotaledger/inx/[email protected]/utils.go#L35

undefined: iotago.ProtocolBlockFromBytes
Raw output
/home/runner/go/pkg/mod/github.com/iotaledger/inx/[email protected]/utils.go:35:29: undefined: iotago.ProtocolBlockFromBytes

Check failure on line 50 in /home/runner/go/pkg/mod/github.com/iotaledger/inx/[email protected]/utils.go

See this annotation in the file changed.

@github-actions github-actions / golangci

[golangci] /home/runner/go/pkg/mod/github.com/iotaledger/inx/[email protected]/utils.go#L50

undefined: iotago.ProtocolBlock
Raw output
/home/runner/go/pkg/mod/github.com/iotaledger/inx/[email protected]/utils.go:50:70: undefined: iotago.ProtocolBlock

Check failure on line 54 in /home/runner/go/pkg/mod/github.com/iotaledger/inx/[email protected]/utils.go

See this annotation in the file changed.

@github-actions github-actions / golangci

[golangci] /home/runner/go/pkg/mod/github.com/iotaledger/inx/[email protected]/utils.go#L54

undefined: iotago.ProtocolBlock
Raw output
/home/runner/go/pkg/mod/github.com/iotaledger/inx/[email protected]/utils.go:54:73: undefined: iotago.ProtocolBlock

Check failure on line 234 in /home/runner/go/pkg/mod/github.com/iotaledger/inx/[email protected]/utils.go

See this annotation in the file changed.

@github-actions github-actions / golangci

[golangci] /home/runner/go/pkg/mod/github.com/iotaledger/inx/[email protected]/utils.go#L234

undefined: iotago.BlockPayload
Raw output
/home/runner/go/pkg/mod/github.com/iotaledger/inx/[email protected]/utils.go:234:31: undefined: iotago.BlockPayload

Check failure on line 245 in /home/runner/go/pkg/mod/github.com/iotaledger/inx/[email protected]/utils.go

See this annotation in the file changed.

@github-actions github-actions / golangci

[golangci] /home/runner/go/pkg/mod/github.com/iotaledger/inx/[email protected]/utils.go#L245

undefined: iotago.BlockPayload
Raw output
/home/runner/go/pkg/mod/github.com/iotaledger/inx/[email protected]/utils.go:245:75: undefined: iotago.BlockPayload

Check failure on line 246 in /home/runner/go/pkg/mod/github.com/iotaledger/inx/[email protected]/utils.go

See this annotation in the file changed.

@github-actions github-actions / golangci

[golangci] /home/runner/go/pkg/mod/github.com/iotaledger/inx/[email protected]/utils.go#L246

undefined: iotago.BlockPayload) (typecheck)
Raw output
/home/runner/go/pkg/mod/github.com/iotaledger/inx/[email protected]/utils.go:246:21: undefined: iotago.BlockPayload) (typecheck)
	inx "github.com/iotaledger/inx/go"
	    ^

Check failure on line 6 in components/inx/server_issuance.go

See this annotation in the file changed.

@github-actions github-actions / golangci

[golangci] components/inx/server_issuance.go#L6

"github.com/iotaledger/hive.go/ierrors" imported and not used (typecheck)
Raw output
components/inx/server_issuance.go:6:2: "github.com/iotaledger/hive.go/ierrors" imported and not used (typecheck)
	"github.com/iotaledger/hive.go/ierrors"
	^

Check failure on line 7 in components/inx/server_issuance.go

See this annotation in the file changed.

@github-actions github-actions / golangci

[golangci] components/inx/server_issuance.go#L7

"github.com/iotaledger/hive.go/lo" imported and not used (typecheck)
Raw output
components/inx/server_issuance.go:7:2: "github.com/iotaledger/hive.go/lo" imported and not used (typecheck)
	"github.com/iotaledger/hive.go/lo"
	^

Check failure on line 10 in components/inx/server_issuance.go

See this annotation in the file changed.

@github-actions github-actions / golangci

[golangci] components/inx/server_issuance.go#L10

"github.com/iotaledger/iota-core/pkg/protocol/engine/mempool" imported and not used (typecheck)
Raw output
components/inx/server_issuance.go:10:2: "github.com/iotaledger/iota-core/pkg/protocol/engine/mempool" imported and not used (typecheck)
	"github.com/iotaledger/iota-core/pkg/protocol/engine/mempool"
	^