Thomas E Lackey
99ea065389
All checks were successful
Ethereum Fixturenet Stack Test / Run Ethereum Fixturenet stack test (push) Successful in 24m49s
Co-authored-by: David Boreham <david@bozemanpass.com> Reviewed-on: #7
17 lines
479 B
Bash
Executable File
17 lines
479 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -e
|
|
|
|
# See: https://github.com/skylenet/ethereum-genesis-generator/blob/master/entrypoint.sh
|
|
|
|
rm -rf ../build/el
|
|
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 | \
|
|
jq 'del(.config.pragueTime)' \
|
|
> ../build/el/geth.json
|
|
|
|
python3 ../accounts/mnemonic_to_csv.py $tmp_dir/genesis-config.yaml > ../build/el/accounts.csv
|