Skip to content

Conversation

@AvivYossef-starkware
Copy link
Contributor

No description provided.

@reviewable-StarkWare
Copy link

This change is Reviewable

Copy link
Collaborator

@meship-starkware meship-starkware left a comment

Choose a reason for hiding this comment

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

@meship-starkware reviewed 3 of 3 files at r1, all commit messages.
Reviewable status: all files reviewed, 2 unresolved discussions (waiting on @AvivYossef-starkware)


crates/blockifier_reexecution/src/state_reader/test_state_reader.rs line 480 at r1 (raw file):

    /// fetch block context. Does not assert correctness, only prints the execution result.
    pub fn execute_single_transaction(self, tx_input: TransactionInput) -> ReexecutionResult<()> {
        let chain_id = self.next_block_state_reader.chain_id.clone();

Consider moving it into the second arm of the match, as we only use it there.

Code quote:

let chain_id = self.next_block_state_reader.chain_id.clone();

crates/blockifier_reexecution/src/state_reader/test_state_reader.rs line 520 at r1 (raw file):

            execution_results.first().expect("Expected exactly one execution result, but got none");

        println!("Execution result: {:?}", res);

Do we want this print here? Wouldn't it be better to log it?

Code quote:

println!("Execution result: {:?}", res);

Copy link
Collaborator

@meship-starkware meship-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: all files reviewed, 2 unresolved discussions (waiting on @AvivYossef-starkware)


crates/blockifier_reexecution/src/state_reader/test_state_reader.rs line 520 at r1 (raw file):

Previously, meship-starkware (Meshi Peled) wrote…

Do we want this print here? Wouldn't it be better to log it?

I see that we print in most places in the re-execution crate so I changed it to a quetion rether than blocking commant

@AvivYossef-starkware AvivYossef-starkware force-pushed the aviv/move_execute_single_tx branch from 1a77fe4 to c3ca891 Compare December 11, 2025 12:38
@AvivYossef-starkware AvivYossef-starkware force-pushed the aviv/seperate_execute_block_and_verify_correctness branch from 956123f to 9ee95c4 Compare December 11, 2025 12:38
Copy link
Collaborator

@meship-starkware meship-starkware left a comment

Choose a reason for hiding this comment

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

@meship-starkware reviewed 1 of 1 files at r2, all commit messages.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @AvivYossef-starkware)

@graphite-app graphite-app bot changed the base branch from aviv/seperate_execute_block_and_verify_correctness to graphite-base/10707 December 11, 2025 13:29
@AvivYossef-starkware AvivYossef-starkware force-pushed the aviv/move_execute_single_tx branch from c3ca891 to 796e19e Compare December 12, 2025 09:53
@graphite-app graphite-app bot changed the base branch from graphite-base/10707 to main-v0.14.1 December 12, 2025 09:54
@graphite-app
Copy link

graphite-app bot commented Dec 12, 2025

Merge activity

  • Dec 12, 9:54 AM UTC: Graphite rebased this pull request, because this pull request is set to merge when ready.

Copy link
Contributor Author

@AvivYossef-starkware AvivYossef-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: all files reviewed, 1 unresolved discussion (waiting on @meship-starkware)


crates/blockifier_reexecution/src/state_reader/test_state_reader.rs line 480 at r1 (raw file):

Previously, meship-starkware (Meshi Peled) wrote…

Consider moving it into the second arm of the match, as we only use it there.

Done


crates/blockifier_reexecution/src/state_reader/test_state_reader.rs line 520 at r1 (raw file):

Previously, meship-starkware (Meshi Peled) wrote…

I see that we print in most places in the re-execution crate so I changed it to a quetion rether than blocking commant

We use it as a CLI tool, not as a library, so we want to print the result.

Copy link
Contributor Author

@AvivYossef-starkware AvivYossef-starkware left a comment

Choose a reason for hiding this comment

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

@AvivYossef-starkware reviewed 1 of 1 files at r2.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @AvivYossef-starkware)

@AvivYossef-starkware AvivYossef-starkware added this pull request to the merge queue Dec 12, 2025
Merged via the queue into main-v0.14.1 with commit 132980e Dec 12, 2025
32 of 40 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Dec 14, 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.

4 participants