Skip to content

Commit

Permalink
fix: get node info from a PXE (#10420)
Browse files Browse the repository at this point in the history
The CLI changed or something. 

We now need to use a PXE url, and specify an empty string for node-url.

I filed #10419
  • Loading branch information
just-mitch authored Dec 5, 2024
1 parent 7ed89aa commit ed972f3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions spartan/aztec-network/files/config/config-validator-env.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#!/bin/bash
set -eu

# Pass the bootnode url as an argument
# Ask the bootnode for l1 contract addresses
output=$(node --no-warnings /usr/src/yarn-project/aztec/dest/bin/index.js get-node-info --node-url $1)
# Pass a PXE url as an argument
# Ask the PXE's node for l1 contract addresses
output=$(node --no-warnings /usr/src/yarn-project/aztec/dest/bin/index.js get-node-info -u $1 --node-url '')

echo "$output"

Expand Down

0 comments on commit ed972f3

Please sign in to comment.