duality-labs / duality-web-app

2 stars 2 forks source link

fix: bridging functionality for testnet #524

Closed dib542 closed 7 months ago

dib542 commented 7 months ago

This PR fixes the Bridging functionality on the Bridge page of the tesnet app (https://app.testnet.duality.xyz/bridge)

Previously this was disabled, now it is enabled to Cosmos IBC enabled chains that have a direct connection listed in teh chain-registry IBC connections list, i.e. https://github.com/cosmos/chain-registry/tree/8e26c4b8fefc59a243e5239dceaed29b88519baa/testnets/_IBC

This PR also cleans up no longer used hooks after this fix (previous hooks used to fetch all connections/channels/clientStates have been removed as they generated many requests on some testnets).

The Bridging page also checks for:

To test

  1. have Keplr wallet extension installed: https://www.keplr.app/download
  2. use https://faucet.testnet.osmosis.zone/ to get some uosmo testnet funds
  3. with the same keplr account: bridge uosmo to neutrontestnet using the deploy preview Bridge page
  4. you might have to increase the gas amount to complete the bridging action

Current state

Expired channel/client: localhost_5173_bridge(4_3) (1)

Active channel/client: localhost_5173_bridge(4_3) (3)

Active channel/client mid-request: localhost_5173_bridge(4_3) (5)

github-actions[bot] commented 7 months ago

Preview URL: https://60afa2f0-4af3ee08--duality-xyz-testnet.netlify.app Logs: https://app.netlify.com/sites/duality-xyz-testnet/deploys/65b813755ced50508b78888c

github-actions[bot] commented 7 months ago

Preview URL: https://0a238365-71591ef0--duality-xyz-testnet.netlify.app Logs: https://app.netlify.com/sites/duality-xyz-testnet/deploys/65b8f17e303f70e6aecb8d9b

dib542 commented 7 months ago

:tada: This PR is included in version 2.0.1 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: