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

minor network API cleanup #7589

Merged
merged 4 commits into from
Sep 9, 2022
Merged

minor network API cleanup #7589

merged 4 commits into from
Sep 9, 2022

Conversation

pompon0
Copy link
Contributor

@pompon0 pompon0 commented Sep 8, 2022

Removed bunch of type reexports which are not used outside of near-network.

@pompon0 pompon0 requested a review from a team as a code owner September 8, 2022 20:31
@pompon0 pompon0 requested a review from nikurt September 8, 2022 20:31
chain/network/src/peer_manager/peer_manager_actor.rs Outdated Show resolved Hide resolved
@@ -1,7 +1,5 @@
/// Type that belong to the network protocol.
pub use crate::network_protocol::{
Copy link
Contributor

Choose a reason for hiding this comment

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

👍 re-export are almost always not worth it

@near-bulldozer near-bulldozer bot merged commit 37a4fa0 into master Sep 9, 2022
@near-bulldozer near-bulldozer bot deleted the gprusak-cleanup branch September 9, 2022 14:00
nikurt pushed a commit that referenced this pull request Nov 9, 2022
Removed bunch of type reexports which are not used outside of near-network.
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.

2 participants