-
Notifications
You must be signed in to change notification settings - Fork 21
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
refactor(starknet_api): gas vector to contain fields of type GasAmount #1176
refactor(starknet_api): gas vector to contain fields of type GasAmount #1176
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1176 +/- ##
===========================================
- Coverage 74.18% 58.06% -16.13%
===========================================
Files 359 178 -181
Lines 36240 23780 -12460
Branches 36240 23780 -12460
===========================================
- Hits 26886 13807 -13079
- Misses 7220 8466 +1246
+ Partials 2134 1507 -627
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
f9c394b
to
71e74c1
Compare
ef0fb29
to
f360b33
Compare
Benchmark movements: |
71e74c1
to
4e09035
Compare
f360b33
to
0a43e86
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: 0 of 9 files reviewed, 1 unresolved discussion (waiting on @Yoni-Starkware)
crates/papyrus_storage/src/serialization/serializers.rs
line 0 at r1 (raw file):
@ShahakShama would this change break backwards-compatibility?
@Yoni-Starkware do we care?
4e09035
to
c7eb554
Compare
0a43e86
to
cb55a9a
Compare
c7eb554
to
f02ae02
Compare
cb55a9a
to
07c638f
Compare
Benchmark movements: |
f02ae02
to
a6fdfe0
Compare
07c638f
to
b12c44d
Compare
Benchmark movements: |
a6fdfe0
to
63596aa
Compare
b12c44d
to
665b07f
Compare
63596aa
to
d7ba93e
Compare
665b07f
to
2803c13
Compare
a610550
to
3b0d996
Compare
bc159c2
to
82cdbb9
Compare
3b0d996
to
e9e4553
Compare
82cdbb9
to
867c79a
Compare
e9e4553
to
4ce272b
Compare
867c79a
to
e512f78
Compare
4ce272b
to
1ff6bd4
Compare
e512f78
to
7819527
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 6 of 9 files at r1, 2 of 2 files at r2, all commit messages.
Reviewable status: 8 of 9 files reviewed, 2 unresolved discussions (waiting on @dorimedini-starkware and @ShahakShama)
crates/papyrus_storage/src/serialization/serializers.rs
line at r1 (raw file):
Previously, dorimedini-starkware wrote…
@ShahakShama would this change break backwards-compatibility?
@Yoni-Starkware do we care?
We (SN) don't care
crates/papyrus_storage/src/serialization/serializers.rs
line 295 at r2 (raw file):
pub l1_gas: GasAmount, pub l1_data_gas: GasAmount, pub l2_gas: GasAmount,
Why this is duplicated?
Code quote:
pub struct GasAmount(pub u64);
pub struct GasPricePerToken {
pub price_in_fri: GasPrice,
pub price_in_wei: GasPrice,
}
pub struct GasVector {
pub l1_gas: GasAmount,
pub l1_data_gas: GasAmount,
pub l2_gas: GasAmount,
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 9 files reviewed, 1 unresolved discussion (waiting on @ShahakShama and @Yoni-Starkware)
crates/papyrus_storage/src/serialization/serializers.rs
line 295 at r2 (raw file):
Previously, Yoni-Starkware (Yoni) wrote…
Why this is duplicated?
one in auto_impl_get_test_instance!
macro and one in auto_storage_serde!
macro
1ff6bd4
to
7a28708
Compare
7819527
to
10b499a
Compare
Benchmark movements: |
10b499a
to
c2c1698
Compare
7a28708
to
26a941f
Compare
c2c1698
to
5419ddc
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 9 files at r1, 1 of 1 files at r3, all commit messages.
Reviewable status: complete! all files reviewed, all discussions resolved (waiting on @dorimedini-starkware)
Benchmark movements: |
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 9 files at r1, 1 of 1 files at r3, all commit messages.
Reviewable status: complete! all files reviewed, all discussions resolved (waiting on @dorimedini-starkware)
Merge activity
|
This change is