parent
c732fcf586
commit
c86e4f2610
|
@ -0,0 +1,5 @@
|
||||||
|
MIGRATIONS_DIR=./migrations/prod-receiver
|
||||||
|
MIGRATIONS_NETWORK=linea
|
||||||
|
WORMHOLE_CHAIN_NAME=linea
|
||||||
|
CLUSTER=mainnet
|
||||||
|
VALID_TIME_PERIOD_SECONDS=60
|
|
@ -35,7 +35,7 @@ while [[ $# -ne 0 ]]; do
|
||||||
echo "Skipping truffle migration on $NETWORK. If you wish to deploy a fresh contract read Deploying.md."
|
echo "Skipping truffle migration on $NETWORK. If you wish to deploy a fresh contract read Deploying.md."
|
||||||
else
|
else
|
||||||
echo "Migrating..."
|
echo "Migrating..."
|
||||||
npx truffle migrate --network $MIGRATIONS_NETWORK
|
npx truffle migrate --network $MIGRATIONS_NETWORK --compile-none
|
||||||
echo "Deployment to $NETWORK finished successfully"
|
echo "Deployment to $NETWORK finished successfully"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,16 @@
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"contractName": "Migrations",
|
||||||
|
"address": "0xf5BBe9558F4Bf37F1eB82fb2CEdb1C775FA56832"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"contractName": "WormholeReceiver",
|
||||||
|
"address": "0x8250f4aF4B972684F7b336503E2D6dFeDeB1487a",
|
||||||
|
"transactionHash": "0x1abb6fa68d85acb2f23835c54e6475014173ee29aa7594d9c66a99bba9e570ad"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"contractName": "PythUpgradable",
|
||||||
|
"address": "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729",
|
||||||
|
"transactionHash": "0x2d68f659f650ff9a16c66e0b6dea012f054ea4a8b33c6be53934cf6686134c49"
|
||||||
|
}
|
||||||
|
]
|
|
@ -300,6 +300,17 @@ module.exports = {
|
||||||
provider: payerProvider("https://rpc.goerli.linea.build"),
|
provider: payerProvider("https://rpc.goerli.linea.build"),
|
||||||
network_id: 59140,
|
network_id: 59140,
|
||||||
},
|
},
|
||||||
|
linea: {
|
||||||
|
provider: payerProvider(
|
||||||
|
`https://linea-mainnet.infura.io/v3/` + process.env.INFURA_KEY
|
||||||
|
),
|
||||||
|
network_id: 59144,
|
||||||
|
verify: {
|
||||||
|
apiUrl: "http://explorer.linea.build/api",
|
||||||
|
explorerUrl: "https://explorer.linea.build/",
|
||||||
|
apiKey: "there_should_be_a_dummy_value_here_to_avoid_error",
|
||||||
|
},
|
||||||
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
compilers: {
|
compilers: {
|
||||||
|
|
|
@ -56,4 +56,5 @@ export const CONTRACT_ADDR: Record<string, string> = {
|
||||||
wemix: "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729",
|
wemix: "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729",
|
||||||
wemix_testnet: "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729",
|
wemix_testnet: "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729",
|
||||||
linea_goerli: "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729",
|
linea_goerli: "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729",
|
||||||
|
linea: "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729",
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue