Skip to content
This repository has been archived by the owner on May 11, 2024. It is now read-only.

Commit

Permalink
rm prover test
Browse files Browse the repository at this point in the history
  • Loading branch information
cyberhorsey committed Aug 1, 2023
1 parent bcb557d commit 6bea57b
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions prover/config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ var testFlags = []cli.Flag{
&cli.Uint64Flag{Name: flags.CheckProofWindowExpiredInterval.Name},
&cli.BoolFlag{Name: flags.ProveUnassignedBlocks.Name},
&cli.Uint64Flag{Name: flags.RPCTimeout.Name},
&cli.Uint64Flag{Name: flags.WaitReceiptTimeout.Name},
}

func (s *ProverTestSuite) TestNewConfigFromCliContext_OracleProver() {
Expand Down Expand Up @@ -66,7 +65,6 @@ func (s *ProverTestSuite) TestNewConfigFromCliContext_OracleProver() {
s.Equal("", c.Graffiti)
s.Equal(30*time.Second, c.CheckProofWindowExpiredInterval)
s.Equal(true, c.ProveUnassignedBlocks)
s.Equal(10*time.Second, c.WaitReceiptTimeout)
s.Nil(c.RPCTimeout)
s.Nil(new(Prover).InitFromCli(context.Background(), ctx))

Expand All @@ -90,7 +88,6 @@ func (s *ProverTestSuite) TestNewConfigFromCliContext_OracleProver() {
"-" + flags.Graffiti.Name, "",
"-" + flags.CheckProofWindowExpiredInterval.Name, "30",
"-" + flags.ProveUnassignedBlocks.Name, "true",
"-" + flags.WaitReceiptTimeout.Name, "10",
}))
}

Expand Down Expand Up @@ -126,6 +123,5 @@ func (s *ProverTestSuite) TestNewConfigFromCliContext_OracleProverError() {
"-" + flags.OracleProver.Name,
"-" + flags.Graffiti.Name, "",
"-" + flags.RPCTimeout.Name, "5",
"-" + flags.WaitReceiptTimeout.Name, "10",
}), "oracleProver flag set without oracleProverPrivateKey set")
}

0 comments on commit 6bea57b

Please sign in to comment.