From a24b72cb10fead2fdb53e8825689e86b6ad567bd Mon Sep 17 00:00:00 2001 From: Tuditi Date: Tue, 30 Apr 2024 11:59:21 +0200 Subject: [PATCH] chore: rename EvmNetworkType --- .../views/NetworkInformationDrawer.svelte | 6 ++--- .../views/components/AddIscChainForm.svelte | 4 ++-- .../send-flow/views/SelectTokenView.svelte | 1 + .../components/pills/NetworkTypePill.svelte | 8 +++---- .../layer-2/actions/getNetworkFromAddress.ts | 6 ++--- .../utils/buildEvmTransactionDataForNft.ts | 6 ++++- .../utils/buildEvmTransactionDataForToken.ts | 6 ++++- .../layer-2/utils/fetchIscAssetsForAccount.ts | 10 ++++---- .../network/classes/base-evm-network.class.ts | 7 ++---- .../core/network/classes/evm-network.class.ts | 14 +++++------ .../core/network/classes/isc-chain.class.ts | 24 ++++++++----------- .../network/classes/stardust-network.class.ts | 5 ++-- ...ault-isc-chains-configurations.constant.ts | 6 ++--- ...-l1-evm-network-configurations.constant.ts | 6 ++--- .../network/enums/evm-network-type.enum.ts | 4 ---- .../src/lib/core/network/enums/index.ts | 2 +- .../core/network/enums/network-type.enum.ts | 5 ++++ .../evm-network-configuration.interface.ts | 8 +++---- .../interfaces/evm-network.interface.ts | 16 ++++++------- .../interfaces/stardust-network.interface.ts | 7 ++++-- .../lib/core/network/stores/networks.store.ts | 4 ++-- .../lib/core/network/types/network.type.ts | 4 ++-- .../src/lib/core/network/utils/index.ts | 1 - .../src/lib/core/network/utils/isIscChain.ts | 7 ------ .../wallet/types/send-flow-parameter.type.ts | 1 + 25 files changed, 83 insertions(+), 85 deletions(-) delete mode 100644 packages/shared/src/lib/core/network/enums/evm-network-type.enum.ts create mode 100644 packages/shared/src/lib/core/network/enums/network-type.enum.ts delete mode 100644 packages/shared/src/lib/core/network/utils/isIscChain.ts diff --git a/packages/desktop/views/dashboard/drawers/network-config/views/NetworkInformationDrawer.svelte b/packages/desktop/views/dashboard/drawers/network-config/views/NetworkInformationDrawer.svelte index 3d21699ee9..a0c49aa00f 100644 --- a/packages/desktop/views/dashboard/drawers/network-config/views/NetworkInformationDrawer.svelte +++ b/packages/desktop/views/dashboard/drawers/network-config/views/NetworkInformationDrawer.svelte @@ -1,6 +1,6 @@