Skip to content

Implement read only flag in Mempool #1769

Implement read only flag in Mempool

Implement read only flag in Mempool #1769

Triggered via pull request October 3, 2023 16:58
Status Failure
Total duration 2m 46s
Artifacts

golangci-lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

21 errors and 1 warning
[golangci] pkg/protocol/engine/ledger/ledger/ledger.go#L25: pkg/protocol/engine/ledger/ledger/ledger.go#L25
could not import github.com/iotaledger/iota-core/pkg/protocol/engine/mempool/v1 (-: # github.com/iotaledger/iota-core/pkg/protocol/engine/mempool/v1
[golangci] pkg/protocol/engine/mempool/v1/mempool.go#L273: pkg/protocol/engine/mempool/v1/mempool.go#L273
metadata.state.ReadOnly undefined (type mempool.State has no field or method ReadOnly)
[golangci] pkg/protocol/engine/mempool/v1/mempool.go#L283: pkg/protocol/engine/mempool/v1/mempool.go#L283
input.state.ReadOnly undefined (type mempool.State has no field or method ReadOnly)) (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/inx/server_issuance.go#L66: components/inx/server_issuance.go#L66
undefined: inx.PayloadValidationResponse (typecheck)
[golangci] components/inx/server_issuance.go#L69: components/inx/server_issuance.go#L69
undefined: inx.PayloadValidationResponse (typecheck)
[golangci] components/inx/server_issuance.go#L6: components/inx/server_issuance.go#L6
"github.com/iotaledger/hive.go/ierrors" imported and not used (typecheck)
[golangci] components/inx/server_issuance.go#L7: components/inx/server_issuance.go#L7
"github.com/iotaledger/hive.go/lo" imported and not used (typecheck)
[golangci] components/inx/server_issuance.go#L10: components/inx/server_issuance.go#L10
"github.com/iotaledger/iota-core/pkg/protocol/engine/mempool" imported and not used (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/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] pkg/protocol/engine/mempool/v1/mempool.go#L273: pkg/protocol/engine/mempool/v1/mempool.go#L273
metadata.state.ReadOnly undefined (type mempool.State has no field or method ReadOnly) (typecheck)
[golangci] pkg/protocol/engine/mempool/v1/mempool.go#L283: pkg/protocol/engine/mempool/v1/mempool.go#L283
input.state.ReadOnly undefined (type mempool.State has no field or method ReadOnly) (typecheck)
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']