Skip to content

Implement SegWit (similar transactions with different signatures are no longer double spends) #1714

Implement SegWit (similar transactions with different signatures are no longer double spends)

Implement SegWit (similar transactions with different signatures are no longer double spends) #1714

Triggered via pull request October 1, 2023 13:49
Status Failure
Total duration 3m 8s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

golangci-lint.yml

on: pull_request
GolangCI-Lint
3m 1s
GolangCI-Lint
Fit to window
Zoom out
Zoom in

Annotations

22 errors and 1 warning
[golangci] pkg/protocol/engine/ledger/ledger/ledger.go#L1: pkg/protocol/engine/ledger/ledger/ledger.go#L1
: # github.com/iotaledger/iota-core/pkg/protocol/engine/ledger/ledger
[golangci] pkg/protocol/engine/ledger/ledger/vm.go#L108: pkg/protocol/engine/ledger/ledger/vm.go#L108
cannot use tx (variable of type *iotago.SignedTransaction) as *iotago.Transaction value in argument to stardust.NewVirtualMachine().Execute
[golangci] pkg/protocol/engine/ledger/ledger/vm.go#L108: pkg/protocol/engine/ledger/ledger/vm.go#L108
cannot use vmParams (variable of type *vm.Params) as vm.ResolvedInputs value in argument to stardust.NewVirtualMachine().Execute
[golangci] pkg/protocol/engine/ledger/ledger/vm.go#L108: pkg/protocol/engine/ledger/ledger/vm.go#L108
cannot use resolvedInputs (variable of type vm.ResolvedInputs) as vm.UnlockedIdentities value in argument to stardust.NewVirtualMachine().Execute (typecheck)
[golangci] pkg/protocol/protocol.go#L37: pkg/protocol/protocol.go#L37
could not import github.com/iotaledger/iota-core/pkg/protocol/engine/ledger/ledger (-: # github.com/iotaledger/iota-core/pkg/protocol/engine/ledger/ledger
[golangci] pkg/protocol/engine/ledger/ledger/vm.go#L108: pkg/protocol/engine/ledger/ledger/vm.go#L108
cannot use tx (variable of type *iotago.SignedTransaction) as *iotago.Transaction value in argument to stardust.NewVirtualMachine().Execute
[golangci] pkg/protocol/engine/ledger/ledger/vm.go#L108: pkg/protocol/engine/ledger/ledger/vm.go#L108
cannot use vmParams (variable of type *vm.Params) as vm.ResolvedInputs value in argument to stardust.NewVirtualMachine().Execute
[golangci] pkg/protocol/engine/ledger/ledger/vm.go#L108: pkg/protocol/engine/ledger/ledger/vm.go#L108
cannot use resolvedInputs (variable of type vm.ResolvedInputs) as vm.UnlockedIdentities value in argument to stardust.NewVirtualMachine().Execute) (typecheck)
[golangci] pkg/blockfactory/blockissuer.go#L334: pkg/blockfactory/blockissuer.go#L334
cannot infer T (/home/runner/go/pkg/mod/github.com/iotaledger/hive.go/[email protected]/safemath/safe_math.go:36:1) (typecheck)
[golangci] components/debugapi/node.go#L18: components/debugapi/node.go#L18
cannot infer A (/home/runner/go/pkg/mod/github.com/iotaledger/hive.go/[email protected]/lo.go:279:1) (typecheck)
[golangci] components/restapi/core/accounts.go#L35: components/restapi/core/accounts.go#L35
cannot infer T (/home/runner/go/pkg/mod/github.com/iotaledger/hive.go/[email protected]/safemath/safe_math.go:36:1) (typecheck)
[golangci] components/restapi/core/accounts.go#L92: components/restapi/core/accounts.go#L92
cannot infer T (/home/runner/go/pkg/mod/github.com/iotaledger/hive.go/[email protected]/lo.go:235:1) (typecheck)
[golangci] pkg/protocol/snapshotcreator/options.go#L8: pkg/protocol/snapshotcreator/options.go#L8
could not import github.com/iotaledger/iota-core/pkg/protocol/engine/ledger/ledger (-: # github.com/iotaledger/iota-core/pkg/protocol/engine/ledger/ledger
[golangci] pkg/protocol/engine/ledger/ledger/vm.go#L108: pkg/protocol/engine/ledger/ledger/vm.go#L108
cannot use tx (variable of type *iotago.SignedTransaction) as *iotago.Transaction value in argument to stardust.NewVirtualMachine().Execute
[golangci] pkg/protocol/engine/ledger/ledger/vm.go#L108: pkg/protocol/engine/ledger/ledger/vm.go#L108
cannot use vmParams (variable of type *vm.Params) as vm.ResolvedInputs value in argument to stardust.NewVirtualMachine().Execute
[golangci] pkg/protocol/engine/ledger/ledger/vm.go#L108: pkg/protocol/engine/ledger/ledger/vm.go#L108
cannot use resolvedInputs (variable of type vm.ResolvedInputs) as vm.UnlockedIdentities value in argument to stardust.NewVirtualMachine().Execute) (typecheck)
[golangci] pkg/testsuite/eviction.go#L39: 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] pkg/testsuite/eviction.go#L40: 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] pkg/testsuite/upgrades.go#L43: pkg/testsuite/upgrades.go#L43
not enough arguments in call to lo.PanicOnErr
[golangci] pkg/testsuite/upgrades.go#L57: pkg/testsuite/upgrades.go#L57
not enough arguments in call to lo.PanicOnErr
[golangci] pkg/testsuite/upgrades.go#L58: pkg/testsuite/upgrades.go#L58
not enough arguments in call to lo.PanicOnErr
GolangCI-Lint
reviewdog exited with status code: 1
GolangCI-Lint
Unexpected input(s) 'version', valid inputs are ['github_token', 'golangci_lint_flags', 'tool_name', 'level', 'reporter', 'filter_mode', 'fail_on_error', 'reviewdog_flags', 'workdir', 'reviewdog_version', 'golangci_lint_version', 'go_version', 'go_version_file', 'cache']