From 41abe498a6500ab6683e868a64c1f27c16db8340 Mon Sep 17 00:00:00 2001 From: Tanmay Date: Thu, 12 Sep 2024 16:57:43 -0400 Subject: [PATCH] add function to cleanup delegation --- Makefile | 1 + cmd/zetae2e/local/local.go | 24 ++++++++++++------------ 2 files changed, 13 insertions(+), 12 deletions(-) diff --git a/Makefile b/Makefile index 5f8c1fea15..11eed2b732 100644 --- a/Makefile +++ b/Makefile @@ -271,6 +271,7 @@ start-stress-test: zetanode start-tss-migration-test: zetanode @echo "--> Starting tss migration test" + export E2E_ARGS="--test-tss-migration" && \ export LOCALNET_MODE=tss-migrate && \ cd contrib/localnet/ && $(DOCKER_COMPOSE) up -d diff --git a/cmd/zetae2e/local/local.go b/cmd/zetae2e/local/local.go index bbdaee0666..098d8dab5c 100644 --- a/cmd/zetae2e/local/local.go +++ b/cmd/zetae2e/local/local.go @@ -102,13 +102,13 @@ func localE2ETest(cmd *cobra.Command, _ []string) { light = must(cmd.Flags().GetBool(flagLight)) setupOnly = must(cmd.Flags().GetBool(flagSetupOnly)) skipSetup = must(cmd.Flags().GetBool(flagSkipSetup)) - //skipBitcoinSetup = must(cmd.Flags().GetBool(flagSkipBitcoinSetup)) - skipHeaderProof = must(cmd.Flags().GetBool(flagSkipHeaderProof)) - skipTrackerCheck = must(cmd.Flags().GetBool(flagSkipTrackerCheck)) - testTSSMigration = must(cmd.Flags().GetBool(flagTestTSSMigration)) - testV2 = must(cmd.Flags().GetBool(flagTestV2)) - testV2Migration = must(cmd.Flags().GetBool(flagTestV2Migration)) - skipPrecompiles = must(cmd.Flags().GetBool(flagSkipPrecompiles)) + skipBitcoinSetup = must(cmd.Flags().GetBool(flagSkipBitcoinSetup)) + skipHeaderProof = must(cmd.Flags().GetBool(flagSkipHeaderProof)) + skipTrackerCheck = must(cmd.Flags().GetBool(flagSkipTrackerCheck)) + testTSSMigration = must(cmd.Flags().GetBool(flagTestTSSMigration)) + testV2 = must(cmd.Flags().GetBool(flagTestV2)) + testV2Migration = must(cmd.Flags().GetBool(flagTestV2Migration)) + skipPrecompiles = must(cmd.Flags().GetBool(flagSkipPrecompiles)) ) logger := runner.NewLogger(verbose, color.FgWhite, "setup") @@ -325,11 +325,11 @@ func localE2ETest(cmd *cobra.Command, _ []string) { } eg.Go(statefulPrecompilesTestRoutine(conf, deployerRunner, verbose, precompiledContractTests...)) - //eg.Go(erc20TestRoutine(conf, deployerRunner, verbose, erc20Tests...)) - //eg.Go(zetaTestRoutine(conf, deployerRunner, verbose, zetaTests...)) - //eg.Go(zevmMPTestRoutine(conf, deployerRunner, verbose, zevmMPTests...)) - //eg.Go(bitcoinTestRoutine(conf, deployerRunner, verbose, !skipBitcoinSetup, bitcoinTests...)) - //eg.Go(ethereumTestRoutine(conf, deployerRunner, verbose, ethereumTests...)) + eg.Go(erc20TestRoutine(conf, deployerRunner, verbose, erc20Tests...)) + eg.Go(zetaTestRoutine(conf, deployerRunner, verbose, zetaTests...)) + eg.Go(zevmMPTestRoutine(conf, deployerRunner, verbose, zevmMPTests...)) + eg.Go(bitcoinTestRoutine(conf, deployerRunner, verbose, !skipBitcoinSetup, bitcoinTests...)) + eg.Go(ethereumTestRoutine(conf, deployerRunner, verbose, ethereumTests...)) } if testAdmin {