Skip to content

Satisfy Relayer interface with unsupported NewContractReader impl. #2926

Satisfy Relayer interface with unsupported NewContractReader impl.

Satisfy Relayer interface with unsupported NewContractReader impl. #2926

Triggered via pull request May 23, 2024 14:27
Status Success
Total duration 5m 47s
Artifacts

codeql-analysis.yml

on: pull_request
Matrix: Analyze
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Analyze (go)
cannot use &Relayer{} (value of type *Relayer) as "github.com/smartcontractkit/chainlink-common/pkg/types".Relayer value in variable declaration: *Relayer does not implement "github.com/smartcontractkit/chainlink-common/pkg/types".Relayer (missing method NewContractReader)
Analyze (go)
cannot use (*relayer)(nil) (value of type *relayer) as "github.com/smartcontractkit/chainlink-common/pkg/types".Relayer value in variable declaration: *relayer does not implement "github.com/smartcontractkit/chainlink-common/pkg/types".Relayer (missing method NewContractReader)
Analyze (go)
no required module provides package github.com/smartcontractkit/chainlink-common/pkg/capabilities/mercury; to add it:
Analyze (go)
could not import github.com/smartcontractkit/chainlink-common/pkg/capabilities/mercury (invalid package name: "")
Analyze (go)
could not import github.com/smartcontractkit/chainlink-common/pkg/capabilities/mercury (invalid package name: "")
Analyze (go)
cannot use mc (variable of type streams.Codec) as datastreams.ReportCodec value in argument to datafeeds.NewDataFeedsAggregator: streams.Codec does not implement datastreams.ReportCodec (missing method UnwrapValid)
Analyze (go)
not enough arguments in call to triggers.NewMercuryRemoteAggregator
Analyze (go)
could not import github.com/smartcontractkit/chainlink-common/pkg/capabilities/mercury (invalid package name: "")
Analyze (go)
cannot use &Relayer{} (value of type *Relayer) as "github.com/smartcontractkit/chainlink-common/pkg/types".Relayer value in variable declaration: *Relayer does not implement "github.com/smartcontractkit/chainlink-common/pkg/types".Relayer (missing method NewContractReader)
Analyze (go)
cannot use r (variable of type *Relayer) as "github.com/smartcontractkit/chainlink-common/pkg/types".Relayer value in argument to relay.NewServerAdapter: *Relayer does not implement "github.com/smartcontractkit/chainlink-common/pkg/types".Relayer (missing method NewContractReader)