forked from cerc-io/stack-orchestrator
Remove fixed IPs and separate network for fixturenet. (#30)
* Remove fixed IPs and separate network for fixturenet. * Remove static port mapping. * Add helper script for checking your fxiturenet status * Sleep 1 second * Fix spacing * Fix for latest genesis generator. * run as archive node
This commit is contained in:
@@ -12,6 +12,6 @@ if len(sys.argv) > 1:
|
||||
with open(testnet_config_path) as stream:
|
||||
data = yaml.safe_load(stream)
|
||||
|
||||
for key, value in data['eth1_premine'].items():
|
||||
for key, value in data['el_premine'].items():
|
||||
acct = w3.eth.account.from_mnemonic(data['mnemonic'], account_path=key, passphrase='')
|
||||
print("%s,%s,%s" % (key, acct.address, acct.key.hex()))
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
set -e
|
||||
|
||||
# See: https://github.com/skylenet/ethereum-genesis-generator/blob/master/entrypoint.sh
|
||||
|
||||
@@ -8,5 +9,7 @@ mkdir -p ../build/el
|
||||
tmp_dir=$(mktemp -d -t ci-XXXXXXXXXX)
|
||||
envsubst < el-config.yaml > $tmp_dir/genesis-config.yaml
|
||||
|
||||
python3 /apps/el-gen/genesis_geth.py $tmp_dir/genesis-config.yaml > ../build/el/geth.json
|
||||
ttd=`cat $tmp_dir/genesis-config.yaml | grep terminal_total_difficulty | awk '{ print $2 }'`
|
||||
|
||||
python3 /apps/el-gen/genesis_geth.py $tmp_dir/genesis-config.yaml | jq ".config.terminalTotalDifficulty=$ttd" > ../build/el/geth.json
|
||||
python3 ../accounts/mnemonic_to_csv.py $tmp_dir/genesis-config.yaml > ../build/el/accounts.csv
|
||||
|
||||
@@ -1,17 +1,16 @@
|
||||
mnemonic: "viable ketchup woman library opinion copy rhythm attend rose knock penalty practice photo bundle budget dentist enter round bind holiday useful arch danger lobster"
|
||||
eth1_premine:
|
||||
el_premine:
|
||||
"m/44'/60'/0'/0/0": 10000000ETH
|
||||
"m/44'/60'/0'/0/1": 10000000ETH
|
||||
"m/44'/60'/0'/0/2": 10000000ETH
|
||||
"m/44'/60'/0'/0/3": 10000000ETH
|
||||
"m/44'/60'/0'/0/4": 10000000ETH
|
||||
"m/44'/60'/0'/0/5": 10000000ETH
|
||||
eth1_premine_addrs: {}
|
||||
el_premine_addrs: {}
|
||||
chain_id: 1212
|
||||
deposit_contract_address: "0x1212121212121212121212121212121212121212"
|
||||
eth1_genesis_timestamp: 0
|
||||
terminal_total_difficulty: 10000000
|
||||
mergeForkBlock: 100
|
||||
genesis_timestamp: 0
|
||||
terminal_total_difficulty: 1000
|
||||
|
||||
clique:
|
||||
enabled: false
|
||||
|
||||
Reference in New Issue
Block a user