Skip to content

Commit

Permalink
Fix import paths (#1316)
Browse files Browse the repository at this point in the history
## Motivation


## Solution
  • Loading branch information
connorwstein authored Aug 19, 2024
1 parent cc8d128 commit f1f63fd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
10 changes: 5 additions & 5 deletions integration-tests/deployment/ccip/deploy.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ import (
"github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/core/types"
owner_helpers "github.com/smartcontractkit/ccip-owner-contracts/gethwrappers"
deployment2 "github.com/smartcontractkit/ccip/integration-tests/deployment"

"github.com/smartcontractkit/chainlink/integration-tests/deployment"

"github.com/smartcontractkit/chainlink/v2/core/gethwrappers/ccip/generated/ccip_config"
"github.com/smartcontractkit/chainlink/v2/core/gethwrappers/ccip/generated/maybe_revert_message_receiver"

"github.com/smartcontractkit/chainlink-common/pkg/logger"
"github.com/smartcontractkit/chainlink/integration-tests/deployment"
"github.com/smartcontractkit/chainlink/v2/core/gethwrappers/ccip/generated/arm_proxy_contract"
"github.com/smartcontractkit/chainlink/v2/core/gethwrappers/ccip/generated/evm_2_evm_multi_offramp"
"github.com/smartcontractkit/chainlink/v2/core/gethwrappers/ccip/generated/evm_2_evm_multi_onramp"
Expand Down Expand Up @@ -118,7 +118,7 @@ type DeployCCIPContractConfig struct {
// Deployment produces an address book of everything it deployed.
func DeployCCIPContracts(e deployment.Environment, c DeployCCIPContractConfig) (deployment.AddressBook, error) {
ab := deployment.NewMemoryAddressBook()
nodes, err := deployment2.NodeInfo(e.NodeIDs, e.Offchain)
nodes, err := deployment.NodeInfo(e.NodeIDs, e.Offchain)
if err != nil {
e.Logger.Errorw("Failed to get node info", "err", err)
return ab, err
Expand Down Expand Up @@ -481,11 +481,11 @@ func AddLane(e deployment.Environment, state CCIPOnChainState, from, to uint64)
TokenPriceUpdates: []price_registry.InternalTokenPriceUpdate{
{
SourceToken: state.LinkTokens[from].Address(),
UsdPerToken: deployment2.E18Mult(20),
UsdPerToken: deployment.E18Mult(20),
},
{
SourceToken: state.Weth9s[from].Address(),
UsdPerToken: deployment2.E18Mult(4000),
UsdPerToken: deployment.E18Mult(4000),
},
},
GasPriceUpdates: []price_registry.InternalGasPriceUpdate{
Expand Down
4 changes: 1 addition & 3 deletions integration-tests/deployment/ccip/deploy_home_chain.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ import (
confighelper2 "github.com/smartcontractkit/libocr/offchainreporting2plus/confighelper"
"github.com/smartcontractkit/libocr/offchainreporting2plus/ocr3confighelper"

deployment2 "github.com/smartcontractkit/ccip/integration-tests/deployment"

"github.com/smartcontractkit/chainlink-ccip/chainconfig"
"github.com/smartcontractkit/chainlink-ccip/pluginconfig"
commonconfig "github.com/smartcontractkit/chainlink-common/pkg/config"
Expand Down Expand Up @@ -204,7 +202,7 @@ func AddDON(
f uint8,
bootstrapP2PID [32]byte,
p2pIDs [][32]byte,
nodes []deployment2.Node,
nodes []deployment.Node,
) error {
sortP2PIDS(p2pIDs)
// Get OCR3 Config from helper
Expand Down

0 comments on commit f1f63fd

Please sign in to comment.