Parcourir la source

Add sepolia testnet (#1051)

Amin Moghaddam il y a 2 ans
Parent
commit
79ea43553f

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

@@ -340,3 +340,9 @@
   rpcUrl: https://gobi-rpc.horizenlabs.io/ethv1
   networkId: 1663
   type: EvmChain
+- id: sepolia
+  wormholeChainName: ethereum
+  mainnet: false
+  rpcUrl: https://ethereum-sepolia.blockpi.network/v1/rpc/public
+  networkId: 11155111
+  type: EvmChain

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

@@ -169,3 +169,6 @@
 - chain: horizen_eon
   address: "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729"
   type: EvmContract
+- chain: sepolia
+  address: "0x2880aB155794e7179c9eE2e38200202908C17B43"
+  type: EvmContract

+ 1 - 3
package-lock.json

@@ -30590,7 +30590,6 @@
       "version": "4.0.5",
       "resolved": "https://registry.npmjs.org/bufferutil/-/bufferutil-4.0.5.tgz",
       "integrity": "sha512-HTm14iMQKK2FjFLRTM5lAVcyaUzOnqbPtesFIvREgXpJHdQm8bWS+GkQgIkfaBYRHuCnea7w8UVNfwiAQhlr9A==",
-      "hasInstallScript": true,
       "optional": true,
       "dependencies": {
         "node-gyp-build": "^4.3.0"
@@ -30920,7 +30919,6 @@
       "version": "5.0.7",
       "resolved": "https://registry.npmjs.org/utf-8-validate/-/utf-8-validate-5.0.7.tgz",
       "integrity": "sha512-vLt1O5Pp+flcArHGIyKEQq883nBt8nN8tVBcoL0qUXj2XT1n7p70yGIq2VK98I5FdZ1YHc0wk/koOnHjnXWk1Q==",
-      "hasInstallScript": true,
       "optional": true,
       "dependencies": {
         "node-gyp-build": "^4.3.0"
@@ -59549,7 +59547,7 @@
     },
     "target_chains/ethereum/sdk/js": {
       "name": "@pythnetwork/pyth-evm-js",
-      "version": "1.26.0",
+      "version": "1.27.0",
       "license": "Apache-2.0",
       "dependencies": {
         "@pythnetwork/price-service-client": "*",

+ 16 - 0
target_chains/ethereum/contracts/networks/11155111.json

@@ -0,0 +1,16 @@
+[
+  {
+    "contractName": "Migrations",
+    "address": "0xf5BBe9558F4Bf37F1eB82fb2CEdb1C775FA56832"
+  },
+  {
+    "contractName": "WormholeReceiver",
+    "address": "0x8250f4aF4B972684F7b336503E2D6dFeDeB1487a",
+    "transactionHash": "0xc194ed47f2288e16d4336525e8cc93a0643f18fb8657c5c28d8f79209126abca"
+  },
+  {
+    "contractName": "PythUpgradable",
+    "address": "0x2880aB155794e7179c9eE2e38200202908C17B43",
+    "transactionHash": "0x91d1ccd2f6d019a0c5172ad2d9efa33a16a75ae77c9c56583c6cb1e03e39f969"
+  }
+]

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

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

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

@@ -66,4 +66,5 @@ export const CONTRACT_ADDR: Record<string, string> = {
   ronin: "0x2880aB155794e7179c9eE2e38200202908C17B43",
   horizen_gobi: "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729",
   horizen_eon: "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729",
+  sepolia: "0x2880aB155794e7179c9eE2e38200202908C17B43",
 };