Skip to content

MarginalProtocol/v1-core

Repository files navigation

v1-core

Marginal v1 core smart contracts.

Installation

The repo uses ApeWorX for development.

Set up a virtual environment

python -m venv .venv
source .venv/bin/activate

Install requirements and Ape plugins

pip install -r requirements.txt
ape plugins install .

Tests

Tests without fuzzing, integration

ape test -s -m "not fuzzing and not integration"

Tests with fuzzing but not integration

ape test -s -m "fuzzing and not integration"

Tests for integrations

ape test -s -m "integration" --network ethereum:mainnet-fork:foundry