Skip to content

Implementing validator INX plugin #2

Implementing validator INX plugin

Implementing validator INX plugin #2

This check has been archived and is scheduled for deletion. Learn more about checks retention
GitHub Actions / golangci failed Oct 18, 2023 in 0s

reviewdog [golangci] report

reported by reviewdog 🐶

Findings (16)

components/validator/account.go|1| : # github.com/iotaledger/inx-validator/components/validator
components/validator/component.go|131 col 42| deps.NodeBridge.Account undefined (type *nodebridge.NodeBridge has no field or method Account)
components/validator/issuer.go|28 col 22| deps.NodeBridge.ReadIsCommitteeMemberInEpoch undefined (type *nodebridge.NodeBridge has no field or method ReadIsCommitteeMemberInEpoch)
components/validator/issuer.go|29 col 36| deps.NodeBridge.NodeStatus().IsBootstrapped undefined (type *inx.NodeStatus has no field or method IsBootstrapped)
components/validator/issuer.go|50 col 74| deps.NodeBridge.NodeStatus().IsBootstrapped undefined (type *inx.NodeStatus has no field or method IsBootstrapped)
components/validator/issuer.go|63 col 21| deps.NodeBridge.ReadIsCandidateInEpoch undefined (type *nodebridge.NodeBridge has no field or method ReadIsCandidateInEpoch)
components/validator/issuer.go|169 col 41| deps.NodeBridge.ReadActiveRootBlocks undefined (type *nodebridge.NodeBridge has no field or method ReadActiveRootBlocks)
components/validator/issuer.go|189 col 28| deps.NodeBridge.ForceCommitUntil undefined (type *nodebridge.NodeBridge has no field or method ForceCommitUntil) (typecheck)
components/app/app.go|8 col 2| could not import github.com/iotaledger/inx-validator/components/validator (-: # github.com/iotaledger/inx-validator/components/validator
components/validator/component.go|131 col 42| deps.NodeBridge.Account undefined (type *nodebridge.NodeBridge has no field or method Account)
components/validator/issuer.go|28 col 22| deps.NodeBridge.ReadIsCommitteeMemberInEpoch undefined (type *nodebridge.NodeBridge has no field or method ReadIsCommitteeMemberInEpoch)
components/validator/issuer.go|29 col 36| deps.NodeBridge.NodeStatus().IsBootstrapped undefined (type *inx.NodeStatus has no field or method IsBootstrapped)
components/validator/issuer.go|50 col 74| deps.NodeBridge.NodeStatus().IsBootstrapped undefined (type *inx.NodeStatus has no field or method IsBootstrapped)
components/validator/issuer.go|63 col 21| deps.NodeBridge.ReadIsCandidateInEpoch undefined (type *nodebridge.NodeBridge has no field or method ReadIsCandidateInEpoch)
components/validator/issuer.go|169 col 41| deps.NodeBridge.ReadActiveRootBlocks undefined (type *nodebridge.NodeBridge has no field or method ReadActiveRootBlocks)
components/validator/issuer.go|189 col 28| deps.NodeBridge.ForceCommitUntil undefined (type *nodebridge.NodeBridge has no field or method ForceCommitUntil)) (typecheck)

Filtered Findings (0)

Annotations

Check failure on line 1 in components/validator/account.go

See this annotation in the file changed.

@github-actions github-actions / golangci

[golangci] components/validator/account.go#L1

: # github.com/iotaledger/inx-validator/components/validator
Raw output
components/validator/account.go:1: : # github.com/iotaledger/inx-validator/components/validator

Check failure on line 131 in components/validator/component.go

See this annotation in the file changed.

@github-actions github-actions / golangci

[golangci] components/validator/component.go#L131

deps.NodeBridge.Account undefined (type *nodebridge.NodeBridge has no field or method Account)
Raw output
components/validator/component.go:131:42: deps.NodeBridge.Account undefined (type *nodebridge.NodeBridge has no field or method Account)

Check failure on line 28 in components/validator/issuer.go

See this annotation in the file changed.

@github-actions github-actions / golangci

[golangci] components/validator/issuer.go#L28

deps.NodeBridge.ReadIsCommitteeMemberInEpoch undefined (type *nodebridge.NodeBridge has no field or method ReadIsCommitteeMemberInEpoch)
Raw output
components/validator/issuer.go:28:22: deps.NodeBridge.ReadIsCommitteeMemberInEpoch undefined (type *nodebridge.NodeBridge has no field or method ReadIsCommitteeMemberInEpoch)

Check failure on line 29 in components/validator/issuer.go

See this annotation in the file changed.

@github-actions github-actions / golangci

[golangci] components/validator/issuer.go#L29

deps.NodeBridge.NodeStatus().IsBootstrapped undefined (type *inx.NodeStatus has no field or method IsBootstrapped)
Raw output
components/validator/issuer.go:29:36: deps.NodeBridge.NodeStatus().IsBootstrapped undefined (type *inx.NodeStatus has no field or method IsBootstrapped)

Check failure on line 50 in components/validator/issuer.go

See this annotation in the file changed.

@github-actions github-actions / golangci

[golangci] components/validator/issuer.go#L50

deps.NodeBridge.NodeStatus().IsBootstrapped undefined (type *inx.NodeStatus has no field or method IsBootstrapped)
Raw output
components/validator/issuer.go:50:74: deps.NodeBridge.NodeStatus().IsBootstrapped undefined (type *inx.NodeStatus has no field or method IsBootstrapped)

Check failure on line 63 in components/validator/issuer.go

See this annotation in the file changed.

@github-actions github-actions / golangci

[golangci] components/validator/issuer.go#L63

deps.NodeBridge.ReadIsCandidateInEpoch undefined (type *nodebridge.NodeBridge has no field or method ReadIsCandidateInEpoch)
Raw output
components/validator/issuer.go:63:21: deps.NodeBridge.ReadIsCandidateInEpoch undefined (type *nodebridge.NodeBridge has no field or method ReadIsCandidateInEpoch)

Check failure on line 169 in components/validator/issuer.go

See this annotation in the file changed.

@github-actions github-actions / golangci

[golangci] components/validator/issuer.go#L169

deps.NodeBridge.ReadActiveRootBlocks undefined (type *nodebridge.NodeBridge has no field or method ReadActiveRootBlocks)
Raw output
components/validator/issuer.go:169:41: deps.NodeBridge.ReadActiveRootBlocks undefined (type *nodebridge.NodeBridge has no field or method ReadActiveRootBlocks)

Check failure on line 189 in components/validator/issuer.go

See this annotation in the file changed.

@github-actions github-actions / golangci

[golangci] components/validator/issuer.go#L189

deps.NodeBridge.ForceCommitUntil undefined (type *nodebridge.NodeBridge has no field or method ForceCommitUntil) (typecheck)
Raw output
components/validator/issuer.go:189:28: deps.NodeBridge.ForceCommitUntil undefined (type *nodebridge.NodeBridge has no field or method ForceCommitUntil) (typecheck)
package validator

Check failure on line 8 in components/app/app.go

See this annotation in the file changed.

@github-actions github-actions / golangci

[golangci] components/app/app.go#L8

could not import github.com/iotaledger/inx-validator/components/validator (-: # github.com/iotaledger/inx-validator/components/validator
Raw output
components/app/app.go:8:2: could not import github.com/iotaledger/inx-validator/components/validator (-: # github.com/iotaledger/inx-validator/components/validator

Check failure on line 131 in components/validator/component.go

See this annotation in the file changed.

@github-actions github-actions / golangci

[golangci] components/validator/component.go#L131

deps.NodeBridge.Account undefined (type *nodebridge.NodeBridge has no field or method Account)
Raw output
components/validator/component.go:131:42: deps.NodeBridge.Account undefined (type *nodebridge.NodeBridge has no field or method Account)

Check failure on line 28 in components/validator/issuer.go

See this annotation in the file changed.

@github-actions github-actions / golangci

[golangci] components/validator/issuer.go#L28

deps.NodeBridge.ReadIsCommitteeMemberInEpoch undefined (type *nodebridge.NodeBridge has no field or method ReadIsCommitteeMemberInEpoch)
Raw output
components/validator/issuer.go:28:22: deps.NodeBridge.ReadIsCommitteeMemberInEpoch undefined (type *nodebridge.NodeBridge has no field or method ReadIsCommitteeMemberInEpoch)

Check failure on line 29 in components/validator/issuer.go

See this annotation in the file changed.

@github-actions github-actions / golangci

[golangci] components/validator/issuer.go#L29

deps.NodeBridge.NodeStatus().IsBootstrapped undefined (type *inx.NodeStatus has no field or method IsBootstrapped)
Raw output
components/validator/issuer.go:29:36: deps.NodeBridge.NodeStatus().IsBootstrapped undefined (type *inx.NodeStatus has no field or method IsBootstrapped)

Check failure on line 50 in components/validator/issuer.go

See this annotation in the file changed.

@github-actions github-actions / golangci

[golangci] components/validator/issuer.go#L50

deps.NodeBridge.NodeStatus().IsBootstrapped undefined (type *inx.NodeStatus has no field or method IsBootstrapped)
Raw output
components/validator/issuer.go:50:74: deps.NodeBridge.NodeStatus().IsBootstrapped undefined (type *inx.NodeStatus has no field or method IsBootstrapped)

Check failure on line 63 in components/validator/issuer.go

See this annotation in the file changed.

@github-actions github-actions / golangci

[golangci] components/validator/issuer.go#L63

deps.NodeBridge.ReadIsCandidateInEpoch undefined (type *nodebridge.NodeBridge has no field or method ReadIsCandidateInEpoch)
Raw output
components/validator/issuer.go:63:21: deps.NodeBridge.ReadIsCandidateInEpoch undefined (type *nodebridge.NodeBridge has no field or method ReadIsCandidateInEpoch)

Check failure on line 169 in components/validator/issuer.go

See this annotation in the file changed.

@github-actions github-actions / golangci

[golangci] components/validator/issuer.go#L169

deps.NodeBridge.ReadActiveRootBlocks undefined (type *nodebridge.NodeBridge has no field or method ReadActiveRootBlocks)
Raw output
components/validator/issuer.go:169:41: deps.NodeBridge.ReadActiveRootBlocks undefined (type *nodebridge.NodeBridge has no field or method ReadActiveRootBlocks)

Check failure on line 189 in components/validator/issuer.go

See this annotation in the file changed.

@github-actions github-actions / golangci

[golangci] components/validator/issuer.go#L189

deps.NodeBridge.ForceCommitUntil undefined (type *nodebridge.NodeBridge has no field or method ForceCommitUntil)) (typecheck)
Raw output
components/validator/issuer.go:189:28: deps.NodeBridge.ForceCommitUntil undefined (type *nodebridge.NodeBridge has no field or method ForceCommitUntil)) (typecheck)
	"github.com/iotaledger/inx-validator/components/validator"
	^