Skip to content

Commit

Permalink
ALL-6466: removed amoy from data api
Browse files Browse the repository at this point in the history
  • Loading branch information
rostislavjadavan committed May 6, 2024
1 parent ad08c1f commit 3dcf081
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
4 changes: 0 additions & 4 deletions src/api/api.dto.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ export type Chain =
| 'bsc'
| 'bsc-testnet'
| 'polygon'
| 'polygon-amoy'

export type ChainUtxoEnum =
| 'bitcoin'
Expand All @@ -35,7 +34,6 @@ export enum ChainEnum {
BSC = 'bsc',
BSC_TESTNET = 'bsc-testnet',
POLYGON = 'polygon',
POLYGON_AMOY = 'polygon-amoy',
}

export function networkToChain(network: Network): Chain {
Expand All @@ -54,8 +52,6 @@ export function networkToChain(network: Network): Chain {
return ChainEnum.BSC_TESTNET
case Network.POLYGON:
return ChainEnum.POLYGON
case Network.POLYGON_AMOY:
return ChainEnum.POLYGON_AMOY
default:
throw new Error(`Unsupported network ${network}`)
}
Expand Down
1 change: 0 additions & 1 deletion src/dto/Network.ts
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,6 @@ export const DATA_API_EVM_NETWORKS = [
Network.ETHEREUM,
Network.ETHEREUM_SEPOLIA,
Network.POLYGON,
Network.POLYGON_AMOY,
Network.BINANCE_SMART_CHAIN,
Network.BINANCE_SMART_CHAIN_TESTNET,
Network.CELO,
Expand Down

0 comments on commit 3dcf081

Please sign in to comment.