Skip to content

Commit

Permalink
fix: make start-anvil wasn't working (#356)
Browse files Browse the repository at this point in the history
Fixes #

### What Changed?

This PR fixes the `Makefile`'s `start-anvil` target.

### Reviewer Checklist

- [ ] New features are tested and documented
- [ ] PR updates the changelog with a description of changes
- [ ] PR has one of the `changelog-X` labels (if applies)
- [ ] Code deprecates any old functionality before removing it
  • Loading branch information
MegaRedHand authored Feb 14, 2025
1 parent 223402f commit 284e037
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ __TESTING__: ##

.PHONY: start-anvil
start-anvil: reset-anvil ##
$(MAKE) start-anvil-chain-with-contracts-deployed
./crates/operator_sets_contracts/anvil/start-anvil-chain-with-el-and-avs-deployed.sh

.PHONY: reset-anvil
reset-anvil:
Expand Down Expand Up @@ -101,4 +101,4 @@ slashing-bindings:
git apply --allow-empty scripts/bindings.patch

.PHONY: bindings
bindings: rewardsv2-bindings slashing-bindings
bindings: rewardsv2-bindings slashing-bindings
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,6 @@ cleanup() {
trap 'cleanup $LINENO "$BASH_COMMAND"' EXIT

# start an anvil instance that has eigenlayer contracts deployed
start_anvil_docker $parent_path/dump_state.json ""
start_anvil_docker $parent_path/operatorset_contracts_deployed_anvil_state ""

docker attach anvil
2 changes: 1 addition & 1 deletion crates/operator_sets_contracts/anvil/utils.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,4 @@ start_anvil_docker() {
$LOAD_STATE_ANVIL_ARG $DUMP_STATE_ANVIL_ARG --host 0.0.0.0 \
--timestamp 0
sleep 2
}
}

0 comments on commit 284e037

Please sign in to comment.