Skip to content

Commit

Permalink
feat: foundry-storage-check
Browse files Browse the repository at this point in the history
  • Loading branch information
HrikB committed Feb 7, 2024
1 parent 656ebd9 commit 306ca5c
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 1 deletion.
26 changes: 26 additions & 0 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -188,3 +188,29 @@ jobs:
- name: Run Slither
run: |
slither src
storage-check:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
- ubuntu-latest
node_version:
- 20

steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: "recursive"

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

- name: Check storage layout
uses: Rubilmax/[email protected]
with:
contract: src/IonPool.sol:IonPool
address: "0x00000000005a1de4c0eb34609e211ad8831707e0" # the address at which the contract check is deployed
2 changes: 1 addition & 1 deletion foundry.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ depth = 1536
call_override = false # reentrancy-check

[profile.ci.fuzz]
runs = 50
runs = 10

[profile.ci.invariant]
runs = 10
Expand Down

0 comments on commit 306ca5c

Please sign in to comment.