Skip to content

Commit

Permalink
Merge pull request #694 from iotexproject/rename-grpc
Browse files Browse the repository at this point in the history
rename vm grpc api
  • Loading branch information
huangzhiran authored Oct 11, 2024
2 parents 09b88ee + 07aaabc commit 71b8859
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions vm/proto/vm_runtime.proto
Original file line number Diff line number Diff line change
@@ -1,28 +1,26 @@
syntax = "proto3";
package vm_runtime;
package vm;
option go_package = "./proto";

service VmRuntime {
service VM {
rpc NewProject(NewProjectRequest) returns (NewProjectResponse);
rpc ExecuteTask(ExecuteTaskRequest) returns (ExecuteTaskResponse);
}

message NewProjectRequest {
uint64 projectID = 1;
uint64 version = 2;
string projectVersion = 2;
bytes binary = 3;
bytes metadata = 4;
}

message NewProjectResponse {
}

message NewProjectResponse {}

message ExecuteTaskRequest {
uint64 projectID = 1;
uint64 version = 2;
string projectVersion = 2;
bytes taskID = 3;
repeated bytes data = 4;
repeated bytes payloads = 4;
}

message ExecuteTaskResponse {
Expand Down

0 comments on commit 71b8859

Please sign in to comment.