Skip to content

Commit

Permalink
add log
Browse files Browse the repository at this point in the history
  • Loading branch information
giskook committed Dec 2, 2024
1 parent b7743bd commit adfe04e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sequencesender/sequencesender.go
Original file line number Diff line number Diff line change
Expand Up @@ -371,6 +371,7 @@ func (s *SequenceSender) tryToSendSequence(ctx context.Context) {

sequence.SetLastVirtualBatchNumber(atomic.LoadUint64(&s.latestVirtualBatchNumber))

s.logger.Infof("sending sequence to L1. sender addr %s, to %s, data %x", s.cfg.SenderAddress, tx.To(), tx.Data())
gas, err := s.etherman.EstimateGas(ctx, s.cfg.SenderAddress, tx.To(), nil, tx.Data())
if err != nil {
s.logger.Errorf("error estimating gas: ", err)
Expand Down

0 comments on commit adfe04e

Please sign in to comment.