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(blockifier): two allocation_cost gas vectors #2293

Merged
merged 1 commit into from
Nov 27, 2024

Conversation

yoavGrs
Copy link
Contributor

@yoavGrs yoavGrs commented Nov 26, 2024

No description provided.

@reviewable-StarkWare
Copy link

This change is Reviewable

@yoavGrs yoavGrs marked this pull request as ready for review November 26, 2024 16:11
@yoavGrs yoavGrs self-assigned this Nov 26, 2024
Copy link
Contributor Author

@yoavGrs yoavGrs 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: 0 of 8 files reviewed, 1 unresolved discussion (waiting on @dorimedini-starkware and @Yoni-Starkware)


a discussion (no related file):
Python side:
https://reviewable.io/reviews/starkware-industries/starkware/36329

Copy link

codecov bot commented Nov 26, 2024

Codecov Report

Attention: Patch coverage is 25.00000% with 3 lines in your changes missing coverage. Please review.

Project coverage is 68.88%. Comparing base (e3165c4) to head (27b9ddb).
Report is 607 commits behind head on main.

Files with missing lines Patch % Lines
crates/blockifier/src/versioned_constants.rs 25.00% 3 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##             main    #2293       +/-   ##
===========================================
+ Coverage   40.10%   68.88%   +28.77%     
===========================================
  Files          26      108       +82     
  Lines        1895    13959    +12064     
  Branches     1895    13959    +12064     
===========================================
+ Hits          760     9615     +8855     
- Misses       1100     3933     +2833     
- Partials       35      411      +376     

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

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.

Reviewed 7 of 8 files at r1, 1 of 1 files at r2, all commit messages.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @yoavGrs and @Yoni-Starkware)


crates/blockifier/resources/versioned_constants_0_13_4.json line 49 at r2 (raw file):

        },
        "gas_cost": {
            "l1_gas": 551,

how is this number computed?

Code quote:

"l1_gas": 551

Copy link
Contributor

@nimrod-starkware nimrod-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 @dorimedini-starkware and @Yoni-Starkware)


crates/blockifier/resources/versioned_constants_0_13_4.json line 49 at r2 (raw file):

Previously, dorimedini-starkware wrote…

how is this number computed?

is this the case where we use calldata instead of blobs?

@yoavGrs yoavGrs changed the base branch from yoav/compression/allocated_keys_logic to graphite-base/2293 November 27, 2024 13:22
@yoavGrs yoavGrs force-pushed the yoav/compression/extend_allocation_cost_constant branch from cbd4c69 to 207c7e3 Compare November 27, 2024 13:22
@yoavGrs yoavGrs changed the base branch from graphite-base/2293 to main November 27, 2024 13:22
@yoavGrs yoavGrs force-pushed the yoav/compression/extend_allocation_cost_constant branch from 207c7e3 to 27b9ddb Compare November 27, 2024 13:23
Copy link
Contributor Author

@yoavGrs yoavGrs 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 @dorimedini-starkware, @nimrod-starkware, and @Yoni-Starkware)


crates/blockifier/resources/versioned_constants_0_13_4.json line 49 at r2 (raw file):

Previously, nimrod-starkware wrote…

is this the case where we use calldata instead of blobs?

it's eth_gas_constants::SHARP_GAS_PER_DA_WORD

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.

Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @Yoni-Starkware)

@yoavGrs yoavGrs merged commit 9421def into main Nov 27, 2024
13 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Nov 29, 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.

4 participants