Skip to content

Conversation

@avivg-starkware
Copy link
Contributor

No description provided.

@avivg-starkware avivg-starkware marked this pull request as ready for review July 3, 2025 06:36
@reviewable-StarkWare
Copy link

This change is Reviewable

@github-actions
Copy link

github-actions bot commented Jul 3, 2025

Copy link
Contributor Author

avivg-starkware commented Jul 3, 2025

@avivg-starkware avivg-starkware force-pushed the avivg/blockifier/split_execution_summary_to_builtins_sum branch from 119a3e9 to 6fc1e5a Compare July 3, 2025 06:43
@avivg-starkware avivg-starkware force-pushed the avivg/blockifier/split_execution_summary_to_builtins_sum branch 2 times, most recently from 2d00ab0 to 89ed6d8 Compare July 3, 2025 07:23
Copy link
Collaborator

@Yoni-Starkware Yoni-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: 0 of 5 files reviewed, 2 unresolved discussions (waiting on @meship-starkware and @noaov1)


crates/blockifier/src/bouncer.rs line 505 at r2 (raw file):

        state_reader: &S,
        tx_state_changes_keys: &StateChangesKeys,
        summary: &SummaryWithBuiltins,

Why do we need this type?

Code quote:

SummaryWithBuiltins,

crates/blockifier/src/execution/call_info.rs line 317 at r2 (raw file):

            acc
        })
    }

You can remove this func and move the impl to summarize_builtins.

@avivg-starkware avivg-starkware force-pushed the avivg/blockifier/split_execution_summary_to_builtins_sum branch from 89ed6d8 to 703f66a Compare July 3, 2025 08:03
Copy link
Contributor Author

@avivg-starkware avivg-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: 0 of 5 files reviewed, 2 unresolved discussions (waiting on @meship-starkware, @noaov1, and @Yoni-Starkware)


crates/blockifier/src/bouncer.rs line 505 at r2 (raw file):

Previously, Yoni-Starkware (Yoni) wrote…

Why do we need this type?

Better this way?


crates/blockifier/src/execution/call_info.rs line 317 at r2 (raw file):

Previously, Yoni-Starkware (Yoni) wrote…

You can remove this func and move the impl to summarize_builtins.

Done.

Copy link
Collaborator

@Yoni-Starkware Yoni-Starkware left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:lgtm:

Reviewed 2 of 5 files at r1, 2 of 3 files at r3, all commit messages.
Reviewable status: 4 of 5 files reviewed, 1 unresolved discussion (waiting on @avivg-starkware, @meship-starkware, and @noaov1)


crates/blockifier/src/bouncer.rs line 505 at r2 (raw file):

Previously, avivg-starkware wrote…

Better this way?

I mean, why a single arg and not two? summary
is less clear than tx_execution_summary, tx_builtin_counters

Copy link
Collaborator

@Yoni-Starkware Yoni-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: 4 of 5 files reviewed, 2 unresolved discussions (waiting on @avivg-starkware, @meship-starkware, and @noaov1)


crates/blockifier/src/transaction/objects_test.rs line 248 at r3 (raw file):

        },
    };
    // TODO(Meshi): Change it to a relevant value for this test.

Better to complete this test, to make sure we didn't break anything.

Code quote:

 // TODO(Meshi): Change it to a relevant value for this test

Copy link
Collaborator

@noaov1 noaov1 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: 4 of 5 files reviewed, 2 unresolved discussions (waiting on @avivg-starkware and @meship-starkware)


crates/blockifier/src/transaction/objects_test.rs line 248 at r3 (raw file):

Previously, Yoni-Starkware (Yoni) wrote…

Better to complete this test, to make sure we didn't break anything.

Already done (waiting for @meship-starkware 's merge)

@avivg-starkware avivg-starkware force-pushed the avivg/blockifier/split_execution_summary_to_builtins_sum branch from 703f66a to 0ecd71e Compare July 3, 2025 08:37
Copy link
Contributor Author

@avivg-starkware avivg-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: 1 of 8 files reviewed, 1 unresolved discussion (waiting on @meship-starkware and @Yoni-Starkware)


crates/blockifier/src/bouncer.rs line 505 at r2 (raw file):

Previously, Yoni-Starkware (Yoni) wrote…

I mean, why a single arg and not two? summary
is less clear than tx_execution_summary, tx_builtin_counters

I see. I thought fewer args would be better (since both are essentially summaries).
But I’m not attached to the idea—happy to separate them (see changes)

Copy link
Collaborator

@Yoni-Starkware Yoni-Starkware left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:lgtm:

Reviewed 7 of 7 files at r4, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @meship-starkware)


crates/blockifier/src/transaction/objects_test.rs line 248 at r3 (raw file):

Previously, noaov1 (Noa Oved) wrote…

Already done (waiting for @meship-starkware 's merge)

Thanks!

@avivg-starkware avivg-starkware added this pull request to the merge queue Jul 3, 2025
Merged via the queue into main-v0.14.0 with commit 40c4384 Jul 3, 2025
18 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Jul 5, 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.

5 participants