From fe696e42a62a38ca8a07c30cd111573417c4392f Mon Sep 17 00:00:00 2001 From: Fangyu Gai Date: Mon, 30 Sep 2024 19:35:27 +0800 Subject: [PATCH] fix e2e --- itest/e2e_test.go | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/itest/e2e_test.go b/itest/e2e_test.go index 32432ad1..fe2ba9d1 100644 --- a/itest/e2e_test.go +++ b/itest/e2e_test.go @@ -12,7 +12,6 @@ import ( "github.com/btcsuite/btcd/btcec/v2" "github.com/stretchr/testify/require" - "github.com/babylonlabs-io/finality-provider/finality-provider/proto" "github.com/babylonlabs-io/finality-provider/types" ) @@ -103,15 +102,6 @@ func TestDoubleSigning(t *testing.T) { t.Logf("the equivocation attack is successful") tm.WaitForFpShutDown(t, fpIns.GetBtcPkBIP340()) - - // try to start all the finality providers and the slashed one should not be restarted - err = tm.Fpa.StartHandlingAll() - require.NoError(t, err) - fps, err := tm.Fpa.ListAllFinalityProvidersInfo() - require.NoError(t, err) - require.Equal(t, 1, len(fps)) - require.Equal(t, proto.FinalityProviderStatus_name[4], fps[0].Status) - require.Equal(t, false, fps[0].IsRunning) } // TestFastSync tests the fast sync process where the finality-provider is terminated and restarted with fast sync