From 8fca517cdbd911cd7ad4aa126a32f69ca8814cc2 Mon Sep 17 00:00:00 2001 From: Balamurali Gopalswami Date: Fri, 9 Aug 2024 17:44:15 -0400 Subject: [PATCH] Moving reorg suite to actions --- .../{smoke/reorg_suite.go => actions/reorg_helpers.go} | 2 +- integration-tests/ccip-tests/smoke/ccip_test.go | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) rename integration-tests/ccip-tests/{smoke/reorg_suite.go => actions/reorg_helpers.go} (99%) diff --git a/integration-tests/ccip-tests/smoke/reorg_suite.go b/integration-tests/ccip-tests/actions/reorg_helpers.go similarity index 99% rename from integration-tests/ccip-tests/smoke/reorg_suite.go rename to integration-tests/ccip-tests/actions/reorg_helpers.go index 1b089c2af0..959d0ea0e9 100644 --- a/integration-tests/ccip-tests/smoke/reorg_suite.go +++ b/integration-tests/ccip-tests/actions/reorg_helpers.go @@ -1,4 +1,4 @@ -package smoke +package actions import ( "fmt" diff --git a/integration-tests/ccip-tests/smoke/ccip_test.go b/integration-tests/ccip-tests/smoke/ccip_test.go index 35369d5496..162457d171 100644 --- a/integration-tests/ccip-tests/smoke/ccip_test.go +++ b/integration-tests/ccip-tests/smoke/ccip_test.go @@ -1137,7 +1137,7 @@ func testOffRampRateLimits(t *testing.T, rateLimiterConfig contracts.RateLimiter } // SetupReorgSuite defines the setup required to perform re-org step -func SetupReorgSuite(t *testing.T, lggr *zerolog.Logger, setupOutput *testsetups.CCIPTestSetUpOutputs) *ReorgSuite { +func SetupReorgSuite(t *testing.T, lggr *zerolog.Logger, setupOutput *testsetups.CCIPTestSetUpOutputs) *actions.ReorgSuite { var finalitySrc uint64 var finalityDst uint64 if setupOutput.Cfg.SelectedNetworks[0].FinalityTag { @@ -1158,7 +1158,7 @@ func SetupReorgSuite(t *testing.T, lggr *zerolog.Logger, setupOutput *testsetups srcGethHTTPURL = setupOutput.Env.K8Env.URLs["source-chain_http"][0] dstGethHTTPURL = setupOutput.Env.K8Env.URLs["dest-chain_http"][0] } - rs, err := NewReorgSuite(t, lggr, &ReorgConfig{ + rs, err := actions.NewReorgSuite(t, lggr, &actions.ReorgConfig{ SrcGethHTTPURL: srcGethHTTPURL, DstGethHTTPURL: dstGethHTTPURL, SrcFinalityDepth: finalitySrc,