Skip to content

Commit

Permalink
fix e2e
Browse files Browse the repository at this point in the history
  • Loading branch information
gitferry committed Sep 30, 2024
1 parent 688470b commit fe696e4
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions itest/e2e_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)

Expand Down Expand Up @@ -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
Expand Down

0 comments on commit fe696e4

Please sign in to comment.