We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
各组件增加 Version 接口,方便查询正在使用的版本,参考 venus Version 接口
Version
在 venus-shared 中为需要的组件增加 Version 接口
venus-shared
各组件实现 Version 接口
$ 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}
$ curl http://127.0.0.1:8989/version # res {"Version":"1.6.0+git.ebc4df8"}
$ 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}
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}
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}
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}
The text was updated successfully, but these errors were encountered:
curl http://127.0.0.1:12308/rpc/v0 -X POST -H "Content-Type: application/json" -H "Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJBbGxvdyI6WyJyZWFkIiwid3JpdGUiLCJzaWduIiwiYWRtaW4iXX0.JYefq1U7OoA5OrLGAxxQEo4y74wB_GIdL2rj6GK9SRQ" -d '{"method": "Filecoin.Version","params":[], "id": 0}' {"jsonrpc":"2.0","result":{"Version":"1.6.0'+gitc21fc0c'","APIVersion":66048},"id":0}
Sorry, something went wrong.
simlecode
Successfully merging a pull request may close this issue.
链服务模块 / Chain Service Components
订单服务模块 / Deal Service Components
算力服务模块 / Storage Power Service Components
描述 / Description
各组件增加
Version
接口,方便查询正在使用的版本,参考 venus Version 接口TODO
在
venus-shared
中为需要的组件增加Version
接口各组件实现
Version
接口The text was updated successfully, but these errors were encountered: