diff --git a/chain-registry b/chain-registry index 62805ea4..62b3fa01 160000 --- a/chain-registry +++ b/chain-registry @@ -1 +1 @@ -Subproject commit 62805ea44e50276fc4105684aa190904f7795837 +Subproject commit 62b3fa019a0db5a277925859999ab430420a3fa6 diff --git a/package-lock.json b/package-lock.json index 2b410cd4..9c0378b3 100644 --- a/package-lock.json +++ b/package-lock.json @@ -44,7 +44,7 @@ "@radix-ui/react-switch": "^1.0.3", "@radix-ui/react-tooltip": "^1.0.7", "@sentry/nextjs": "^7.99.0", - "@skip-router/core": "4.0.0", + "@skip-router/core": "4.1.1", "@solana/spl-token": "^0.4.1", "@solana/wallet-adapter-react": "^0.15.35", "@solana/wallet-adapter-wallets": "^0.19.31", @@ -13484,9 +13484,9 @@ } }, "node_modules/@skip-router/core": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/@skip-router/core/-/core-4.0.0.tgz", - "integrity": "sha512-v2KaYuyKn5hAeDJ5ALYhsUc5nhiJb2ttdqjY2BcIcXzlvjV+wLejlSmTsIEykdOZ32ETLXsfzuL52Du5UZSTZw==", + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/@skip-router/core/-/core-4.1.1.tgz", + "integrity": "sha512-N/H9V6XlWxWX4L8MwIkSyjBno+0zqkVeHG/vwB/PCMlK2HFBrY15CcpJPj8iuHB3aMho2kGIiOyFvnIeU/15pw==", "dependencies": { "@cosmjs/amino": "0.32.3", "@cosmjs/cosmwasm-stargate": "0.32.3", diff --git a/package.json b/package.json index 801b686c..b3026ab9 100644 --- a/package.json +++ b/package.json @@ -65,7 +65,7 @@ "@radix-ui/react-switch": "^1.0.3", "@radix-ui/react-tooltip": "^1.0.7", "@sentry/nextjs": "^7.99.0", - "@skip-router/core": "4.0.0", + "@skip-router/core": "4.1.1", "@solana/spl-token": "^0.4.1", "@solana/wallet-adapter-react": "^0.15.35", "@solana/wallet-adapter-wallets": "^0.19.31", diff --git a/src/components/AssetSelect/AssetSelectContent.tsx b/src/components/AssetSelect/AssetSelectContent.tsx index 5a0c14a7..0de0f266 100644 --- a/src/components/AssetSelect/AssetSelectContent.tsx +++ b/src/components/AssetSelect/AssetSelectContent.tsx @@ -52,7 +52,7 @@ function AssetSelectContent({ assets = [], balances, onChange, onClose, showChai const filteredAssets = useMemo(() => { if (!searchValue) return sortedAssets; return matchSorter(sortedAssets || [], searchValue, { - keys: ["symbol", "denom"], + keys: ["recommendedSymbol", "symbol", "denom"], }); }, [searchValue, sortedAssets]); diff --git a/src/components/EmbedDialog/index.tsx b/src/components/EmbedDialog/index.tsx index b26252d2..5e497c4a 100644 --- a/src/components/EmbedDialog/index.tsx +++ b/src/components/EmbedDialog/index.tsx @@ -60,7 +60,7 @@ export const EmbedDialog = ({ embedLink }: { embedLink: string }) => { Note: You can customize the default swap route by modifying the query parameters for more information visit the{" "} { + if (chainType === "cosmos") { + return Number(useSettingsStore.getState().customGasAmount); + } + }, slippageTolerancePercent: useSettingsStore.getState().slippage, onTransactionTracked: async (txStatus) => { const makeExplorerUrl = await getExplorerUrl(txStatus.chainID); diff --git a/src/components/SwapWidget/useSwapWidget.ts b/src/components/SwapWidget/useSwapWidget.ts index 98f67d93..b435869e 100644 --- a/src/components/SwapWidget/useSwapWidget.ts +++ b/src/components/SwapWidget/useSwapWidget.ts @@ -506,7 +506,7 @@ export function useSwapWidget() { return denom === srcFeeAsset?.denom; }); - if (!feeDenomPrices) { + if (!feeDenomPrices || !feeDenomPrices.gasPrice) { toast.error(`Unable to find gas prices for ${srcFeeAsset.denom} on ${srcChain.chainName}`); return; }