Browse Source

chore-add-evm-linea-sepolia (#1410)

Aditya Arora 1 year ago
parent
commit
c2fde0f6dc

+ 5 - 0
contract_manager/store/chains/EvmChains.yaml

@@ -3,6 +3,11 @@
   rpcUrl: https://linea-goerli.blastapi.io/$ENV_BLAST_API_KEY
   networkId: 59140
   type: EvmChain
+- id: linea_sepolia
+  mainnet: false
+  rpcUrl: https://rpc.sepolia.linea.build
+  networkId: 59141
+  type: EvmChain
 - id: kava
   mainnet: true
   rpcUrl: https://kava-evm.publicnode.com

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

@@ -316,3 +316,6 @@
 - chain: parallel
   address: "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729"
   type: EvmPriceFeedContract
+- chain: linea_sepolia
+  address: "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729"
+  type: EvmPriceFeedContract

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

@@ -137,6 +137,7 @@ export const RECEIVER_CHAINS = {
   optimism_celestia_raspberry: 50061, // Gelato shared testnet
   parallel_testnet: 50062,
   polynomial_testnet: 50063,
+  linea_sepolia: 50064,
 };
 
 // If there is any overlapping value the receiver chain will replace the wormhole

+ 2 - 2
package-lock.json

@@ -59357,7 +59357,7 @@
     },
     "target_chains/ethereum/sdk/js": {
       "name": "@pythnetwork/pyth-evm-js",
-      "version": "1.38.0",
+      "version": "1.39.0",
       "license": "Apache-2.0",
       "dependencies": {
         "@pythnetwork/price-service-client": "*",
@@ -71107,7 +71107,7 @@
         "abi_generator": "*",
         "prettier": "^2.7.1",
         "prettier-plugin-solidity": "^1.0.0-rc.1",
-        "solc": "*"
+        "solc": "^0.8.25"
       },
       "dependencies": {
         "commander": {

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

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

+ 1 - 0
target_chains/ethereum/sdk/js/src/index.ts

@@ -88,6 +88,7 @@ export const CONTRACT_ADDR: Record<string, string> = {
   kava_testnet: "0xfA25E653b44586dBbe27eE9d252192F0e4956683",
   lightlink_pegasus_testnet: "0x5D289Ad1CE59fCC25b6892e7A303dfFf3a9f7167",
   linea_goerli: "0xdF21D137Aadc95588205586636710ca2890538d5",
+  linea_sepolia: "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729",
   manta_testnet: "0x41c9e39574F40Ad34c79f1C99B66A45eFB830d4c",
   manta_sepolia: "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729",
   mantle_sepolia: "0x98046Bd286715D3B0BC227Dd7a956b83D8978603",