-
Notifications
You must be signed in to change notification settings - Fork 25
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
build(fee): add l2_gas field to gas vector #113
build(fee): add l2_gas field to gas vector #113
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
python side PR
Reviewable status: 0 of 8 files reviewed, all discussions resolved (waiting on @dorimedini-starkware)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 8 of 8 files at r1, all commit messages.
Reviewable status: all files reviewed, 2 unresolved discussions (waiting on @nimrod-starkware)
crates/blockifier/src/fee/actual_cost_test.rs
line 276 at r1 (raw file):
.get_state_changes_cost(use_kzg_da) .l1_data_gas, ..Default::default()
indent
Suggestion:
..Default::default()
crates/blockifier/src/transaction/transactions_test.rs
line 1869 at r1 (raw file):
// (currently matches only starknet resources). let expected_gas = match use_kzg_da { true => GasVector { l1_gas: 16023, l1_data_gas: 128, ..Default::default() },
being explicit makes more sense here IMO
Suggestion:
, l2_gas: 0
There was a problem hiding this 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, 2 unresolved discussions (waiting on @dorimedini-starkware)
crates/blockifier/src/fee/actual_cost_test.rs
line 276 at r1 (raw file):
Previously, dorimedini-starkware wrote…
indent
The auto formatter keeps it that way; the .,Default::default()
refers to l2_gas
which is at the indentation level as the other fields in GasVector
crates/blockifier/src/transaction/transactions_test.rs
line 1869 at r1 (raw file):
Previously, dorimedini-starkware wrote…
being explicit makes more sense here IMO
Done.
932bdce
to
6e85206
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 1 of 1 files at r2, all commit messages.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @nimrod-starkware)
a discussion (no related file):
blocking until python side passes..
crates/blockifier/src/fee/actual_cost_test.rs
line 276 at r1 (raw file):
Previously, nimrod-starkware wrote…
The auto formatter keeps it that way; the
.,Default::default()
refers tol2_gas
which is at the indentation level as the other fields inGasVector
ah! right you are
6e85206
to
73c7b0d
Compare
73c7b0d
to
2162307
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #113 +/- ##
==========================================
- Coverage 76.89% 76.87% -0.03%
==========================================
Files 316 316
Lines 34504 34517 +13
Branches 34504 34517 +13
==========================================
+ Hits 26532 26534 +2
- Misses 5687 5696 +9
- Partials 2285 2287 +2 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewable status: 7 of 8 files reviewed, 1 unresolved discussion (waiting on @dorimedini-starkware)
a discussion (no related file):
Previously, dorimedini-starkware wrote…
blocking until python side passes..
hodor passed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 1 of 1 files at r3, all commit messages.
Reviewable status: complete! all files reviewed, all discussions resolved (waiting on @nimrod-starkware)
Pull Request type
Please check the type of change your PR introduces:
What is the current behavior?
Issue Number: N/A
What is the new behavior?
Does this introduce a breaking change?
Other information
This change is