Skip to content

Commit

Permalink
fixed resp
Browse files Browse the repository at this point in the history
  • Loading branch information
itamarreif committed Sep 19, 2024
1 parent fe25c01 commit 1cd1360
Showing 1 changed file with 11 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,21 @@ message BlockCommit {
bytes block_hash = 2;
}

message StreamOptimisticBlockRequest {
// The rollup id for which the Sequencer block is being streamed.
astria.primitive.v1.RollupId rollup_id = 1;
}

message StreamOptimisticBlockResponse {
// The optimistic Sequencer block that is being streamed, filtered for the provided rollup id.
astria.sequencerblock.v1alpha1.FilteredSequencerBlock block = 1;
}

// The Sequencer will serve this to the aucitoneer
service OptimisticBlockService {
// The Sequencer will stream the optimistic Sequencer block (filtered for the provided
// rollup id) to the Auctioneer.
rpc StreamOptimisticBlock(astria.primitive.v1.RollupId) returns (stream astria.sequencerblock.v1alpha1.FilteredSequencerBlock);
rpc StreamOptimisticBlock(StreamOptimisticBlockRequest) returns (stream StreamOptimisticBlockResponse);
// The Sequencer will stream the block commits to the Auctioneer.
rpc StreamBlockCommitments(google.protobuf.Empty) returns (stream BlockCommit);
}

0 comments on commit 1cd1360

Please sign in to comment.