Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 0 additions & 8 deletions docs/implement-a-customized-actuator-en.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ The logic for `SumContract` is the summation of two numerical values:
syntax = "proto3";
package protocol;
option java_package = "org.tron.protos.contract"; //Specify the name of the package that generated the Java file
option go_package = "github.com/tronprotocol/grpc-gateway/core";
message SumContract {
int64 param1 = 1;
int64 param2 = 2;
Expand Down Expand Up @@ -53,13 +52,6 @@ Then add an `InvokeSum` interface in the Wallet service:
```protobuf
service Wallet {
rpc InvokeSum (SumContract) returns (Transaction) {
option (google.api.http) = {
post: "/wallet/invokesum"
body: "*"
additional_bindings {
get: "/wallet/invokesum"
}
};
};
...
};
Expand Down
8 changes: 0 additions & 8 deletions docs/implement-a-customized-actuator-zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ Actuator 模块抽象出4个方法并定义在 `Actuator` 接口中:
syntax = "proto3";
package protocol;
option java_package = "org.tron.protos.contract"; //Specify the name of the package that generated the Java file
option go_package = "github.com/tronprotocol/grpc-gateway/core";
message SumContract {
int64 param1 = 1;
int64 param2 = 2;
Expand Down Expand Up @@ -55,13 +54,6 @@ import "core/contract/math_contract.proto";
```protobuf
service Wallet {
rpc InvokeSum (SumContract) returns (Transaction) {
option (google.api.http) = {
post: "/wallet/invokesum"
body: "*"
additional_bindings {
get: "/wallet/invokesum"
}
};
};
...
};
Expand Down
Loading
Loading