Skip to content
This repository was archived by the owner on Feb 17, 2025. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pool/pool.go
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ func NewPool(cfg Config, batchConstraintsCfg state.BatchConstraintsCfg, s storag
return p
}

// refresGasPRices refreshes the gas price
// refreshGasPrices refreshes the gas price
func (p *Pool) refreshGasPrices() {
gasPrices, err := p.GetGasPrices(context.Background())
if err != nil {
Expand Down
2 changes: 1 addition & 1 deletion sequencer/forcedbatch.go
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ func (f *finalizer) addForcedTxToWorker(forcedBatchResponse *state.ProcessBatchR
}
}

// handleProcessForcedTxsResponse handles the block/transactions responses for the processed forced batch.
// handleProcessForcedBatchResponse handles the block/transactions responses for the processed forced batch.
func (f *finalizer) handleProcessForcedBatchResponse(ctx context.Context, newBatchNumber uint64, batchResponse *state.ProcessBatchResponse, dbTx pgx.Tx) error {
f.addForcedTxToWorker(batchResponse)

Expand Down
2 changes: 1 addition & 1 deletion sequencer/l2block.go
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ func (f *finalizer) processPendingL2Blocks(ctx context.Context) {
}
}

// storePendingTransactions stores the pending L2 blocks in the database
// storePendingL2Blocks stores the pending L2 blocks in the database
func (f *finalizer) storePendingL2Blocks(ctx context.Context) {
for {
select {
Expand Down