chore(ethereum): deploy to new networks (#1270)
also update the ethereum sdk js to include the newly deployed contracts
This commit is contained in:
parent
1871ca1bf3
commit
f01d17e8ad
|
@ -266,9 +266,9 @@ async function main() {
|
|||
for (const chainName of chainNames) {
|
||||
const chain = DefaultStore.chains[chainName];
|
||||
if (!chain) {
|
||||
throw new Error(`Chain ${chain} not found`);
|
||||
throw new Error(`Chain ${chainName} not found`);
|
||||
} else if (!(chain instanceof EvmChain)) {
|
||||
throw new Error(`Chain ${chain} is not an EVM chain`);
|
||||
throw new Error(`Chain ${chainName} is not an EVM chain`);
|
||||
}
|
||||
|
||||
console.log(`Deploying price feed contracts on ${chain.getId()}...`);
|
||||
|
|
|
@ -438,6 +438,11 @@
|
|||
rpcUrl: https://replicator.pegasus.lightlink.io/rpc/v1
|
||||
networkId: 1891
|
||||
type: EvmChain
|
||||
- id: lightlink_phoenix
|
||||
mainnet: true
|
||||
rpcUrl: https://replicator.phoenix.lightlink.io/rpc/v1
|
||||
networkId: 1890
|
||||
type: EvmChain
|
||||
- id: sei_evm_devnet
|
||||
mainnet: false
|
||||
rpcUrl: https://evm-devnet.seinetwork.io
|
||||
|
@ -448,3 +453,8 @@
|
|||
rpcUrl: https://rpc.sonic.fantom.network/
|
||||
networkId: 64165
|
||||
type: EvmChain
|
||||
- id: dela_deperp_testnet
|
||||
mainnet: false
|
||||
rpcUrl: https://sepolia-dela.deperp.com
|
||||
networkId: 9393
|
||||
type: EvmChain
|
||||
|
|
|
@ -265,3 +265,9 @@
|
|||
- chain: fantom_sonic_testnet
|
||||
address: "0x36825bf3Fbdf5a29E2d5148bfe7Dcf7B5639e320"
|
||||
type: EvmPriceFeedContract
|
||||
- chain: dela_deperp_testnet
|
||||
address: "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729"
|
||||
type: EvmPriceFeedContract
|
||||
- chain: lightlink_phoenix
|
||||
address: "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729"
|
||||
type: EvmPriceFeedContract
|
||||
|
|
|
@ -60,6 +60,7 @@ export const RECEIVER_CHAINS = {
|
|||
zkfair: 60041,
|
||||
hedera: 60042,
|
||||
filecoin: 60043,
|
||||
lightlink_phoenix: 60044,
|
||||
|
||||
// Testnets as a separate chain ids (to use stable data sources and governance for them)
|
||||
injective_testnet: 60013,
|
||||
|
@ -121,6 +122,7 @@ export const RECEIVER_CHAINS = {
|
|||
lightlink_pegasus_testnet: 50050,
|
||||
sei_evm_devnet: 50051,
|
||||
fantom_sonic_testnet: 50052,
|
||||
dela_deperp_testnet: 50053,
|
||||
};
|
||||
|
||||
// If there is any overlapping value the receiver chain will replace the wormhole
|
||||
|
|
|
@ -58633,7 +58633,7 @@
|
|||
},
|
||||
"target_chains/ethereum/sdk/js": {
|
||||
"name": "@pythnetwork/pyth-evm-js",
|
||||
"version": "1.29.4",
|
||||
"version": "1.30.0",
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@pythnetwork/price-service-client": "*",
|
||||
|
@ -104650,7 +104650,7 @@
|
|||
"@types/bn.js": "^5.1.1",
|
||||
"@types/jest": "^29.2.5",
|
||||
"@types/lodash": "^4.14.191",
|
||||
"bigint-buffer": "*",
|
||||
"bigint-buffer": "^1.1.5",
|
||||
"ethers": "^5.7.2",
|
||||
"fast-check": "^3.10.0",
|
||||
"jest": "^29.3.1",
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@pythnetwork/pyth-evm-js",
|
||||
"version": "1.29.4",
|
||||
"version": "1.30.0",
|
||||
"description": "Pyth Network EVM Utils in JS",
|
||||
"homepage": "https://pyth.network",
|
||||
"author": {
|
||||
|
|
|
@ -28,9 +28,11 @@ export const CONTRACT_ADDR: Record<string, string> = {
|
|||
evmos: "0x354bF866A4B006C9AF9d9e06d9364217A8616E12",
|
||||
ethereum: "0x4305FB66699C3B2702D4d05CF36551390A4c69C6",
|
||||
fantom: "0xff1a0f4744e8582DF1aE09D5611b887B6a12925C",
|
||||
filecoin: "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729",
|
||||
gnosis: "0x2880aB155794e7179c9eE2e38200202908C17B43",
|
||||
horizen_eon: "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729",
|
||||
kava: "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729",
|
||||
lightlink: "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729",
|
||||
linea: "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729",
|
||||
manta: "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729",
|
||||
mantle: "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729",
|
||||
|
@ -45,6 +47,8 @@ export const CONTRACT_ADDR: Record<string, string> = {
|
|||
shimmer: "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729",
|
||||
viction: "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729",
|
||||
wemix: "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729",
|
||||
zetachain: "0x2880aB155794e7179c9eE2e38200202908C17B43",
|
||||
zkfair: "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729",
|
||||
zksync_era: "0xf087c864AEccFb6A2Bf1Af6A0382B0d0f6c5D834",
|
||||
// Testnets (Stable sources)
|
||||
arbitrum_sepolia: "0x4374e5a8b9C22271E9EB878A2AA31DE97DF15DAF",
|
||||
|
@ -52,6 +56,8 @@ export const CONTRACT_ADDR: Record<string, string> = {
|
|||
aurora_testnet: "0x74f09cb3c7e2A01865f424FD14F6dc9A14E3e94E",
|
||||
bnb_testnet: "0x5744Cbf430D99456a0A8771208b674F27f8EF0Fb",
|
||||
base_goerli: "0xEbe57e8045F2F230872523bbff7374986E45C486",
|
||||
base_sepolia: "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729",
|
||||
blast_s2_testnet: "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729",
|
||||
boba_goerli: "0x8D254a21b3C86D32F7179855531CE99164721933",
|
||||
bttc_testnet: "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729",
|
||||
cant_testnet: "0x26DD80569a8B23768A1d80869Ed7339e07595E85",
|
||||
|
@ -61,29 +67,37 @@ export const CONTRACT_ADDR: Record<string, string> = {
|
|||
conflux_espace_testnet: "0xDd24F84d36BF92C65F92307595335bdFab5Bbd21",
|
||||
core_dao_testnet: "0x8D254a21b3C86D32F7179855531CE99164721933",
|
||||
cronos_testnet: "0x36825bf3Fbdf5a29E2d5148bfe7Dcf7B5639e320",
|
||||
dela_deperp_testnet: "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729",
|
||||
eos_testnet: "0x0708325268dF9F66270F1401206434524814508b",
|
||||
evmos_testnet: "0x74f09cb3c7e2A01865f424FD14F6dc9A14E3e94E",
|
||||
fantom_sonic_testnet: "0x36825bf3Fbdf5a29E2d5148bfe7Dcf7B5639e320",
|
||||
fantom_testnet: "0x5744Cbf430D99456a0A8771208b674F27f8EF0Fb",
|
||||
filecoin_calibration: "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729",
|
||||
fuji: "0x23f0e8FAeE7bbb405E7A7C3d60138FCfd43d7509",
|
||||
hedera_testnet: "0x7a7F2493c578796ABfBA15Ce2e914A7A819979B7",
|
||||
kcc_testnet: "0x74f09cb3c7e2A01865f424FD14F6dc9A14E3e94E",
|
||||
kava_testnet: "0xfA25E653b44586dBbe27eE9d252192F0e4956683",
|
||||
lightlink_pegasus_testnet: "0x5D289Ad1CE59fCC25b6892e7A303dfFf3a9f7167",
|
||||
linea_goerli: "0xdF21D137Aadc95588205586636710ca2890538d5",
|
||||
manta_testnet: "0x41c9e39574F40Ad34c79f1C99B66A45eFB830d4c",
|
||||
mantle_testnet: "0xDd24F84d36BF92C65F92307595335bdFab5Bbd21",
|
||||
meter_testnet: "0x5a71C07a0588074443545eE0c08fb0375564c3E4",
|
||||
mode_testnet: "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729",
|
||||
movement_evm_devnet: "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729",
|
||||
mumbai: "0xFC6bd9F9f0c6481c6Af3A7Eb46b296A5B85ed379",
|
||||
neon_devnet: "0x0708325268dF9F66270F1401206434524814508b",
|
||||
optimism_goerli: "0xDd24F84d36BF92C65F92307595335bdFab5Bbd21",
|
||||
optimism_sepolia: "0x0708325268dF9F66270F1401206434524814508b",
|
||||
polygon_zkevm_testnet: "0xFf255f800044225f54Af4510332Aa3D67CC77635",
|
||||
saigon: "0xEbe57e8045F2F230872523bbff7374986E45C486",
|
||||
sei_evm_devnet: "0x23f0e8FAeE7bbb405E7A7C3d60138FCfd43d7509",
|
||||
scroll_sepolia: "0x41c9e39574F40Ad34c79f1C99B66A45eFB830d4c",
|
||||
sepolia: "0xDd24F84d36BF92C65F92307595335bdFab5Bbd21",
|
||||
shimmer_testnet: "0x8D254a21b3C86D32F7179855531CE99164721933",
|
||||
viction_testnet: "0x5D289Ad1CE59fCC25b6892e7A303dfFf3a9f7167",
|
||||
wemix_testnet: "0x26DD80569a8B23768A1d80869Ed7339e07595E85",
|
||||
zetachain_testnet: "0x0708325268dF9F66270F1401206434524814508b",
|
||||
zkfair_testnet: "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729",
|
||||
zksync_era_goerli: "0x8739d5024B5143278E2b15Bd9e7C26f6CEc658F1",
|
||||
zksync_era_sepolia: "0x056f829183Ec806A78c26C98961678c24faB71af",
|
||||
// Testnets (Beta sources)
|
||||
|
|
Loading…
Reference in New Issue