Skip to content

Commit

Permalink
better execution.proto
Browse files Browse the repository at this point in the history
  • Loading branch information
Giulio2002 committed Jul 14, 2023
1 parent 627f557 commit 5829dbe
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions execution/execution.proto
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,9 @@ message InsertBodiesRequest {

message ForkChoice {
types.H256 head_block_hash = 1;
optional types.H256 finalized_block_hash = 2;
optional types.H256 safe_block_hash = 3;
uint64 timeout = 2; // Timeout in milliseconds for fcu before it becomes async.
optional types.H256 finalized_block_hash = 3;
optional types.H256 safe_block_hash = 4;
}

message EmptyMessage {}
Expand All @@ -112,7 +113,7 @@ service Execution {
rpc GetBody(GetSegmentRequest) returns(GetBodyResponse);
rpc IsCanonicalHash(types.H256) returns(IsCanonicalResponse);
rpc GetHeaderHashNumber(types.H256) returns(GetHeaderHashNumberResponse);
rpc GetLastForkChoice(EmptyMessage) returns(ForkChoice);
rpc GetForkChoice(EmptyMessage) returns(ForkChoice);
}


0 comments on commit 5829dbe

Please sign in to comment.