Skip to content

Commit

Permalink
👷‍♂️ Remove DappTools support
Browse files Browse the repository at this point in the history
  • Loading branch information
transmissions11 committed Apr 9, 2022
1 parent 3a4532b commit 93be75e
Show file tree
Hide file tree
Showing 12 changed files with 249 additions and 309 deletions.
14 changes: 0 additions & 14 deletions .dapprc

This file was deleted.

432 changes: 216 additions & 216 deletions .gas-snapshot

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
*.sol linguist-language=Solidity
.dapprc linguist-language=Shell
.gas-snapshot linguist-language=Julia
3 changes: 1 addition & 2 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,8 @@ Describe the changes made in your pull request here.

Ensure you completed **all of the steps** below before submitting your pull request:

- [ ] Ran `dapp snapshot`?
- [ ] Ran `forge snapshot`?
- [ ] Ran `npm run lint`?
- [ ] Ran `forge test`?
- [ ] Ran `dapp test`?

_Pull requests with an incomplete checklist will be thrown out._
27 changes: 0 additions & 27 deletions .github/workflows/dapp-tests.yml

This file was deleted.

20 changes: 0 additions & 20 deletions .github/workflows/forge-tests.yml

This file was deleted.

26 changes: 26 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Tests

on: [push, pull_request]

jobs:
forge-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- name: Install Foundry
uses: onbjerg/foundry-toolchain@v1
with:
version: nightly

- name: Install dependencies
run: forge install

- name: Check gas snapshots
run: forge snapshot --check

- name: Run tests
run: forge test
env:
# Only fuzz intensely if we're running this action on a push to main or for a PR going into main:
FOUNDRY_PROFILE: ${{ (github.ref == 'refs/heads/main' || github.base_ref == 'main') && "intense" }}
1 change: 0 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
"solidity.compileUsingRemoteVersion": "v0.8.10",
"search.exclude": { "lib": true },
"files.associations": {
".dapprc": "shellscript",
".gas-snapshot": "julia"
}
}
7 changes: 0 additions & 7 deletions Makefile

This file was deleted.

6 changes: 0 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,6 @@ We **do not give any warranties** and **will not be liable for any loss** incurr

## Installation

To install with [**DappTools**](https://github.com/dapphub/dapptools):

```sh
dapp install rari-capital/solmate
```

To install with [**Foundry**](https://github.com/gakonst/foundry):

```sh
Expand Down
6 changes: 6 additions & 0 deletions foundry.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[default]
optimizer = true
optimizer_runs = 1000000

[intense]
fuzz_runs = 100000
15 changes: 0 additions & 15 deletions shell.nix

This file was deleted.

0 comments on commit 93be75e

Please sign in to comment.