Skip to content

Commit

Permalink
fix integration test
Browse files Browse the repository at this point in the history
  • Loading branch information
RyanRHall committed Jul 31, 2024
1 parent 3925ca6 commit 17369b0
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions core/services/ocr3/plugins/ccip_integration_tests/helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -134,12 +134,17 @@ func createUniverses(
TokenAdminRegistry: tokenAdminRegistry.Address(),
},
evm_2_evm_multi_onramp.EVM2EVMMultiOnRampDynamicConfig{
Router: rout.Address(),
PriceRegistry: priceRegistry.Address(),
// `withdrawFeeTokens` onRamp function is not part of the message flow
// so we can set this to any address
FeeAggregator: testutils.NewAddress(),
},
[]evm_2_evm_multi_onramp.EVM2EVMMultiOnRampDestChainConfigArgs{
{
DestChainSelector: getSelector(chainID),
Router: rout.Address(),
},
},
)
require.NoErrorf(t, err, "failed to deploy onramp on chain id %d", chainID)
backend.Commit()
Expand All @@ -159,11 +164,15 @@ func createUniverses(
NonceManager: nonceManager.Address(),
},
evm_2_evm_multi_offramp.EVM2EVMMultiOffRampDynamicConfig{
Router: rout.Address(),
PriceRegistry: priceRegistry.Address(),
},
// Source chain configs will be set up later once we have all chains
[]evm_2_evm_multi_offramp.EVM2EVMMultiOffRampSourceChainConfigArgs{},
[]evm_2_evm_multi_offramp.EVM2EVMMultiOffRampSourceChainConfigArgs{
{
SourceChainSelector: getSelector(chainID),
Router: rout.Address(),
},
},
)
require.NoErrorf(t, err, "failed to deploy offramp on chain id %d", chainID)
backend.Commit()
Expand Down

0 comments on commit 17369b0

Please sign in to comment.