Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Maddiaa0 committed Jan 8, 2025
1 parent aebb526 commit a835bb1
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions yarn-project/end-to-end/scripts/network_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -209,11 +209,10 @@ if ! handle_network_shaping; then
fi

# Get the values from the values file
VALUES=$(cat "$VALUES_PATH")
ETHEREUM_SLOT_DURATION=$(yq -r '.ethereum.blockTime' <<<"$VALUES")
AZTEC_SLOT_DURATION=$(yq -r '.aztec.slotDuration' <<<"$VALUES")
AZTEC_EPOCH_DURATION=$(yq -r '.aztec.epochDuration' <<<"$VALUES")
AZTEC_EPOCH_PROOF_CLAIM_WINDOW_IN_L2_SLOTS=$(yq -r '.aztec.epochProofClaimWindow' <<<"$VALUES")
ETHEREUM_SLOT_DURATION=$(read_values_file "ethereum.blockTime")
AZTEC_SLOT_DURATION=$(read_values_file "aztec.slotDuration")
AZTEC_EPOCH_DURATION=$(read_values_file "aztec.epochDuration")
AZTEC_EPOCH_PROOF_CLAIM_WINDOW_IN_L2_SLOTS=$(read_values_file "aztec.epochProofClaimWindow")

# Run the test if $TEST is not empty
if [ -n "$TEST" ]; then
Expand Down

0 comments on commit a835bb1

Please sign in to comment.