[evm] Deploy on Canto Testnet (#725)

* [evm] Deploy on Canto Testnet

* Redeploy

* Address feedbacks

---------

Co-authored-by: Ali Behjati <bahjatia@gmail.com>
This commit is contained in:
Cinque McFarlane-Blake 2023-03-29 17:15:08 +00:00 committed by GitHub
parent 49d150acc2
commit 38a8c2831a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 33 additions and 2 deletions

View File

@ -10,6 +10,7 @@ export const RECEIVER_CHAINS = {
evmos: 60006,
neon: 60007,
polygon_zkevm: 60008,
canto: 60009,
};
// If there is any overlapping value the receiver chain will replace the wormhole

2
package-lock.json generated
View File

@ -49988,7 +49988,7 @@
},
"target_chains/ethereum/sdk/js": {
"name": "@pythnetwork/pyth-evm-js",
"version": "1.10.0",
"version": "1.11.0",
"license": "Apache-2.0",
"dependencies": {
"@pythnetwork/price-service-client": "*",

View File

@ -0,0 +1,5 @@
MIGRATIONS_DIR=./migrations/prod-receiver
MIGRATIONS_NETWORK=canto_testnet
WORMHOLE_CHAIN_NAME=canto
CLUSTER=testnet
VALID_TIME_PERIOD_SECONDS=60

View File

@ -0,0 +1,16 @@
[
{
"contractName": "Migrations",
"address": "0xf5BBe9558F4Bf37F1eB82fb2CEdb1C775FA56832"
},
{
"contractName": "WormholeReceiver",
"address": "0x8250f4aF4B972684F7b336503E2D6dFeDeB1487a",
"transactionHash": "0x88f723ceda562f62f8694a6636967189f41fd32819dbe9aeebd47fb37182e4cf"
},
{
"contractName": "PythUpgradable",
"address": "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729",
"transactionHash": "0x96a9388ee29c40f04e306aaaf924e25e228545d443d2ef7b584c043c8f7f9666"
}
]

View File

@ -152,6 +152,14 @@ module.exports = {
gas: 8000000,
gasPrice: 300000000000,
},
canto_testnet: {
provider: payerProvider(`https://canto-testnet.plexnode.wtf`),
deploymentPollingInterval: 20000,
network_id: 7701,
networkCheckTimeout: 1000000,
timeoutBlocks: 200,
disableConfirmationListener: true,
},
celo: {
provider: payerProvider(`https://forno.celo.org`),
network_id: 42220,

View File

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

View File

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