Skip to content
This repository has been archived by the owner on Jan 24, 2025. It is now read-only.

Implement account transition unit test #2773

Implement account transition unit test

Implement account transition unit test #2773

Triggered via pull request January 18, 2024 08:03
Status Failure
Total duration 1m 40s
Artifacts

golangci-lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
GolangCI-Lint: pkg/testsuite/mock/block_params.go#L1
: # github.com/iotaledger/iota-core/pkg/testsuite/mock
GolangCI-Lint: pkg/testsuite/mock/wallet_transactions.go#L692
builder.NewFoundryOutputBuilder(accAddr, tokenScheme, mintedAmount).NativeToken(&iotago.NativeTokenFeature{…}).SerialNumber undefined (type *builder.FoundryOutputBuilder has no field or method SerialNumber) (typecheck)
GolangCI-Lint: pkg/testsuite/accounts.go#L9
could not import github.com/iotaledger/iota-core/pkg/testsuite/mock (-: # github.com/iotaledger/iota-core/pkg/testsuite/mock
GolangCI-Lint: pkg/testsuite/mock/wallet_transactions.go#L692
builder.NewFoundryOutputBuilder(accAddr, tokenScheme, mintedAmount).NativeToken(&iotago.NativeTokenFeature{…}).SerialNumber undefined (type *builder.FoundryOutputBuilder has no field or method SerialNumber)) (typecheck)
GolangCI-Lint: pkg/testsuite/blocks.go#L151
cannot infer TargetType (/home/runner/go/pkg/mod/github.com/iotaledger/hive.go/[email protected]/lo.go:18:1) (typecheck)
GolangCI-Lint: pkg/testsuite/eviction.go#L39
cannot infer A (/home/runner/go/pkg/mod/github.com/iotaledger/hive.go/[email protected]/lo.go:279:1) (typecheck)
GolangCI-Lint: pkg/testsuite/eviction.go#L40
cannot infer A (/home/runner/go/pkg/mod/github.com/iotaledger/hive.go/[email protected]/lo.go:279:1) (typecheck)
GolangCI-Lint: pkg/testsuite/spenders.go#L16
cannot infer T (/home/runner/go/pkg/mod/github.com/iotaledger/hive.go/[email protected]/set.go:19:1) (typecheck)
GolangCI-Lint: pkg/testsuite/testsuite_issue_blocks.go#L153
cannot infer A (/home/runner/go/pkg/mod/github.com/iotaledger/hive.go/[email protected]/lo.go:279:1) (typecheck)
GolangCI-Lint: pkg/testsuite/transactions.go#L147
cannot infer TargetType (/home/runner/go/pkg/mod/github.com/iotaledger/hive.go/[email protected]/lo.go:18:1) (typecheck)