Skip to content

Commit

Permalink
Fix (#15382)
Browse files Browse the repository at this point in the history
  • Loading branch information
mateusz-sekara authored Nov 22, 2024
1 parent 31bced9 commit 7b3ef94
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 3 additions & 1 deletion deployment/ccip/changeset/test_helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -308,13 +308,15 @@ func NewMemoryEnvironmentWithJobsAndContracts(t *testing.T, lggr logger.Logger,
var usdcCfg USDCAttestationConfig
if len(usdcChains) > 0 {
server := mockAttestationResponse()
defer server.Close()
endpoint := server.URL
usdcCfg = USDCAttestationConfig{
API: endpoint,
APITimeout: commonconfig.MustNewDuration(time.Second),
APIInterval: commonconfig.MustNewDuration(500 * time.Millisecond),
}
t.Cleanup(func() {
server.Close()
})
}

// Deploy second set of changesets to deploy and configure the CCIP contracts.
Expand Down
6 changes: 4 additions & 2 deletions integration-tests/smoke/ccip/ccip_usdc_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,11 @@ import (

func TestUSDCTokenTransfer(t *testing.T) {
lggr := logger.TestLogger(t)
tenv, _, _ := testsetups.NewLocalDevEnvironmentWithDefaultPrice(t, lggr, &changeset.TestConfigs{
config := &changeset.TestConfigs{
IsUSDC: true,
})
}
tenv, _, _ := testsetups.NewLocalDevEnvironmentWithDefaultPrice(t, lggr, config)
//tenv := changeset.NewMemoryEnvironmentWithJobsAndContracts(t, lggr, 2, 4, config)

e := tenv.Env
state, err := changeset.LoadOnchainState(e)
Expand Down

0 comments on commit 7b3ef94

Please sign in to comment.