-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #61 from superfluid-finance/super-examples-review
Fix Money Router Foundry tests
- Loading branch information
Showing
578 changed files
with
35 additions
and
65,455 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -58,6 +58,7 @@ jobs: | |
- name: Install, Build, and Test | ||
run: | | ||
cd "projects/${{ matrix.project }}" | ||
forge install | ||
forge install superfluid-protocol-monorepo=https://github.com/superfluid-finance/protocol-monorepo@dev --no-commit | ||
forge install https://github.com/OpenZeppelin/[email protected] --no-commit | ||
forge build | ||
forge test | ||
forge test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,4 +23,4 @@ build | |
dist | ||
typechain | ||
coverage | ||
coverage.json | ||
coverage.json |
This file was deleted.
Oops, something went wrong.
1 change: 0 additions & 1 deletion
1
projects/gda-advertisement-auction/foundry-tests/lib/openzeppelin-contracts
Submodule openzeppelin-contracts
deleted from
fd81a9
1 change: 0 additions & 1 deletion
1
projects/gda-advertisement-auction/foundry-tests/lib/superfluid-protocol-monorepo
Submodule superfluid-protocol-monorepo
deleted from
b182e1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,12 +2,18 @@ | |
|
||
### A basic example to get you started with the Superfluid Constant Flow Agreement | ||
|
||
This example has a Youtube walkthrough to go along with it! You can watch it here: https://www.youtube.com/watch?v=1mwbYQ429IU. Note that this tutorial only walks through the contract, not the Foundry test suite or package setup. | ||
This example has a Youtube walkthrough to go along with it! You can watch it here: [https://www.youtube.com/watch?v=1mwbYQ429IU](https://www.youtube.com/watch?v=1mwbYQ429IU). Note that this tutorial only walks through the contract, not the Foundry test suite or package setup. | ||
|
||
If you'd like to see a breakdown of the test file for this example, you can find a Youtube tutorial on this here: https://www.youtube.com/watch?v=C_PGd8CPdfg&t=1s. | ||
If you'd like to see a breakdown of the test file for this example, you can find a Youtube tutorial on this here: [https://www.youtube.com/watch?v=C_PGd8CPdfg&t=1s](https://www.youtube.com/watch?v=C_PGd8CPdfg&t=1s). | ||
|
||
1. Run `forge install` to install | ||
2. `forge build` to compile contracts | ||
3. `forge test` to run the test suite. | ||
**Important Update**: This README reflects an updated version of the project. The Youtube tutorials linked above are based on an older version of this project. | ||
|
||
Note: you might see an issue related to git when running forge install. If you see this error, try adding the `--no-commit` flag | ||
To get started with the updated version: | ||
|
||
1. Install dependencies with specific commands: | ||
|
||
* `forge install superfluid-protocol-monorepo=https://github.com/superfluid-finance/protocol-monorepo@dev --no-commit` | ||
* `forge install https://github.com/OpenZeppelin/[email protected] --no-commit` | ||
2. Compile the contracts with `forge build`. | ||
|
||
3. Run the test suite with `forge test`. |
Oops, something went wrong.