Bläddra i källkod

[eth] Update zksync goerli after network reset (#697)

Ali Behjati 2 år sedan
förälder
incheckning
fc0de28b86

+ 3 - 3
package-lock.json

@@ -48072,7 +48072,7 @@
     },
     "price_pusher": {
       "name": "@pythnetwork/pyth-price-pusher",
-      "version": "4.1.0",
+      "version": "4.1.1",
       "license": "Apache-2.0",
       "dependencies": {
         "@injectivelabs/sdk-ts": "^1.0.484",
@@ -49985,7 +49985,7 @@
     },
     "target_chains/ethereum/sdk/js": {
       "name": "@pythnetwork/pyth-evm-js",
-      "version": "1.6.0",
+      "version": "1.7.0",
       "license": "Apache-2.0",
       "dependencies": {
         "@pythnetwork/price-service-client": "*",
@@ -59196,7 +59196,7 @@
     "@pythnetwork/pyth-price-pusher": {
       "version": "file:price_pusher",
       "requires": {
-        "@injectivelabs/sdk-ts": "1.0.484",
+        "@injectivelabs/sdk-ts": "^1.0.484",
         "@pythnetwork/price-service-client": "*",
         "@pythnetwork/pyth-sdk-solidity": "^2.2.0",
         "@truffle/hdwallet-provider": "^2.1.3",

+ 4 - 0
target_chains/ethereum/contracts/hardhat.config.ts

@@ -16,6 +16,10 @@ module.exports = {
   },
   defaultNetwork: "zkSyncTestnet",
   networks: {
+    goerli: {
+      url: `https://goerli.infura.io/v3/${process.env.INFURA_KEY}`,
+      zksync: false,
+    },
     zkSyncTestnet: {
       url: "https://zksync2-testnet.zksync.dev", // URL of the zkSync network RPC
       ethNetwork: "goerli", // Can also be the RPC URL of the Ethereum network (e.g. `https://goerli.infura.io/v3/<API_KEY>`)

+ 2 - 2
target_chains/ethereum/contracts/networks/280.json

@@ -1,10 +1,10 @@
 [
   {
     "contractName": "WormholeReceiver",
-    "address": "0x02C404128Ba4b83f4Ea8c134Ca30A7Aa07aac535"
+    "address": "0xA32e2Fe21b6441689f1308867931F4F145186B9F"
   },
   {
     "contractName": "PythUpgradable",
-    "address": "0xF532F2C1bB7b67E08f7D8B76f9fF804D0831725e"
+    "address": "0xC38B1dd611889Abc95d4E0a472A667c3671c08DE"
   }
 ]

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

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

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

@@ -32,7 +32,7 @@ export const CONTRACT_ADDR: Record<string, string> = {
   cronos: "0xE0d0e68297772Dd5a1f1D99897c581E2082dbA5B",
   cronos_testnet: "0xBAEA4A1A2Eaa4E9bb78f2303C213Da152933170E",
   arbitrum_goerli: "0x939C0e902FF5B3F7BA666Cc8F6aC75EE76d3f900",
-  zksync_goerli: "0xF532F2C1bB7b67E08f7D8B76f9fF804D0831725e",
+  zksync_goerli: "0xC38B1dd611889Abc95d4E0a472A667c3671c08DE",
   base_goerli: "0x5955C1478F0dAD753C7E2B4dD1b4bC530C64749f",
   shimmer_testnet: "0x354bF866A4B006C9AF9d9e06d9364217A8616E12",
   chiado: "0xdDAf6D29b8bc81c1F0798a5e4c264ae89c16a72B", // Gnosis testnet