@@ -10,20 +10,20 @@ import (
1010// Sequencer is a generic interface for a sequencer
1111type 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 )
0 commit comments