Skip to content

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

Merged

Conversation

dorimedini-starkware
Copy link
Collaborator

No description provided.

@reviewable-StarkWare
Copy link

This change is Reviewable

@dorimedini-starkware dorimedini-starkware force-pushed the 03-23-chore_starknet_os_move_write_split_result branch from 63d9062 to 62007a5 Compare March 23, 2025 09:39
@dorimedini-starkware dorimedini-starkware force-pushed the 03-23-feat_starknet_os_implement_write_split_result branch from 141941f to 7ba42f0 Compare March 23, 2025 09:39
@dorimedini-starkware dorimedini-starkware marked this pull request as ready for review March 23, 2025 09:44
@dorimedini-starkware dorimedini-starkware force-pushed the 03-23-chore_starknet_os_move_write_split_result branch from 62007a5 to 70c050b Compare March 23, 2025 09:46
@dorimedini-starkware dorimedini-starkware force-pushed the 03-23-feat_starknet_os_implement_write_split_result branch from 7ba42f0 to 88df329 Compare March 23, 2025 09:46
@dorimedini-starkware dorimedini-starkware force-pushed the 03-23-chore_starknet_os_move_write_split_result branch from 70c050b to 2cab525 Compare March 23, 2025 11:15
@dorimedini-starkware dorimedini-starkware force-pushed the 03-23-feat_starknet_os_implement_write_split_result branch from 88df329 to 1547a3d Compare March 23, 2025 11:15
@dorimedini-starkware dorimedini-starkware self-assigned this Mar 23, 2025
Copy link
Contributor

@aner-starkware aner-starkware left a 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)?;

Copy link
Collaborator Author

@dorimedini-starkware dorimedini-starkware left a 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 be ids.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

Copy link
Contributor

@aner-starkware aner-starkware left a 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: :shipit: complete! all files reviewed, all discussions resolved (waiting on @amosStarkware)

@dorimedini-starkware dorimedini-starkware force-pushed the 03-23-chore_starknet_os_move_write_split_result branch from 2cab525 to 90f3373 Compare March 23, 2025 15:57
@dorimedini-starkware dorimedini-starkware force-pushed the 03-23-feat_starknet_os_implement_write_split_result branch from 1547a3d to 12bcb1e Compare March 23, 2025 15:57
@dorimedini-starkware dorimedini-starkware force-pushed the 03-23-chore_starknet_os_move_write_split_result branch from 90f3373 to 3d2a704 Compare March 23, 2025 16:29
@dorimedini-starkware dorimedini-starkware force-pushed the 03-23-feat_starknet_os_implement_write_split_result branch from 12bcb1e to 0a4e326 Compare March 23, 2025 16:29
Copy link
Contributor

@aner-starkware aner-starkware left a 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: :shipit: complete! all files reviewed, all discussions resolved (waiting on @amosStarkware)

@dorimedini-starkware dorimedini-starkware force-pushed the 03-23-chore_starknet_os_move_write_split_result branch from 3d2a704 to 02f6a83 Compare March 24, 2025 14:31
@dorimedini-starkware dorimedini-starkware force-pushed the 03-23-feat_starknet_os_implement_write_split_result branch from 0a4e326 to 538a8ad Compare March 24, 2025 14:31
Copy link
Contributor

@aner-starkware aner-starkware left a 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: :shipit: complete! all files reviewed, all discussions resolved (waiting on @amosStarkware)

@dorimedini-starkware dorimedini-starkware force-pushed the 03-23-chore_starknet_os_move_write_split_result branch from 02f6a83 to 6c8fc0c Compare March 25, 2025 09:49
@dorimedini-starkware dorimedini-starkware force-pushed the 03-23-feat_starknet_os_implement_write_split_result branch from 538a8ad to 21857e2 Compare March 25, 2025 09:50
Copy link
Contributor

@aner-starkware aner-starkware left a 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: :shipit: complete! all files reviewed, all discussions resolved (waiting on @amosStarkware)

@dorimedini-starkware dorimedini-starkware force-pushed the 03-23-chore_starknet_os_move_write_split_result branch from 6c8fc0c to 80ee16b Compare March 25, 2025 11:52
@dorimedini-starkware dorimedini-starkware force-pushed the 03-23-feat_starknet_os_implement_write_split_result branch from 21857e2 to 4645b6f Compare March 25, 2025 11:52
@dorimedini-starkware dorimedini-starkware force-pushed the 03-23-chore_starknet_os_move_write_split_result branch from 80ee16b to a29dfa0 Compare March 25, 2025 13:07
@dorimedini-starkware dorimedini-starkware force-pushed the 03-23-feat_starknet_os_implement_write_split_result branch from 4645b6f to 7b3b8bb Compare March 25, 2025 13:07
Copy link
Contributor

@aner-starkware aner-starkware left a 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: :shipit: complete! all files reviewed, all discussions resolved (waiting on @amosStarkware)

@dorimedini-starkware dorimedini-starkware force-pushed the 03-23-chore_starknet_os_move_write_split_result branch from a29dfa0 to b0a369b Compare March 25, 2025 21:30
@dorimedini-starkware dorimedini-starkware force-pushed the 03-23-feat_starknet_os_implement_write_split_result branch from 7b3b8bb to 52e6feb Compare March 25, 2025 21:30
Copy link
Collaborator Author

@dorimedini-starkware dorimedini-starkware left a 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: :shipit: complete! all files reviewed, all discussions resolved (waiting on @amosStarkware)

Copy link
Contributor

@aner-starkware aner-starkware left a 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: :shipit: complete! all files reviewed, all discussions resolved (waiting on @amosStarkware)

@dorimedini-starkware dorimedini-starkware changed the base branch from 03-23-chore_starknet_os_move_write_split_result to main March 26, 2025 13:29
@dorimedini-starkware dorimedini-starkware force-pushed the 03-23-feat_starknet_os_implement_write_split_result branch from 52e6feb to eac5716 Compare March 26, 2025 13:29
Copy link

graphite-app bot commented Mar 26, 2025

Merge activity

  • Mar 26, 9:30 AM EDT: Graphite rebased this pull request after merging its parent, because this pull request is set to merge when ready.

Copy link
Collaborator Author

@dorimedini-starkware dorimedini-starkware left a 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: :shipit: complete! all files reviewed, all discussions resolved (waiting on @amosStarkware)

@dorimedini-starkware dorimedini-starkware added this pull request to the merge queue Mar 26, 2025
Merged via the queue into main with commit fffb20d Mar 26, 2025
10 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Mar 28, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants