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

Commit

Permalink
remove unused code, fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
RogerLamTd committed Nov 30, 2023
1 parent 8b5eaeb commit 5f3de6e
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions testutils/suite.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,12 +79,6 @@ func (s *ClientTestSuite) SetupTest() {
s.ProverEndpoints = []*url.URL{LocalRandomProverEndpoint()}
s.proverServer = NewTestProverServer(s, l1ProverPrivKey, capacity.New(1024), s.ProverEndpoints[0])

// allowance, err := rpcCli.TaikoToken.Allowance(
// nil,
// crypto.PubkeyToAddress(l1ProverPrivKey.PublicKey),
// common.HexToAddress("TAIKO_L1_ADDRESS"),
// )

balance, err := rpcCli.TaikoToken.BalanceOf(nil, crypto.PubkeyToAddress(l1ProverPrivKey.PublicKey))
s.Nil(err)

Expand Down Expand Up @@ -113,7 +107,7 @@ func (s *ClientTestSuite) SetupTest() {
_, err = rpc.WaitReceipt(context.Background(), rpcCli.L1, tx)
s.Nil(err)

// Deposit taiko tokens for provers.
// Increase allowance for AssignmentHook and TaikoL1
opts, err = bind.NewKeyedTransactorWithChainID(l1ProverPrivKey, rpcCli.L1ChainID)
s.Nil(err)

Expand Down

0 comments on commit 5f3de6e

Please sign in to comment.