diff --git a/op-batcher/batcher/txmgr.go b/op-batcher/batcher/txmgr.go index 3d19879c9a1a..25637a39377d 100644 --- a/op-batcher/batcher/txmgr.go +++ b/op-batcher/batcher/txmgr.go @@ -107,6 +107,7 @@ func (t *TransactionManager) CraftTx(ctx context.Context, data []byte) (*types.T if err != nil { return nil, err } + _ = gasTipCap childCtx, cancel := context.WithTimeout(ctx, networkTimeout) nonce, err := t.l1Client.NonceAt(childCtx, t.senderAddress, nil) @@ -118,7 +119,7 @@ func (t *TransactionManager) CraftTx(ctx context.Context, data []byte) (*types.T rawTx := &types.LegacyTx{ Nonce: nonce, To: &t.batchInboxAddress, - GasPrice: big.NewInt(0).Add(gasTipCap, gasFeeCap), + GasPrice: gasFeeCap, Data: data, } // rawTx := &types.DynamicFeeTx{ diff --git a/op-proposer/proposer/l2_output_submitter.go b/op-proposer/proposer/l2_output_submitter.go index c38d301b327f..6a6000f44749 100644 --- a/op-proposer/proposer/l2_output_submitter.go +++ b/op-proposer/proposer/l2_output_submitter.go @@ -369,6 +369,7 @@ func (l *L2OutputSubmitter) CreateProposalTx(ctx context.Context, output *eth.Ou if err != nil { return nil, err } + _ = gasTipCap opts := &bind.TransactOpts{ From: l.from, @@ -377,7 +378,7 @@ func (l *L2OutputSubmitter) CreateProposalTx(ctx context.Context, output *eth.Ou }, Context: ctx, Nonce: new(big.Int).SetUint64(nonce), - GasPrice: big.NewInt(0).Add(gasTipCap, gasFeeCap), + GasPrice: gasFeeCap, NoSend: true, }