Skip to content

Commit

Permalink
Update rollup/internal/controller/relayer/l2_relayer.go
Browse files Browse the repository at this point in the history
Co-authored-by: HAOYUatHZ <[email protected]>
  • Loading branch information
colinlyguo and 0xmountaintop authored Oct 8, 2023
1 parent 74f93df commit 27b57af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rollup/internal/controller/relayer/l2_relayer.go
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@ func (r *Layer2Relayer) ProcessPendingBatches() {
if types.RollupStatus(batch.RollupStatus) == types.RollupCommitFailed {
// use eth_estimateGas if this batch has been committed failed.
fallbackGasLimit = 0
log.Warn("Batch commit previously failed, using eth_estimateGas for next submission", "hash", batch.Hash)
log.Warn("Batch commit previously failed, using eth_estimateGas for the re-submission", "hash", batch.Hash)
}
txHash, err := r.commitSender.SendTransaction(txID, &r.cfg.RollupContractAddress, big.NewInt(0), calldata, fallbackGasLimit)
if err != nil {
Expand Down

0 comments on commit 27b57af

Please sign in to comment.