diff --git a/contrib/localnet/orchestrator/start-zetae2e.sh b/contrib/localnet/orchestrator/start-zetae2e.sh index 99ab61d700..63064cdd1a 100644 --- a/contrib/localnet/orchestrator/start-zetae2e.sh +++ b/contrib/localnet/orchestrator/start-zetae2e.sh @@ -186,7 +186,8 @@ if [ "$LOCALNET_MODE" == "tss-migrate" ]; then echo "waiting 10 seconds for node to restart" sleep 10 - zetae2e local --skip-setup --config "$deployed_config_path" --skip-bitcoin-setup --light --skip-header-proof + zetae2e local --skip-setup --config "$deployed_config_path" \ + --skip-bitcoin-setup --light --skip-header-proof --skip-precompiles ZETAE2E_EXIT_CODE=$? if [ $ZETAE2E_EXIT_CODE -eq 0 ]; then echo "E2E passed after migration" diff --git a/e2e/e2etests/test_migrate_tss.go b/e2e/e2etests/test_migrate_tss.go index 067623a325..08ec888d71 100644 --- a/e2e/e2etests/test_migrate_tss.go +++ b/e2e/e2etests/test_migrate_tss.go @@ -20,10 +20,11 @@ import ( ) func TestMigrateTSS(r *runner.E2ERunner, _ []string) { + r.SetupBtcAddress(r.Name, false) stop := r.MineBlocksIfLocalBitcoin() defer stop() - // Pause inbound procoessing for tss migration + // Pause inbound processing for tss migration r.Logger.Info("Pause inbound processing") msg := observertypes.NewMsgDisableCCTX( r.ZetaTxServer.MustGetAccountAddressFromName(utils.EmergencyPolicyName), diff --git a/e2e/runner/bitcoin.go b/e2e/runner/bitcoin.go index bec7a1e907..ab322532a8 100644 --- a/e2e/runner/bitcoin.go +++ b/e2e/runner/bitcoin.go @@ -422,6 +422,8 @@ func (r *E2ERunner) QueryOutboundReceiverAndAmount(txid string) (string, int64) // and returns a channel that can be used to stop the mining // If the chain is not local, the function does nothing func (r *E2ERunner) MineBlocksIfLocalBitcoin() func() { + require.NotNil(r, r.BTCDeployerAddress, "E2ERunner.BTCDeployerAddress is nil") + stopChan := make(chan struct{}) go func() { for {