Skip to content

Commit

Permalink
Fix blake2s tests
Browse files Browse the repository at this point in the history
  • Loading branch information
fmkra committed Sep 10, 2024
1 parent 4efbe3d commit e4ca8eb
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/stark/tests/test_stark_commit.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ fn test_stark_commit() {

assert(
stark_commit(
ref channel, @public_input, @unsent_commitment, @config, @stark_domains
ref channel, @public_input, @unsent_commitment, @config, @stark_domains, 0.try_into().unwrap()
) == stone_proof_fibonacci::stark::commitment::get(),
'Invalid value'
);
Expand Down
2 changes: 1 addition & 1 deletion src/stark/tests/test_stark_proof_verify.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ fn test_stark_proof_fibonacci_verify() {
witness: stone_proof_fibonacci::stark::witness::get(),
};

stark_proof.verify_initial(security_bits);
stark_proof.verify_initial(security_bits, 0.try_into().unwrap(), 0.try_into().unwrap());
}

#[cfg(feature: 'keccak')]
Expand Down
4 changes: 2 additions & 2 deletions src/stark/tests/test_stark_verify.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ fn test_stark_verify() {
let stark_domains = stone_proof_fibonacci::stark::domains::get();

stark_verify(
NUM_COLUMNS_FIRST, NUM_COLUMNS_SECOND, queries, commitment, witness, stark_domains,
)
NUM_COLUMNS_FIRST, NUM_COLUMNS_SECOND, queries, commitment, witness, stark_domains, 0.try_into().unwrap()
);
}

#[cfg(feature: 'keccak')]
Expand Down

0 comments on commit e4ca8eb

Please sign in to comment.