Skip to content

Commit

Permalink
update document for upgrade module
Browse files Browse the repository at this point in the history
  • Loading branch information
guangyuz committed May 19, 2021
1 parent 3611879 commit 0e6edf1
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,11 @@ dev call --function 0x1::Dao::proposal_state -t 0x1::STC::STC -t 0x1::UpgradeMod
5. 任何人都可以给状态为 ACTIVE 的提议投赞成或者反对票:

```bash
starcoin% account execute-function -s <account address> --function 0x1::DaoVoteScripts::cast_vote -t 0x1::STC::STC -t 0x1::UpgradeModuleDaoProposal::UpgradeModuleV2 <proposal address> --arg <proposal_id> --arg true --arg 2000000000000000u128
starcoin% account execute-function -s <account address> --function 0x1::DaoVoteScripts::cast_vote -t 0x1::STC::STC -t 0x1::UpgradeModuleDaoProposal::UpgradeModuleV2 --arg <proposal address> --arg <proposal_id> --arg true --arg 2000000000000000u128
```
如果stdlib当前版本为 1, 改为下面命令:
```bash
starcoin% account execute-function -s <account address> --function 0x1::DaoVoteScripts::cast_vote -t 0x1::STC::STC -t 0x1::UpgradeModuleDaoProposal::UpgradeModule <proposal address> --arg <proposal_id> --arg true --arg 2000000000000000u128
starcoin% account execute-function -s <account address> --function 0x1::DaoVoteScripts::cast_vote -t 0x1::STC::STC -t 0x1::UpgradeModuleDaoProposal::UpgradeModule --arg <proposal address> --arg <proposal_id> --arg true --arg 2000000000000000u128
```

6. 任何人都可以将状态为 AGREED 的提议放入更新队列:
Expand Down

0 comments on commit 0e6edf1

Please sign in to comment.