fix(v2): enforce hardened M0 contracts

This commit is contained in:
2026-07-27 18:59:28 +02:00
parent 92f2aaa27f
commit a0d081a4b4
9 changed files with 205 additions and 146 deletions
+8 -4
View File
@@ -1,13 +1,17 @@
PYTHON ?= .venv/bin/python
PIP ?= .venv/bin/pip
BOOTSTRAP_PYTHON ?= python3
NPM ?= npm
.PHONY: install test-fast lint typecheck frontend-build check-v1-absent check
.PHONY: setup install test-fast lint typecheck frontend-build check-v1-absent check
install:
$(PIP) install -e 'backend[dev]'
setup:
test -x $(PYTHON) || $(BOOTSTRAP_PYTHON) -m venv .venv
$(PYTHON) -m pip install --upgrade pip
$(PYTHON) -m pip install -e 'backend[dev]'
$(NPM) --prefix frontend ci
install: setup
test-fast:
$(PYTHON) -m pytest tests/unit tests/contract -q