Skip to content

Commit

Permalink
fix generate-bindings locally
Browse files Browse the repository at this point in the history
  • Loading branch information
samlaf committed Jun 9, 2024
1 parent 83142a1 commit 332001a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contracts/generate-bindings.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ script_path=$(
)

# build abigen-with-interfaces docker image if it doesn't exist
if [[ "$(docker images -q abigen-with-interfaces 2> /dev/null)" == "" ]]; then
if [[ "$(docker images -q abigen-with-interfaces 2>/dev/null)" == "" ]]; then
docker build -t abigen-with-interfaces -f abigen-with-interfaces.Dockerfile $script_path
fi

Expand Down Expand Up @@ -47,7 +47,7 @@ cd $EIGENLAYER_CONTRACT_PATH
forge build

# No idea why but the ordering of the contracts matters, and for some orderings abigen fails...
el_contracts="DelegationManager ISlasher StrategyManager EigenPod EigenPodManager IStrategy IERC20 AVSDirectory"
el_contracts="DelegationManager ISlasher StrategyManager EigenPod EigenPodManager IStrategy AVSDirectory IERC20"
for contract in $el_contracts; do
create_binding . $contract ../../../../bindings
done

0 comments on commit 332001a

Please sign in to comment.