From c277703423c1b8af0662ef0831fe88f4a4666f04 Mon Sep 17 00:00:00 2001 From: Hsiao-Wei Wang Date: Thu, 30 May 2019 13:26:36 +0800 Subject: [PATCH] Add `compile_deposit_contract` command --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Makefile b/Makefile index e80efcd7e..47be51e0a 100644 --- a/Makefile +++ b/Makefile @@ -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); \