Skip to content

fix issue in CreateDefaultLightClientUpdate function #44875

fix issue in CreateDefaultLightClientUpdate function

fix issue in CreateDefaultLightClientUpdate function #44875

Triggered via pull request November 2, 2024 17:20
Status Failure
Total duration 4m 2s
Artifacts

go.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

26 errors and 5 warnings
Build: consensus-types/light-client/update.go#L602
unknown field nextSyncCommitteeBranchElectra in struct literal of type updateElectra
Build: consensus-types/light-client/update.go#L602
undefined: scBranchElectra
Build: consensus-types/light-client/update.go#L652
cannot use u.nextSyncCommitteeBranch (variable of type [6][32]byte) as [5][32]byte value in return statement
Build: consensus-types/light-client/update.go#L654
cannot use u.nextSyncCommitteeBranch (variable of type [6][32]byte) as [5][32]byte value in return statement
Build: consensus-types/light-client/update.go#L663
cannot use b (variable of type [5][32]byte) as [6][32]byte value in assignment
Build: consensus-types/light-client/update.go#L673
u.nextSyncCommitteeBranchElectra undefined (type *updateElectra has no field or method nextSyncCommitteeBranchElectra, but does have NextSyncCommitteeBranchElectra)
Build: consensus-types/light-client/update.go#L685
u.nextSyncCommitteeBranchElectra undefined (type *updateElectra has no field or method nextSyncCommitteeBranchElectra, but does have NextSyncCommitteeBranchElectra)
Build
Process completed with exit code 1.
Lint: beacon-chain/core/light-client/lightclient.go#L16
could not import github.com/prysmaticlabs/prysm/v5/consensus-types/light-client (-: # github.com/prysmaticlabs/prysm/v5/consensus-types/light-client
Lint: consensus-types/light-client/update.go#L602
unknown field nextSyncCommitteeBranchElectra in struct literal of type updateElectra
Lint: consensus-types/light-client/update.go#L602
undefined: scBranchElectra
Lint: consensus-types/light-client/update.go#L652
cannot use u.nextSyncCommitteeBranch (variable of type [6][32]byte) as [5][32]byte value in return statement
Lint: consensus-types/light-client/update.go#L654
cannot use u.nextSyncCommitteeBranch (variable of type [6][32]byte) as [5][32]byte value in return statement
Lint: consensus-types/light-client/update.go#L663
cannot use b (variable of type [5][32]byte) as [6][32]byte value in assignment
Lint: consensus-types/light-client/update.go#L673
u.nextSyncCommitteeBranchElectra undefined (type *updateElectra has no field or method nextSyncCommitteeBranchElectra, but does have NextSyncCommitteeBranchElectra)
Lint: consensus-types/light-client/update.go#L685
u.nextSyncCommitteeBranchElectra undefined (type *updateElectra has no field or method nextSyncCommitteeBranchElectra, but does have NextSyncCommitteeBranchElectra)) (typecheck)
Lint: beacon-chain/db/kv/lightclient.go#L11
could not import github.com/prysmaticlabs/prysm/v5/consensus-types/light-client (-: # github.com/prysmaticlabs/prysm/v5/consensus-types/light-client
Lint: consensus-types/light-client/update.go#L602
unknown field nextSyncCommitteeBranchElectra in struct literal of type updateElectra
Gosec scan: consensus-types/light-client/update.go#L602
unknown field nextSyncCommitteeBranchElectra in struct literal of type updateElectra
Gosec scan: consensus-types/light-client/update.go#L602
undefined: scBranchElectra
Gosec scan: consensus-types/light-client/update.go#L652
cannot use u.nextSyncCommitteeBranch (variable of type [6][32]byte) as [5][32]byte value in return statement
Gosec scan: consensus-types/light-client/update.go#L654
cannot use u.nextSyncCommitteeBranch (variable of type [6][32]byte) as [5][32]byte value in return statement
Gosec scan: consensus-types/light-client/update.go#L663
cannot use b (variable of type [5][32]byte) as [6][32]byte value in assignment
Gosec scan: consensus-types/light-client/update.go#L673
u.nextSyncCommitteeBranchElectra undefined (type *updateElectra has no field or method nextSyncCommitteeBranchElectra, but does have NextSyncCommitteeBranchElectra)
Gosec scan: consensus-types/light-client/update.go#L685
u.nextSyncCommitteeBranchElectra undefined (type *updateElectra has no field or method nextSyncCommitteeBranchElectra, but does have NextSyncCommitteeBranchElectra)
Gosec scan
Process completed with exit code 1.
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
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']
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/