Skip to content

Commit

Permalink
refactor: move storage-diff.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
0xClandestine committed Jan 30, 2025
1 parent 5f83155 commit 991682e
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 34 deletions.
27 changes: 26 additions & 1 deletion .github/workflows/foundry.yml
Original file line number Diff line number Diff line change
Expand Up @@ -180,4 +180,29 @@ jobs:
if [ $FAILED -eq 1 ]; then
exit 1
fi
fi
# -----------------------------------------------------------------------
# Forge Storage Diff
# -----------------------------------------------------------------------

storage-diff:
name: Preview (Upgrade)
runs-on: ubuntu-latest
steps:
# Check out repository with all submodules for complete codebase access.
- uses: actions/checkout@v4
with:
submodules: recursive

# Install the Foundry toolchain.
- name: "Install Foundry"
uses: foundry-rs/foundry-toolchain@v1
with:
version: stable

# Run storage diff check to detect storage layout incompatibilities.
- name: "Mainnet Storage Diff"
run: |
bash bin/storage-diff.sh --rpc-url ${{ secrets.RPC_MAINNET }} --etherscan-key ${{ secrets.ETHERSCAN_API_KEY }} --input .github//storage-diff.json
id: storage-diff
33 changes: 0 additions & 33 deletions .github/workflows/storage-diff.yml

This file was deleted.

0 comments on commit 991682e

Please sign in to comment.