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

cleanup async_std from network_helpers_sv2 #1433

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

plebhash
Copy link
Collaborator

@plebhash plebhash commented Feb 1, 2025

close #1402

as described in #1402 (comment)

Copy link

codecov bot commented Feb 1, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 18.90%. Comparing base (1a5d9c8) to head (824f85d).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1433      +/-   ##
==========================================
- Coverage   24.04%   18.90%   -5.15%     
==========================================
  Files         112      157      +45     
  Lines        7942    11222    +3280     
==========================================
+ Hits         1910     2121     +211     
- Misses       6032     9101    +3069     
Flag Coverage Δ
binary_codec_sv2-coverage 0.00% <ø> (ø)
binary_serde_sv2-coverage 3.40% <ø> (ø)
binary_sv2-coverage 5.11% <ø> (ø)
bip32_derivation-coverage 0.00% <ø> (ø)
buffer_sv2-coverage 25.02% <ø> (ø)
codec_sv2-coverage 0.01% <ø> (ø)
common_messages_sv2-coverage 0.12% <ø> (ø)
const_sv2-coverage 0.00% <ø> (ø)
error_handling-coverage 0.00% <ø> (ø)
framing_sv2-coverage 0.27% <ø> (ø)
jd_client-coverage 0.42% <ø> (?)
jd_server-coverage 9.02% <ø> (?)
job_declaration_sv2-coverage 0.00% <ø> (ø)
key-utils-coverage 2.39% <ø> (ø)
mining-coverage 2.32% <ø> (-0.02%) ⬇️
mining_device-coverage 0.00% <ø> (?)
mining_proxy_sv2-coverage 0.82% <ø> (?)
noise_sv2-coverage 4.25% <ø> (ø)
protocols 23.86% <ø> (ø)
roles 6.43% <ø> (?)
roles_logic_sv2-coverage 8.70% <ø> (ø)
sv2_ffi-coverage 0.00% <ø> (ø)
template_distribution_sv2-coverage 0.00% <ø> (ø)
translator_sv2-coverage 9.53% <ø> (?)
utils 25.13% <ø> (ø)
v1-coverage 2.31% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

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

plebhash added a commit to plebhash/stratum that referenced this pull request Feb 1, 2025
@plebhash plebhash force-pushed the network_helpers_async_std_cleanup branch from 9588fc2 to 824f85d Compare February 1, 2025 17:27
Copy link
Contributor

@Shourya742 Shourya742 left a comment

Choose a reason for hiding this comment

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

ACK. Few nits.

@@ -1,5 +1,5 @@
[default]
features = "with_buffer_pool async_std tokio with_tokio default"
features = "with_buffer_pool tokio with_tokio default"
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
features = "with_buffer_pool tokio with_tokio default"
features = "with_buffer_pool default"

@@ -26,7 +26,7 @@ roles_logic_sv2 = { path = "../../../protocols/v2/roles-logic-sv2" }
const_sv2 = { path = "../../../protocols/v2/const-sv2" }
async-channel = "1.5.1"
binary_sv2 = { path = "../../../protocols/v2/binary-sv2/binary-sv2" }
network_helpers_sv2 = { path = "../../roles-utils/network-helpers", features=["tokio"] }
network_helpers_sv2 = { path = "../../roles-utils/network-helpers" }
Copy link
Contributor

Choose a reason for hiding this comment

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

any reason why we are not using ['use_buffer_pool'] feature here

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.

remove async_std support
2 participants