Skip to content

perf: use atx ids with pointer semantics #6627

perf: use atx ids with pointer semantics

perf: use atx ids with pointer semantics #6627

Triggered via pull request June 20, 2024 17:33
Status Failure
Total duration 2m 42s
Artifacts

coverage.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
coverage: systest/cluster/cluster.go#L261
cannot call pointer method Hash32 on "github.com/spacemeshos/go-spacemesh/common/types".ATXID
coverage: tortoise/model/core.go#L93
cannot use func(_ types.ATXID, atx *atxsdata.ATX) {…} (value of type func(_ types.ATXID, atx *atxsdata.ATX)) as func(*types.ATXID, *atxsdata.ATX) value in argument to c.atxdata.IterateInEpoch
coverage: tortoise/model/core.go#L161
cannot use atx.ID() (value of type *types.ATXID) as types.ATXID value in assignment
coverage: tortoise/sim/layer.go#L192
cannot use atx.ID() (value of type *types.ATXID) as types.ATXID value in struct literal
coverage: proposals/store/store_test.go#L19
cannot use types.RandomATXID() (value of type *types.ATXID) as types.ATXID value in assignment
coverage: sql/identities/identities_test.go#L134
cannot use atx (variable of type *types.ATXID) as types.ATXID value in argument to SetMarriage
coverage: sql/identities/identities_test.go#L152
cannot use types.RandomATXID() (value of type *types.ATXID) as types.ATXID value in argument to SetMarriage
coverage: sql/identities/identities_test.go#L173
cannot use atx (variable of type *types.ATXID) as types.ATXID value in argument to SetMarriage
coverage: sql/identities/identities_test.go#L202
cannot use atx (variable of type *types.ATXID) as types.ATXID value in argument to SetMarriage
coverage: sql/identities/identities_test.go#L213
cannot use types.RandomATXID() (value of type *types.ATXID) as types.ATXID value in argument to SetMarriage