-
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
chore(blockifier): rename the getters for the gas prices struct #2269
Conversation
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 @@
## main #2269 +/- ##
===========================================
+ Coverage 40.10% 64.15% +24.05%
===========================================
Files 26 143 +117
Lines 1895 18053 +16158
Branches 1895 18053 +16158
===========================================
+ Hits 760 11582 +10822
- Misses 1100 5671 +4571
- Partials 35 800 +765 ☔ 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.
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
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 3 of 3 files at r2, all commit messages.
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):
Previously, ArniStarkware (Arnon Hod) wrote…
Done.
Please do the same below (you can search all locations with FeeType::Strk/FeeType::Eth)
7d6ad29
to
5be9f3c
Compare
4bc7104
to
627bc1c
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…
Please do the same below (you can search all locations with FeeType::Strk/FeeType::Eth)
Done.
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 2 of 2 files at r3, all commit messages.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @ArniStarkware and @dorimedini-starkware)
crates/blockifier/src/transaction/account_transactions_test.rs
line 1209 at r3 (raw file):
GasVectorComputationMode::All => ValidResourceBounds::all_bounds_from_vectors( &tx_execution_info1.receipt.gas, block_context.block_info.gas_prices.gas_price_vector(&FeeType::Strk),
Also here (I didn't search myself, so please make sure there aren't any left).
Code quote:
(&FeeType::Strk)
5be9f3c
to
e677ebf
Compare
627bc1c
to
5f0afd1
Compare
e677ebf
to
dd596b9
Compare
5f0afd1
to
10c0624
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: 9 of 10 files reviewed, 1 unresolved discussion (waiting on @alonh5 and @dorimedini-starkware)
crates/blockifier/src/transaction/account_transactions_test.rs
line 1209 at r3 (raw file):
Previously, alonh5 (Alon Haramati) wrote…
Also here (I didn't search myself, so please make sure there aren't any left).
Done.
I double-checked the whole repo (Last time, I ignored this type of change as I missed its relevancy).
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 r4, all commit messages.
Reviewable status: complete! all files reviewed, all discussions resolved (waiting on @dorimedini-starkware)
dd596b9
to
d60ce60
Compare
10c0624
to
4017110
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 5 of 5 files at r5, all commit messages.
Reviewable status: complete! all files reviewed, all discussions resolved (waiting on @dorimedini-starkware)
d60ce60
to
23231e4
Compare
4017110
to
e716b71
Compare
e716b71
to
fd17761
Compare
Merge activity
|
No description provided.