-
Notifications
You must be signed in to change notification settings - Fork 494
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
algod: search phonebook in data directory in addition to bindir #5235
algod: search phonebook in data directory in addition to bindir #5235
Conversation
Codecov Report
@@ Coverage Diff @@
## master #5235 +/- ##
==========================================
- Coverage 53.55% 53.50% -0.05%
==========================================
Files 441 441
Lines 55123 55126 +3
==========================================
- Hits 29520 29495 -25
- Misses 23317 23337 +20
- Partials 2286 2294 +8
... and 10 files with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
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.
Looks great!
Co-authored-by: Shant Karakashian <55754073+algonautshant@users.noreply.github.com>
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.
LGTM, but with the caveat that if you have a phonebook file in both directories, only the first one will work.
Summary
Currently phonebook.json is only searched in bin directory that might not be very convenient.
Changed to check data dir as well.
Test Plan
Tested manually