Skip to content

3 - rust hints offchain processor compatible #123

3 - rust hints offchain processor compatible

3 - rust hints offchain processor compatible #123

Workflow file for this run

name: Main
on: [pull_request, push]
jobs:
main:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- name: Set up python
uses: actions/setup-python@v4
with:
python-version: "3.9"
- name: Install Dependencies
run: |
make setup
- name: Check python formatting
run: source venv/bin/activate && ./tools/make/python_format_check.sh
- name: Check cairo Formatting
run: |
source venv/bin/activate && ./tools/make/cairo_format_check.sh
- name: Check rust Formatting
run: |
cargo fmt --check
- name: Compile cairo files
run: source venv/bin/activate && make build
- name: Run cairo tests
env:
RPC_URL_MAINNET: ${{ secrets.RPC_URL_MAINNET }}
RPC_URL: ${{ secrets.RPC_URL }}
run: source ./tools/make/cairo_tests.sh
- name: Run cairo_vm hints tests
run: cargo test --release -- --show-output
- name: Run mpt tests
run: source ./tools/make/fuzzer.sh tests/fuzzing/mpt.cairo --ci