Add `compile_deposit_contract` command

This commit is contained in:
Hsiao-Wei Wang 2019-05-30 13:26:36 +08:00
parent 12fee0e9d1
commit c277703423
No known key found for this signature in database
GPG Key ID: 95B070122902DEA4
1 changed files with 5 additions and 0 deletions

View File

@ -47,6 +47,11 @@ lint: $(PY_SPEC_ALL_TARGETS)
cd $(PY_SPEC_DIR); . venv/bin/activate; \
flake8 --max-line-length=120 ./eth2spec;
compile_deposit_contract:
cd $(PY_SPEC_DIR); python3 -m venv venv; . venv/bin/activate; \
cd ../..; cd $(DEPOSIT_CONTRACT_DIR); \
python tool/compile_deposit_contract.py contracts/validator_registration.v.py;
install_deposit_contract_test:
cd $(PY_SPEC_DIR); python3 -m venv venv; . venv/bin/activate; \
cd ../..; cd $(DEPOSIT_CONTRACT_DIR); \