Skip to content

feat: aggregator should check if gas is enough before respondToTask #3173

feat: aggregator should check if gas is enough before respondToTask

feat: aggregator should check if gas is enough before respondToTask #3173

Triggered via pull request September 5, 2024 21:28
Status Failure
Total duration 19s
Artifacts

golangci-lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
lint: core/chainio/avs_reader.go#L1
: # github.com/yetanotherco/aligned_layer/core/chainio
lint: core/chainio/avs_writer.go#L132
batchState.MaxFeeAllowedToRespond undefined (type struct{TaskCreatedBlock uint32; Responded bool; RespondToTaskFeeLimit *big.Int} has no field or method MaxFeeAllowedToRespond)
lint: core/chainio/avs_writer.go#L134
batchState.MaxFeeAllowedToRespond undefined (type struct{TaskCreatedBlock uint32; Responded bool; RespondToTaskFeeLimit *big.Int} has no field or method MaxFeeAllowedToRespond) (typecheck)
lint: aggregator/internal/pkg/aggregator.go#L24
could not import github.com/yetanotherco/aligned_layer/core/chainio (-: # github.com/yetanotherco/aligned_layer/core/chainio
lint: core/chainio/avs_writer.go#L132
batchState.MaxFeeAllowedToRespond undefined (type struct{TaskCreatedBlock uint32; Responded bool; RespondToTaskFeeLimit *big.Int} has no field or method MaxFeeAllowedToRespond)
lint: core/chainio/avs_writer.go#L134
batchState.MaxFeeAllowedToRespond undefined (type struct{TaskCreatedBlock uint32; Responded bool; RespondToTaskFeeLimit *big.Int} has no field or method MaxFeeAllowedToRespond)) (typecheck)
lint: operator/pkg/operator.go#L33
could not import github.com/yetanotherco/aligned_layer/core/chainio (-: # github.com/yetanotherco/aligned_layer/core/chainio
lint: core/chainio/avs_writer.go#L132
batchState.MaxFeeAllowedToRespond undefined (type struct{TaskCreatedBlock uint32; Responded bool; RespondToTaskFeeLimit *big.Int} has no field or method MaxFeeAllowedToRespond)
lint: core/chainio/avs_writer.go#L134
batchState.MaxFeeAllowedToRespond undefined (type struct{TaskCreatedBlock uint32; Responded bool; RespondToTaskFeeLimit *big.Int} has no field or method MaxFeeAllowedToRespond)) (typecheck)
lint
issues found