Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Sidu28 committed Nov 1, 2024
1 parent 362d9c0 commit ad8670d
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions tests/anvil/start-anvil-chain-with-el-and-avs-deployed.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,17 @@ deploy_eigenlayer() {
mv script/output/devnet/M2_from_scratch_deployment_data.json ../../../../script/output/31337/eigenlayer_deployment_output.json
mv script/output/devnet/M2_from_scratch_deployment_data.json.bak script/output/devnet/M2_from_scratch_deployment_data.json
echo "deployment output moved"
}

deploy_avs() {
echo "deploying avs"
cd ../../../../../contracts
pwd
forge script script/IncredibleSquaringDeployer.s.sol:IncredibleSquaringDeployer --rpc-url http://localhost:8545 --private-key 0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80 --broadcast -v
echo "avs deployed"
# echo "avs deployed"
}

# deploy_avs() {

# }

start_anvil() {
anvil
sleep 2
Expand All @@ -43,8 +45,8 @@ mv script/output/devnet/M2_from_scratch_deployment_data.json script/output/devne


start_anvil &
# deploy_eigenlayer &
deploy_avs &
deploy_eigenlayer


# # we need to restart the anvil chain at the correct block, otherwise the indexRegistry has a quorumUpdate at the block number
# # at which it was deployed (aka quorum was created/updated), but when we start anvil by loading state file it starts at block number 0
Expand Down

0 comments on commit ad8670d

Please sign in to comment.