Skip to content

Commit

Permalink
Add SessionReplaceMemoryRange
Browse files Browse the repository at this point in the history
Signed-off-by: Carsten Munk <[email protected]>
  • Loading branch information
stskeeps committed Dec 22, 2022
1 parent 202fb3f commit 38981e3
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions machine-manager.proto
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ service MachineManager {
rpc SessionStore (SessionStoreRequest) returns (CartesiMachine.Void) {}
rpc SessionReadMemory (SessionReadMemoryRequest) returns (SessionReadMemoryResponse) {}
rpc SessionWriteMemory (SessionWriteMemoryRequest) returns (CartesiMachine.Void) {}
rpc SessionReplaceMemoryRange (SessionReplaceMemoryRangeRequest) returns (CartesiMachine.Void) {}
rpc SessionGetProof (SessionGetProofRequest) returns (CartesiMachine.MerkleTreeProof) {}
rpc EndSession (EndSessionRequest) returns (CartesiMachine.Void) {}
}
Expand Down Expand Up @@ -84,6 +85,12 @@ message SessionReadMemoryResponse {
CartesiMachine.ReadMemoryResponse read_content = 1;
}

message SessionReplaceMemoryRangeRequest {
string session_id = 1;
uint64 cycle = 2;
CartesiMachine.MemoryRangeConfig range = 3;
}

message SessionWriteMemoryRequest {
string session_id = 1;
uint64 cycle = 2;
Expand Down

0 comments on commit 38981e3

Please sign in to comment.