Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature]: The consumer-chain query does not list the client ID #2386

Open
1 task done
Tracked by #2382
dasanchez opened this issue Nov 5, 2024 · 0 comments
Open
1 task done
Tracked by #2382

[Feature]: The consumer-chain query does not list the client ID #2386

dasanchez opened this issue Nov 5, 2024 · 0 comments
Labels
scope: UI Addressing UX changes and improvements to user interface type: feature-request New feature or request improvement

Comments

@dasanchez
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

What happened?

The consumer-chain query does not list the client ID:

gaiad q provider consumer-chain 97 --node https://rpc.provider-sentry-01.ics-testnet.polypore.xyz:443 -o json | jq '.'              
{
  "consumer_id": "97",
  "chain_id": "comdex-test-5",
  "owner_address": "cosmos1qhcwucrdtzlxx4sjzwztrcfxww4vyqxr2s66u6",
  "phase": "CONSUMER_PHASE_LAUNCHED",
  "metadata": {
    "name": "Comdex",
    "description": "Comdex is an asset issuance and RWA aggregation chain secured by the Cosmos Hub. It enables users across the Cosmos ecosystem to diversify into RWA yields through a unified, secure platform that bridges traditional finance with DeFi.",
    "metadata": "{ \"forge_json_url\": \"https://raw.githubusercontent.com/Comdex/file-repo/refs/heads/main/forge.json\", \"stage\": \"prelaunch\"}"
  },
  "init_params": {
    "initial_height": {
      "revision_number": "5",
      "revision_height": "16903"
    },
    "genesis_hash": null,
    "binary_hash": null,
    "spawn_time": "2024-10-22T16:10:00Z",
    "unbonding_period": "1728000s",
    "ccv_timeout_period": "2419200s",
    "transfer_timeout_period": "3600s",
    "consumer_redistribution_fraction": "0.70",
    "blocks_per_distribution_transmission": "1000",
    "historical_entries": "10000",
    "distribution_transmission_channel": "channel-1"
  },
  "power_shaping_params": {
    "top_N": 0,
    "validators_power_cap": 20,
    "validator_set_cap": 0,
    "allowlist": [
      "cosmosvalcons12m5td27rwwy95drgk53w9pfhlxqqguqmlfph2g",
      "cosmosvalcons1q7eghlew94rwp8fz0umanwjn89q5pz6l6nj6mt"
    ],
    "denylist": [],
    "min_stake": "0",
    "allow_inactive_vals": true
  }
}

The client ID can be found through the list-consumer-chains query though:

gaiad q provider list-consumer-chains --node https://rpc.provider-sentry-01.ics-testnet.polypore.xyz:443 -o json | jq '.chains[] | select(.consumer_id=="97")'
{
  "chain_id": "comdex-test-5",
  "client_id": "07-tendermint-146",
  "top_N": 0,
  "min_power_in_top_N": "-1",
  "validators_power_cap": 20,
  "validator_set_cap": 0,
  "allowlist": [
    "cosmosvalcons1q7eghlew94rwp8fz0umanwjn89q5pz6l6nj6mt",
    "cosmosvalcons12m5td27rwwy95drgk53w9pfhlxqqguqmlfph2g"
  ],
  "denylist": [],
  "phase": "CONSUMER_PHASE_LAUNCHED",
  "metadata": {
    "name": "Comdex",
    "description": "Comdex is an asset issuance and RWA aggregation chain secured by the Cosmos Hub. It enables users across the Cosmos ecosystem to diversify into RWA yields through a unified, secure platform that bridges traditional finance with DeFi.",
    "metadata": "{ \"forge_json_url\": \"https://raw.githubusercontent.com/Comdex/file-repo/refs/heads/main/forge.json\", \"stage\": \"prelaunch\"}"
  },
  "min_stake": "0",
  "allow_inactive_vals": true,
  "consumer_id": "97",
  "allowlisted_reward_denoms": {
    "denoms": []
  }
}

Interchain Security Version

v6.3.0 (Gaia v21.0.0)

How to reproduce?

Query consumer chain 97 in the ICS testnet:

gaiad q provider consumer-chain 97 --node https://rpc.provider-sentry-01.ics-testnet.polypore.xyz:443
@dasanchez dasanchez added status: waiting-triage This issue/PR has not yet been triaged by the team. type: bug Issues that need priority attention -- something isn't working labels Nov 5, 2024
@github-project-automation github-project-automation bot moved this to 🩹 F1: Triage in Cosmos Hub Nov 5, 2024
@mpoke mpoke moved this from 🩹 F1: Triage to 📥 F2: Todo in Cosmos Hub Nov 5, 2024
@mpoke mpoke added scope: UI Addressing UX changes and improvements to user interface and removed status: waiting-triage This issue/PR has not yet been triaged by the team. labels Nov 5, 2024
@mpoke mpoke added type: feature-request New feature or request improvement and removed type: bug Issues that need priority attention -- something isn't working labels Nov 5, 2024
@mpoke mpoke changed the title [Bug]: The consumer-chain query does not list the client ID [Feature]: The consumer-chain query does not list the client ID Nov 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
scope: UI Addressing UX changes and improvements to user interface type: feature-request New feature or request improvement
Projects
Status: 📥 F2: Todo
Development

No branches or pull requests

2 participants