Sfoglia il codice sorgente

chore(pricefeeds/evm): Deploy new chains (#1955)

* (chore) Add flow and fantom

* fix
Aditya Arora 1 anno fa
parent
commit
661feaf6c8

+ 6 - 1
contract_manager/store/chains/EvmChains.yaml

@@ -491,7 +491,7 @@
   type: EvmChain
 - id: fantom_sonic_testnet
   mainnet: false
-  rpcUrl: https://rpc.sonic.fantom.network/
+  rpcUrl: https://rpc.testnet.soniclabs.com
   networkId: 64165
   type: EvmChain
 - id: dela_deperp_testnet
@@ -714,3 +714,8 @@
   rpcUrl: https://apechain.calderachain.xyz/http
   networkId: 33139
   type: EvmChain
+- id: flow_mainnet
+  mainnet: true
+  rpcUrl: https://mainnet.evm.nodes.onflow.org
+  networkId: 747
+  type: EvmChain

+ 0 - 3
contract_manager/store/contracts/EvmEntropyContracts.yaml

@@ -13,9 +13,6 @@
 - chain: arbitrum_sepolia
   address: "0x549Ebba8036Ab746611B4fFA1423eb0A4Df61440"
   type: EvmEntropyContract
-- chain: fantom_sonic_testnet
-  address: "0xb27e5ca259702f209a29225d0eDdC131039C9933"
-  type: EvmEntropyContract
 - chain: blast_s2_testnet
   address: "0x98046Bd286715D3B0BC227Dd7a956b83D8978603"
   type: EvmEntropyContract

+ 6 - 3
contract_manager/store/contracts/EvmPriceFeedContracts.yaml

@@ -241,9 +241,6 @@
 - chain: lightlink_pegasus_testnet
   address: "0x5D289Ad1CE59fCC25b6892e7A303dfFf3a9f7167"
   type: EvmPriceFeedContract
-- chain: fantom_sonic_testnet
-  address: "0x36825bf3Fbdf5a29E2d5148bfe7Dcf7B5639e320"
-  type: EvmPriceFeedContract
 - chain: dela_deperp_testnet
   address: "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729"
   type: EvmPriceFeedContract
@@ -397,3 +394,9 @@
 - chain: apechain_mainnet
   address: "0x2880aB155794e7179c9eE2e38200202908C17B43"
   type: EvmPriceFeedContract
+- chain: flow_mainnet
+  address: "0x2880aB155794e7179c9eE2e38200202908C17B43"
+  type: EvmPriceFeedContract
+- chain: fantom_sonic_testnet
+  address: "0x96124d1F6E44FfDf1fb5D6d74BB2DE1B7Fbe7376"
+  type: EvmPriceFeedContract

+ 6 - 3
contract_manager/store/contracts/EvmWormholeContracts.yaml

@@ -202,9 +202,6 @@
 - chain: lightlink_pegasus_testnet
   address: "0x5f3c61944CEb01B3eAef861251Fb1E0f14b848fb"
   type: EvmWormholeContract
-- chain: fantom_sonic_testnet
-  address: "0x74f09cb3c7e2A01865f424FD14F6dc9A14E3e94E"
-  type: EvmWormholeContract
 - chain: dela_deperp_testnet
   address: "0xb27e5ca259702f209a29225d0eDdC131039C9933"
   type: EvmWormholeContract
@@ -385,3 +382,9 @@
 - chain: apechain_mainnet
   address: "0xb27e5ca259702f209a29225d0eDdC131039C9933"
   type: EvmWormholeContract
+- chain: flow_mainnet
+  address: "0xb27e5ca259702f209a29225d0eDdC131039C9933"
+  type: EvmWormholeContract
+- chain: fantom_sonic_testnet
+  address: "0xb700C2f6D14e2cfbD0845Bb102701dBDFf5d1bC4"
+  type: EvmWormholeContract

+ 1 - 0
governance/xc_admin/packages/xc_admin_common/src/chains.ts

@@ -83,6 +83,7 @@ export const RECEIVER_CHAINS = {
   cronos_zkevm_mainnet: 60059,
   idex_xchain_mainnet: 60060,
   apechain_mainnet: 60061,
+  flow_mainnet: 60062,
 
   // Testnets as a separate chain ids (to use stable data sources and governance for them)
   injective_testnet: 60013,

+ 1 - 1
target_chains/ethereum/sdk/js/package.json

@@ -1,6 +1,6 @@
 {
   "name": "@pythnetwork/pyth-evm-js",
-  "version": "1.67.0",
+  "version": "1.68.0",
   "description": "Pyth Network EVM Utils in JS",
   "homepage": "https://pyth.network",
   "author": {

+ 3 - 3
target_chains/ethereum/sdk/js/src/index.ts

@@ -34,7 +34,7 @@ export const CONTRACT_ADDR: Record<string, string> = {
   etherlink: "0x2880aB155794e7179c9eE2e38200202908C17B43",
   fantom: "0xff1a0f4744e8582DF1aE09D5611b887B6a12925C",
   filecoin: "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729",
-  flow_previewnet: "0x2880aB155794e7179c9eE2e38200202908C17B43",
+  flow_mainnet: "0x2880aB155794e7179c9eE2e38200202908C17B43",
   gnosis: "0x2880aB155794e7179c9eE2e38200202908C17B43",
   gravity: "0x2880aB155794e7179c9eE2e38200202908C17B43",
   hedera: "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729",
@@ -95,10 +95,10 @@ export const CONTRACT_ADDR: Record<string, string> = {
   etherlink_testnet: "0x2880aB155794e7179c9eE2e38200202908C17B43",
   eos_testnet: "0x0708325268dF9F66270F1401206434524814508b",
   evmos_testnet: "0x74f09cb3c7e2A01865f424FD14F6dc9A14E3e94E",
-  fantom_sonic_testnet: "0x36825bf3Fbdf5a29E2d5148bfe7Dcf7B5639e320",
+  fantom_sonic_testnet: "0x96124d1F6E44FfDf1fb5D6d74BB2DE1B7Fbe7376",
   fantom_testnet: "0x5744Cbf430D99456a0A8771208b674F27f8EF0Fb",
   filecoin_calibration: "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729",
-  flow_testnet: "0x2880aB155794e7179c9eE2e38200202908C17B43",
+  flow_previewnet: "0x2880aB155794e7179c9eE2e38200202908C17B43",
   fuji: "0x23f0e8FAeE7bbb405E7A7C3d60138FCfd43d7509",
   hedera_testnet: "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729",
   idex_xchain_testnet: "0x2880aB155794e7179c9eE2e38200202908C17B43",