Skip to content

Commit

Permalink
fix: improve commands' description (#2227)
Browse files Browse the repository at this point in the history
init commit
  • Loading branch information
insumity committed Sep 6, 2024
1 parent d13fbb0 commit 129164c
Showing 1 changed file with 20 additions and 20 deletions.
40 changes: 20 additions & 20 deletions x/ccv/provider/client/cli/tx.go
Original file line number Diff line number Diff line change
Expand Up @@ -229,23 +229,23 @@ where create_consumer.json has the following structure:
"chain_id": "consu",
"metadata": {
"name": "chain consumer",
"description": "no description",
"metadata": "no metadata"
"description": "description",
"metadata": "metadata"
},
"initialization_parameters": {
"initial_height": {
"revision_number": "0",
"revision_height": "1"
"revision_number": 0,
"revision_height": 1
},
"genesis_hash": "Z2VuX2hhc2g=",
"binary_hash": "YmluX2hhc2g=",
"spawn_time": "2024-08-29T12:26:16.529913Z",
"unbonding_period": "1209600s",
"ccv_timeout_period": "2419200s",
"transfer_timeout_period": "3600s",
"unbonding_period": 1728000000000000,
"ccv_timeout_period": 2419200000000000,
"transfer_timeout_period": 1800000000000,
"consumer_redistribution_fraction": "0.75",
"blocks_per_distribution_transmission": "1000",
"historical_entries": "10000",
"blocks_per_distribution_transmission": 1000,
"historical_entries": 10000,
"distribution_transmission_channel": ""
},
"power_shaping_parameters": {
Expand Down Expand Up @@ -315,31 +315,31 @@ func NewUpdateConsumerCmd() *cobra.Command {
Note that only the owner of the chain can initialize it.
Example:
%s tx provider update-consumer [path/to/consumer-update.json] --from node0 --home ../node0 --chain-id $CID
%s tx provider update-consumer [path/to/update_consumer.json] --from node0 --home ../node0 --chain-id $CID
where create_consumer.json has the following structure:
where update_consumer.json has the following structure:
{
"consumer_id": "0",
"new_owner_address": "cosmos10d07y265gmmuvt4z0w9aw880jnsr700j6zn9kn",
"metadata": {
"name": "chain consumer",
"description": "no description",
"metadata": "no metadata"
"description": "description",
"metadata": "metadata"
},
"initialization_parameters": {
"initial_height": {
"revision_number": "0",
"revision_height": "1"
"revision_number": 0,
"revision_height": 1
},
"genesis_hash": "Z2VuX2hhc2g=",
"binary_hash": "YmluX2hhc2g=",
"spawn_time": "2024-08-29T12:26:16.529913Z",
"unbonding_period": "1209600s",
"ccv_timeout_period": "2419200s",
"transfer_timeout_period": "3600s",
"unbonding_period": 1728000000000000,
"ccv_timeout_period": 2419200000000000,
"transfer_timeout_period": 1800000000000,
"consumer_redistribution_fraction": "0.75",
"blocks_per_distribution_transmission": "1000",
"historical_entries": "10000",
"blocks_per_distribution_transmission": 1000,
"historical_entries": 10000,
"distribution_transmission_channel": ""
},
"power_shaping_parameters": {
Expand Down

0 comments on commit 129164c

Please sign in to comment.