Skip to content

Commit

Permalink
add function to cleanup delegation
Browse files Browse the repository at this point in the history
  • Loading branch information
kingpinXD committed Sep 12, 2024
1 parent 8c91c98 commit 41abe49
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 12 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
24 changes: 12 additions & 12 deletions cmd/zetae2e/local/local.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down Expand Up @@ -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 {
Expand Down

0 comments on commit 41abe49

Please sign in to comment.