Skip to content

Commit 85cdfa4

Browse files
committed
chore: fix comment for core/sequencer/sequencing.go
Signed-off-by: solunolab <solunolab@outlook.com>
1 parent 10e7217 commit 85cdfa4

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

core/sequencer/sequencing.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,20 +12,20 @@ type Sequencer interface {
1212
// SubmitBatchTxs submits a batch of transactions from executor to sequencer
1313
// Id is the unique identifier for the target chain
1414
// Batch is the batch of transactions to submit
15-
// returns an error if any from the sequencer
15+
// returns any error from the sequencer
1616
SubmitBatchTxs(ctx context.Context, req SubmitBatchTxsRequest) (*SubmitBatchTxsResponse, error)
1717

18-
// GetNextBatch returns the next batch of transactions from sequencer and from DA to
18+
// GetNextBatch returns the next batch of transactions from the sequencer and DA to the chain
1919
// Id is the unique identifier for the target chain
20-
// LastBatchHash is the cryptographic hash of the last batch received by the
20+
// LastBatchHash is the cryptographic hash of the last batch received by the chain
2121
// MaxBytes is the maximum number of bytes to return in the batch
22-
// returns the next batch of transactions and an error if any from the sequencer
22+
// returns the next batch of transactions and any error from the sequencer
2323
GetNextBatch(ctx context.Context, req GetNextBatchRequest) (*GetNextBatchResponse, error)
2424

2525
// VerifyBatch verifies a batch of transactions received from the sequencer
2626
// Id is the unique identifier for the target chain
2727
// BatchHash is the cryptographic hash of the batch to verify
28-
// returns a boolean indicating if the batch is valid and an error if any from the sequencer
28+
// returns whether the batch is valid and any error from the sequencer
2929
VerifyBatch(ctx context.Context, req VerifyBatchRequest) (*VerifyBatchResponse, error)
3030

3131
// SetDAHeight sets the current DA height for the sequencer

0 commit comments

Comments
 (0)