Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request introduces significant updates to the
.env.examplefile, dependencies, and IBC-related modules to enhance configurability, update libraries, and streamline the IBC connection logic. Additionally, it includes minor formatting changes for code consistency. Below is a summary of the most important changes:Configuration Enhancements:
.env.examplewith new environment variables for API URLs (VITE_COINGECKO_URL,VITE_GITHUB_API_URL,VITE_PINGPUB_API_URL) and toggles for IBC API selection (VITE_IBC_USE_GITHUB_API). Adjusted default values for refresh intervals and block limits.Dependency Updates:
@ping-pub/chain-registry-clientwith@chain-registry/clientand updated related dependencies (@chain-registry/types,@cosmjs/cosmwasm-stargate,bech32,idna-uts46-hx,js-sha3). Upgradedprettierto version3.0.0. [1] [2]IBC Module Refactor:
connStore.tsto utilize the new@chain-registry/clientlibrary, replacingIBCPathwithIBCData. Introduced dynamic API URL selection (PINGPUB_API_URLorGITHUB_API_URL) and improved sorting and fetching logic for IBC data. (src/modules/[chain]/ibc/connStore.tsL4-R35, src/modules/[chain]/ibc/connStore.tsL42-L57)connection.vueto align with the new IBC data structure, replacingcommonIBCswithinfoand adjusting the UI to reflect the updated API logic. (src/modules/[chain]/ibc/connection.vueL2-L10, src/modules/[chain]/ibc/connection.vueL32-R28, src/modules/[chain]/ibc/connection.vueL43-R76)Code Formatting:
.prettierrc.json, including adjustments to line breaks, indentation, and trailing commas.Type Definitions:
IBCInfointerface inibc.tsto extend the@chain-registry/typesdefinition, ensuring compatibility with the updated IBC logic.