diff --git a/src/__swaps__/screens/Swap/components/SwapActionButton.tsx b/src/__swaps__/screens/Swap/components/SwapActionButton.tsx index a6a8d913966..b907d44bbff 100644 --- a/src/__swaps__/screens/Swap/components/SwapActionButton.tsx +++ b/src/__swaps__/screens/Swap/components/SwapActionButton.tsx @@ -109,6 +109,8 @@ function SwapButton({ return rightIcon; }); + console.log('testID', testID, 'aa'); + return ( - + {labelValue} diff --git a/src/__swaps__/utils/decimalFormatter.ts b/src/__swaps__/utils/decimalFormatter.ts index fc0f9a943ec..ebab110e1bf 100644 --- a/src/__swaps__/utils/decimalFormatter.ts +++ b/src/__swaps__/utils/decimalFormatter.ts @@ -79,6 +79,7 @@ export function valueBasedDecimalFormatter({ // Default to normal rounding if no rounding mode is specified roundedAmount = divWorklet(roundWorklet(mulWorklet(amount, factor)), factor); } + console.log('maximumDecimalPlaces', maximumDecimalPlaces); // Format the number to add separators and trim trailing zeros const numberFormatter = new Intl.NumberFormat('en-US', { minimumFractionDigits: minimumDecimalPlaces, diff --git a/src/handlers/web3.ts b/src/handlers/web3.ts index 75c1dd85022..ea55de93e96 100644 --- a/src/handlers/web3.ts +++ b/src/handlers/web3.ts @@ -199,11 +199,11 @@ export const getCachedProviderForNetwork = (chainId: ChainId = ChainId.mainnet): }; export const getProvider = ({ chainId }: { chainId: number }): StaticJsonRpcProvider => { - const cachedProvider = chainsProviders.get(chainId); + // const cachedProvider = chainsProviders.get(chainId); - if (cachedProvider) { - return cachedProvider; - } + // if (cachedProvider) { + // return cachedProvider; + // } const networkObject = getNetworkObject({ chainId });