Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 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
2 changes: 0 additions & 2 deletions .env.example

This file was deleted.

10 changes: 0 additions & 10 deletions .github/actions/install/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,5 @@ runs:
using: composite

steps:
- name: Install node
uses: actions/setup-node@v4
with:
node-version: 18
cache: yarn

- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
Comment thread
MathisGD marked this conversation as resolved.
Outdated

- name: Install dependencies
run: yarn install --frozen-lockfile
shell: bash
2 changes: 1 addition & 1 deletion .github/workflows/formatting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ jobs:
- uses: ./.github/actions/install

- name: Run Linter
run: yarn lint
run: forge fmt --check
9 changes: 6 additions & 3 deletions .github/workflows/foundry.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- uses: ./.github/actions/install

- name: Build contracts via IR & check sizes
run: yarn build:forge --force --sizes # don't use compilation cache
run: forge build --force --sizes # don't use compilation cache

build-no-ir:
name: Compilation (without IR)
Expand All @@ -39,7 +39,7 @@ jobs:
- uses: ./.github/actions/install-cache

- name: Build contracts without IR
run: yarn build:forge
run: forge build
env:
FOUNDRY_PROFILE: no_via_ir

Expand Down Expand Up @@ -81,8 +81,11 @@ jobs:

- uses: ./.github/actions/install-cache

- name: Build morpho-blue
run: cd lib/morpho-blue && forge build
Comment thread
MathisGD marked this conversation as resolved.

- name: Run tests in ${{ matrix.type }} mode
run: yarn test:forge -vvv
run: FOUNDRY_PROFILE=no_via_ir forge test -vvv
Comment thread
MathisGD marked this conversation as resolved.
Outdated
env:
FOUNDRY_FUZZ_RUNS: ${{ matrix.fuzz-runs }}
FOUNDRY_FUZZ_MAX_TEST_REJECTS: ${{ matrix.max-test-rejects }}
Expand Down
30 changes: 0 additions & 30 deletions .github/workflows/hardhat.yml

This file was deleted.

28 changes: 0 additions & 28 deletions .github/workflows/npm-release.yml

This file was deleted.

11 changes: 0 additions & 11 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,26 +11,15 @@ dist/
# Docs
docs/

# Dotenv file
.env

# IDE
.vscode
Comment thread
MathisGD marked this conversation as resolved.

# data
data/
broadcast/

# Node.js
node_modules/

# Certora
.certora_internal
munged/

# Hardhat
/types
/cache_hardhat
/artifacts

*.log
1 change: 0 additions & 1 deletion .husky/.gitignore

This file was deleted.

5 changes: 0 additions & 5 deletions .husky/post-checkout

This file was deleted.

5 changes: 0 additions & 5 deletions .husky/post-merge

This file was deleted.

4 changes: 0 additions & 4 deletions .husky/pre-commit

This file was deleted.

4 changes: 0 additions & 4 deletions .husky/prepare-commit-msg

This file was deleted.

11 changes: 3 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -184,15 +184,10 @@ If one of the allocators starts setting the withdraw queue and/or supply queue t
- 3. Set a new withdraw queue that is in line with the vault risk strategy with the `updateWithdrawQueue` function (this can also be done by the curator or the other allocators).
- 4. Set a new supply queue that is in line with the vault risk strategy with the `setSupplyQueue` function (this can also be done by the curator or the other allocators).

## Development
## Developers

Install dependencies: `yarn`

Run forge tests: `yarn test:forge`

Run hardhat tests: `yarn test:hardhat`

You will find other useful commands in the [`package.json`](./package.json) file.
Compilation, testing and formatting done with `forge`.
Formal verification done with `certora`.

## Audits

Expand Down
3 changes: 0 additions & 3 deletions foundry.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
[profile.default]
src = "src"
test = "test/forge"
libs = ["lib"]
evm_version = "paris"
via-ir = true
optimizer = true
Expand Down
106 changes: 0 additions & 106 deletions hardhat.config.ts

This file was deleted.

76 changes: 0 additions & 76 deletions package.json

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Loading
Loading