diff --git a/x/ccv/provider/client/cli/tx.go b/x/ccv/provider/client/cli/tx.go index 1b64678766..17414bc5ef 100644 --- a/x/ccv/provider/client/cli/tx.go +++ b/x/ccv/provider/client/cli/tx.go @@ -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": { @@ -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": {