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

Commit

Permalink
rm test log
Browse files Browse the repository at this point in the history
  • Loading branch information
cyberhorsey committed Jun 27, 2023
1 parent 4dbaa85 commit 941e026
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions testutils/suite.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ package testutils
import (
"context"
"crypto/ecdsa"
"fmt"
"math"
"math/big"
"os"
Expand Down Expand Up @@ -93,16 +92,9 @@ func (s *ClientTestSuite) SetupTest() {
proverOpts, err := bind.NewKeyedTransactorWithChainID(l1ProverPrivKey, rpcCli.L1ChainID)
s.Nil(err)

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

fmt.Println("prover balance", "balance", balance.String())

proverInfo, err := s.RpcClient.TaikoProverPoolL1.GetStaker(nil, crypto.PubkeyToAddress(l1ProverPrivKey.PublicKey))
s.Nil(err)

log.Info("proverInfo", "proverId", proverInfo.Staker.ProverId, "capacity", proverInfo.Staker.MaxCapacity)

if proverInfo.Staker.ProverId == 0 {

minStakePerCapacity, err := s.RpcClient.TaikoProverPoolL1.MINSTAKEPERCAPACITY(nil)
Expand Down

0 comments on commit 941e026

Please sign in to comment.