Skip to content

add context

add context #3309

Triggered via pull request August 20, 2024 15:30
Status Success
Total duration 5m 37s
Artifacts

codeql-analysis.yml

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

Annotations

10 errors
Analyze (go)
not enough arguments in call to confighelper.ContractSetConfigArgsForTests
Analyze (go)
cannot use (*OffchainConfigDigester)(nil) (value of type *OffchainConfigDigester) as "github.com/smartcontractkit/libocr/offchainreporting2plus/types".OffchainConfigDigester value in variable declaration: *OffchainConfigDigester does not implement "github.com/smartcontractkit/libocr/offchainreporting2plus/types".OffchainConfigDigester (wrong type for method ConfigDigest)
Analyze (go)
cannot use (*ContractTransmitter)(nil) (value of type *ContractTransmitter) as "github.com/smartcontractkit/libocr/offchainreporting2plus/types".ContractTransmitter value in variable declaration: *ContractTransmitter does not implement "github.com/smartcontractkit/libocr/offchainreporting2plus/types".ContractTransmitter (wrong type for method FromAccount)
Analyze (go)
cannot use (*ReportCodec)(nil) (value of type *ReportCodec) as median.ReportCodec value in variable declaration: *ReportCodec does not implement median.ReportCodec (wrong type for method BuildReport)
Analyze (go)
cannot use digester (variable of type OffchainConfigDigester) as "github.com/smartcontractkit/libocr/offchainreporting2plus/types".OffchainConfigDigester value in struct literal: OffchainConfigDigester does not implement "github.com/smartcontractkit/libocr/offchainreporting2plus/types".OffchainConfigDigester (wrong type for method ConfigDigest)
Analyze (go)
cannot use ReportCodec{} (value of type ReportCodec) as median.ReportCodec value in struct literal: ReportCodec does not implement median.ReportCodec (wrong type for method BuildReport)
Analyze (go)
cannot use NewContractTransmitter(configProvider.reader, rargs.ExternalJobID.String(), configProvider.contractAddr, senderAddr, configProvider.chain.TxManager(), lggr, configProvider.chain.Config()) (value of type *ContractTransmitter) as "github.com/smartcontractkit/libocr/offchainreporting2plus/types".ContractTransmitter value in struct literal: *ContractTransmitter does not implement "github.com/smartcontractkit/libocr/offchainreporting2plus/types".ContractTransmitter (wrong type for method FromAccount)
Analyze (go)
cannot use ReportCodec{} (value of type ReportCodec) as median.ReportCodec value in variable declaration: ReportCodec does not implement median.ReportCodec (wrong type for method BuildReport)
Analyze (go)
cannot use CosmosOffchainConfigDigester{} (value of type CosmosOffchainConfigDigester) as "github.com/smartcontractkit/libocr/offchainreporting2plus/types".OffchainConfigDigester value in variable declaration: CosmosOffchainConfigDigester does not implement "github.com/smartcontractkit/libocr/offchainreporting2plus/types".OffchainConfigDigester (wrong type for method ConfigDigest)
Analyze (go)
cannot use &CosmosModuleTransmitter{} (value of type *CosmosModuleTransmitter) as "github.com/smartcontractkit/libocr/offchainreporting2plus/types".ContractTransmitter value in variable declaration: *CosmosModuleTransmitter does not implement "github.com/smartcontractkit/libocr/offchainreporting2plus/types".ContractTransmitter (wrong type for method FromAccount)