Skip to content

Commit 11cb14c

Browse files
authored
Deploy neon (#854)
* Push * Add config * Sync up optimization for hardhat and truffle
1 parent 64bce66 commit 11cb14c

File tree

4 files changed

+26
-1
lines changed

4 files changed

+26
-1
lines changed
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=neon
3+
WORMHOLE_CHAIN_NAME=neon
4+
CLUSTER=mainnet
5+
VALID_TIME_PERIOD_SECONDS=60

target_chains/ethereum/contracts/hardhat.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ module.exports = {
8080
settings: {
8181
optimizer: {
8282
enabled: true,
83-
runs: 10000,
83+
runs: 5000,
8484
},
8585
},
8686
},
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": "0x7a7F2493c578796ABfBA15Ce2e914A7A819979B7"
5+
},
6+
{
7+
"contractName": "WormholeReceiver",
8+
"address": "0x621330D0ECd449A06b72f41C1A93626cCEC53ccA",
9+
"transactionHash": "0x4dc725831f247e91759fb1d09a8962f9f533c57ae468630e6848b918bf92c9a6"
10+
},
11+
{
12+
"contractName": "PythUpgradable",
13+
"address": "0x7f2dB085eFC3560AFF33865dD727225d91B4f9A5",
14+
"transactionHash": "0x276282e22f4ea59a8eeec5223ce34b560e4e34e65b7fc503ade05878e73521ef"
15+
}
16+
]

target_chains/ethereum/contracts/truffle-config.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,10 @@ module.exports = {
263263
provider: payerProvider("https://evmtestnet.confluxrpc.com"),
264264
network_id: 71,
265265
},
266+
neon: {
267+
provider: payerProvider("NEON_RPC_PLACEHOLDER"), // Replace this by the neon RPC node endpoint
268+
network_id: 245022934,
269+
},
266270
},
267271

268272
compilers: {

0 commit comments

Comments
 (0)