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

Commit

Permalink
fix: fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
davidtaikocha committed Oct 31, 2023
1 parent 46bad21 commit 76b9768
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion bindings/.githead
Original file line number Diff line number Diff line change
@@ -1 +1 @@
a5d6fef22b30c53ec9b44cd926c0baaff0246804
f596097f3799e58111b3d695b3c0710a685ef7a7
3 changes: 0 additions & 3 deletions driver/driver_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import (

"github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/crypto"
"github.com/ethereum/go-ethereum/log"
"github.com/stretchr/testify/suite"
"github.com/taikoxyz/taiko-client/bindings/encoding"
"github.com/taikoxyz/taiko-client/pkg/jwt"
Expand Down Expand Up @@ -132,9 +131,7 @@ func (s *DriverTestSuite) TestCheckL1ReorgToHigherFork() {
s.Nil(err)

// Propose two L2 blocks
log.Info("111")
testutils.ProposeAndInsertValidBlock(&s.ClientTestSuite, s.p, s.d.ChainSyncer().CalldataSyncer())
log.Info("222")

testutils.ProposeAndInsertValidBlock(&s.ClientTestSuite, s.p, s.d.ChainSyncer().CalldataSyncer())

Expand Down
3 changes: 1 addition & 2 deletions proposer/proposer.go
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,6 @@ func (p *Proposer) sendProposeBlockTx(
isReplacement bool,
) (*types.Transaction, error) {
// Propose the transactions list
log.Info("Max fee", "fee", maxFee, "fees", assignment.TierFees)
opts, err := getTxOpts(ctx, p.rpc.L1, p.proposerPrivKey, p.rpc.L1ChainID, maxFee)
if err != nil {
return nil, err
Expand Down Expand Up @@ -379,8 +378,8 @@ func (p *Proposer) sendProposeBlockTx(

proposeTx, err := p.rpc.TaikoL1.ProposeBlock(
opts,
txListBytes,
encodedParams,
txListBytes,
)
if err != nil {
return nil, encoding.TryParsingCustomError(err)
Expand Down

0 comments on commit 76b9768

Please sign in to comment.