mirror of https://github.com/zcash/halo2.git
Improve NoteCommit input value gate doc
Brings it in line with the other gate docs. Co-authored-by: ying tong <yingtong@z.cash>
This commit is contained in:
parent
bac22d9b19
commit
f2400baa01
|
@ -327,7 +327,9 @@ impl NoteCommitConfig {
|
||||||
.map(move |(name, poly)| (name, q_notecommit_pk_d.clone() * poly))
|
.map(move |(name, poly)| (name, q_notecommit_pk_d.clone() * poly))
|
||||||
});
|
});
|
||||||
|
|
||||||
// | value | d_2 | d_3 | e_0 |
|
// | A_6 | A_7 | A_8 | A_9 | q_notecommit_value |
|
||||||
|
// ------------------------------------------------
|
||||||
|
// | value | d_2 | d_3 | e_0 | 1 |
|
||||||
meta.create_gate("NoteCommit input value", |meta| {
|
meta.create_gate("NoteCommit input value", |meta| {
|
||||||
let q_notecommit_value = meta.query_selector(config.q_notecommit_value);
|
let q_notecommit_value = meta.query_selector(config.q_notecommit_value);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue