testnet config entries

This commit is contained in:
Joe Howarth 2023-01-09 11:29:32 -07:00
parent 12a09d8b24
commit cd1f2fce37
5 changed files with 100 additions and 3 deletions

View File

@ -0,0 +1,20 @@
{
"guardianSetIndex": 0,
"description": "This file contains the chains against which all the scripts should run.",
"chains": [
{
"description": "Avalanche testnet fuji",
"evmNetworkId": 43113,
"chainId": 6,
"rpc": "https://api.avax-test.network/ext/bc/C/rpc",
"wormholeAddress": "0x7bbcE28e64B3F8b84d876Ab298393c38ad7aac4C"
},
{
"description": "Celo",
"evmNetworkId": 44787,
"chainId": 14,
"rpc": "https://alfajores-forno.celo-testnet.org",
"wormholeAddress": "0x88505117CA88e7dd2eC6EA1E13f0948db2D50D56"
}
]
}

View File

@ -0,0 +1,34 @@
{
"description": "This file contains the addresses for the contracts on each chain. If useLastRun is true, this file will be ignored, and the addresses will be taken from the lastrun.json of the deployment scripts.",
"useLastRun": true,
"relayProviders": [
{
"chainId": 2,
"address": ""
},
{
"chainId": 4,
"address": ""
}
],
"coreRelayers": [
{
"chainId": 2,
"address": ""
},
{
"chainId": 4,
"address": ""
}
],
"mockIntegrations": [
{
"chainId": 2,
"address": ""
},
{
"chainId": 4,
"address": ""
}
]
}

View File

@ -0,0 +1,37 @@
{
"addresses": [
{
"chainId": 6,
"rewardAddress": "0x61a51662f0B30Bf176484cAc5B4a033C497cB2f3",
"approvedSenders": {
"address": "0x61a51662f0B30Bf176484cAc5B4a033C497cB2f3",
"approved": true
}
},
{
"chainId": 14,
"rewardAddress": "0x61a51662f0B30Bf176484cAc5B4a033C497cB2f3",
"approvedSenders": {
"address": "0x61a51662f0B30Bf176484cAc5B4a033C497cB2f3",
"approved": true
}
}
],
"pricingInfo": [
{
"chainId": 6,
"deliverGasOverhead": "350000",
"updatePriceGas": "300000000000",
"updatePriceNative": "100000",
"maximumBudget": "1000000000000000000"
},
{
"chainId": 14,
"deliverGasOverhead": "350000",
"updatePriceGas": "300000000000",
"updatePriceNative": "100000",
"maximumBudget": "1000000000000000000"
}
]
}

View File

@ -58,6 +58,6 @@ async function run() {
console.log(rx, "da receipt")
}
run().then(() => console.log("Done!"))
console.log("Start!")
run().then(() => console.log("Done!"))

View File

@ -1 +1,7 @@
ts-node ./ts-scripts/relayProvider/deployRelayProvider.ts && ts-node ./ts-scripts/coreRelayer/deployCoreRelayer.ts && ts-node ./ts-scripts/relayProvider/registerChainsRelayProvider.ts && ts-node ./ts-scripts/coreRelayer/registerChainsCoreRelayerSelfSign.ts && ts-node ./ts-scripts/relayProvider/configureRelayProvider.ts && ts-node ./ts-scripts/mockIntegration/deployMockIntegration.ts && ts-node ./ts-scripts/mockIntegration/messageTest.ts
ts-node ./ts-scripts/relayProvider/deployRelayProvider.ts \
&& ts-node ./ts-scripts/coreRelayer/deployCoreRelayer.ts \
&& ts-node ./ts-scripts/relayProvider/registerChainsRelayProvider.ts \
&& ts-node ./ts-scripts/coreRelayer/registerChainsCoreRelayerSelfSign.ts \
&& ts-node ./ts-scripts/relayProvider/configureRelayProvider.ts \
&& ts-node ./ts-scripts/mockIntegration/deployMockIntegration.ts \
&& ts-node ./ts-scripts/mockIntegration/messageTest.ts