Skip to content

Commit 2a40455

Browse files
authored
[eth] Add Linea goerli network (#947)
* [eth] Add Linea goerli network * Add linea_testnet to eth/sdk/js
1 parent 0ec7b69 commit 2a40455

File tree

7 files changed

+29
-2
lines changed

7 files changed

+29
-2
lines changed

governance/xc_governance_sdk_js/src/chains.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ export const RECEIVER_CHAINS = {
3939
juno_testnet: 60021,
4040
kava: 60022,
4141
wemix: 60023,
42+
linea: 60024,
4243
};
4344

4445
// If there is any overlapping value the receiver chain will replace the wormhole

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
MIGRATIONS_DIR=./migrations/prod-receiver
2+
MIGRATIONS_NETWORK=linea_goerli
3+
WORMHOLE_CHAIN_NAME=linea
4+
CLUSTER=testnet
5+
VALID_TIME_PERIOD_SECONDS=60
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
[
2+
{
3+
"contractName": "Migrations",
4+
"address": "0xf5BBe9558F4Bf37F1eB82fb2CEdb1C775FA56832"
5+
},
6+
{
7+
"contractName": "WormholeReceiver",
8+
"address": "0x8250f4aF4B972684F7b336503E2D6dFeDeB1487a",
9+
"transactionHash": "0xecde1af2814ab952a50056b496503fb230f0b4efe767b33c27c338860d8b3fb0"
10+
},
11+
{
12+
"contractName": "PythUpgradable",
13+
"address": "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729",
14+
"transactionHash": "0xc1b04e9261e9a92e3387186ba90affc88ee9ac53ec91ffd8b369aa6a6b85b775"
15+
}
16+
]

target_chains/ethereum/contracts/truffle-config.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -292,6 +292,10 @@ module.exports = {
292292
gas: 10000000,
293293
gasPrice: 200000000000,
294294
},
295+
linea_goerli: {
296+
provider: payerProvider("https://rpc.goerli.linea.build"),
297+
network_id: 59140,
298+
},
295299
},
296300

297301
compilers: {

target_chains/ethereum/sdk/js/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@pythnetwork/pyth-evm-js",
3-
"version": "1.20.1",
3+
"version": "1.21.0",
44
"description": "Pyth Network EVM Utils in JS",
55
"homepage": "https://pyth.network",
66
"author": {

target_chains/ethereum/sdk/js/src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,4 +54,5 @@ export const CONTRACT_ADDR: Record<string, string> = {
5454
kava: "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729",
5555
wemix: "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729",
5656
wemix_testnet: "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729",
57+
linea_goerli: "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729",
5758
};

0 commit comments

Comments
 (0)