[eth] Add Linea goerli network (#947)

* [eth] Add Linea goerli network

* Add linea_testnet to eth/sdk/js
This commit is contained in:
Ali Behjati 2023-07-11 13:45:22 +03:30 committed by GitHub
parent 0ec7b69031
commit 2a4045504d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 29 additions and 2 deletions

View File

@ -39,6 +39,7 @@ export const RECEIVER_CHAINS = {
juno_testnet: 60021,
kava: 60022,
wemix: 60023,
linea: 60024,
};
// If there is any overlapping value the receiver chain will replace the wormhole

2
package-lock.json generated
View File

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

View File

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

View File

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

View File

@ -292,6 +292,10 @@ module.exports = {
gas: 10000000,
gasPrice: 200000000000,
},
linea_goerli: {
provider: payerProvider("https://rpc.goerli.linea.build"),
network_id: 59140,
},
},
compilers: {

View File

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

View File

@ -54,4 +54,5 @@ export const CONTRACT_ADDR: Record<string, string> = {
kava: "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729",
wemix: "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729",
wemix_testnet: "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729",
linea_goerli: "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729",
};