Skip to content

Commit

Permalink
fix: run in release mode
Browse files Browse the repository at this point in the history
  • Loading branch information
whichqua committed Aug 28, 2024
1 parent 96b1a58 commit 259444f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/prove-blocks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ fi
# Loop through each block number and execute the cargo command
for BLOCK_NUMBER in "${BLOCK_NUMBERS[@]}"; do
echo "Executing for block number: $BLOCK_NUMBER"
cargo run -p prove_block -- --block-number "$BLOCK_NUMBER" --rpc-provider "$PROVIDER"
cargo run -p prove_block --release -- --block-number "$BLOCK_NUMBER" --rpc-provider "$PROVIDER"

# Check if the cargo command failed
if [ $? -ne 0 ]; then
Expand Down

0 comments on commit 259444f

Please sign in to comment.