-
Notifications
You must be signed in to change notification settings - Fork 65
starknet_os: allow full OS output with variable full_output flag #10360
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
starknet_os: allow full OS output with variable full_output flag #10360
Conversation
This stack of pull requests is managed by Graphite. Learn more about stacking. |
84c47b8 to
b8b425b
Compare
6fb4e8a to
8057936
Compare
Yoni-Starkware
left a comment
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.
@Yoni-Starkware reviewed all commit messages.
Reviewable status: 0 of 1 files reviewed, 1 unresolved discussion (waiting on @dorimedini-starkware and @TzahiTaub)
crates/starknet_os/src/hints/hint_implementation/aggregator/utils.rs line 256 at r1 (raw file):
let class_dict_ptr_start = state_diff_writer.get_class_dict_ptr(); state_diff_writer.write_classes_changes(&state_diff.classes, vm)?;
This is written in a full output format, always. Are you going to change that? what is the motivation of passing the flag then?
Code quote:
let state_dict_ptr_start = state_diff_writer.get_state_dict_ptr();
state_diff_writer.write_contract_changes(&state_diff.contracts, vm)?;
let class_dict_ptr_start = state_diff_writer.get_class_dict_ptr();
state_diff_writer.write_classes_changes(&state_diff.classes, vm)?;
dorimedini-starkware
left a comment
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 1 files reviewed, 1 unresolved discussion (waiting on @TzahiTaub and @Yoni-Starkware)
crates/starknet_os/src/hints/hint_implementation/aggregator/utils.rs line 256 at r1 (raw file):
Previously, Yoni-Starkware (Yoni) wrote…
This is written in a full output format, always. Are you going to change that? what is the motivation of passing the flag then?
used here.
IIUC this just changes the boolean felt representing the flag... the original test had this logic and I was under the impression that the OS diffs are always full-ouptut, but the aggregator output also has this flag as part of it's output (though the value is ignored...?)
8057936 to
e405089
Compare
e405089 to
de66339
Compare
Yoni-Starkware
left a comment
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.
@Yoni-Starkware reviewed 1 of 1 files at r1, all commit messages.
Reviewable status:complete! all files reviewed, all discussions resolved (waiting on @TzahiTaub)
crates/starknet_os/src/hints/hint_implementation/aggregator/utils.rs line 256 at r1 (raw file):
Previously, dorimedini-starkware wrote…
used here.
IIUC this just changes the boolean felt representing the flag... the original test had this logic and I was under the impression that the OS diffs are always full-ouptut, but the aggregator output also has this flag as part of it's output (though the value is ignored...?)
Okay, since it's only for tests...

No description provided.