From 76b9768f3394a336756bc3cb9a9f85d1bed630f3 Mon Sep 17 00:00:00 2001 From: David Date: Tue, 31 Oct 2023 18:12:54 +0800 Subject: [PATCH] fix: fix tests --- bindings/.githead | 2 +- driver/driver_test.go | 3 --- proposer/proposer.go | 3 +-- 3 files changed, 2 insertions(+), 6 deletions(-) diff --git a/bindings/.githead b/bindings/.githead index a69a56436..b951a5604 100644 --- a/bindings/.githead +++ b/bindings/.githead @@ -1 +1 @@ -a5d6fef22b30c53ec9b44cd926c0baaff0246804 +f596097f3799e58111b3d695b3c0710a685ef7a7 diff --git a/driver/driver_test.go b/driver/driver_test.go index f6e76acd0..f22cc4fa7 100644 --- a/driver/driver_test.go +++ b/driver/driver_test.go @@ -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" @@ -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()) diff --git a/proposer/proposer.go b/proposer/proposer.go index e18774d2b..d83f9501b 100644 --- a/proposer/proposer.go +++ b/proposer/proposer.go @@ -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 @@ -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)