[evm] Deploy on Polygon ZkEVM mainnet (#723)

* [evm] Deploy on Polygon ZkEVM mainnet

* Trigger CI

* clippy

---------

Co-authored-by: Ali Behjati <bahjatia@gmail.com>
This commit is contained in:
Jayant Krishnamurthy 2023-03-27 08:18:09 -07:00 committed by GitHub
parent 989ac4653a
commit 7dad38ea89
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 27 additions and 1 deletions

View File

@ -0,0 +1,5 @@
MIGRATIONS_DIR=./migrations/prod-receiver
MIGRATIONS_NETWORK=polygon_zkevm
WORMHOLE_CHAIN_NAME=polygon_zkevm
CLUSTER=mainnet
VALID_TIME_PERIOD_SECONDS=60

View File

@ -0,0 +1,16 @@
[
{
"contractName": "Migrations",
"address": "0xc0a2008C6639913c0a4b07C1B6A5F4b46b3e6faF"
},
{
"contractName": "WormholeReceiver",
"address": "0x7e8fe3Cad4Bc3762D245f91E4e058Abc79F27B66",
"transactionHash": "0x5a12c09896da8b94aac4a0b1f848c3e9ec1f46d4ad44dd2ae72a01bfbef7d184"
},
{
"contractName": "PythUpgradable",
"address": "0xC5E56d6b40F3e3B5fbfa266bCd35C37426537c65",
"transactionHash": "0x9b11895cf3a4bdc6b7d4f5c9dba7dcad5199618422dac379ed9799f16849a8f6"
}
]

View File

@ -188,6 +188,10 @@ module.exports = {
provider: payerProvider(`https://rpc.public.zkevm-test.net/`),
network_id: 1442,
},
polygon_zkevm: {
provider: payerProvider(`https://zkevm-rpc.com`),
network_id: 1101,
},
shimmer_testnet: {
provider: payerProvider(`https://json-rpc.evm.testnet.shimmer.network`),
network_id: 1070,

View File

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

View File

@ -41,4 +41,5 @@ export const CONTRACT_ADDR: Record<string, string> = {
evmos_testnet: "0x354bF866A4B006C9AF9d9e06d9364217A8616E12",
neon_devnet: "0x2FF312f50689ad279ABb164dB255Eb568733BD6c",
polygon_zkevm_testnet: "0xd54bf1758b1C932F86B178F8b1D5d1A7e2F62C2E",
polygon_zkevm: "0xC5E56d6b40F3e3B5fbfa266bCd35C37426537c65",
};