-
Notifications
You must be signed in to change notification settings - Fork 742
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
First change to validate #4527
First change to validate #4527
Conversation
Could you please change the target branch from |
Target branch changed from Can you review my changes, and let me know whether I am on the right path or not? |
Yep you're on the right path, feel free to proceed! |
Changes done, Requesting for review. Open for suggestions. |
Requesting for review |
Heyo, I tried to fix the merge conflicts but I ran afoul of the formatter sorry. Could you please do |
Sure, let me try. |
I'm not sure, but let's give it a go. Try committing both files and we can see what happens :) |
Okay. |
Done. |
Sorry @postmeback, it looks like committing the
|
So, now it is ok to go forward ? |
The |
I pushed a fix to the grep -rnw '.' -e 'null_logger' --exclude-dir 'target'
./common/task_executor/src/test_utils.rs:29: let log = null_logger().unwrap();
./common/task_executor/src/test_utils.rs:70:pub fn null_logger() -> Result<Logger, String> {
./common/logging/src/lib.rs:236: .expect("Should build null_logger")
./beacon_node/network/src/network_beacon_processor/mod.rs:14:use environment::null_logger;
./beacon_node/network/src/network_beacon_processor/mod.rs:553: let log = null_logger().unwrap(); |
My advice would be to delete the
That should be a surefire way of ensuring there are no more uses of |
Okay, will sure try. Thanks for the suggestion. |
Pinging author @postmeback |
Closing for inactivity. Thank you @postmeback for the contribution! Please feel free to pick other good first issues if you want to contribute again |
Sorry was busy IRL. 😞 |
Issue Addressed
Fixes #4499
Proposed Changes
Remove the implementation of null_logger, else implement test_logger.
null_logger
can be found common/task_executor/src/test_utils.rstest_logger
can be found common/logging/srcAdditional Info
I have done only one change as of now. Please review and let me know, whether I am on a right path. Then, I will do changes in other places.