Skip to content

Commit 43998f3

Browse files
committed
gen
1 parent fc6f54b commit 43998f3

10 files changed

Lines changed: 642 additions & 546 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,8 @@ jobs:
176176
target: "./itests/deal_e2e_test.go"
177177
- name: test-itest-dynamic-config
178178
target: "./itests/dyncfg_test.go"
179+
- name: test-itest-grace-restart
180+
target: "./itests/grace_restart_test.go"
179181
- name: test-itest-harmonyDB
180182
target: "./itests/harmonydb_test.go"
181183
- name: test-itest-park-piece

api/api_curio.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ type Curio interface {
2525

2626
Version(context.Context) ([]int, error) //perm:admin
2727
Shutdown(context.Context) error //perm:admin
28-
Restart(context.Context) error //perm:admin
28+
Restart(context.Context) error //perm:admin
2929
Cordon(context.Context) error //perm:admin
3030
Uncordon(context.Context) error //perm:admin
3131
Info(ctx context.Context) (*ltypes.NodeInfo, error) //perm:read

build/openrpc/curio.json

Lines changed: 42 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@
312312
"deprecated": false,
313313
"externalDocs": {
314314
"description": "Github remote link",
315-
"url": "https://github.com/filecoin-project/curio/blob/master/api/proxy_gen.go#L237"
315+
"url": "https://github.com/filecoin-project/curio/blob/master/api/proxy_gen.go#L239"
316316
}
317317
},
318318
{
@@ -335,7 +335,7 @@
335335
"deprecated": false,
336336
"externalDocs": {
337337
"description": "Github remote link",
338-
"url": "https://github.com/filecoin-project/curio/blob/master/api/proxy_gen.go#L248"
338+
"url": "https://github.com/filecoin-project/curio/blob/master/api/proxy_gen.go#L250"
339339
}
340340
},
341341
{
@@ -391,7 +391,7 @@
391391
"deprecated": false,
392392
"externalDocs": {
393393
"description": "Github remote link",
394-
"url": "https://github.com/filecoin-project/curio/blob/master/api/proxy_gen.go#L259"
394+
"url": "https://github.com/filecoin-project/curio/blob/master/api/proxy_gen.go#L261"
395395
}
396396
},
397397
{
@@ -535,7 +535,7 @@
535535
"deprecated": false,
536536
"externalDocs": {
537537
"description": "Github remote link",
538-
"url": "https://github.com/filecoin-project/curio/blob/master/api/proxy_gen.go#L270"
538+
"url": "https://github.com/filecoin-project/curio/blob/master/api/proxy_gen.go#L272"
539539
}
540540
},
541541
{
@@ -571,7 +571,7 @@
571571
"deprecated": false,
572572
"externalDocs": {
573573
"description": "Github remote link",
574-
"url": "https://github.com/filecoin-project/curio/blob/master/api/proxy_gen.go#L281"
574+
"url": "https://github.com/filecoin-project/curio/blob/master/api/proxy_gen.go#L283"
575575
}
576576
},
577577
{
@@ -625,7 +625,30 @@
625625
"deprecated": false,
626626
"externalDocs": {
627627
"description": "Github remote link",
628-
"url": "https://github.com/filecoin-project/curio/blob/master/api/proxy_gen.go#L292"
628+
"url": "https://github.com/filecoin-project/curio/blob/master/api/proxy_gen.go#L294"
629+
}
630+
},
631+
{
632+
"name": "Filecoin.Restart",
633+
"description": "```go\nfunc (s *CurioStruct) Restart(p0 context.Context) error {\n\tif s.Internal.Restart == nil {\n\t\treturn ErrNotSupported\n\t}\n\treturn s.Internal.Restart(p0)\n}\n```",
634+
"summary": "",
635+
"paramStructure": "by-position",
636+
"params": [],
637+
"result": {
638+
"name": "Null",
639+
"description": "Null",
640+
"schema": {
641+
"type": [
642+
"null"
643+
]
644+
},
645+
"required": true,
646+
"deprecated": false
647+
},
648+
"deprecated": false,
649+
"externalDocs": {
650+
"description": "Github remote link",
651+
"url": "https://github.com/filecoin-project/curio/blob/master/api/proxy_gen.go#L305"
629652
}
630653
},
631654
{
@@ -648,7 +671,7 @@
648671
"deprecated": false,
649672
"externalDocs": {
650673
"description": "Github remote link",
651-
"url": "https://github.com/filecoin-project/curio/blob/master/api/proxy_gen.go#L303"
674+
"url": "https://github.com/filecoin-project/curio/blob/master/api/proxy_gen.go#L316"
652675
}
653676
},
654677
{
@@ -687,7 +710,7 @@
687710
"deprecated": false,
688711
"externalDocs": {
689712
"description": "Github remote link",
690-
"url": "https://github.com/filecoin-project/curio/blob/master/api/proxy_gen.go#L314"
713+
"url": "https://github.com/filecoin-project/curio/blob/master/api/proxy_gen.go#L327"
691714
}
692715
},
693716
{
@@ -726,7 +749,7 @@
726749
"deprecated": false,
727750
"externalDocs": {
728751
"description": "Github remote link",
729-
"url": "https://github.com/filecoin-project/curio/blob/master/api/proxy_gen.go#L325"
752+
"url": "https://github.com/filecoin-project/curio/blob/master/api/proxy_gen.go#L338"
730753
}
731754
},
732755
{
@@ -920,7 +943,7 @@
920943
"deprecated": false,
921944
"externalDocs": {
922945
"description": "Github remote link",
923-
"url": "https://github.com/filecoin-project/curio/blob/master/api/proxy_gen.go#L336"
946+
"url": "https://github.com/filecoin-project/curio/blob/master/api/proxy_gen.go#L349"
924947
}
925948
},
926949
{
@@ -981,7 +1004,7 @@
9811004
"deprecated": false,
9821005
"externalDocs": {
9831006
"description": "Github remote link",
984-
"url": "https://github.com/filecoin-project/curio/blob/master/api/proxy_gen.go#L347"
1007+
"url": "https://github.com/filecoin-project/curio/blob/master/api/proxy_gen.go#L360"
9851008
}
9861009
},
9871010
{
@@ -1113,7 +1136,7 @@
11131136
"deprecated": false,
11141137
"externalDocs": {
11151138
"description": "Github remote link",
1116-
"url": "https://github.com/filecoin-project/curio/blob/master/api/proxy_gen.go#L358"
1139+
"url": "https://github.com/filecoin-project/curio/blob/master/api/proxy_gen.go#L371"
11171140
}
11181141
},
11191142
{
@@ -1247,7 +1270,7 @@
12471270
"deprecated": false,
12481271
"externalDocs": {
12491272
"description": "Github remote link",
1250-
"url": "https://github.com/filecoin-project/curio/blob/master/api/proxy_gen.go#L369"
1273+
"url": "https://github.com/filecoin-project/curio/blob/master/api/proxy_gen.go#L382"
12511274
}
12521275
},
12531276
{
@@ -1301,7 +1324,7 @@
13011324
"deprecated": false,
13021325
"externalDocs": {
13031326
"description": "Github remote link",
1304-
"url": "https://github.com/filecoin-project/curio/blob/master/api/proxy_gen.go#L380"
1327+
"url": "https://github.com/filecoin-project/curio/blob/master/api/proxy_gen.go#L393"
13051328
}
13061329
},
13071330
{
@@ -1335,7 +1358,7 @@
13351358
"deprecated": false,
13361359
"externalDocs": {
13371360
"description": "Github remote link",
1338-
"url": "https://github.com/filecoin-project/curio/blob/master/api/proxy_gen.go#L391"
1361+
"url": "https://github.com/filecoin-project/curio/blob/master/api/proxy_gen.go#L404"
13391362
}
13401363
},
13411364
{
@@ -1389,7 +1412,7 @@
13891412
"deprecated": false,
13901413
"externalDocs": {
13911414
"description": "Github remote link",
1392-
"url": "https://github.com/filecoin-project/curio/blob/master/api/proxy_gen.go#L402"
1415+
"url": "https://github.com/filecoin-project/curio/blob/master/api/proxy_gen.go#L415"
13931416
}
13941417
},
13951418
{
@@ -1466,7 +1489,7 @@
14661489
"deprecated": false,
14671490
"externalDocs": {
14681491
"description": "Github remote link",
1469-
"url": "https://github.com/filecoin-project/curio/blob/master/api/proxy_gen.go#L413"
1492+
"url": "https://github.com/filecoin-project/curio/blob/master/api/proxy_gen.go#L426"
14701493
}
14711494
},
14721495
{
@@ -1489,7 +1512,7 @@
14891512
"deprecated": false,
14901513
"externalDocs": {
14911514
"description": "Github remote link",
1492-
"url": "https://github.com/filecoin-project/curio/blob/master/api/proxy_gen.go#L424"
1515+
"url": "https://github.com/filecoin-project/curio/blob/master/api/proxy_gen.go#L437"
14931516
}
14941517
},
14951518
{
@@ -1527,7 +1550,7 @@
15271550
"deprecated": false,
15281551
"externalDocs": {
15291552
"description": "Github remote link",
1530-
"url": "https://github.com/filecoin-project/curio/blob/master/api/proxy_gen.go#L435"
1553+
"url": "https://github.com/filecoin-project/curio/blob/master/api/proxy_gen.go#L448"
15311554
}
15321555
}
15331556
]

0 commit comments

Comments
 (0)