@@ -41,7 +41,6 @@ import (
4141 "github.com/offchainlabs/nitro/pubsub"
4242 "github.com/offchainlabs/nitro/solgen/go/express_lane_auctiongen"
4343 "github.com/offchainlabs/nitro/solgen/go/localgen"
44- pgen "github.com/offchainlabs/nitro/solgen/go/precompilesgen"
4544 "github.com/offchainlabs/nitro/timeboost"
4645 "github.com/offchainlabs/nitro/timeboost/bindings"
4746 "github.com/offchainlabs/nitro/util/arbmath"
@@ -64,16 +63,6 @@ func TestTimeboostTxsTimeoutByBlock(t *testing.T) {
6463 seqClient , seqInfo := builderSeq .L2 .Client , builderSeq .L2Info
6564 defer cleanupSeq ()
6665 seqInfo .GenerateAccount ("User2" )
67- builderSeq .L2 .TransferBalance (t , "Owner" , "User2" , big .NewInt (1e18 ), seqInfo )
68-
69- user2Opts := seqInfo .GetDefaultTransactOpts ("User2" , ctx )
70- becomeChainOwner (t , ctx , user2Opts , seqClient )
71- arbOwner , err := pgen .NewArbOwner (types .ArbOwnerAddress , seqClient )
72- Require (t , err )
73- tx , err := arbOwner .SetMaxTxGasLimit (& user2Opts , 700000000 )
74- Require (t , err )
75- _ , err = EnsureTxSucceeded (ctx , seqClient , tx )
76- Require (t , err )
7766
7867 auctionContract , err := express_lane_auctiongen .NewExpressLaneAuction (auctionContractAddr , seqClient )
7968 Require (t , err )
@@ -108,8 +97,7 @@ func TestTimeboostTxsTimeoutByBlock(t *testing.T) {
10897
10998 var txs types.Transactions
11099 for i := uint64 (0 ); i < numTxs ; i ++ {
111- user2 := seqInfo .GetAddress ("User2" )
112- txs = append (txs , seqInfo .PrepareTxToCustomGas ("Owner" , & user2 , 700000000 , big .NewInt (1e8 ), data )) // this tx should consume one block
100+ txs = append (txs , seqInfo .PrepareTx ("Owner" , "User2" , 700000000 , big .NewInt (1e8 ), data )) // this tx should consume one block
113101 }
114102 // Buffer future sequence numbered txs
115103 for seq := uint64 (1 ); seq < numTxs ; seq ++ {
0 commit comments