File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ cd $parent_path/..
2020
2121
2222# Stop the devnet in case it's already running
23- devnet stop || true
23+ avs- devnet stop || true
2424
2525cp devnet.yaml devnet.yaml.bak
2626
@@ -35,19 +35,19 @@ cleanup() {
3535 echo " Executing cleanup function..."
3636 set +e
3737 # Stop the devnet, and restore the old devnet configuration
38- devnet stop || true
38+ avs- devnet stop || true
3939 mv devnet.yaml.bak devnet.yaml || true
4040}
4141trap ' cleanup' EXIT
4242
4343# Start the devnet and exit with a custom message if it fails
44- devnet start || { echo " Failed to start the devnet" ; exit 42; }
44+ avs- devnet start || { echo " Failed to start the devnet" ; exit 42; }
4545
4646# Fetch RPC URL and TaskManager address
47- RPC_URL=$( devnet get-ports | yq .el-1-besu-lighthouse.rpc)
47+ RPC_URL=$( avs- devnet get-ports | yq .el-1-besu-lighthouse.rpc)
4848echo " Fetched RPC URL: $RPC_URL "
4949
50- TASK_MANAGER_ADDR=$( devnet get-address avs_addresses:credibleSquaringTaskManager)
50+ TASK_MANAGER_ADDR=$( avs- devnet get-address avs_addresses:credibleSquaringTaskManager)
5151echo " Fetched TaskManager address: $TASK_MANAGER_ADDR "
5252
5353# Fetch the latest task number
You can’t perform that action at this time.
0 commit comments