Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 0 additions & 19 deletions Makefile

This file was deleted.

32 changes: 20 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,6 @@
This repository contains the data structures that can be used for the Morpho's matching engine 🦋.
The goal is to compare them in terms of security and gas consumption to find the best solution for the protocol and its users.

## Installation

Install foundry, you can find the instructions [here](https://book.getfoundry.sh/getting-started/installation.html).

Then, run `make`.

## Testing

Run `make test`.

For the `RedBlackBinaryTree`, you can run the tests with hardhat with `yarn test`.

# Data structures

The data structures we implement and modified are based on public works of amazing developers. We thank them for what they have done 🙏
Expand Down Expand Up @@ -51,6 +39,26 @@ Other data structures may be explored in the future and we are open to any sugge

In this section, you will find some guidelines to read before contributing to the project.

## Setup

Update git submodules:

```
git submodule update --init --recursive
```

Run yarn:

```
yarn
```

## Testing

The tests can be run with [foundry](https://github.com/foundry-rs/foundry).

For the `RedBlackBinaryTree`, you can run the tests with hardhat with `yarn test`.

## Creating issues and PRs

Guidelines for creating issues and PRs:
Expand Down
4 changes: 4 additions & 0 deletions foundry.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[profile.default]
src = "contracts"
test = "test-foundry"
solc_version = "0.8.17"