Skip to content

Commit

Permalink
chore: switch diamond storage pr check to
Browse files Browse the repository at this point in the history
gitcoindev/foundry-storage-check fork

Use foundry-storage-check fork with diamond storage support.

Resolves: #636
  • Loading branch information
gitcoindev authored and molecula451 committed Sep 28, 2023
1 parent af106dd commit 9bcb5eb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/diamond-storage-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ jobs:
working-directory: packages/contracts
run: |
echo src/dollar/upgradeInitializers/DiamondInit.sol:DiamondInit >> contracts.txt
forge tree | grep -E '^src/dollar/core' | cut -d' ' -f1 | xargs basename -s | cut -d'.' -f1 | xargs -I{} echo src/dollar/core/{}.sol:{} >> contracts.txt
forge tree | grep -E '^src/dollar/facets' | cut -d' ' -f1 | xargs basename -s | cut -d'.' -f1 | xargs -I{} echo src/dollar/facets/{}.sol:{} >> contracts.txt
forge tree | grep -E '^src/dollar/libraries/Lib' | cut -d' ' -f1 | xargs basename -s | cut -d'.' -f1 | xargs -I{} echo src/dollar/libraries/{}.sol:{} >> contracts.txt
echo "::set-output name=matrix::$(cat contracts.txt | jq -R -s -c 'split("\n")[:-1]')"
outputs:
matrix: ${{ steps.set-matrix.outputs.matrix }}

Expand All @@ -50,7 +50,7 @@ jobs:
version: nightly

- name: Verify storage layout
uses: Rubilmax/foundry-storage-check@main
uses: gitcoindev/foundry-storage-check@main
with:
workingDirectory: packages/contracts
contract: ${{ matrix.contract }}

0 comments on commit 9bcb5eb

Please sign in to comment.