-
Notifications
You must be signed in to change notification settings - Fork 295
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Poseidon2 gates for Ultra arithmetisation #7494
Changes from all commits
b1518fe
49eca12
a5ccefa
1d86341
bb178f0
269da29
f1edf5f
4b98f77
5058fa0
bf37f09
b116e00
e688422
3488ac4
83ecd92
2bef500
42bae7d
191b587
c7b0005
376a736
798cf19
148b8fc
e91dfd8
42f472e
e21b3e4
0a16e60
7144552
65e9613
a659abf
43241d1
c03a0c0
71ecc37
b3edc4b
ed7a9eb
d01ff27
aae0648
b6e27b9
03ca5fa
dc486a0
b56cb85
002d88e
21cfb25
05b3061
465912c
11592c9
e74d3f7
c60ac06
166a8e4
698f3fe
0fb6a7a
1054f9e
ce890b2
8eaf4a4
8b18801
2ad9fd3
05ad521
6dd0949
524f88b
4af936b
843368c
edefb2e
5fe0a4d
3630ef2
333cf11
61b4789
c959fcb
b251dc7
50041c8
1992e8e
6406a6f
3eb0054
b2872d5
75a5abc
59d79b8
96e9e31
b7b0248
25f4264
a8f5fdb
f6521c6
a2544bc
d355e00
a3a2454
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
barretenberg_module(commitment_schemes_recursion commitment_schemes stdlib_primitives) | ||
barretenberg_module(commitment_schemes_recursion commitment_schemes stdlib_poseidon2) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. why do we need stdlib poseidon and not primitives for commitment schemes? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. the module doesnt link without poseidon now that it's enabled and stdlib_poseidon2 already includes stdlib_primitives |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -78,10 +78,4 @@ template <typename FF, size_t NUM_WIRES, size_t NUM_SELECTORS> class ExecutionTr | |
void set_fixed_size(uint32_t size_in) { fixed_size = size_in; } | ||
}; | ||
|
||
class TranslatorArith { | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This could just be moved to Translator, randomly stumbled across it |
||
public: | ||
static constexpr size_t NUM_WIRES = 81; | ||
static constexpr size_t NUM_SELECTORS = 0; | ||
}; | ||
|
||
} // namespace bb |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I will add a comment, the function fills a circuit up ot the desired numbers of gates for the benchmark, ensuring finalisation and the add gates to ensure non zero polys method wont cause it to go to the next power of 2 (or at least that was my deduction). Because we enabled poseidon add gates to ensure non zero polys will add more gates so i need to lower a bit the number of passes