File tree Expand file tree Collapse file tree 6 files changed +12
-22
lines changed Expand file tree Collapse file tree 6 files changed +12
-22
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ Query the switch information to know if someone have send the switch message for
6
6
## Usage
7
7
8
8
```
9
- iriscli upgrade query-switch --proposalID <proposalID> --voter <voter address>
9
+ iriscli upgrade query-switch --proposal-id <proposalID> --voter <voter address>
10
10
```
11
11
12
12
Print help messages:
@@ -18,13 +18,13 @@ iriscli upgrade query-switch --help
18
18
19
19
| Name, shorthand | Default | Description | Required |
20
20
| --------------- | -------------------------- | ----------------------------------------------------------------- | -------- |
21
- | --proposalID | | proposalID of upgrade swtich being queried | Yes |
21
+ | --proposal-id | | proposalID of upgrade swtich being queried | Yes |
22
22
| --voter | | Address sign the switch msg | Yes |
23
23
24
24
## Example
25
25
26
26
Query if the address ` faa1qvt2r6hh9vyg3kh4tnwgx8wh0kpa7q2lsk03fe ` send the switch message for the software upgrade proposal whose ID is 5.
27
27
28
28
```
29
- iriscli upgrade query-switch --proposalID =5 --voter=faa1qvt2r6hh9vyg3kh4tnwgx8wh0kpa7q2lsk03fe
29
+ iriscli upgrade query-switch --proposal-id =5 --voter=faa1qvt2r6hh9vyg3kh4tnwgx8wh0kpa7q2lsk03fe
30
30
```
Original file line number Diff line number Diff line change @@ -19,13 +19,13 @@ iriscli upgrade submit-switch --help
19
19
20
20
| Name, shorthand | Default | Description | Required |
21
21
| --------------- | --------- | ------------------------------------------------------------ | -------- |
22
- | --proposalID | | proposalID of upgrade proposal | Yes |
22
+ | --proposal-id | | proposalID of upgrade proposal | Yes |
23
23
| --title | | title of switch | |
24
24
25
25
## Examples
26
26
27
27
Send a switch message for the software upgrade proposal whose ` proposalID ` is 5.
28
28
29
29
```
30
- iriscli upgrade submit-switch --chain-id=IRISnet --from=x --fee=0.004iris --proposalID 5 --title="Run new verison"
30
+ iriscli upgrade submit-switch --chain-id=IRISnet --from=x --fee=0.004iris --proposal-id 5 --title="Run new verison"
31
31
```
Original file line number Diff line number Diff line change @@ -50,12 +50,7 @@ Then you could see the account info has been added to genesis.json.
50
50
"accounts" :[
51
51
{
52
52
"address" : " faa13t6jugwm5uu3h835s5d4zggkklz6rpns59keju" ,
53
- "coins" : [
54
- {
55
- "denom" : " iris-atto" ,
56
- "amount" : " 150000000000000000000"
57
- }
58
- ],
53
+ "coins" : [" 150iris" ],
59
54
"sequence_number" : " 0" ,
60
55
"account_number" : " 0"
61
56
}
Original file line number Diff line number Diff line change 7
7
## 用法
8
8
9
9
```
10
- iriscli upgrade query-switch --proposalID <proposalID> --voter <voter address>
10
+ iriscli upgrade query-switch --proposal-id <proposalID> --voter <voter address>
11
11
```
12
12
打印帮助信息:
13
13
@@ -19,13 +19,13 @@ iriscli upgrade query-switch --help
19
19
20
20
| 名称, 速记 | 默认值 | 描述 | 必需 |
21
21
| --------------- | -------------------------- | ----------------------------------------------------------------- | -------- |
22
- | --proposalID | | 软件升级提议的ID | 是 |
22
+ | --proposal-id | | 软件升级提议的ID | 是 |
23
23
| --voter | | 签名switch消息的地址 | 是 |
24
24
25
25
## 例子
26
26
27
27
查询用户` faa1qvt2r6hh9vyg3kh4tnwgx8wh0kpa7q2lsk03fe ` 是否对升级提议(ID为5)发送了switch消息
28
28
29
29
```
30
- iriscli upgrade query-switch --proposalID =5 --voter=faa1qvt2r6hh9vyg3kh4tnwgx8wh0kpa7q2lsk03fe
30
+ iriscli upgrade query-switch --proposal-id =5 --voter=faa1qvt2r6hh9vyg3kh4tnwgx8wh0kpa7q2lsk03fe
31
31
```
Original file line number Diff line number Diff line change @@ -18,13 +18,13 @@ iriscli upgrade submit-switch --help
18
18
19
19
| 名称, 缩写 | 默认值 | 描述 | 必需 |
20
20
| --------------- | --------- | ------------------------------------------------------------ | -------- |
21
- | --proposalID | | 软件升级提议的ID | 是 |
21
+ | --proposal-id | | 软件升级提议的ID | 是 |
22
22
| --title | | switch消息对标题 | |
23
23
24
24
## 用例
25
25
26
26
发送对软件升级提议(ID为5)switch消息
27
27
28
28
```
29
- iriscli upgrade submit-switch --chain-id=IRISnet --from=x --fee=0.004iris --proposalID 5 --title="Run new verison"
29
+ iriscli upgrade submit-switch --chain-id=IRISnet --from=x --fee=0.004iris --proposal-id 5 --title="Run new verison"
30
30
```
Original file line number Diff line number Diff line change @@ -51,12 +51,7 @@ iris add-genesis-account faa13t6jugwm5uu3h835s5d4zggkklz6rpns59keju 150iris
51
51
"accounts" : [
52
52
{
53
53
"address" : " faa13t6jugwm5uu3h835s5d4zggkklz6rpns59keju" ,
54
- "coins" : [
55
- {
56
- "denom" : " iris-atto" ,
57
- "amount" : " 150000000000000000000"
58
- }
59
- ],
54
+ "coins" : [" 150iris" ],
60
55
"sequence_number" : " 0" ,
61
56
"account_number" : " 0"
62
57
}
You can’t perform that action at this time.
0 commit comments