Skip to content

Commit

Permalink
Disable temporarily.
Browse files Browse the repository at this point in the history
  • Loading branch information
winder committed Dec 17, 2024
1 parent 3b10d80 commit 6728772
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions core/capabilities/ccip/ocrimpls/contract_transmitter.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ import (
ocrtypes "github.com/smartcontractkit/libocr/offchainreporting2plus/types"

"github.com/smartcontractkit/chainlink-ccip/pkg/consts"
"github.com/smartcontractkit/chainlink-ccip/pkg/types/ccipocr3"
commontypes "github.com/smartcontractkit/chainlink-common/pkg/types"
"github.com/smartcontractkit/chainlink/v2/core/services/keystore/keys/ocr2key"
)
Expand Down Expand Up @@ -52,22 +51,24 @@ func ToExecCalldata(rawReportCtx [2][32]byte, report ocr3types.ReportWithInfo[[]
// If, for whatever reason, we want to change the field name, make sure to add a `mapstructure:"<arg_name>"` tag
// for that field.

info, err := ccipocr3.DecodeExecuteReportInfo(report.Info)
if err != nil {
return nil, err
}
/*
info, err := ccipocr3.DecodeExecuteReportInfo(report.Info)
if err != nil {
return nil, err
}
*/

// WARNING: Be careful if you change the data types.
// Using a different type e.g. `type Foo [32]byte` instead of `[32]byte`
// will trigger undefined chainWriter behavior, e.g. transactions submitted with wrong arguments.
return struct {
ReportContext [2][32]byte
Report []byte
Info ccipocr3.ExecuteReportInfo
//Info ccipocr3.ExecuteReportInfo

Check failure on line 67 in core/capabilities/ccip/ocrimpls/contract_transmitter.go

View workflow job for this annotation

GitHub Actions / lint

commentFormatting: put a space between `//` and comment text (gocritic)
}{
ReportContext: rawReportCtx,
Report: report.Report,
Info: info,
//Info: info,
}, nil
}

Expand Down

0 comments on commit 6728772

Please sign in to comment.