Skip to content

Implement read only flag in Mempool #1791

Implement read only flag in Mempool

Implement read only flag in Mempool #1791

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

unit-test.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

40 errors
[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)
Unit tests: pkg/protocol/engine/mempool/v1/mempool.go#L273
metadata.state.ReadOnly undefined (type mempool.State has no field or method ReadOnly)
Unit tests: pkg/protocol/engine/mempool/v1/mempool.go#L283
input.state.ReadOnly undefined (type mempool.State has no field or method ReadOnly)
Unit tests: pkg/protocol/engine/mempool/tests/testframework.go#L78
not enough arguments in call to NewTransaction
Unit tests: pkg/protocol/engine/mempool/tests/tests.go#L52
cannot use []string{…} (value of type []string) as uint16 value in argument to tf.CreateTransaction
Unit tests: pkg/protocol/engine/mempool/tests/tests.go#L52
cannot use 1 (untyped int constant) as bool value in argument to tf.CreateTransaction
Unit tests: pkg/protocol/engine/mempool/tests/tests.go#L53
cannot use []string{…} (value of type []string) as uint16 value in argument to tf.CreateTransaction
Unit tests: pkg/protocol/engine/mempool/tests/tests.go#L53
cannot use 1 (untyped int constant) as bool value in argument to tf.CreateTransaction
Unit tests: pkg/protocol/engine/mempool/tests/tests.go#L84
cannot use []string{…} (value of type []string) as uint16 value in argument to tf.CreateTransaction
Unit tests: pkg/protocol/engine/mempool/tests/tests.go#L84
cannot use 1 (untyped int constant) as bool value in argument to tf.CreateTransaction
Unit tests: pkg/protocol/engine/mempool/tests/tests.go#L85
cannot use []string{…} (value of type []string) as uint16 value in argument to tf.CreateTransaction
Unit tests -race: pkg/protocol/engine/mempool/v1/mempool.go#L273
metadata.state.ReadOnly undefined (type mempool.State has no field or method ReadOnly)
Unit tests -race: pkg/protocol/engine/mempool/v1/mempool.go#L283
input.state.ReadOnly undefined (type mempool.State has no field or method ReadOnly)
Unit tests -race: pkg/protocol/engine/mempool/tests/testframework.go#L78
not enough arguments in call to NewTransaction
Unit tests -race: pkg/protocol/engine/mempool/tests/tests.go#L52
cannot use []string{…} (value of type []string) as uint16 value in argument to tf.CreateTransaction
Unit tests -race: pkg/protocol/engine/mempool/tests/tests.go#L52
cannot use 1 (untyped int constant) as bool value in argument to tf.CreateTransaction
Unit tests -race: pkg/protocol/engine/mempool/tests/tests.go#L53
cannot use []string{…} (value of type []string) as uint16 value in argument to tf.CreateTransaction
Unit tests -race: pkg/protocol/engine/mempool/tests/tests.go#L53
cannot use 1 (untyped int constant) as bool value in argument to tf.CreateTransaction
Unit tests -race: pkg/protocol/engine/mempool/tests/tests.go#L84
cannot use []string{…} (value of type []string) as uint16 value in argument to tf.CreateTransaction
Unit tests -race: pkg/protocol/engine/mempool/tests/tests.go#L84
cannot use 1 (untyped int constant) as bool value in argument to tf.CreateTransaction
Unit tests -race: pkg/protocol/engine/mempool/tests/tests.go#L85
cannot use []string{…} (value of type []string) as uint16 value in argument to tf.CreateTransaction