Skip to content

Commit

Permalink
feat: remove convert asset fetcher
Browse files Browse the repository at this point in the history
  • Loading branch information
arthurgeron committed Feb 3, 2025
1 parent bdfbd9d commit 9d1fee5
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 43 deletions.
3 changes: 1 addition & 2 deletions packages/app/src/systems/Account/services/account.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,8 @@ import type {
CoinAsset,
} from '@fuel-wallet/types';
import * as Sentry from '@sentry/react';
import { Address, AssetFuel, BN, type Provider, bn } from 'fuels';
import { Address, type Provider, bn } from 'fuels';
import { AssetsCache } from '~/systems/Asset/cache/AssetsCache';
import { convertAsset } from '~/systems/Asset/services/convert-asset';
import { chromeStorage } from '~/systems/Core/services/chromeStorage';
import type { Maybe } from '~/systems/Core/types';
import { convertToUsd } from '~/systems/Core/utils/convertToUsd';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,6 @@ import { AssetRemoveDialog } from '../AssetRemoveDialog';

import type { AssetData, AssetFuelData } from '@fuel-wallet/types';
import type { BNInput } from 'fuels';
import { convertAsset } from '~/systems/Asset/services/convert-asset';
import { convertToUsd } from '~/systems/Core/utils/convertToUsd';
import { useProvider } from '~/systems/Network/hooks/useProvider';
import useFuelAsset from '../../hooks/useFuelAsset';
import { AssetItemAmount } from './AssetItemAmount';
import { AssetItemLoader } from './AssetItemLoader';
Expand Down
37 changes: 0 additions & 37 deletions packages/app/src/systems/Asset/services/convert-asset.ts

This file was deleted.

1 change: 0 additions & 1 deletion packages/app/src/systems/Transaction/utils/fee.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import type { BN, Provider } from 'fuels';
import { PolicyType, bn } from 'fuels';
import { convertAsset } from '~/systems/Asset/services/convert-asset';

type CalculateTotalFeeParams = {
gasPerByte: BN;
Expand Down

0 comments on commit 9d1fee5

Please sign in to comment.