Skip to content

Commit e051444

Browse files
committed
more hardening, tests, CI setup
1 parent c2581a2 commit e051444

42 files changed

Lines changed: 13759 additions & 11053 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/ci.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Test
2+
3+
on:
4+
push:
5+
pull_request:
6+
7+
jobs:
8+
contract-tests:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v4
12+
13+
- uses: actions/setup-python@v5
14+
with:
15+
python-version: "3.12"
16+
17+
- name: Install Poetry
18+
run: python -m pip install poetry
19+
20+
- name: Install dependencies
21+
run: poetry install --no-interaction --no-root
22+
23+
- name: Run local contract launch gate
24+
run: bash ./scripts/contracts-launch-gate.sh

scripts/contracts-launch-gate.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@ poetry run pytest -q \
2121
tests/test_c4_payment_verification.py \
2222
tests/test_c6_launch_adversarial.py \
2323
tests/test_c6_redteam_extended.py \
24+
tests/test_mbr_topup_and_delete_on_zero.py \
2425
tests/contracts/test_protocol_config_factory.py \
2526
tests/contracts/test_market_factory_integration.py \
2627
tests/test_market_app_contract_runtime.py \
28+
tests/test_market_app_contract_v4_runtime.py \
2729
tests/contracts/test_v4_artifact_surface.py

smart_contracts/artifacts/market_app/QuestionMarket.approval.puya.map

Lines changed: 6634 additions & 6589 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)