Skip to content

Commit

Permalink
feat: mainnet storage diff ci
Browse files Browse the repository at this point in the history
  • Loading branch information
0xClandestine committed Jan 30, 2025
1 parent 820e199 commit 0ba8137
Show file tree
Hide file tree
Showing 3 changed files with 61 additions and 46 deletions.
28 changes: 28 additions & 0 deletions .github/storage-diff.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"contracts": [
{
"name": "AVSDirectory",
"address": "0x135dda560e946695d6f155dacafc6f1f25c1f5af"
},
{
"name": "DelegationManager",
"address": "0x39053D51B77DC0d36036Fc1fCc8Cb819df8Ef37A"
},
{
"name": "RewardsCoordinator",
"address": "0x7750d328b314EfFa365A0402CcfD489B80B0adda"
},
{
"name": "StrategyManager",
"address": "0x858646372CC42E1A627fcE94aa7A7033e7CF075A"
},
{
"name": "StrategyFactory",
"address": "0x5e4C39Ad7A3E881585e383dB9827EB4811f6F647"
},
{
"name": "EigenPodManager",
"address": "0x91E677b07F7AF907ec9a428aafA9fc14a0d3A338"
}
]
}
33 changes: 33 additions & 0 deletions .github/workflows/storage-diff.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Storage Diff

on:
workflow_dispatch:
pull_request:
push:
branches:
- "dev"

jobs:
storage-diff:
name: CI

# Use latest Ubuntu runner.
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: "Storage Layout Check"
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
46 changes: 0 additions & 46 deletions .github/workflows/storage-report.yml

This file was deleted.

0 comments on commit 0ba8137

Please sign in to comment.