From fc70d02e9d3c863b6ebe59197d5f4d16ca183a71 Mon Sep 17 00:00:00 2001 From: dimkouv Date: Thu, 11 Jul 2024 16:07:24 +0300 Subject: [PATCH] lintfix --- contracts/src/v0.8/ccip/test/helpers/ReportCodec.sol | 4 ++-- core/services/ocr3/plugins/ccipevm/executecodec.go | 1 + core/services/ocr3/plugins/ccipevm/executecodec_test.go | 1 + 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/contracts/src/v0.8/ccip/test/helpers/ReportCodec.sol b/contracts/src/v0.8/ccip/test/helpers/ReportCodec.sol index 81c9204a8b..ca53d512c0 100644 --- a/contracts/src/v0.8/ccip/test/helpers/ReportCodec.sol +++ b/contracts/src/v0.8/ccip/test/helpers/ReportCodec.sol @@ -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)); } } diff --git a/core/services/ocr3/plugins/ccipevm/executecodec.go b/core/services/ocr3/plugins/ccipevm/executecodec.go index 851ed92669..a64c775112 100644 --- a/core/services/ocr3/plugins/ccipevm/executecodec.go +++ b/core/services/ocr3/plugins/ccipevm/executecodec.go @@ -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" diff --git a/core/services/ocr3/plugins/ccipevm/executecodec_test.go b/core/services/ocr3/plugins/ccipevm/executecodec_test.go index 459764d335..4f207fdb0e 100644 --- a/core/services/ocr3/plugins/ccipevm/executecodec_test.go +++ b/core/services/ocr3/plugins/ccipevm/executecodec_test.go @@ -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"