Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
makramkd committed Jul 9, 2024
1 parent 19b7896 commit a10bad4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion core/services/ocr3/plugins/ccipevm/msghasher.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ func (h *MessageHasherV1) Hash(_ context.Context, msg cciptypes.Message) (ccipty
common.BytesToAddress(msg.Receiver),
uint64(msg.Header.SequenceNumber),
gasLimit,
uint64(msg.Header.Nonce),
msg.Header.Nonce,
)
if err != nil {
return [32]byte{}, fmt.Errorf("abi encode fixed size values: %w", err)
Expand Down
3 changes: 2 additions & 1 deletion core/services/ocr3/plugins/ccipevm/msghasher_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,13 @@ import (
"github.com/ethereum/go-ethereum/accounts/abi/bind/backends"
"github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/core"
"github.com/stretchr/testify/require"

cciptypes "github.com/smartcontractkit/chainlink-common/pkg/types/ccipocr3"
"github.com/smartcontractkit/chainlink/v2/core/chains/evm/assets"
"github.com/smartcontractkit/chainlink/v2/core/chains/evm/utils"
"github.com/smartcontractkit/chainlink/v2/core/gethwrappers/ccip/generated/message_hasher"
"github.com/smartcontractkit/chainlink/v2/core/internal/testutils"
"github.com/stretchr/testify/require"
)

// NOTE: these test cases are only EVM <-> EVM.
Expand Down

0 comments on commit a10bad4

Please sign in to comment.