Skip to content

Conversation

@dorimedini-starkware
Copy link
Collaborator

No description provided.

@reviewable-StarkWare
Copy link

This change is Reviewable

Copy link
Collaborator Author

dorimedini-starkware commented Oct 6, 2025

@github-actions
Copy link

github-actions bot commented Oct 6, 2025

Benchmark movements: tree_computation_flow performance regressed! tree_computation_flow time: [14.255 ms 14.440 ms 14.678 ms] change: [+1.4730% +3.7079% +5.9993%] (p = 0.00 < 0.05) Performance has regressed. Found 12 outliers among 100 measurements (12.00%) 4 (4.00%) low mild 5 (5.00%) high mild 3 (3.00%) high severe full_committer_flow performance regressed! full_committer_flow time: [15.106 ms 15.227 ms 15.348 ms] change: [+3.9994% +5.2575% +6.4580%] (p = 0.00 < 0.05) Performance has regressed. Found 7 outliers among 100 measurements (7.00%) 5 (5.00%) low mild 2 (2.00%) high mild

@dorimedini-starkware dorimedini-starkware self-assigned this Oct 6, 2025
@dorimedini-starkware dorimedini-starkware marked this pull request as ready for review October 6, 2025 17:26
@dorimedini-starkware dorimedini-starkware force-pushed the 10-05-blockifier_test_utils_add_experimental_contract_and_it_s_libfuncs_list branch from 94f9118 to f4a15c3 Compare October 6, 2025 18:13
@dorimedini-starkware dorimedini-starkware force-pushed the 10-05-starknet_os_flow_tests_migrate_test_new_class_flow branch from f9019ac to 79bbe29 Compare October 6, 2025 18:13
@dorimedini-starkware dorimedini-starkware force-pushed the 10-05-blockifier_test_utils_add_experimental_contract_and_it_s_libfuncs_list branch from f4a15c3 to d21bc26 Compare October 8, 2025 07:13
@dorimedini-starkware dorimedini-starkware force-pushed the 10-05-starknet_os_flow_tests_migrate_test_new_class_flow branch from 79bbe29 to ecd4779 Compare October 8, 2025 07:13
@dorimedini-starkware dorimedini-starkware force-pushed the 10-05-blockifier_test_utils_add_experimental_contract_and_it_s_libfuncs_list branch from d21bc26 to c1fd831 Compare October 8, 2025 07:46
@dorimedini-starkware dorimedini-starkware force-pushed the 10-05-starknet_os_flow_tests_migrate_test_new_class_flow branch from ecd4779 to 2a778ba Compare October 8, 2025 07:46
@dorimedini-starkware dorimedini-starkware force-pushed the 10-05-blockifier_test_utils_add_experimental_contract_and_it_s_libfuncs_list branch from c1fd831 to 5d37d86 Compare October 8, 2025 07:48
@dorimedini-starkware dorimedini-starkware force-pushed the 10-05-starknet_os_flow_tests_migrate_test_new_class_flow branch from 2a778ba to 5b10122 Compare October 8, 2025 07:49
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.

@Yoni-Starkware reviewed 3 of 4 files at r1, all commit messages.
Reviewable status: 3 of 4 files reviewed, all discussions resolved (waiting on @AvivYossef-starkware and @meship-starkware)

@dorimedini-starkware dorimedini-starkware force-pushed the 10-05-blockifier_test_utils_add_experimental_contract_and_it_s_libfuncs_list branch from 5d37d86 to fe85319 Compare October 8, 2025 13:31
@dorimedini-starkware dorimedini-starkware force-pushed the 10-05-starknet_os_flow_tests_migrate_test_new_class_flow branch from 5b10122 to cdc7e45 Compare October 8, 2025 13:31
@dorimedini-starkware dorimedini-starkware force-pushed the 10-05-blockifier_test_utils_add_experimental_contract_and_it_s_libfuncs_list branch from fe85319 to 5433958 Compare October 8, 2025 13:44
@dorimedini-starkware dorimedini-starkware force-pushed the 10-05-starknet_os_flow_tests_migrate_test_new_class_flow branch from cdc7e45 to 960b14e Compare October 8, 2025 13:44
@dorimedini-starkware dorimedini-starkware force-pushed the 10-05-blockifier_test_utils_add_experimental_contract_and_it_s_libfuncs_list branch from 5433958 to bdaeac4 Compare October 8, 2025 13:48
@dorimedini-starkware dorimedini-starkware force-pushed the 10-05-starknet_os_flow_tests_migrate_test_new_class_flow branch from 960b14e to ceee170 Compare October 8, 2025 13:48
@dorimedini-starkware dorimedini-starkware changed the base branch from 10-05-blockifier_test_utils_add_experimental_contract_and_it_s_libfuncs_list to 10-28-starknet_os_flow_tests_add_update_expected_storage_util October 28, 2025 09:50
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 5 files reviewed, 1 unresolved discussion (waiting on @AvivYossef-starkware and @meship-starkware)


crates/starknet_os_flow_tests/src/tests.rs line 1039 at r2 (raw file):

Previously, meship-starkware (Meshi Peled) wrote…

This is the exact function we defined in test_os_logic. Consider sharing the code here
can be done in a separate PR

Done (in the new PR below this one)

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


a discussion (no related file):

Previously, meship-starkware (Meshi Peled) wrote…

Is there a reason the new_class test is one test? It is very long and hard to debug. I think that we can split it into two or three different tests. If we want to avoid adding another test, let's at least split its content into helper functions

Done, in PRs above this one (3 small refactors, 3 splits, one for test rename)

@dorimedini-starkware dorimedini-starkware force-pushed the 10-28-starknet_os_flow_tests_add_update_expected_storage_util branch from 20e8e13 to 4a982ca Compare November 3, 2025 07:55
@dorimedini-starkware dorimedini-starkware force-pushed the 10-05-starknet_os_flow_tests_migrate_test_new_class_flow branch from 98871ee to 4f3af3f Compare November 3, 2025 07:56
@dorimedini-starkware dorimedini-starkware force-pushed the 10-28-starknet_os_flow_tests_add_update_expected_storage_util branch from 4a982ca to d40cde6 Compare November 9, 2025 15:27
@dorimedini-starkware dorimedini-starkware force-pushed the 10-05-starknet_os_flow_tests_migrate_test_new_class_flow branch from 4f3af3f to e8f2d7a Compare November 9, 2025 15:27
@graphite-app graphite-app bot changed the base branch from 10-28-starknet_os_flow_tests_add_update_expected_storage_util to graphite-base/9518 November 12, 2025 10:55
@dorimedini-starkware dorimedini-starkware force-pushed the 10-05-starknet_os_flow_tests_migrate_test_new_class_flow branch from e8f2d7a to 6cfbd68 Compare November 12, 2025 12:48
@dorimedini-starkware dorimedini-starkware changed the base branch from graphite-base/9518 to main-v0.14.1-committer November 12, 2025 12:48
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.

:lgtm:

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


crates/starknet_os_flow_tests/src/tests.rs line 1318 at r5 (raw file):

        nonce: test_manager.next_nonce(*FUNDED_ACCOUNT_ADDRESS),
    };
    let account_declare_tx = declare_tx(declare_tx_args);

Why aren't we using Bootstrap declare here?

Code quote:

let account_declare_tx = declare_tx(declare_tx_args);

crates/starknet_os_flow_tests/src/tests.rs line 1357 at r5 (raw file):

        &[Felt::from(queried_block_number.0), old_block_hash.0],
    );
    test_manager.add_funded_account_invoke(invoke_tx_args! { calldata });

Do we check the message to L1? If not, should we test it here?

Code quote:

test_manager.add_funded_account_invoke(invoke_tx_args! { calldata });

crates/starknet_os_flow_tests/src/tests.rs line 1380 at r5 (raw file):

        test_library_call_key,
        test_library_call_value,
    );

Suggestion:

    update_expected_storage(
        &mut expected_storage_updates,
        //Library call write to the caller storage 
        main_contract_address,
        test_library_call_key,
        test_library_call_value,
    );

@dorimedini-starkware dorimedini-starkware force-pushed the 10-05-starknet_os_flow_tests_migrate_test_new_class_flow branch from 6cfbd68 to 0903cff Compare November 12, 2025 14:04
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: 4 of 5 files reviewed, all discussions resolved (waiting on @AvivYossef-starkware and @meship-starkware)


crates/starknet_os_flow_tests/src/tests.rs line 1318 at r5 (raw file):

Previously, meship-starkware (Meshi Peled) wrote…

Why aren't we using Bootstrap declare here?

done. I didn't see a point, but I don't see why not either


crates/starknet_os_flow_tests/src/tests.rs line 1357 at r5 (raw file):

Previously, meship-starkware (Meshi Peled) wrote…

Do we check the message to L1? If not, should we test it here?

test_get_block_hash doesn't send an L1 message, this was an error in the original test (note that message_to_l1 is defined twice, once after test_send_message_to_l1 and once again after test_get_block_hash)

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 r6, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @AvivYossef-starkware)

@dorimedini-starkware dorimedini-starkware added this pull request to the merge queue Nov 12, 2025
Merged via the queue into main-v0.14.1-committer with commit 511e9ea Nov 12, 2025
30 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Nov 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.

5 participants