Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 22 additions & 22 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file modified fixtures/keys/hyli_smt_incl_proof_key
Binary file not shown.
2 changes: 1 addition & 1 deletion fixtures/keys/hyli_smt_incl_proof_key_hash
Original file line number Diff line number Diff line change
@@ -1 +1 @@
-|«¥T/èl·‡×V?o#X—%êêÖ?;
-NpµÔ÷„u—%}H¹¾àýá9 ý¼ü€ÈÒÁ
Expand Down
Binary file modified fixtures/keys/hyli_utxo_key
Binary file not shown.
4 changes: 3 additions & 1 deletion fixtures/keys/hyli_utxo_key_hash
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
´•вáS@Ω5ÂTî³ð%p»âu¡¢p-vž

¤p5S Kt˜ó¯Ñf-5<šé
ÑËŒö&¤2
Expand Down
2 changes: 1 addition & 1 deletion fixtures/programs/agg_agg.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion fixtures/programs/agg_utxo.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion fixtures/programs/hyli_smt_incl_proof.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion fixtures/programs/hyli_utxo.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion fixtures/programs/migrate.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion fixtures/programs/points.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion fixtures/programs/signature.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion fixtures/programs/utxo.json

Large diffs are not rendered by default.

13 changes: 4 additions & 9 deletions noir/generate_fixtures.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,13 @@

set -xeuo pipefail

# Compile the program
NARGO=${NARGO:-nargo}
$NARGO compile --workspace

REPO_ROOT=$(git rev-parse --show-toplevel)
BACKEND=${BACKEND:-bb}

# Clean target
rm -r $REPO_ROOT/noir/target

# Compile the program
nargo compile --workspace
# Clean target and recompile
rm -rf $REPO_ROOT/noir/target
$NARGO compile --workspace

# Create the fixtures directory if it doesn't exist
mkdir -p $REPO_ROOT/fixtures/programs
Expand Down Expand Up @@ -58,7 +53,7 @@ for NAME in "${PROGRAMS[@]}"; do
echo "Generating verification key for $NAME with standalone verifier type"
# Note: New barretenberg (v2.0+) no longer supports --output_format bytes_and_fields
# It only generates binary 'vk' and 'vk_hash' files
$BACKEND write_vk ${oracle_hash_args[@]} --scheme ultra_honk --verifier_type standalone -b $REPO_ROOT/fixtures/programs/${NAME}.json -o $REPO_ROOT/fixtures/keys/ \
$BACKEND write_vk ${oracle_hash_args[@]+"${oracle_hash_args[@]}"} --scheme ultra_honk --verifier_type standalone -b $REPO_ROOT/fixtures/programs/${NAME}.json -o $REPO_ROOT/fixtures/keys/ \
&& mv $REPO_ROOT/fixtures/keys/vk $REPO_ROOT/fixtures/keys/${NAME}_key \
&& mv $REPO_ROOT/fixtures/keys/vk_hash $REPO_ROOT/fixtures/keys/${NAME}_key_hash

Expand Down
2 changes: 1 addition & 1 deletion pkg/zk-primitives/src/hyli_utxo.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ use hash::hash_merge;
use serde::{Deserialize, Serialize};

/// Number of public input fields emitted by the Hyli UTXO proof.
pub const HYLI_UTXO_PUBLIC_INPUTS_COUNT: usize = 732;
pub const HYLI_UTXO_PUBLIC_INPUTS_COUNT: usize = 713;

/// Number of field elements concatenated into the Hyli blob (2 output commitments + 2 nullifier commitments).
pub const HYLI_BLOB_HASH_COUNT: usize = 4;
Expand Down
Loading
Loading