rename main template properly and remove useless file
This commit is contained in:
parent
068fec7b09
commit
88b955ec99
File diff suppressed because it is too large
Load Diff
|
@ -231,7 +231,7 @@ template membership_checker(){
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
template anemoi_proof_of_leadership(){
|
template anemoi_sha_proof_of_leadership(){
|
||||||
signal input epoch_nonce; //F_p (BLS12-381 scalar field)
|
signal input epoch_nonce; //F_p (BLS12-381 scalar field)
|
||||||
signal input slot_number; //F_p (BLS12-381 scalar field)
|
signal input slot_number; //F_p (BLS12-381 scalar field)
|
||||||
signal input t0; // Precomputed threshold elements in F_p
|
signal input t0; // Precomputed threshold elements in F_p
|
||||||
|
@ -314,4 +314,4 @@ template anemoi_proof_of_leadership(){
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
component main {public [epoch_nonce, slot_number, t0, t1, commitments_root]} = anemoi_proof_of_leadership();
|
component main {public [epoch_nonce, slot_number, t0, t1, commitments_root]} = anemoi_sha_proof_of_leadership();
|
|
@ -215,7 +215,7 @@ template membership_checker(){
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
template anemoi_proof_of_leadership(){
|
template poseidon_proof_of_leadership(){
|
||||||
signal input epoch_nonce; //F_p (BLS12-381 scalar field)
|
signal input epoch_nonce; //F_p (BLS12-381 scalar field)
|
||||||
signal input slot_number; //F_p (BLS12-381 scalar field)
|
signal input slot_number; //F_p (BLS12-381 scalar field)
|
||||||
signal input t0; // Precomputed threshold elements in F_p
|
signal input t0; // Precomputed threshold elements in F_p
|
||||||
|
@ -298,4 +298,4 @@ template anemoi_proof_of_leadership(){
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
component main {public [epoch_nonce, slot_number, t0, t1, commitments_root]} = anemoi_proof_of_leadership();
|
component main {public [epoch_nonce, slot_number, t0, t1, commitments_root]} = poseidon_proof_of_leadership();
|
|
@ -232,7 +232,7 @@ template membership_checker(){
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
template anemoi_proof_of_leadership(){
|
template poseidon_sha_proof_of_leadership(){
|
||||||
signal input epoch_nonce; //F_p (BLS12-381 scalar field)
|
signal input epoch_nonce; //F_p (BLS12-381 scalar field)
|
||||||
signal input slot_number; //F_p (BLS12-381 scalar field)
|
signal input slot_number; //F_p (BLS12-381 scalar field)
|
||||||
signal input t0; // Precomputed threshold elements in F_p
|
signal input t0; // Precomputed threshold elements in F_p
|
||||||
|
@ -315,4 +315,4 @@ template anemoi_proof_of_leadership(){
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
component main {public [epoch_nonce, slot_number, t0, t1, commitments_root]} = anemoi_proof_of_leadership();
|
component main {public [epoch_nonce, slot_number, t0, t1, commitments_root]} = poseidon_sha_proof_of_leadership();
|
Loading…
Reference in New Issue