-
Notifications
You must be signed in to change notification settings - Fork 290
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[cmd] add a cmd to submit upgrade vm config proposal #2466
Conversation
Codecov Report
@@ Coverage Diff @@
## master #2466 +/- ##
==========================================
- Coverage 33.50% 33.44% -0.06%
==========================================
Files 493 493
Lines 43079 43106 +27
Branches 19585 19608 +23
==========================================
- Hits 14430 14411 -19
- Misses 13645 13677 +32
- Partials 15004 15018 +14
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
Benchmark for 6b5d26eClick to view benchmark
|
let genesis_config = net.genesis_config().clone(); | ||
let min_action_delay = get_dao_config(cli_state)?.min_action_delay; | ||
let vm_config_upgrade_proposal = | ||
build_vm_config_upgrade_proposal(genesis_config.vm_config, min_action_delay); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
genesis_config 的 vm_config 配置之后就不能变了,所以不能从这里去 config 然后提 proposal
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
得需要通过参数传递或者通过另外一个配置文件传递
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
原先的想法是从halley读取config写到Proxima上去。步骤是这样的:先修改halley的config,测试没有问题,再升级到Proxima上。
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
原先的想法是从halley读取config写到Proxima上去。步骤是这样的:先修改halley的config,测试没有问题,再升级到Proxima上。
也是个办法。
No description provided.