Skip to content

Commit

Permalink
fix(taiko-client): record lastProposedAt after ontake fork (#18166)
Browse files Browse the repository at this point in the history
  • Loading branch information
YoGhurt111 authored Sep 24, 2024
1 parent d0c0fed commit ea0ca90
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion packages/taiko-client/proposer/proposer.go
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,11 @@ func (p *Proposer) ProposeTxLists(ctx context.Context, txLists []types.Transacti
}

// If the current L2 chain is after ontake fork, batch propose all L2 transactions lists.
return p.ProposeTxListOntake(ctx, txLists)
if err := p.ProposeTxListOntake(ctx, txLists); err != nil {
return err
}
p.lastProposedAt = time.Now()
return nil
}

// ProposeTxListLegacy proposes the given transactions list to TaikoL1 smart contract.
Expand Down

0 comments on commit ea0ca90

Please sign in to comment.