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: command:
- npx - npx
- ganache-cli - ganache-cli
- -q - --logging.quiet
- -e 10000 - --wallet.defaultBalance=10000
- --deterministic - --wallet.deterministic
- --time="1970-01-01T00:00:00+00:00" - --chain.time="1970-01-01T00:00:00+00:00"
- --host=0.0.0.0 - --host=0.0.0.0
- --accounts=11 - --wallet.totalAccounts=11
- --chain.chainId=1
- --chain.asyncRequestProcessing=false
ports: ports:
- containerPort: 8545 - containerPort: 8545
name: rpc name: rpc
@ -55,10 +57,11 @@ spec:
command: command:
- /bin/sh - /bin/sh
- -c - -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: readinessProbe:
periodSeconds: 1 periodSeconds: 1
failureThreshold: 300 failureThreshold: 300
initialDelaySeconds: 90
tcpSocket: tcpSocket:
port: 2000 port: 2000
- name: mine - name: mine

View File

@ -37,13 +37,14 @@ spec:
command: command:
- npx - npx
- ganache-cli - ganache-cli
- -q - --logging.quiet
- -e 10000 - --wallet.defaultBalance=10000
- --deterministic - --wallet.deterministic
- --time="1970-01-01T00:00:00+00:00" - --chain.time="1970-01-01T00:00:00+00:00"
- --host=0.0.0.0 - --host=0.0.0.0
- --accounts=11 - --wallet.totalAccounts=11
- --chainId=1397 - --chain.chainId=1397
- --chain.asyncRequestProcessing=false
ports: ports:
- containerPort: 8545 - containerPort: 8545
name: rpc name: rpc
@ -57,10 +58,11 @@ spec:
command: command:
- /bin/sh - /bin/sh
- -c - -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: readinessProbe:
periodSeconds: 1 periodSeconds: 1
failureThreshold: 300 failureThreshold: 300
initialDelaySeconds: 90
tcpSocket: tcpSocket:
port: 2000 port: 2000
- name: mine - name: mine