Skip to content

Allow fetching paths for specific chains #1182

@dylanschultzie

Description

@dylanschultzie

Currently you can do rly paths fetch, but if you support many chains, you can't pull all the configs from the chain-registry due to rate limiting.

It'd be helpful to be able to pull paths for a single chain - rly paths fetch kyve, as an example. With that, the expected behavior would be to exclusively grab the pairs for kyve.

$ rly paths fetch
failure retrieving: cheqd-quasar: consider adding to cosmos/chain-registry: ERR: no file named cheqd-quasar.json found in _IBC
skipping:  osmosis-persistence already exists in config, use -o to overwrite (clears filters)
skipping:  persistence-quicksilver already exists in config, use -o to overwrite (clears filters)
skipping:  comdex-juno already exists in config, use -o to overwrite (clears filters)
failure retrieving: carbon-quicksilver: consider adding to cosmos/chain-registry: ERR: no file named carbon-quicksilver.json found in _IBC
failure retrieving: cosmoshub-migaloo: consider adding to cosmos/chain-registry: ERR: no file named cosmoshub-migaloo.json found in _IBC
skipping:  injective-secretnetwork already exists in config, use -o to overwrite (clears filters)
failure retrieving: carbon-migaloo: consider adding to cosmos/chain-registry: ERR: no file named carbon-migaloo.json found in _IBC
failure retrieving: evmos-migaloo: consider adding to cosmos/chain-registry: ERR: no file named evmos-migaloo.json found in _IBC
skipping:  cosmoshub-persistence already exists in config, use -o to overwrite (clears filters)
failure retrieving: comdex-gravitybridge: consider adding to cosmos/chain-registry: ERR: no file named comdex-gravitybridge.json found in _IBC
skipping:  juno-migaloo already exists in config, use -o to overwrite (clears filters)
added:  agoric-cosmoshub
failure retrieving: agoric-quasar: consider adding to cosmos/chain-registry: ERR: no file named agoric-quasar.json found in _IBC
failure retrieving: evmos-jackal: consider adding to cosmos/chain-registry: ERR: no file named evmos-jackal.json found in _IBC
failure retrieving: agoric-persistence: consider adding to cosmos/chain-registry: ERR: no file named agoric-persistence.json found in _IBC
skipping:  carbon-cosmoshub already exists in config, use -o to overwrite (clears filters)
failure retrieving: juno-kyve: consider adding to cosmos/chain-registry: ERR: no file named juno-kyve.json found in _IBC
failure retrieving: jackal-quasar: consider adding to cosmos/chain-registry: ERR: no file named jackal-quasar.json found in _IBC
failure retrieving: carbon-quasar: consider adding to cosmos/chain-registry: ERR: no file named carbon-quasar.json found in _IBC
skipping:  persistence-secretnetwork already exists in config, use -o to overwrite (clears filters)
failure retrieving: injective-quasar: consider adding to cosmos/chain-registry: ERR: no file named injective-quasar.json found in _IBC
failure retrieving: migaloo-persistence: consider adding to cosmos/chain-registry: ERR: no file named migaloo-persistence.json found in _IBC
skipping:  gravitybridge-osmosis already exists in config, use -o to overwrite (clears filters)
failure retrieving: cudos-kyve: consider adding to cosmos/chain-registry: ERR: no file named cudos-kyve.json found in _IBC
skipping:  injective-persistence already exists in config, use -o to overwrite (clears filters)
skipping:  carbon-terra2 already exists in config, use -o to overwrite (clears filters)
skipping:  osmosis-stride already exists in config, use -o to overwrite (clears filters)
added:  osmosis-quicksilver
failure retrieving: axelar-cudos: consider adding to cosmos/chain-registry: ERR: no file named axelar-cudos.json found in _IBC
failure retrieving: axelar-jackal: consider adding to cosmos/chain-registry: ERR: no file named axelar-jackal.json found in _IBC
failure retrieving: gravitybridge-kyve: consider adding to cosmos/chain-registry: ERR: no file named gravitybridge-kyve.json found in _IBC
skipping:  osmosis-quasar already exists in config, use -o to overwrite (clears filters)
failure retrieving: cheqd-secretnetwork: consider adding to cosmos/chain-registry: ERR: no file named cheqd-secretnetwork.json found in _IBC
failure retrieving: jackal-kyve: consider adding to cosmos/chain-registry: ERR: no file named jackal-kyve.json found in _IBC
skipping:  migaloo-terra2 already exists in config, use -o to overwrite (clears filters)
skipping:  quicksilver-secretnetwork already exists in config, use -o to overwrite (clears filters)
failure retrieving: injective-quicksilver: consider adding to cosmos/chain-registry: ERR: no file named injective-quicksilver.json found in _IBC
failure retrieving: agoric-kyve: consider adding to cosmos/chain-registry: ERR: no file named agoric-kyve.json found in _IBC
failure retrieving: migaloo-quasar: consider adding to cosmos/chain-registry: ERR: no file named migaloo-quasar.json found in _IBC
added:  juno-persistence
failure retrieving: axelar-quasar: consider adding to cosmos/chain-registry: ERR: no file named axelar-quasar.json found in _IBC
failure retrieving: cosmoshub-quasar: consider adding to cosmos/chain-registry: ERR: no file named cosmoshub-quasar.json found in _IBC
skipping:  gravitybridge-persistence already exists in config, use -o to overwrite (clears filters)
skipping:  stride-terra2 already exists in config, use -o to overwrite (clears filters)
failure retrieving: axelar-stride: consider adding to cosmos/chain-registry: ERR: no file named axelar-stride.json found in _IBC
added:  axelar-kyve
failure retrieving: cudos-persistence: consider adding to cosmos/chain-registry: ERR: no file named cudos-persistence.json found in _IBC
failure retrieving: cheqd-injective: consider adding to cosmos/chain-registry: ERR: no file named cheqd-injective.json found in _IBC
failure retrieving: cheqd-gravitybridge: consider adding to cosmos/chain-registry: ERR: no file named cheqd-gravitybridge.json found in _IBC
failure retrieving: carbon-cheqd: consider adding to cosmos/chain-registry: ERR: no file named carbon-cheqd.json found in _IBC
skipping:  carbon-osmosis already exists in config, use -o to overwrite (clears filters)
skipping:  evmos-secretnetwork already exists in config, use -o to overwrite (clears filters)
failure retrieving: cudos-juno: consider adding to cosmos/chain-registry: ERR: no file named cudos-juno.json found in _IBC
added:  agoric-axelar
failure retrieving: comdex-kyve: consider adding to cosmos/chain-registry: ERR: no file named comdex-kyve.json found in _IBC
failure retrieving: axelar-terra2: consider adding to cosmos/chain-registry: ERR: no file named axelar-terra2.json found in _IBC
skipping:  osmosis-secretnetwork already exists in config, use -o to overwrite (clears filters)
skipping:  cosmoshub-osmosis already exists in config, use -o to overwrite (clears filters)
failure retrieving: comdex-quasar: consider adding to cosmos/chain-registry: ERR: no file named comdex-quasar.json found in _IBC
failure retrieving: cheqd-evmos: consider adding to cosmos/chain-registry: ERR: no file named cheqd-evmos.json found in _IBC
failure retrieving: cheqd-cosmoshub: consider adding to cosmos/chain-registry: ERR: no file named cheqd-cosmoshub.json found in _IBC
failure retrieving: agoric-evmos: consider adding to cosmos/chain-registry: ERR: no file named agoric-evmos.json found in _IBC
failure retrieving: agoric-quicksilver: consider adding to cosmos/chain-registry: ERR: no file named agoric-quicksilver.json found in _IBC
failure retrieving: gravitybridge-juno: consider adding to cosmos/chain-registry: ERR: no file named gravitybridge-juno.json found in _IBC
failure retrieving: cosmoshub-gravitybridge: consider adding to cosmos/chain-registry: ERR: no file named cosmoshub-gravitybridge.json found in _IBC
failure retrieving: cudos-quasar: consider adding to cosmos/chain-registry: ERR: no file named cudos-quasar.json found in _IBC
failure retrieving: gravitybridge-terra2: consider adding to cosmos/chain-registry: ERR: no file named gravitybridge-terra2.json found in _IBC
failure retrieving: carbon-cudos: consider adding to cosmos/chain-registry: ERR: no file named carbon-cudos.json found in _IBC
failure retrieving: axelar-gravitybridge: consider adding to cosmos/chain-registry: ERR: no file named axelar-gravitybridge.json found in _IBC
failure retrieving: carbon-kyve: consider adding to cosmos/chain-registry: ERR: no file named carbon-kyve.json found in _IBC
failure retrieving: axelar-carbon: consider adding to cosmos/chain-registry: ERR: no file named axelar-carbon.json found in _IBC
skipping:  evmos-stride already exists in config, use -o to overwrite (clears filters)
failure retrieving: cudos-terra2: consider adding to cosmos/chain-registry: ERR: no file named cudos-terra2.json found in _IBC
failure retrieving: carbon-gravitybridge: consider adding to cosmos/chain-registry: ERR: no file named carbon-gravitybridge.json found in _IBC
added:  axelar-osmosis
failure retrieving: comdex-jackal: consider adding to cosmos/chain-registry: ERR: no file named comdex-jackal.json found in _IBC
failure retrieving: injective-jackal: consider adding to cosmos/chain-registry: ERR: no file named injective-jackal.json found in _IBC
added:  persistence-stride
failure retrieving: evmos-gravitybridge: consider adding to cosmos/chain-registry: ERR: no file named evmos-gravitybridge.json found in _IBC
failure retrieving: agoric-stride: consider adding to cosmos/chain-registry: ERR: no file named agoric-stride.json found in _IBC
failure retrieving: agoric-migaloo: consider adding to cosmos/chain-registry: ERR: no file named agoric-migaloo.json found in _IBC
some paths failed:  GET https://api.github.com/repos/cosmos/chain-registry/contents/_IBC: 403 API rate limit of 60 still exceeded until 2023-05-09 10:30:52 -0700 PDT, not making remote request. [rate reset in 59m54s]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions