Skip to content

Latest commit

 

History

History
44 lines (29 loc) · 1.15 KB

README.md

File metadata and controls

44 lines (29 loc) · 1.15 KB

Foundry: Invariant & Fuzzing Template

Overview

This repository is a template to use in smart contract development.

Some supported features:

  • Fuzzing test examples.
  • Invariant test examples.
  • Support Vyper contracts using VyperDeployer.
  • Support Ape.
  • Fuzzing/Invariant (including fork testing) tests configured in the Github actions workflow.
  • Static analyzers configured in the Github actions workflow.
  • Support fork testing. More info in this example.

Requirements

Get Started

  • Copy/paste .env.template and create .env file.
  • Fill in .env with your our values.
  • Run forge build
  • Run forge test

Commands

Run tests (including invariants and forks)

forge test

Run coverage

forge coverage

Other Docs