-
Notifications
You must be signed in to change notification settings - Fork 484
Closed
Labels
C-enhancementCategory: feature enhancementCategory: feature enhancementCU-chain-serviceVenus chain service related issuesVenus chain service related issues
Description
链服务模块 / Chain Service Components
- venus
- venus-auth
- venus-gateway
- venus-messager
- venus-miner
- 文档 / docs
订单服务模块 / Deal Service Components
- venus-market
- 文档 / docs
算力服务模块 / Storage Power Service Components
- venus-sector-manager
- venus-worker
- 文档 / docs
描述 / Description
各组件增加 Version 接口,方便查询正在使用的版本,参考 venus Version 接口
TODO
-
在
venus-shared中为需要的组件增加Version接口 -
各组件实现
Version接口- venus
$ curl http://127.0.0.1:3453/rpc/v0 -X POST -H "Content-Type: application/json" -H "Authorization: Bearer <token>" -d '{"method": "Filecoin.Version","params":[], "id": 0}' # res {"jsonrpc":"2.0","result":{"Version":"1.8.0+git.343fb6831.dirty","APIVersion":66816},"id":0} - venus-auth
$ curl http://127.0.0.1:8989/version # res {"Version":"1.6.0+git.ebc4df8"} - venus-gateway
$ curl http://127.0.0.1:45132/rpc/v0 -X POST -H "Content-Type: application/json" -H "Authorization: Bearer <token>" -d '{"method": "Gateway.Version","params":[], "id": 0}' # res {"jsonrpc":"2.0","result":{"Version":"v1.6.1+git.3a51dc9","APIVersion":0},"id":0} - venus-market
curl http://127.0.0.1:41235/rpc/v0 -X POST -H "Content-Type: application/json" -H "Authorization: Bearer " -d '{"method": "VENUS_MARKET.Version","params":[], "id": 0}' {"jsonrpc":"2.0","result":{"Version":"v2.2.0+git.0d0d965","APIVersion":0},"id":0} - market-client
curl http://127.0.0.1:41235/rpc/v0 -X POST -H "Content-Type: application/json" -H "Authorization: Bearer " -d '{"method": "VENUS_MARKET_CLIENT.Version","params":[], "id": 0}' {"jsonrpc":"2.0","result":{"Version":"v2.2.0+git.0d0d965","APIVersion":0},"id":0} - venus-messager
curl http://127.0.0.1:39812/rpc/v0 -X POST -H "Content-Type: application/json" -H "Authorization: Bearer <token>" -d '{"method": "Message.Version","params":[], "id": 0}' # res {"jsonrpc":"2.0","result":{"Version":"v1.6.0+git.38f382d","APIVersion":0},"id":0}
- venus
Metadata
Metadata
Assignees
Labels
C-enhancementCategory: feature enhancementCategory: feature enhancementCU-chain-serviceVenus chain service related issuesVenus chain service related issues
Type
Projects
Status
Done