gakonst / forge-benchmarks

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Forge / Dapptools Benchmarks & Integration Tests

Motivation

This repository is used for integration testing forge with common dapptools repositories, to ensure that it's compatible with the test cases in them, e.g. usage of HEVM cheatcodes, proper forking mode integration, fuzzing etc.

This repository is also used as a testbed for comparing performance between forge and dapptools.

How to run?

  1. Make sure forge & dapptools are installed
  2. Make sure dapptools is installed
  3. Run ./test.sh $REPO_NAME, e.g. ./test.sh LootLoose. If no argument is provided, it'll iterate over all repos under testdata and run all tests

Repositories Included

See the submodules linked within the testdata/ folder.

Adding a new repository

We use git submodules (I know I know submodules suck feel free to recommend a working alternative), you can add a new one via: ./add_test.sh $URL

About


Languages

Language:Shell 68.7%Language:Nix 31.3%