From 1fc4b39dc7e80cd98bc689e8977c3be047621085 Mon Sep 17 00:00:00 2001 From: Elliot Winkler Date: Wed, 31 May 2023 11:51:46 -0600 Subject: [PATCH] Update INFURA_NETWORKS in NC tests to ostensibly use dec #'s (#19316) This is a tiny change in order to make the NetworkController tests between core and this repo more consistent and easier to compare. --- app/scripts/controllers/network/network-controller.test.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/scripts/controllers/network/network-controller.test.ts b/app/scripts/controllers/network/network-controller.test.ts index 6fd383522..1cfcc4817 100644 --- a/app/scripts/controllers/network/network-controller.test.ts +++ b/app/scripts/controllers/network/network-controller.test.ts @@ -86,19 +86,19 @@ const BLOCK: Block = POST_1559_BLOCK; const INFURA_NETWORKS = [ { networkType: NETWORK_TYPES.MAINNET, - chainId: '0x1' as const, + chainId: toHex(1), ticker: 'ETH', blockExplorerUrl: 'https://etherscan.io', }, { networkType: NETWORK_TYPES.GOERLI, - chainId: '0x5' as const, + chainId: toHex(5), ticker: 'GoerliETH', blockExplorerUrl: 'https://goerli.etherscan.io', }, { networkType: NETWORK_TYPES.SEPOLIA, - chainId: '0xaa36a7' as const, + chainId: toHex(11155111), ticker: 'SepoliaETH', blockExplorerUrl: 'https://sepolia.etherscan.io', },