Deploy neon (#854)

* Push

* Add config

* Sync up optimization for hardhat and truffle
This commit is contained in:
guibescos 2023-06-02 05:29:35 -05:00 committed by GitHub
parent 64bce66383
commit 11cb14ca76
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 26 additions and 1 deletions

View File

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

View File

@ -80,7 +80,7 @@ module.exports = {
settings: {
optimizer: {
enabled: true,
runs: 10000,
runs: 5000,
},
},
},

View File

@ -0,0 +1,16 @@
[
{
"contractName": "Migrations",
"address": "0x7a7F2493c578796ABfBA15Ce2e914A7A819979B7"
},
{
"contractName": "WormholeReceiver",
"address": "0x621330D0ECd449A06b72f41C1A93626cCEC53ccA",
"transactionHash": "0x4dc725831f247e91759fb1d09a8962f9f533c57ae468630e6848b918bf92c9a6"
},
{
"contractName": "PythUpgradable",
"address": "0x7f2dB085eFC3560AFF33865dD727225d91B4f9A5",
"transactionHash": "0x276282e22f4ea59a8eeec5223ce34b560e4e34e65b7fc503ade05878e73521ef"
}
]

View File

@ -263,6 +263,10 @@ module.exports = {
provider: payerProvider("https://evmtestnet.confluxrpc.com"),
network_id: 71,
},
neon: {
provider: payerProvider("NEON_RPC_PLACEHOLDER"), // Replace this by the neon RPC node endpoint
network_id: 245022934,
},
},
compilers: {