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/..
20
20
21
21
22
22
# Stop the devnet in case it's already running
23
- devnet stop || true
23
+ avs- devnet stop || true
24
24
25
25
cp devnet.yaml devnet.yaml.bak
26
26
@@ -35,19 +35,19 @@ cleanup() {
35
35
echo " Executing cleanup function..."
36
36
set +e
37
37
# Stop the devnet, and restore the old devnet configuration
38
- devnet stop || true
38
+ avs- devnet stop || true
39
39
mv devnet.yaml.bak devnet.yaml || true
40
40
}
41
41
trap ' cleanup' EXIT
42
42
43
43
# 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; }
45
45
46
46
# 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)
48
48
echo " Fetched RPC URL: $RPC_URL "
49
49
50
- TASK_MANAGER_ADDR=$( devnet get-address avs_addresses:credibleSquaringTaskManager)
50
+ TASK_MANAGER_ADDR=$( avs- devnet get-address avs_addresses:credibleSquaringTaskManager)
51
51
echo " Fetched TaskManager address: $TASK_MANAGER_ADDR "
52
52
53
53
# Fetch the latest task number
You can’t perform that action at this time.
0 commit comments