From c2fde0f6dc5bd6f248cc6e4757b94bf8e9af4b98 Mon Sep 17 00:00:00 2001 From: Aditya Arora Date: Tue, 2 Apr 2024 10:51:34 -0400 Subject: [PATCH] chore-add-evm-linea-sepolia (#1410) --- contract_manager/store/chains/EvmChains.yaml | 5 +++++ contract_manager/store/contracts/EvmPriceFeedContracts.yaml | 3 +++ governance/xc_admin/packages/xc_admin_common/src/chains.ts | 1 + package-lock.json | 4 ++-- target_chains/ethereum/sdk/js/package.json | 2 +- target_chains/ethereum/sdk/js/src/index.ts | 1 + 6 files changed, 13 insertions(+), 3 deletions(-) diff --git a/contract_manager/store/chains/EvmChains.yaml b/contract_manager/store/chains/EvmChains.yaml index 7bcd604806..1609ba3082 100644 --- a/contract_manager/store/chains/EvmChains.yaml +++ b/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 diff --git a/contract_manager/store/contracts/EvmPriceFeedContracts.yaml b/contract_manager/store/contracts/EvmPriceFeedContracts.yaml index 3e04ca06c2..00ad61933e 100644 --- a/contract_manager/store/contracts/EvmPriceFeedContracts.yaml +++ b/contract_manager/store/contracts/EvmPriceFeedContracts.yaml @@ -316,3 +316,6 @@ - chain: parallel address: "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729" type: EvmPriceFeedContract +- chain: linea_sepolia + address: "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729" + type: EvmPriceFeedContract diff --git a/governance/xc_admin/packages/xc_admin_common/src/chains.ts b/governance/xc_admin/packages/xc_admin_common/src/chains.ts index eac567bd25..1c324c0509 100644 --- a/governance/xc_admin/packages/xc_admin_common/src/chains.ts +++ b/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 diff --git a/package-lock.json b/package-lock.json index 87a4d858a1..17f0098258 100644 --- a/package-lock.json +++ b/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": { diff --git a/target_chains/ethereum/sdk/js/package.json b/target_chains/ethereum/sdk/js/package.json index 98121a3dab..1edc7c46f5 100644 --- a/target_chains/ethereum/sdk/js/package.json +++ b/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": { diff --git a/target_chains/ethereum/sdk/js/src/index.ts b/target_chains/ethereum/sdk/js/src/index.ts index 6d4112e871..17896fdb88 100644 --- a/target_chains/ethereum/sdk/js/src/index.ts +++ b/target_chains/ethereum/sdk/js/src/index.ts @@ -88,6 +88,7 @@ export const CONTRACT_ADDR: Record = { kava_testnet: "0xfA25E653b44586dBbe27eE9d252192F0e4956683", lightlink_pegasus_testnet: "0x5D289Ad1CE59fCC25b6892e7A303dfFf3a9f7167", linea_goerli: "0xdF21D137Aadc95588205586636710ca2890538d5", + linea_sepolia: "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729", manta_testnet: "0x41c9e39574F40Ad34c79f1C99B66A45eFB830d4c", manta_sepolia: "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729", mantle_sepolia: "0x98046Bd286715D3B0BC227Dd7a956b83D8978603",