Skip to content

update slot viz struct to new design #119

update slot viz struct to new design

update slot viz struct to new design #119

Triggered via pull request March 5, 2024 07:06
Status Failure
Total duration 40s
Artifacts

backend-linter.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
lint: backend/pkg/api/data_access/data_access.go#L1
: # github.com/gobitfly/beaconchain/pkg/api/data_access
lint
undefined: t.VDBSlotVizActiveDuty
lint
slotVizEpochs[epochIdx].Slots[slotIdx].Proposal.Status undefined (type *"github.com/gobitfly/beaconchain/pkg/api/types".VDBSlotVizTuple has no field or method Status)
lint
undefined: t.VDBSlotVizPassiveDuty
lint
slotVizEpochs[epochIdx].Slots[slotIdx].Sync.PendingCount undefined (type *"github.com/gobitfly/beaconchain/pkg/api/types".VDBSlotVizStatus["github.com/gobitfly/beaconchain/pkg/api/types".VDBSlotVizDuty] has no field or method PendingCount)
lint
slotVizEpochs[epochIdx].Slots[slotIdx].Sync.SuccessCount undefined (type *"github.com/gobitfly/beaconchain/pkg/api/types".VDBSlotVizStatus["github.com/gobitfly/beaconchain/pkg/api/types".VDBSlotVizDuty] has no field or method SuccessCount)
lint
slotVizEpochs[epochIdx].Slots[slotIdx].Sync.FailedCount undefined (type *"github.com/gobitfly/beaconchain/pkg/api/types".VDBSlotVizStatus["github.com/gobitfly/beaconchain/pkg/api/types".VDBSlotVizDuty] has no field or method FailedCount)
lint
first argument to append must be a slice; have slotVizEpochs[epochIdx].Slots[slotIdx].Slashing (variable of type *"github.com/gobitfly/beaconchain/pkg/api/types".VDBSlotVizStatus["github.com/gobitfly/beaconchain/pkg/api/types".VDBSlotVizSlashing])
lint
undefined: t.VDBSlotVizActiveDuty
lint
first argument to append must be a slice; have slotVizEpochs[epochIdx].Slots[slotIdx].Slashing (variable of type *"github.com/gobitfly/beaconchain/pkg/api/types".VDBSlotVizStatus["github.com/gobitfly/beaconchain/pkg/api/types".VDBSlotVizSlashing])
lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v4, golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.