diff --git a/target_chains/ethereum/contracts/.env.prod.neon b/target_chains/ethereum/contracts/.env.prod.neon new file mode 100644 index 0000000000..09570eed1d --- /dev/null +++ b/target_chains/ethereum/contracts/.env.prod.neon @@ -0,0 +1,5 @@ +MIGRATIONS_DIR=./migrations/prod-receiver +MIGRATIONS_NETWORK=neon +WORMHOLE_CHAIN_NAME=neon +CLUSTER=mainnet +VALID_TIME_PERIOD_SECONDS=60 diff --git a/target_chains/ethereum/contracts/hardhat.config.ts b/target_chains/ethereum/contracts/hardhat.config.ts index 424c7b653c..929339a7b8 100644 --- a/target_chains/ethereum/contracts/hardhat.config.ts +++ b/target_chains/ethereum/contracts/hardhat.config.ts @@ -80,7 +80,7 @@ module.exports = { settings: { optimizer: { enabled: true, - runs: 10000, + runs: 5000, }, }, }, diff --git a/target_chains/ethereum/contracts/networks/245022934.json b/target_chains/ethereum/contracts/networks/245022934.json new file mode 100644 index 0000000000..90e3f9546a --- /dev/null +++ b/target_chains/ethereum/contracts/networks/245022934.json @@ -0,0 +1,16 @@ +[ + { + "contractName": "Migrations", + "address": "0x7a7F2493c578796ABfBA15Ce2e914A7A819979B7" + }, + { + "contractName": "WormholeReceiver", + "address": "0x621330D0ECd449A06b72f41C1A93626cCEC53ccA", + "transactionHash": "0x4dc725831f247e91759fb1d09a8962f9f533c57ae468630e6848b918bf92c9a6" + }, + { + "contractName": "PythUpgradable", + "address": "0x7f2dB085eFC3560AFF33865dD727225d91B4f9A5", + "transactionHash": "0x276282e22f4ea59a8eeec5223ce34b560e4e34e65b7fc503ade05878e73521ef" + } +] diff --git a/target_chains/ethereum/contracts/truffle-config.js b/target_chains/ethereum/contracts/truffle-config.js index bcf3462a62..786a5550a3 100644 --- a/target_chains/ethereum/contracts/truffle-config.js +++ b/target_chains/ethereum/contracts/truffle-config.js @@ -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: {