add eth-devnet

This commit is contained in:
derpy-duck 2023-06-05 16:40:20 +00:00
parent ad2edf3200
commit a94c5f15f6
2 changed files with 18 additions and 13 deletions

View File

@ -36,12 +36,14 @@ spec:
command:
- npx
- ganache-cli
- -q
- -e 10000
- --deterministic
- --time="1970-01-01T00:00:00+00:00"
- --logging.quiet
- --wallet.defaultBalance=10000
- --wallet.deterministic
- --chain.time="1970-01-01T00:00:00+00:00"
- --host=0.0.0.0
- --accounts=11
- --wallet.totalAccounts=11
- --chain.chainId=1
- --chain.asyncRequestProcessing=false
ports:
- containerPort: 8545
name: rpc
@ -55,10 +57,11 @@ spec:
command:
- /bin/sh
- -c
- "npm run migrate && npx truffle exec scripts/deploy_test_token.js && npm run deploy-batched-vaa-sender && npx truffle exec scripts/register_all_chains.js && nc -lkp 2000 0.0.0.0"
- "npm run migrate && npx truffle exec scripts/deploy_test_token.js && npx truffle exec scripts/register_all_chains.js && npm run deploy-relayers-evm1 && nc -lkn 2000"
readinessProbe:
periodSeconds: 1
failureThreshold: 300
initialDelaySeconds: 90
tcpSocket:
port: 2000
- name: mine

View File

@ -37,13 +37,14 @@ spec:
command:
- npx
- ganache-cli
- -q
- -e 10000
- --deterministic
- --time="1970-01-01T00:00:00+00:00"
- --logging.quiet
- --wallet.defaultBalance=10000
- --wallet.deterministic
- --chain.time="1970-01-01T00:00:00+00:00"
- --host=0.0.0.0
- --accounts=11
- --chainId=1397
- --wallet.totalAccounts=11
- --chain.chainId=1397
- --chain.asyncRequestProcessing=false
ports:
- containerPort: 8545
name: rpc
@ -57,10 +58,11 @@ spec:
command:
- /bin/sh
- -c
- "sed -i 's/CHAIN_ID=0x2/CHAIN_ID=0x4/g;s/EVM_CHAIN_ID=1/EVM_CHAIN_ID=1397/g' .env && npm run migrate && npx truffle exec scripts/deploy_test_token.js && npx truffle exec scripts/register_all_chains.js && nc -lkp 2000 0.0.0.0"
- "sed -i 's/CHAIN_ID=0x2/CHAIN_ID=0x4/g;s/EVM_CHAIN_ID=1/EVM_CHAIN_ID=1397/g' .env && npm run migrate && npx truffle exec scripts/deploy_test_token.js && npx truffle exec scripts/register_all_chains.js && npm run deploy-relayers-evm2 && nc -lkn 2000"
readinessProbe:
periodSeconds: 1
failureThreshold: 300
initialDelaySeconds: 90
tcpSocket:
port: 2000
- name: mine