Skip to content

Commit 1c68fb7

Browse files
authored
fix(bb): remove blake-opt from git (#18822)
It was being generated and creating noise
2 parents f5de0c6 + 68e50ff commit 1c68fb7

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

barretenberg/sol/scripts/sync_blake_opt_vk.sh

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,21 @@ set -e
99
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
1010
VK_FILE="$SCRIPT_DIR/../src/honk/keys/BlakeHonkVerificationKey.sol"
1111
OPT_FILE="$SCRIPT_DIR/../src/honk/optimised/blake-opt.sol"
12+
TEMPLATE_FILE="$SCRIPT_DIR/../src/honk/optimised/blake-opt.sol.template"
1213

1314
if [ ! -f "$VK_FILE" ]; then
1415
echo "Error: VK file not found at $VK_FILE"
1516
exit 1
1617
fi
1718

18-
if [ ! -f "$OPT_FILE" ]; then
19-
echo "Error: blake-opt.sol not found at $OPT_FILE"
19+
if [ ! -f "$TEMPLATE_FILE" ]; then
20+
echo "Error: blake-opt.sol.template not found at $TEMPLATE_FILE"
2021
exit 1
2122
fi
2223

24+
# Always copy template to target
25+
cp "$TEMPLATE_FILE" "$OPT_FILE"
26+
2327
# Function to extract x,y coordinates from VK file for a given field name
2428
extract_coords() {
2529
local field_name="$1"
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
blake-opt.sol
2+
blake-opt.sol.bak

barretenberg/sol/src/honk/optimised/blake-opt.sol renamed to barretenberg/sol/src/honk/optimised/blake-opt.sol.template

File renamed without changes.

0 commit comments

Comments
 (0)