-
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(starknet_api): rely on env::current_dir() instead of CARGO_MANIFEST_DIR #2450
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## spr/main/a48736e7 #2450 +/- ##
=====================================================
+ Coverage 77.31% 77.40% +0.08%
=====================================================
Files 389 389
Lines 41335 41335
Branches 41335 41335
=====================================================
+ Hits 31959 31995 +36
+ Misses 7115 7078 -37
- Partials 2261 2262 +1 ☔ View full report in Codecov by Sentry. |
834794c
to
effdab9
Compare
Artifacts upload workflows: |
…FEST_DIR commit-id:301ed4eb
f6417f0
to
77232c5
Compare
effdab9
to
611737c
Compare
Benchmark movements: full_committer_flow performance regressed! |
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 r1, all commit messages.
Reviewable status: complete! all files reviewed, all discussions resolved (waiting on @Itay-Tsabary-Starkware)
Cargo.lock
line 3 at r1 (raw file):
# This file is automatically @generated by Cargo. # It is not intended for manual editing. version = 4
Wow.
Probably means nothing... but cool.
Code quote:
version = 4
crates/starknet_api/src/test_utils.rs
line 23 at r1 (raw file):
/// file in the folder "resources". pub fn path_in_resources<P: AsRef<Path>>(file_path: P) -> PathBuf { std::env::current_dir().unwrap().join("resources").join(file_path)
Nice!
It's cool that there is no need for this to be a macro.
Code quote:
std::env::current_dir()
✓ Commit merged in pull request #2454 |
Stack: