Skip to content

Commit a49a4c2

Browse files
authored
Merge branch 'main' into feat/ev-node-hot-backup
2 parents f8f5af1 + de40783 commit a49a4c2

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

core/sequencer/sequencing.go

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

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

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

docs/learn/sequencing/overview.md

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

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

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

0 commit comments

Comments
 (0)