-
Notifications
You must be signed in to change notification settings - Fork 22
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 the getters for the gas prices struct #2269
base: arni/gas_prices/separate_new_from_validate
Are you sure you want to change the base?
chore(blockifier): rename the getters for the gas prices struct #2269
Conversation
Warning This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
This stack of pull requests is managed by Graphite. Learn more about stacking. |
8ed2ee0
to
0056b67
Compare
ffe02e2
to
eaf0c44
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## arni/gas_prices/separate_new_from_validate #2269 +/- ##
=============================================================================
Coverage ? 64.05%
=============================================================================
Files ? 143
Lines ? 17922
Branches ? 17922
=============================================================================
Hits ? 11480
Misses ? 5647
Partials ? 795 ☔ View full report in Codecov by Sentry. 🚨 Try these New Features:
|
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 10 of 10 files at r1, all commit messages.
Reviewable status: complete! all 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.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @ArniStarkware and @dorimedini-starkware)
crates/blockifier/src/transaction/account_transactions_test.rs
line 1054 at r1 (raw file):
(steps_per_l1_gas * max_fee .checked_div(block_context.block_info.gas_prices.l1_gas_price(&FeeType::Eth),)
When the call is trivial, it's better to access the field directly instead of using this method.
Code quote:
gas_prices.l1_gas_price(&FeeType::Eth)
0056b67
to
b761166
Compare
eaf0c44
to
d9f3e4a
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.
Reviewable status: 8 of 10 files reviewed, 1 unresolved discussion (waiting on @alonh5 and @dorimedini-starkware)
crates/blockifier/src/transaction/account_transactions_test.rs
line 1054 at r1 (raw file):
Previously, alonh5 (Alon Haramati) wrote…
When the call is trivial, it's better to access the field directly instead of using this method.
Done.
b761166
to
7d6ad29
Compare
d9f3e4a
to
4bc7104
Compare
No description provided.