Skip to content

Commit

Permalink
fixed eigenpod bindings bug
Browse files Browse the repository at this point in the history
  • Loading branch information
samlaf committed Nov 6, 2023
1 parent 3dc07ea commit c5284ae
Show file tree
Hide file tree
Showing 2 changed files with 2,424 additions and 1 deletion.
2,421 changes: 2,421 additions & 0 deletions contracts/bindings/EigenPod/binding.go

Large diffs are not rendered by default.

4 changes: 3 additions & 1 deletion contracts/generate-bindings.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,9 @@ EIGENLAYER_CONTRACT_PATH=$EIGENLAYER_MIDDLEWARE_PATH/lib/eigenlayer-contracts
cd $EIGENLAYER_CONTRACT_PATH
forge build

el_contracts="DelegationManager Slasher StrategyManager IStrategy EigenPodManager EigenPod IERC20"
# No idea why but EigenPod needs to be right before EigenPodManager otherwise there's a bug and
# abigen fails...
el_contracts="DelegationManager Slasher StrategyManager IStrategy EigenPod EigenPodManager IERC20"
for contract in $el_contracts; do
create_binding . $contract ../../../../bindings
done

0 comments on commit c5284ae

Please sign in to comment.