Skip to content

Return the correct light client payload proof #44590

Return the correct light client payload proof

Return the correct light client payload proof #44590

Triggered via pull request October 22, 2024 15:05
Status Failure
Total duration 6m 16s
Artifacts

go.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

20 errors and 5 warnings
Lint: beacon-chain/db/kv/lightclient_test.go#L55
cannot use &ethpbv2.LightClientUpdateWithVersion{…} (value of type *"github.com/prysmaticlabs/prysm/v5/proto/eth/v2".LightClientUpdateWithVersion) as "github.com/prysmaticlabs/prysm/v5/consensus-types/interfaces".LightClientUpdate value in argument to db.SaveLightClientUpdate: *"github.com/prysmaticlabs/prysm/v5/proto/eth/v2".LightClientUpdateWithVersion does not implement "github.com/prysmaticlabs/prysm/v5/consensus-types/interfaces".LightClientUpdate (missing method AttestedHeader)
Lint: beacon-chain/db/kv/lightclient_test.go#L63
retrievedUpdate.Data undefined (type "github.com/prysmaticlabs/prysm/v5/consensus-types/interfaces".LightClientUpdate has no field or method Data)
Lint: beacon-chain/db/kv/lightclient_test.go#L112
cannot use &ethpbv2.LightClientUpdateWithVersion{…} (value of type *"github.com/prysmaticlabs/prysm/v5/proto/eth/v2".LightClientUpdateWithVersion) as "github.com/prysmaticlabs/prysm/v5/consensus-types/interfaces".LightClientUpdate value in argument to db.SaveLightClientUpdate: *"github.com/prysmaticlabs/prysm/v5/proto/eth/v2".LightClientUpdateWithVersion does not implement "github.com/prysmaticlabs/prysm/v5/consensus-types/interfaces".LightClientUpdate (missing method AttestedHeader)
Lint: beacon-chain/db/kv/lightclient_test.go#L120
retrievedUpdate.Data undefined (type "github.com/prysmaticlabs/prysm/v5/consensus-types/interfaces".LightClientUpdate has no field or method Data)
Lint: beacon-chain/db/kv/lightclient_test.go#L169
cannot use &ethpbv2.LightClientUpdateWithVersion{…} (value of type *"github.com/prysmaticlabs/prysm/v5/proto/eth/v2".LightClientUpdateWithVersion) as "github.com/prysmaticlabs/prysm/v5/consensus-types/interfaces".LightClientUpdate value in argument to db.SaveLightClientUpdate: *"github.com/prysmaticlabs/prysm/v5/proto/eth/v2".LightClientUpdateWithVersion does not implement "github.com/prysmaticlabs/prysm/v5/consensus-types/interfaces".LightClientUpdate (missing method AttestedHeader)
Lint: beacon-chain/db/kv/lightclient_test.go#L177
retrievedUpdate.Data undefined (type "github.com/prysmaticlabs/prysm/v5/consensus-types/interfaces".LightClientUpdate has no field or method Data)
Lint: beacon-chain/db/kv/lightclient_test.go#L223
cannot use update (variable of type *"github.com/prysmaticlabs/prysm/v5/proto/eth/v2".LightClientUpdateWithVersion) as "github.com/prysmaticlabs/prysm/v5/consensus-types/interfaces".LightClientUpdate value in argument to db.SaveLightClientUpdate: *"github.com/prysmaticlabs/prysm/v5/proto/eth/v2".LightClientUpdateWithVersion does not implement "github.com/prysmaticlabs/prysm/v5/consensus-types/interfaces".LightClientUpdate (missing method AttestedHeader)
Lint: beacon-chain/db/kv/lightclient_test.go#L232
retrievedUpdatesMap[uint64(i + 1)].Data undefined (type "github.com/prysmaticlabs/prysm/v5/consensus-types/interfaces".LightClientUpdate has no field or method Data)
Lint: beacon-chain/db/kv/lightclient_test.go#L280
cannot use update (variable of type *"github.com/prysmaticlabs/prysm/v5/proto/eth/v2".LightClientUpdateWithVersion) as "github.com/prysmaticlabs/prysm/v5/consensus-types/interfaces".LightClientUpdate value in argument to db.SaveLightClientUpdate: *"github.com/prysmaticlabs/prysm/v5/proto/eth/v2".LightClientUpdateWithVersion does not implement "github.com/prysmaticlabs/prysm/v5/consensus-types/interfaces".LightClientUpdate (missing method AttestedHeader)
Lint: beacon-chain/db/kv/lightclient_test.go#L335
cannot use update (variable of type *"github.com/prysmaticlabs/prysm/v5/proto/eth/v2".LightClientUpdateWithVersion) as "github.com/prysmaticlabs/prysm/v5/consensus-types/interfaces".LightClientUpdate value in argument to db.SaveLightClientUpdate: *"github.com/prysmaticlabs/prysm/v5/proto/eth/v2".LightClientUpdateWithVersion does not implement "github.com/prysmaticlabs/prysm/v5/consensus-types/interfaces".LightClientUpdate (missing method AttestedHeader)
Build: beacon-chain/core/light-client/lightclient_test.go#L22
not enough arguments in call to lightClient.NewLightClientOptimisticUpdateFromBeaconState
Build: beacon-chain/core/light-client/lightclient_test.go#L27
cannot use update.SyncAggregate (value of type func() *"github.com/prysmaticlabs/prysm/v5/proto/prysm/v1alpha1".SyncAggregate) as *"github.com/prysmaticlabs/prysm/v5/proto/eth/v1".SyncAggregate value in argument to l.CheckSyncAggregate
Build: beacon-chain/core/light-client/lightclient_test.go#L28
cannot use update.AttestedHeader (value of type func() "github.com/prysmaticlabs/prysm/v5/consensus-types/interfaces".LightClientHeader) as *"github.com/prysmaticlabs/prysm/v5/proto/eth/v2".LightClientHeaderContainer value in argument to l.CheckAttestedHeader
Build: beacon-chain/core/light-client/lightclient_test.go#L34
not enough arguments in call to lightClient.NewLightClientOptimisticUpdateFromBeaconState
Build: beacon-chain/core/light-client/lightclient_test.go#L40
cannot use update.SyncAggregate (value of type func() *"github.com/prysmaticlabs/prysm/v5/proto/prysm/v1alpha1".SyncAggregate) as *"github.com/prysmaticlabs/prysm/v5/proto/eth/v1".SyncAggregate value in argument to l.CheckSyncAggregate
Build: beacon-chain/core/light-client/lightclient_test.go#L41
cannot use update.AttestedHeader (value of type func() "github.com/prysmaticlabs/prysm/v5/consensus-types/interfaces".LightClientHeader) as *"github.com/prysmaticlabs/prysm/v5/proto/eth/v2".LightClientHeaderContainer value in argument to l.CheckAttestedHeader
Build: beacon-chain/core/light-client/lightclient_test.go#L47
not enough arguments in call to lightClient.NewLightClientOptimisticUpdateFromBeaconState
Build: beacon-chain/core/light-client/lightclient_test.go#L53
cannot use update.SyncAggregate (value of type func() *"github.com/prysmaticlabs/prysm/v5/proto/prysm/v1alpha1".SyncAggregate) as *"github.com/prysmaticlabs/prysm/v5/proto/eth/v1".SyncAggregate value in argument to l.CheckSyncAggregate
Build: beacon-chain/core/light-client/lightclient_test.go#L54
cannot use update.AttestedHeader (value of type func() "github.com/prysmaticlabs/prysm/v5/consensus-types/interfaces".LightClientHeader) as *"github.com/prysmaticlabs/prysm/v5/proto/eth/v2".LightClientHeaderContainer value in argument to l.CheckAttestedHeader
Build: beacon-chain/core/light-client/lightclient_test.go#L63
not enough arguments in call to lightClient.NewLightClientFinalityUpdateFromBeaconState
Gosec scan
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Lint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Lint
Unexpected input(s) 'id', valid inputs are ['go-version', 'go-version-file', 'check-latest', 'token', 'cache', 'cache-dependency-path', 'architecture']
Build
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Build
Restore cache failed: Dependencies file is not found in /home/runner/work/prysm/prysm. Supported file pattern: go.sum