Skip to content

Commit

Permalink
validationRequest
Browse files Browse the repository at this point in the history
  • Loading branch information
Giulio2002 committed Jul 23, 2023
1 parent 5fb6594 commit b0f20d7
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion execution/execution.proto
Original file line number Diff line number Diff line change
Expand Up @@ -102,12 +102,17 @@ message InsertionResult {
ValidationStatus result = 1;
}

message ValidationRequest {
types.H256 hash = 1;
uint64 number = 2;
}

service Execution {
// Chain Putters.
rpc InsertHeaders(InsertHeadersRequest) returns(InsertionResult);
rpc InsertBodies(InsertBodiesRequest) returns(InsertionResult);
// Chain Validation and ForkChoice.
rpc ValidateChain(types.H256) returns(ValidationReceipt);
rpc ValidateChain(ValidationRequest) returns(ValidationReceipt);
rpc UpdateForkChoice(ForkChoice) returns(ForkChoiceReceipt);
rpc AssembleBlock(google.protobuf.Empty) returns(types.ExecutionPayload); // Builds on top of current head.
// Chain Getters.
Expand Down

0 comments on commit b0f20d7

Please sign in to comment.