@@ -95,7 +95,7 @@ An IBC misbehaviour contains two conflicting IBC client headers, which are used
95
95
The misbehaviour type definition can be found in the IBC client messages, see ibc-go/proto/ibc/core/client/v1/tx.proto.
96
96
97
97
Example:
98
- %s tx provider submit-consumer-misbehaviour [consumer-id] [path/to/misbehaviour.json] --from node0 --home ../node0 --chain-id $CID
98
+ %s tx provider submit-consumer-misbehaviour [consumer-id] [path/to/misbehaviour.json]
99
99
` , version .AppName )),
100
100
Args : cobra .ExactArgs (2 ),
101
101
RunE : func (cmd * cobra.Command , args []string ) error {
@@ -154,7 +154,7 @@ func NewSubmitConsumerDoubleVotingCmd() *cobra.Command {
154
154
definition can be found in the IBC messages, see ibc-go/proto/ibc/lightclients/tendermint/v1/tendermint.proto.
155
155
156
156
Example:
157
- %s tx provider submit-consumer-double-voting [consumer-id] [path/to/evidence.json] [path/to/infraction_header.json] --from node0 --home ../node0 --chain-id $CID
157
+ %s tx provider submit-consumer-double-voting [consumer-id] [path/to/evidence.json] [path/to/infraction_header.json]
158
158
` , version .AppName )),
159
159
Args : cobra .ExactArgs (3 ),
160
160
RunE : func (cmd * cobra.Command , args []string ) error {
@@ -221,23 +221,23 @@ Note that the one that signs this message is the owner of this consumer chain. T
221
221
changed by updating the consumer chain.
222
222
223
223
Example:
224
- %s tx provider create-consumer [path/to/create_consumer.json] --from node0 --home ../node0 --chain-id $CID
224
+ %s tx provider create-consumer [path/to/create_consumer.json]
225
225
226
226
where create_consumer.json has the following structure:
227
227
{
228
- "chain_id": "consu ",
228
+ "chain_id": "consumer-1 ",
229
229
"metadata": {
230
230
"name": "chain consumer",
231
231
"description": "description",
232
- "metadata": "metadata "
232
+ "metadata": "{\"forge_json_url\": \"...\", \"stage\": \"mainnet\"} "
233
233
},
234
234
"initialization_parameters": {
235
235
"initial_height": {
236
236
"revision_number": 0,
237
237
"revision_height": 1
238
238
},
239
- "genesis_hash": "Z2VuX2hhc2g= ",
240
- "binary_hash": "YmluX2hhc2g= ",
239
+ "genesis_hash": "",
240
+ "binary_hash": "",
241
241
"spawn_time": "2024-08-29T12:26:16.529913Z",
242
242
"unbonding_period": 1728000000000000,
243
243
"ccv_timeout_period": 2419200000000000,
@@ -248,12 +248,12 @@ where create_consumer.json has the following structure:
248
248
"distribution_transmission_channel": ""
249
249
},
250
250
"power_shaping_parameters": {
251
- "top_N": 100 ,
252
- "validators_power_cap": 0 ,
251
+ "top_N": 0 ,
252
+ "validators_power_cap": 10 ,
253
253
"validator_set_cap": 0,
254
- "allowlist": [],
255
- "denylist": [],
256
- "min_stake": "0" ,
254
+ "allowlist": ["cosmosvalcons..." ],
255
+ "denylist": ["cosmosvalcons..." ],
256
+ "min_stake": 0 ,
257
257
"allow_inactive_vals": false
258
258
},
259
259
"allowlisted_reward_denoms": {
@@ -318,7 +318,7 @@ func NewUpdateConsumerCmd() *cobra.Command {
318
318
Note that only the owner of the chain can initialize it.
319
319
320
320
Example:
321
- %s tx provider update-consumer [path/to/update_consumer.json] --from node0 --home ../node0 --chain-id $CID
321
+ %s tx provider update-consumer [path/to/update_consumer.json]
322
322
323
323
where update_consumer.json has the following structure:
324
324
{
@@ -327,15 +327,15 @@ where update_consumer.json has the following structure:
327
327
"metadata": {
328
328
"name": "chain consumer",
329
329
"description": "description",
330
- "metadata": "metadata "
330
+ "metadata": "{\"forge_json_url\": \"...\", \"stage\": \"mainnet\"} "
331
331
},
332
332
"initialization_parameters": {
333
333
"initial_height": {
334
334
"revision_number": 0,
335
335
"revision_height": 1
336
336
},
337
- "genesis_hash": "Z2VuX2hhc2g= ",
338
- "binary_hash": "YmluX2hhc2g= ",
337
+ "genesis_hash": "",
338
+ "binary_hash": "",
339
339
"spawn_time": "2024-08-29T12:26:16.529913Z",
340
340
"unbonding_period": 1728000000000000,
341
341
"ccv_timeout_period": 2419200000000000,
@@ -346,12 +346,12 @@ where update_consumer.json has the following structure:
346
346
"distribution_transmission_channel": ""
347
347
},
348
348
"power_shaping_parameters": {
349
- "top_N": 100 ,
350
- "validators_power_cap": 0 ,
349
+ "top_N": 0 ,
350
+ "validators_power_cap": 10 ,
351
351
"validator_set_cap": 0,
352
- "allowlist": [],
353
- "denylist": [],
354
- "min_stake": "0" ,
352
+ "allowlist": ["cosmosvalcons..." ],
353
+ "denylist": ["cosmosvalcons..." ],
354
+ "min_stake": 0 ,
355
355
"allow_inactive_vals": false
356
356
},
357
357
"allowlisted_reward_denoms": {
@@ -421,7 +421,7 @@ func NewRemoveConsumerCmd() *cobra.Command {
421
421
Long : strings .TrimSpace (
422
422
fmt .Sprintf (`Removes (and stops) a consumer chain. Note that only the owner of the chain can remove it.
423
423
Example:
424
- %s tx provider remove-consumer [consumer-id] --from node0 --home ../node0 --chain-id $CID
424
+ %s tx provider remove-consumer [consumer-id]
425
425
` , version .AppName )),
426
426
Args : cobra .ExactArgs (1 ),
427
427
RunE : func (cmd * cobra.Command , args []string ) error {
@@ -552,7 +552,7 @@ func NewSetConsumerCommissionRateCmd() *cobra.Command {
552
552
Long : strings .TrimSpace (
553
553
fmt .Sprintf (`Note that the "commission-rate" argument is a fraction and should be in the range [0,1].
554
554
Example:
555
- %s set-consumer-commission-rate 123 0.5 --from node0 --home ../node0 ` ,
555
+ %s set-consumer-commission-rate 123 0.5` ,
556
556
version .AppName ),
557
557
),
558
558
Args : cobra .ExactArgs (2 ),
0 commit comments