Skip to content

Commit

Permalink
Merge pull request #5641 from filecoin-project/chore/pick_5639_to_v1.…
Browse files Browse the repository at this point in the history
…11.0

Merge pull request #5639
  • Loading branch information
simlecode authored Jan 10, 2023
2 parents 40219c9 + cef4174 commit c4bf086
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
3 changes: 2 additions & 1 deletion venus-devtool/api-gen/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import (
"github.com/filecoin-project/venus/venus-devtool/util"
gatewayv0 "github.com/filecoin-project/venus/venus-shared/api/gateway/v0"
gatewayv1 "github.com/filecoin-project/venus/venus-shared/api/gateway/v1"
gatewayv2 "github.com/filecoin-project/venus/venus-shared/api/gateway/v2"
"github.com/filecoin-project/venus/venus-shared/api/market"
market_client "github.com/filecoin-project/venus/venus-shared/api/market/client"
"github.com/filecoin-project/venus/venus-shared/api/messager"
Expand Down Expand Up @@ -45,7 +46,7 @@ func init() {
},
},
util.APIMeta{
Type: reflect.TypeOf((*gatewayv1.IGateway)(nil)).Elem(),
Type: reflect.TypeOf((*gatewayv2.IGateway)(nil)).Elem(),
ParseOpt: util.InterfaceParseOption{
ImportPath: "github.com/filecoin-project/venus/venus-shared/api/gateway/v2",
IncludeAll: true,
Expand Down
10 changes: 7 additions & 3 deletions venus-shared/api/gateway/v2/method.md
Original file line number Diff line number Diff line change
Expand Up @@ -373,8 +373,10 @@ Perms: admin
Inputs:
```json
[
"string value",
"f01234"
"f01234",
[
"string value"
]
]
```

Expand All @@ -388,8 +390,10 @@ Perms: admin
Inputs:
```json
[
"string value",
"f01234",
[
"string value"
],
"Ynl0ZSBhcnJheQ==",
{
"Type": "message",
Expand Down

0 comments on commit c4bf086

Please sign in to comment.