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

chore(blockifier): rename BouncerWeights field gas to l1gas #2527

Merged
merged 1 commit into from
Dec 10, 2024

Conversation

avivg-starkware
Copy link
Contributor

No description provided.

@reviewable-StarkWare
Copy link

This change is Reviewable

Copy link
Contributor Author

avivg-starkware commented Dec 8, 2024

This stack of pull requests is managed by Graphite. Learn more about stacking.

@avivg-starkware avivg-starkware marked this pull request as ready for review December 8, 2024 13:39
Copy link

codecov bot commented Dec 8, 2024

Codecov Report

Attention: Patch coverage is 50.00000% with 6 lines in your changes missing coverage. Please review.

Project coverage is 58.98%. Comparing base (e3165c4) to head (f28b5c3).
Report is 784 commits behind head on main.

Files with missing lines Patch % Lines
crates/blockifier/src/bouncer.rs 60.00% 4 Missing ⚠️
crates/native_blockifier/src/py_objects.rs 0.00% 2 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##             main    #2527       +/-   ##
===========================================
+ Coverage   40.10%   58.98%   +18.87%     
===========================================
  Files          26      171      +145     
  Lines        1895    19686    +17791     
  Branches     1895    19686    +17791     
===========================================
+ Hits          760    11611    +10851     
- Misses       1100     7319     +6219     
- Partials       35      756      +721     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@avivg-starkware avivg-starkware force-pushed the avivg/blockifier/bouncer_rename_gas_to_l1gas branch from 16615fa to d64ab78 Compare December 8, 2024 15:21
@avivg-starkware avivg-starkware force-pushed the avivg/blockifier/bouncer_rename_gas_to_l1gas branch from d64ab78 to 3c43b6d Compare December 8, 2024 15:45
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.

Py side? (it should break)

Reviewable status: 0 of 7 files reviewed, 1 unresolved discussion (waiting on @avivg-starkware)


crates/blockifier/src/bouncer.rs line 106 at r1 (raw file):

    impl_checked_sub!(
        builtin_count,
        l1gas,

Suggestion:

l1_gas

@avivg-starkware avivg-starkware force-pushed the avivg/blockifier/bouncer_rename_gas_to_l1gas branch from 3c43b6d to d8a5d28 Compare December 9, 2024 09:45
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.

Still working on it, will put you on the PR as soon as it is ready to check

Reviewable status: 0 of 7 files reviewed, 1 unresolved discussion (waiting on @Yoni-Starkware)


crates/blockifier/src/bouncer.rs line 106 at r1 (raw file):

    impl_checked_sub!(
        builtin_count,
        l1gas,

Done.

@avivg-starkware avivg-starkware force-pushed the avivg/blockifier/bouncer_rename_gas_to_l1gas branch from d8a5d28 to ac83627 Compare December 9, 2024 09:48
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.

Reviewed 3 of 6 files at r2, all commit messages.
Reviewable status: 3 of 7 files reviewed, 1 unresolved discussion (waiting on @avivg-starkware)


crates/blockifier/src/abi/constants.rs line 28 at r2 (raw file):

// Transaction resource names.
// TODO(Amos, 1/10/2024): Rename to l1_gas_weight.

Revert, this is not related to your PR

Code quote:

// Transaction resource names.
// TODO(Amos, 1/10/2024): Rename to l1_gas_weight.

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.

Reviewed 1 of 7 files at r1.
Reviewable status: 4 of 7 files reviewed, 1 unresolved discussion (waiting on @avivg-starkware)

@avivg-starkware avivg-starkware force-pushed the avivg/blockifier/bouncer_rename_gas_to_l1gas branch from ac83627 to f28b5c3 Compare December 9, 2024 13:18
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: 4 of 7 files reviewed, 1 unresolved discussion (waiting on @Yoni-Starkware)


crates/blockifier/src/abi/constants.rs line 28 at r2 (raw file):

Previously, Yoni-Starkware (Yoni) wrote…

Revert, this is not related to your PR

Done.

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.

Reviewed 1 of 7 files at r1, 6 of 6 files at r2.
Reviewable status: 6 of 7 files reviewed, 1 unresolved discussion (waiting on @Yoni-Starkware)

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 6 files at r2, 1 of 1 files at r3.
Reviewable status: all files reviewed (commit messages unreviewed), all discussions resolved (waiting on @avivg-starkware)

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.

Reviewed all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @avivg-starkware)

@avivg-starkware avivg-starkware merged commit 2eeae46 into main Dec 10, 2024
13 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Dec 12, 2024
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