2021-08-24 18:21:14 +00:00
|
|
|
all:
|
2021-08-24 23:28:13 +00:00
|
|
|
if ! test -d venv; then python3 -m venv venv; fi;
|
2021-08-24 18:21:14 +00:00
|
|
|
. ./venv/bin/activate
|
2021-08-25 18:15:27 +00:00
|
|
|
pip3 install -r requirements.txt
|
2021-08-24 18:21:14 +00:00
|
|
|
rm -f ../../core/pyspec/eth2spec/test/phase0/random/test_random.py
|
|
|
|
rm -f ../../core/pyspec/eth2spec/test/altair/random/test_random.py
|
2022-01-28 03:08:59 +00:00
|
|
|
rm -f ../../core/pyspec/eth2spec/test/bellatrix/random/test_random.py
|
2022-10-14 23:14:50 +00:00
|
|
|
rm -f ../../core/pyspec/eth2spec/test/capella/random/test_random.py
|
2022-11-17 20:55:59 +00:00
|
|
|
rm -f ../../core/pyspec/eth2spec/test/eip4844/random/test_random.py
|
2021-08-25 18:15:27 +00:00
|
|
|
python3 generate.py phase0 > ../../core/pyspec/eth2spec/test/phase0/random/test_random.py
|
|
|
|
python3 generate.py altair > ../../core/pyspec/eth2spec/test/altair/random/test_random.py
|
2022-01-28 03:08:59 +00:00
|
|
|
python3 generate.py bellatrix > ../../core/pyspec/eth2spec/test/bellatrix/random/test_random.py
|
2022-10-14 23:14:50 +00:00
|
|
|
python3 generate.py capella > ../../core/pyspec/eth2spec/test/capella/random/test_random.py
|
2022-11-17 20:55:59 +00:00
|
|
|
python3 generate.py eip4844 > ../../core/pyspec/eth2spec/test/eip4844/random/test_random.py
|