From fa8896142055a9baa70b2779123cdcb1d5830c4e Mon Sep 17 00:00:00 2001 From: Dmytro Date: Tue, 26 Mar 2024 17:21:25 +0000 Subject: [PATCH] Add new legacy holesky network --- src/core/constants.ts | 6 +++--- src/core/network.ts | 2 +- src/metadata/addresses/legacy.json | 16 ++++++++-------- src/metadata/faucet.json | 11 +---------- src/metadata/proxy.json | 2 +- 5 files changed, 14 insertions(+), 23 deletions(-) diff --git a/src/core/constants.ts b/src/core/constants.ts index 34a30e7..c3ee221 100644 --- a/src/core/constants.ts +++ b/src/core/constants.ts @@ -55,7 +55,7 @@ export const HTTPS_PREFIX = 'https://' export const MAINNET_EXPLORER_URLS: { [skaleNetwork: string]: string } = { mainnet: 'https://etherscan.io', staging: 'https://goerli.etherscan.io/', - legacy: 'https://goerli.etherscan.io/', + legacy: 'https://holesky.etherscan.io/', regression: 'https://goerli.etherscan.io/', testnet: 'https://holesky.etherscan.io/' } @@ -63,7 +63,7 @@ export const MAINNET_EXPLORER_URLS: { [skaleNetwork: string]: string } = { export const BASE_EXPLORER_URLS: { [skaleNetwork: string]: string } = { mainnet: 'explorer.mainnet.skalenodes.com', staging: 'explorer.staging-v3.skalenodes.com', - legacy: 'legacy-explorer.skalenodes.com', + legacy: 'legacy-explorer.skaleserver.com', regression: 'regression-explorer.skalenodes.com', testnet: 'explorer.testnet.skalenodes.com' } @@ -71,7 +71,7 @@ export const BASE_EXPLORER_URLS: { [skaleNetwork: string]: string } = { export const MAINNET_WS_ENDPOINTS: { [skaleNetwork: string]: string } = { mainnet: 'wss://ethereum.publicnode.com', staging: 'wss://ethereum-goerli.publicnode.com', - legacy: 'wss://ethereum-goerli.publicnode.com', + legacy: 'wss://ethereum-holesky.publicnode.com', regression: 'wss://ethereum-goerli.publicnode.com', testnet: 'wss://ethereum-holesky.publicnode.com' } diff --git a/src/core/network.ts b/src/core/network.ts index 0d4f932..8beccf8 100644 --- a/src/core/network.ts +++ b/src/core/network.ts @@ -48,7 +48,7 @@ const PROTOCOL: { [protocol in 'http' | 'ws']: string } = { export const CHAIN_IDS: { [network in SkaleNetwork]: number } = { staging: 5, - legacy: 5, + legacy: 17000, regression: 5, mainnet: 1, testnet: 17000 diff --git a/src/metadata/addresses/legacy.json b/src/metadata/addresses/legacy.json index 82aa3e6..b3f10ba 100644 --- a/src/metadata/addresses/legacy.json +++ b/src/metadata/addresses/legacy.json @@ -1,10 +1,10 @@ { - "message_proxy_mainnet_address": "0x1aB061B92CF11Cb7E1dc66Ef397a8A86707398a8", - "linker_address": "0x71b9CeE11de5A0CD1c23c79761bd228D37f68B7f", - "community_pool_address": "0xf0d861f90707Fc348d3f55ac54DF51993191e146", - "deposit_box_eth_address": "0x4F945E1E36CB921acd25C25467C516B2aD830A26", - "deposit_box_erc20_address": "0x05F9264A0639419f3A1ED21de910EC1D7B7868ba", - "deposit_box_erc721_address": "0x44c39c783E2ba0B981A0a0e5beCE5a12661d11C8", - "deposit_box_erc1155_address": "0x4EC8e29627e233da710F257b537D0F53740CDB3E", - "deposit_box_erc721_with_metadata_address": "0x2dC54a15E06b9cBcE94d26C9753cc15aE3192b9C" + "message_proxy_mainnet_address": "0x0F38cD94a864329A67e4dc74F34153d048098e6F", + "linker_address": "0x91a0B2B94763D9d8891079cA59E857CDF789E7f0", + "community_pool_address": "0x4988B1B5CC4c370B096C3C1117B1A95f1103f3fa", + "deposit_box_eth_address": "0x9C3585942d9b1e794461468C88459C36dE703504", + "deposit_box_erc20_address": "0x8EB43abF4b359FF09e2b92a5671d8A5000E515e8", + "deposit_box_erc721_address": "0xAc70e8a4b4E7BFd24270C0A4e0AF249cB39079fa", + "deposit_box_erc1155_address": "0x9C3D36481b612DB7565Ce2F78Fa5c233E8A77255", + "deposit_box_erc721_with_metadata_address": "0xD3DCC92525955C801D08c30aCc96E4ef39713A4A" } \ No newline at end of file diff --git a/src/metadata/faucet.json b/src/metadata/faucet.json index f3cb9fb..fc296ce 100644 --- a/src/metadata/faucet.json +++ b/src/metadata/faucet.json @@ -55,16 +55,7 @@ "func": "0x0c11dedd" } }, - "legacy": { - "skale-innocent-nasty": { - "address": "0xC0ED18Fe6654C8211582671E28E75d73BF61A60f", - "func": "0x0c11dedd" - }, - "international-villainous-zaurak": { - "address": "0x8bcA6a0E1427dBc2C2F40134d805d5929B80f56E", - "func": "0x0c11dedd" - } - }, + "legacy": null, "regression": null, "testnet": { "juicy-low-small-testnet": { diff --git a/src/metadata/proxy.json b/src/metadata/proxy.json index 71feccb..8999f45 100644 --- a/src/metadata/proxy.json +++ b/src/metadata/proxy.json @@ -1,7 +1,7 @@ { "mainnet": "mainnet.skalenodes.com", "staging": "staging-v3.skalenodes.com", - "legacy": "legacy-proxy.skalenodes.com", + "legacy": "legacy-proxy.skaleserver.com", "regression": "regression-proxy.skalenodes.com", "qatestnet": "new-testnet-proxy.skalenodes.com", "testnet": "testnet.skalenodes.com"