Skip to content

starknet_os: rename standalone adjective variables#12550

Merged
dan-starkware merged 4 commits intomain-v0.14.2from
02-12-starknet_os_rename_standalone_adjective_variables
Feb 15, 2026
Merged

starknet_os: rename standalone adjective variables#12550
dan-starkware merged 4 commits intomain-v0.14.2from
02-12-starknet_os_rename_standalone_adjective_variables

Conversation

@dan-starkware
Copy link
Collaborator

No description provided.

@reviewable-StarkWare
Copy link

This change is Reviewable

Copy link
Collaborator

@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.

@dorimedini-starkware reviewed 2 files and all commit messages, and made 1 comment.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @dan-starkware).


crates/starknet_os/src/hints/hint_implementation/execution/implementation.rs line 747 at r1 (raw file):

    let result = ctx.vm.get_range(retdata, min(retdata_size, 100_usize));

    let validated_value = MaybeRelocatable::from(ctx.fetch_const(Const::Validated)?);

this name implies that this is the value that has been validated, not the value of the VALIDATED const.
I would keep the previous name, or rename to something like this

Suggestion:

validate_succeeded

@dan-starkware dan-starkware force-pushed the 02-12-starknet_os_rename_standalone_adjective_variables branch from 5a229fc to 48da32e Compare February 14, 2026 07:18
@dan-starkware dan-starkware force-pushed the 02-12-starknet_patricia_rename_standalone_adjective_variable branch from 95bdc71 to 0b8e14f Compare February 14, 2026 07:18
@dan-starkware dan-starkware changed the base branch from 02-12-starknet_patricia_rename_standalone_adjective_variable to main-v0.14.2 February 14, 2026 13:13
Copy link
Collaborator Author

@dan-starkware dan-starkware left a comment

Choose a reason for hiding this comment

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

@dan-starkware made 1 comment.
Reviewable status: 0 of 7 files reviewed, 1 unresolved discussion (waiting on @dorimedini-starkware).


crates/starknet_os/src/hints/hint_implementation/execution/implementation.rs line 747 at r1 (raw file):

Previously, dorimedini-starkware wrote…

this name implies that this is the value that has been validated, not the value of the VALIDATED const.
I would keep the previous name, or rename to something like this

Done.

Copy link
Collaborator

@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.

@dorimedini-starkware reviewed 7 files and all commit messages, and resolved 1 discussion.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @dan-starkware).

@dan-starkware dan-starkware added this pull request to the merge queue Feb 15, 2026
Merged via the queue into main-v0.14.2 with commit a7c592d Feb 15, 2026
14 of 26 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Feb 18, 2026
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