Skip to content
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

feat(starknet_os): add stateful compression hints #4101

Conversation

dorimedini-starkware
Copy link
Collaborator

No description provided.

@reviewable-StarkWare
Copy link

This change is Reviewable

Copy link
Collaborator

@amosStarkware amosStarkware 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, 2 unresolved discussions


crates/starknet_os/src/hints/enum_definition.rs line 506 at r1 (raw file):

        indoc! {r#"from starkware.starknet.definitions.constants import ALIAS_CONTRACT_ADDRESS

    # This hint shouldn't be whitelisted.

what does this mean?

Code quote:

# This hint shouldn't be whitelisted.

crates/starknet_os/src/hints/enum_definition.rs line 529 at r1 (raw file):

        AssertKeyBigEnoughForAlias,
        assert_key_big_enough_for_alias,
        r#"assert ids.key >= ids.MIN_VALUE_FOR_ALIAS_ALLOC, f"Key {ids.key} is too small."#

you're missing " at the end of the string

Code quote:

r#"assert ids.key >= ids.MIN_VALUE_FOR_ALIAS_ALLOC, f"Key {ids.key} is too small."#

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, 2 unresolved discussions (waiting on @amosStarkware)


crates/starknet_os/src/hints/enum_definition.rs line 506 at r1 (raw file):

Previously, amosStarkware wrote…

what does this mean?

Not sure; part of the hint string. will ask internally


crates/starknet_os/src/hints/enum_definition.rs line 529 at r1 (raw file):

Previously, amosStarkware wrote…

you're missing " at the end of the string

nice catch!

Copy link
Collaborator

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

@dorimedini-starkware dorimedini-starkware force-pushed the 02-11-feat_starknet_os_add_stateful_compression_hints branch from 39f52b7 to 76c5b61 Compare February 12, 2025 12:29
@dorimedini-starkware dorimedini-starkware changed the base branch from 02-11-feat_starknet_os_fix_enter_syscall_hints to main February 12, 2025 12:29
Copy link

Artifacts upload workflows:

Copy link
Collaborator

@amosStarkware amosStarkware 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 112 files at r2, all commit messages.
Reviewable status: 3 of 158 files reviewed, 1 unresolved discussion

Copy link
Collaborator

@amosStarkware amosStarkware left a comment

Choose a reason for hiding this comment

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

Reviewed 111 of 112 files at r2.
Reviewable status: 114 of 158 files reviewed, all discussions resolved

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 111 of 112 files at r2, all commit messages.
Reviewable status: 114 of 158 files reviewed, all discussions resolved

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 2 of 3 files at r1, 1 of 112 files at r2.
Reviewable status: 114 of 158 files reviewed, all discussions resolved

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 3 files at r1.
Reviewable status: 114 of 158 files reviewed, all discussions resolved

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 44 of 156 files at r2.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @dorimedini-starkware)

@dorimedini-starkware dorimedini-starkware added this pull request to the merge queue Feb 12, 2025
Merged via the queue into main with commit 89b1576 Feb 12, 2025
22 of 26 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants