‼️Venus
组件v1.7.0
使用注意事项
#5265
simlecode
announced in
Announcements
Replies: 1 comment 1 reply
-
venus-market感觉在签名重构版本合进去前也应该发个版本 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
各组件版本
主要变动
调整 venus-gateway 验证 venus-wallet 持有地址是否合法的逻辑
涉及组件:
venus-gateway
venus-wallet
非常重要:
venus-gateway
v1.7.0
版本需要兼容venus-wallet
v1.7.0
以下版本,venus-gateway
要先于venus-wallet
升级到v1.7.0
兼容方案:
venus-gateway
新增加一个flagdisable-address-verify
,用于表示是否验证venus-wallet
注册上来的地址是否合法./venus-gateway run --disable-address-verify
不会验证钱包地址的合法性,当venus-wallet
版本低于v1.7.0
时,venus-gateway
启动需要加上--disable-address-verify
./venus-gateway run
会验证钱包地址的合法性,venus-wallet
使用的版本需要大于或等于v1.7.0
venus-wallet
和venus-gateway
升级后都需要检查venus-wallet
的地址是否正常注册到venus-gateway
,使用命令
./venus-gateway wallet list
可以列出所有注册到venus-gateway
的地址。调整本地 jwt token
涉及组件:
venus
venus-messager
venus-gateway
具体修改:每次启动都会生成新的jwt token,且
token
都保存在~/.repo_path/token
增加 metrics
设计组件:venus-miner venus-messager venus-gateway
具体使用请参考文档:
增加 Version 接口
会返回当前程序的版本
涉及组件:venus-auth,venus-messager,venus-gateway,venus-market
具体使用参考:#5132 (comment)
venus-gateway 新增repo目录
repo
目录,默认在~/.venusgateway
,并包含两个文件:config.toml
和token
,token
是本地的jwt token,给命令行使用--repo
flag 指定的目录(默认为~/.venusgateway
)根据启动参数自动生成配置文件, 如果后续需要修改配置, 可以直接通过修改配置文件来完成.注意💁 :
venus-messager
--config
flagBeta Was this translation helpful? Give feedback.
All reactions