-
Notifications
You must be signed in to change notification settings - Fork 52
feat(starknet_os): implement hint store_da_segment #4880
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(starknet_os): implement hint store_da_segment #4880
Conversation
5bf613d
to
5c0d583
Compare
8c33915
to
5ab6b71
Compare
5c0d583
to
cd5d37b
Compare
5ab6b71
to
0799258
Compare
cd5d37b
to
0dbe5e5
Compare
0799258
to
7bbfc46
Compare
0dbe5e5
to
82c59dd
Compare
7bbfc46
to
62dfb82
Compare
82c59dd
to
116f2ea
Compare
62dfb82
to
455100b
Compare
116f2ea
to
b2b3803
Compare
455100b
to
e9d56df
Compare
6d3ce17
to
b75afc4
Compare
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.
Reviewed 5 of 5 files at r5, 5 of 5 files at r6, all commit messages.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @amosStarkware, @dorimedini-starkware, and @nimrod-starkware)
63b7b9e
to
7cb9a02
Compare
b75afc4
to
8eb8647
Compare
7cb9a02
to
f048f3f
Compare
8eb8647
to
bc1a882
Compare
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.
Reviewable status: 0 of 5 files reviewed, 1 unresolved discussion (waiting on @amosStarkware, @aner-starkware, and @nimrod-starkware)
crates/starknet_os/src/hints/hint_implementation/kzg/implementation.rs
line 42 at r4 (raw file):
Previously, aner-starkware wrote…
This double conversion doesn't seem to be the most efficient way; maybe we can write a tailored conversion for this specific case?
this would require implementing a custom conversion on Felt
, which is out of our repo, so I'm against it; this is also a single conversion operation so the performance impact is negligible
crates/starknet_os/src/hints/hint_implementation/kzg/implementation.rs
line 57 at r4 (raw file):
Previously, aner-starkware wrote…
Not about the
log
, about the types and the conversion.
ah, I see we can convert to Felt
s directly in polynomial_coefficients_to_kzg_commitment
.
done.
(BigUint is added here at the top of the stack)
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.
Reviewed 5 of 5 files at r7, 5 of 5 files at r8, 3 of 3 files at r9, all commit messages.
Reviewable status:complete! all files reviewed, all discussions resolved (waiting on @amosStarkware and @nimrod-starkware)
f048f3f
to
dc3fb38
Compare
bc1a882
to
5e305dd
Compare
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.
Reviewed 3 of 5 files at r11, 3 of 3 files at r12, all commit messages.
Reviewable status:complete! all files reviewed, all discussions resolved (waiting on @amosStarkware and @nimrod-starkware)
dc3fb38
to
3cb038f
Compare
5e305dd
to
e7ab684
Compare
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.
Reviewed 6 of 6 files at r13, 5 of 5 files at r14, 3 of 3 files at r15, all commit messages.
Reviewable status:complete! all files reviewed, all discussions resolved (waiting on @amosStarkware and @nimrod-starkware)
3cb038f
to
f8b582d
Compare
2184e84
to
ac22bc5
Compare
Signed-off-by: Dori Medini <dori@starkware.co>
…ctly outputs felts Signed-off-by: Dori Medini <dori@starkware.co>
ac22bc5
to
b7449ea
Compare
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.
Reviewed 6 of 6 files at r16, 5 of 5 files at r17, 3 of 3 files at r18, all commit messages.
Reviewable status:complete! all files reviewed, all discussions resolved (waiting on @amosStarkware and @nimrod-starkware)
No description provided.