-
Notifications
You must be signed in to change notification settings - Fork 52
feat(starknet_os): implement write_split_result #5163
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 write_split_result #5163
Conversation
63d9062
to
62007a5
Compare
141941f
to
7ba42f0
Compare
62007a5
to
70c050b
Compare
7ba42f0
to
88df329
Compare
70c050b
to
2cab525
Compare
88df329
to
1547a3d
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 2 of 3 files at r1, all commit messages.
Reviewable status: 2 of 3 files reviewed, 1 unresolved discussion (waiting on @amosStarkware)
crates/starknet_os/src/hints/hint_implementation/kzg/implementation.rs
line 87 at r1 (raw file):
let value = get_integer_from_var_name(Ids::Value.into(), vm, ids_data, ap_tracking)?.to_bigint(); let res_ptr = get_relocatable_from_var_name(Ids::Res.into(), vm, ids_data, ap_tracking)?;
Aren't you supposed to use @nimrod-starkware 's function here?
IIUC, it's supposed to be ids.res.address_
; is this equivalent?
Code quote:
let res_ptr = get_relocatable_from_var_name(Ids::Res.into(), vm, ids_data, ap_tracking)?;
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: 2 of 3 files reviewed, 1 unresolved discussion (waiting on @amosStarkware and @aner-starkware)
crates/starknet_os/src/hints/hint_implementation/kzg/implementation.rs
line 87 at r1 (raw file):
Previously, aner-starkware wrote…
Aren't you supposed to use @nimrod-starkware 's function here?
IIUC, it's supposed to beids.res.address_
; is this equivalent?
the x.address_
field is the address of x
, so no need for nimrod's nested-field function: write_arg
should be equivalent. taken from moonsong implementation, no need for any offset computation
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 1 of 3 files at r1.
Reviewable status:complete! all files reviewed, all discussions resolved (waiting on @amosStarkware)
2cab525
to
90f3373
Compare
1547a3d
to
12bcb1e
Compare
90f3373
to
3d2a704
Compare
12bcb1e
to
0a4e326
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 2 of 2 files at r2, all commit messages.
Reviewable status:complete! all files reviewed, all discussions resolved (waiting on @amosStarkware)
3d2a704
to
02f6a83
Compare
0a4e326
to
538a8ad
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 1 of 1 files at r3, all commit messages.
Reviewable status:complete! all files reviewed, all discussions resolved (waiting on @amosStarkware)
02f6a83
to
6c8fc0c
Compare
538a8ad
to
21857e2
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 1 of 1 files at r4, all commit messages.
Reviewable status:complete! all files reviewed, all discussions resolved (waiting on @amosStarkware)
6c8fc0c
to
80ee16b
Compare
21857e2
to
4645b6f
Compare
80ee16b
to
a29dfa0
Compare
4645b6f
to
7b3b8bb
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 1 of 1 files at r5, all commit messages.
Reviewable status:complete! all files reviewed, all discussions resolved (waiting on @amosStarkware)
a29dfa0
to
b0a369b
Compare
7b3b8bb
to
52e6feb
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 1 of 1 files at r6, all commit messages.
Reviewable status:complete! all files reviewed, all discussions resolved (waiting on @amosStarkware)
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 1 of 1 files at r6, all commit messages.
Reviewable status:complete! all files reviewed, all discussions resolved (waiting on @amosStarkware)
52e6feb
to
eac5716
Compare
Merge activity
|
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 1 of 1 files at r7, all commit messages.
Reviewable status:complete! all files reviewed, all discussions resolved (waiting on @amosStarkware)
No description provided.