diff --git a/go.mod b/go.mod index 22386ee..f3e7e81 100644 --- a/go.mod +++ b/go.mod @@ -7,7 +7,7 @@ require ( github.com/pkg/errors v0.9.1 github.com/shopspring/decimal v1.3.1 github.com/smartcontractkit/chain-selectors v1.0.5 - github.com/smartcontractkit/chainlink-common v0.1.7-0.20240216181624-ccf0da042f11 + github.com/smartcontractkit/chainlink-common v0.1.7-0.20240220165243-0b144b02fd8d github.com/smartcontractkit/libocr v0.0.0-20240112202000-6359502d2ff1 github.com/stretchr/testify v1.8.4 google.golang.org/protobuf v1.32.0 diff --git a/go.sum b/go.sum index 1e3ab61..d84a3a7 100644 --- a/go.sum +++ b/go.sum @@ -209,6 +209,10 @@ github.com/smartcontractkit/chain-selectors v1.0.5 h1:NOefQsogPZS4aBbWPFrgAyoke0 github.com/smartcontractkit/chain-selectors v1.0.5/go.mod h1:WBhLlODF5b95vvx2tdKK55vGACg1+qZpuBhOGu1UXVo= github.com/smartcontractkit/chainlink-common v0.1.7-0.20240216181624-ccf0da042f11 h1:zazCJSjz60/V5B8+8LxLX7BrtN1AXGUv+B/E1Xrq2OA= github.com/smartcontractkit/chainlink-common v0.1.7-0.20240216181624-ccf0da042f11/go.mod h1:6aXWSEQawX2oZXcPPOdxnEGufAhj7PqPKolXf6ijRGA= +github.com/smartcontractkit/chainlink-common v0.1.7-0.20240220164325-44ed6b4009cb h1:E0K6uq+9SjpktUeqTg8NVarUAfwRBL/reIuZb4msrtA= +github.com/smartcontractkit/chainlink-common v0.1.7-0.20240220164325-44ed6b4009cb/go.mod h1:6aXWSEQawX2oZXcPPOdxnEGufAhj7PqPKolXf6ijRGA= +github.com/smartcontractkit/chainlink-common v0.1.7-0.20240220165243-0b144b02fd8d h1:OOezTy1Z4sITGuOx3oegof47O0AbloW/YLPjzVLXn1E= +github.com/smartcontractkit/chainlink-common v0.1.7-0.20240220165243-0b144b02fd8d/go.mod h1:6aXWSEQawX2oZXcPPOdxnEGufAhj7PqPKolXf6ijRGA= github.com/smartcontractkit/go-plugin v0.0.0-20240208201424-b3b91517de16 h1:TFe+FvzxClblt6qRfqEhUfa4kFQx5UobuoFGO2W4mMo= github.com/smartcontractkit/go-plugin v0.0.0-20240208201424-b3b91517de16/go.mod h1:lBS5MtSSBZk0SHc66KACcjjlU6WzEVP/8pwz68aMkCI= github.com/smartcontractkit/grpc-proxy v0.0.0-20230731113816-f1be6620749f h1:hgJif132UCdjo8u43i7iPN1/MFnu49hv7lFGFftCHKU= diff --git a/llo/plugin.go b/llo/plugin.go index 10caa98..770dad3 100644 --- a/llo/plugin.go +++ b/llo/plugin.go @@ -88,14 +88,6 @@ type PredecessorRetirementReportCache interface { CheckAttestedRetirementReport(predecessorConfigDigest ocr2types.ConfigDigest, attestedRetirementReport []byte) (RetirementReport, error) } -const ( - ReportFormatEVM llotypes.ReportFormat = iota - ReportFormatJSON - ReportFormatSolana - ReportFormatCosmos - ReportFormatStarknet -) - // MakeChannelHash is used for mapping ChannelDefinitionWithIDs func MakeChannelHash(cd ChannelDefinitionWithID) ChannelHash { h := sha256.New() @@ -835,7 +827,7 @@ func (p *LLOPlugin) Reports(seqNr uint64, rawOutcome ocr3types.Outcome) ([]ocr3t Report: must(json.Marshal(retirementReport)), Info: llotypes.ReportInfo{ LifeCycleStage: outcome.LifeCycleStage, - ReportFormat: ReportFormatJSON, + ReportFormat: llotypes.ReportFormatJSON, }, }) }