Skip to content

Commit

Permalink
lintfix
Browse files Browse the repository at this point in the history
  • Loading branch information
dimkouv committed Jul 11, 2024
1 parent 6c1f4cb commit fc70d02
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contracts/src/v0.8/ccip/test/helpers/ReportCodec.sol
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ contract ReportCodec {
event ExecuteReportDecoded(Internal.ExecutionReportSingleChain[] report);
event CommitReportDecoded(EVM2EVMMultiOffRamp.CommitReport report);

function decodeExecuteReport(bytes memory report) public pure returns (Internal.ExecutionReportSingleChain[] memory){
function decodeExecuteReport(bytes memory report) public pure returns (Internal.ExecutionReportSingleChain[] memory) {
return abi.decode(report, (Internal.ExecutionReportSingleChain[]));
}

function decodeCommitReport(bytes memory report) public pure returns (EVM2EVMMultiOffRamp.CommitReport memory){
function decodeCommitReport(bytes memory report) public pure returns (EVM2EVMMultiOffRamp.CommitReport memory) {
return abi.decode(report, (EVM2EVMMultiOffRamp.CommitReport));
}
}
1 change: 1 addition & 0 deletions core/services/ocr3/plugins/ccipevm/executecodec.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import (

"github.com/ethereum/go-ethereum/accounts/abi"
"github.com/ethereum/go-ethereum/common"

cciptypes "github.com/smartcontractkit/chainlink-common/pkg/types/ccipocr3"

"github.com/smartcontractkit/chainlink/v2/core/gethwrappers/ccip/generated/evm_2_evm_multi_offramp"
Expand Down
1 change: 1 addition & 0 deletions core/services/ocr3/plugins/ccipevm/executecodec_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import (
"github.com/ethereum/go-ethereum/accounts/abi/bind"
"github.com/ethereum/go-ethereum/accounts/abi/bind/backends"
"github.com/ethereum/go-ethereum/core"

cciptypes "github.com/smartcontractkit/chainlink-common/pkg/types/ccipocr3"

"github.com/smartcontractkit/chainlink/v2/core/chains/evm/assets"
Expand Down

0 comments on commit fc70d02

Please sign in to comment.