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

chore(starknet_api): move gas price related test consts to starknet api #2443

Merged
merged 1 commit into from
Dec 18, 2024

Conversation

ArniStarkware
Copy link
Contributor

No description provided.

@reviewable-StarkWare
Copy link

This change is Reviewable

Copy link
Contributor Author

ArniStarkware commented Dec 4, 2024

This stack of pull requests is managed by Graphite. Learn more about stacking.

Copy link

codecov bot commented Dec 4, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 49.63%. Comparing base (e3165c4) to head (4760d79).
Report is 751 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2443      +/-   ##
==========================================
+ Coverage   40.10%   49.63%   +9.52%     
==========================================
  Files          26      311     +285     
  Lines        1895    35370   +33475     
  Branches     1895    35370   +33475     
==========================================
+ Hits          760    17555   +16795     
- Misses       1100    16613   +15513     
- Partials       35     1202    +1167     

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

Copy link
Collaborator

@alonh5 alonh5 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed 2 of 15 files at r1, 13 of 13 files at r2, all commit messages.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @ArniStarkware)


crates/starknet_api/src/test_utils.rs line 119 at r2 (raw file):

// The max_fee / resource bounds used for txs in this test.
// V3 transactions:

Is this comment still relevant?
Same below

Code quote:

// The max_fee / resource bounds used for txs in this test.
// V3 transactions:

@ArniStarkware ArniStarkware force-pushed the arni/test_utils/gas_prices/move_consts_to_snapi branch 4 times, most recently from dfca6ec to 5506889 Compare December 17, 2024 11:57
Copy link

Benchmark movements:
tree_computation_flow performance regressed!
tree_computation_flow time: [35.777 ms 36.104 ms 36.529 ms]
change: [+1.0648% +2.0700% +3.2408%] (p = 0.00 < 0.05)
Performance has regressed.
Found 9 outliers among 100 measurements (9.00%)
2 (2.00%) high mild
7 (7.00%) high severe

Copy link
Collaborator

@alonh5 alonh5 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed 2 of 15 files at r1, 13 of 13 files at r2, 9 of 9 files at r3, all commit messages.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @ArniStarkware)


crates/starknet_api/src/test_utils.rs line 119 at r2 (raw file):

// The max_fee / resource bounds used for txs in this test.
// V3 transactions:

Fix comment

Code quote:

// The max_fee / resource bounds used for txs in this test.
// V3 transactions:

Copy link
Collaborator

@alonh5 alonh5 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:lgtm:

Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @ArniStarkware)

@ArniStarkware ArniStarkware force-pushed the arni/test_utils/gas_prices/move_consts_to_snapi branch from 5506889 to 3c92529 Compare December 18, 2024 11:24
@ArniStarkware ArniStarkware requested a review from alonh5 December 18, 2024 11:25
Copy link
Contributor Author

@ArniStarkware ArniStarkware 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: 12 of 15 files reviewed, all discussions resolved (waiting on @alonh5)


crates/starknet_api/src/test_utils.rs line 119 at r2 (raw file):

Previously, alonh5 (Alon Haramati) wrote…

Fix comment

Done.

Copy link
Contributor Author

@ArniStarkware ArniStarkware left a 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 r4, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @alonh5)

@ArniStarkware ArniStarkware merged commit 789cf51 into main Dec 18, 2024
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants