[consensus] y in is_lead fixed from commitment to hash, similar to the circuit

This commit is contained in:
mohab metwally
2023-01-06 23:19:36 +02:00
parent 02f022f491
commit 9a376a84d0
4 changed files with 26 additions and 22 deletions

View File

@@ -71,6 +71,7 @@ circuit "Lead" {
seed = poseidon_hash(PREFIX_SEED, c1_sk_root, c1_rho, ZERO);
# y
y = poseidon_hash(seed, mu_y);
###
constrain_instance(mu_y);
constrain_instance(y);
# rho