Skip to content

Update inx-app to db58eb9353ec #4

Update inx-app to db58eb9353ec

Update inx-app to db58eb9353ec #4

GitHub Actions / golangci failed Mar 7, 2024 in 0s

reviewdog [golangci] report

reported by reviewdog 🐶

Findings (9)

pkg/faucet/error.go|1| : # github.com/iotaledger/inx-faucet/pkg/faucet
pkg/faucet/faucet.go|632 col 45| not enough arguments in call to builder.NewTransactionBuilder
pkg/faucet/faucet.go|934 col 12| undefined: api.TransactionStateNoTransaction
pkg/faucet/faucet.go|944 col 42| undefined: api.TransactionStateConfirmed (typecheck)
components/faucet/component.go|26 col 2| could not import github.com/iotaledger/inx-faucet/pkg/faucet (-: # github.com/iotaledger/inx-faucet/pkg/faucet
pkg/faucet/faucet.go|632 col 45| not enough arguments in call to builder.NewTransactionBuilder
pkg/faucet/faucet.go|934 col 12| undefined: api.TransactionStateNoTransaction
pkg/faucet/faucet.go|944 col 42| undefined: api.TransactionStateConfirmed) (typecheck)
components/faucet/component.go|248 col 145| too many arguments in call to deps.BlockIssuerClient.SendPayloadWithTransactionBuilder

Filtered Findings (0)

Annotations

Check failure on line 1 in pkg/faucet/error.go

See this annotation in the file changed.

@github-actions github-actions / golangci

[golangci] pkg/faucet/error.go#L1

: # github.com/iotaledger/inx-faucet/pkg/faucet
Raw output
pkg/faucet/error.go:1: : # github.com/iotaledger/inx-faucet/pkg/faucet

Check failure on line 632 in pkg/faucet/faucet.go

See this annotation in the file changed.

@github-actions github-actions / golangci

[golangci] pkg/faucet/faucet.go#L632

not enough arguments in call to builder.NewTransactionBuilder
Raw output
pkg/faucet/faucet.go:632:45: not enough arguments in call to builder.NewTransactionBuilder
	have (iotago.API)
	want (iotago.API, iotago.AddressSigner)

Check failure on line 934 in pkg/faucet/faucet.go

See this annotation in the file changed.

@github-actions github-actions / golangci

[golangci] pkg/faucet/faucet.go#L934

undefined: api.TransactionStateNoTransaction
Raw output
pkg/faucet/faucet.go:934:12: undefined: api.TransactionStateNoTransaction

Check failure on line 944 in pkg/faucet/faucet.go

See this annotation in the file changed.

@github-actions github-actions / golangci

[golangci] pkg/faucet/faucet.go#L944

undefined: api.TransactionStateConfirmed (typecheck)
Raw output
pkg/faucet/faucet.go:944:42: undefined: api.TransactionStateConfirmed (typecheck)
package faucet

Check failure on line 26 in components/faucet/component.go

See this annotation in the file changed.

@github-actions github-actions / golangci

[golangci] components/faucet/component.go#L26

could not import github.com/iotaledger/inx-faucet/pkg/faucet (-: # github.com/iotaledger/inx-faucet/pkg/faucet
Raw output
components/faucet/component.go:26:2: could not import github.com/iotaledger/inx-faucet/pkg/faucet (-: # github.com/iotaledger/inx-faucet/pkg/faucet

Check failure on line 632 in pkg/faucet/faucet.go

See this annotation in the file changed.

@github-actions github-actions / golangci

[golangci] pkg/faucet/faucet.go#L632

not enough arguments in call to builder.NewTransactionBuilder
Raw output
pkg/faucet/faucet.go:632:45: not enough arguments in call to builder.NewTransactionBuilder
	have (iotago.API)
	want (iotago.API, iotago.AddressSigner)

Check failure on line 934 in pkg/faucet/faucet.go

See this annotation in the file changed.

@github-actions github-actions / golangci

[golangci] pkg/faucet/faucet.go#L934

undefined: api.TransactionStateNoTransaction
Raw output
pkg/faucet/faucet.go:934:12: undefined: api.TransactionStateNoTransaction

Check failure on line 944 in pkg/faucet/faucet.go

See this annotation in the file changed.

@github-actions github-actions / golangci

[golangci] pkg/faucet/faucet.go#L944

undefined: api.TransactionStateConfirmed) (typecheck)
Raw output
pkg/faucet/faucet.go:944:42: undefined: api.TransactionStateConfirmed) (typecheck)
	"github.com/iotaledger/inx-faucet/pkg/faucet"
	^

Check failure on line 248 in components/faucet/component.go

See this annotation in the file changed.

@github-actions github-actions / golangci

[golangci] components/faucet/component.go#L248

too many arguments in call to deps.BlockIssuerClient.SendPayloadWithTransactionBuilder
Raw output
components/faucet/component.go:248:145: too many arguments in call to deps.BlockIssuerClient.SendPayloadWithTransactionBuilder
	have ("context".Context, *builder.TransactionBuilder, iotago.AddressSigner, int, []int)
	want ("context".Context, *builder.TransactionBuilder, int, ...int) (typecheck)
			signedTx, blockCreatedResponse, err := deps.BlockIssuerClient.SendPayloadWithTransactionBuilder(ctx, builder, signer, storedManaOutputIndex, numPoWWorkers...)
			                                                                                                                                             ^