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:
account denom balances on each side of transaction (already existing code)
chain client status (now shown to the user before the transaction)
account address existing on RPC endpoint that transaction will be sent
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
Current state
Expired channel/client:![localhost_5173_bridge(4_3) (1)](https://github.com/duality-labs/duality-web-app/assets/6194521/f2be1ecd-1494-46ee-b644-97929594904a)
Active channel/client:![localhost_5173_bridge(4_3) (3)](https://github.com/duality-labs/duality-web-app/assets/6194521/e02c592c-b57b-45ef-9b01-ccc2e62f91a5)
Active channel/client mid-request:![localhost_5173_bridge(4_3) (5)](https://github.com/duality-labs/duality-web-app/assets/6194521/0b7f2426-6e52-4e00-8726-ee8e340c506f)