From 5daeca302dc8627de49f6120a00689e758d8ed77 Mon Sep 17 00:00:00 2001 From: AnieeG Date: Wed, 26 Feb 2025 14:36:31 -0800 Subject: [PATCH] fix lint --- deployment/ccip/changeset/state.go | 4 ++-- deployment/ccip/changeset/state_test.go | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/deployment/ccip/changeset/state.go b/deployment/ccip/changeset/state.go index ae72a4c76ae..5ada30d16f6 100644 --- a/deployment/ccip/changeset/state.go +++ b/deployment/ccip/changeset/state.go @@ -1044,9 +1044,9 @@ func LoadChainState(ctx context.Context, chain deployment.Chain, addresses map[s default: if tvStr.Type == commontypes.ManyChainMultisig && tvStr.Version == deployment.Version1_0_0 { state.ABIByAddress[address] = gethwrappers.ManyChainMultiSigABI - } else { - return state, fmt.Errorf("unknown contract %s", tvStr) + continue } + return state, fmt.Errorf("unknown contract %s", tvStr) } } return state, nil diff --git a/deployment/ccip/changeset/state_test.go b/deployment/ccip/changeset/state_test.go index 7cace389542..9a4c0728144 100644 --- a/deployment/ccip/changeset/state_test.go +++ b/deployment/ccip/changeset/state_test.go @@ -3,9 +3,10 @@ package changeset_test import ( "testing" - "github.com/smartcontractkit/chainlink-integrations/evm/utils" "github.com/stretchr/testify/require" + "github.com/smartcontractkit/chainlink-integrations/evm/utils" + "github.com/smartcontractkit/chainlink/deployment" "github.com/smartcontractkit/chainlink/deployment/ccip/changeset" "github.com/smartcontractkit/chainlink/deployment/ccip/changeset/testhelpers"