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

[commonware-utils] move Array to utils #513

Merged
merged 4 commits into from
Feb 23, 2025
Merged

[commonware-utils] move Array to utils #513

merged 4 commits into from
Feb 23, 2025

Conversation

roberto-bayardo
Copy link
Collaborator

No description provided.

@roberto-bayardo roberto-bayardo changed the title [WIP] [commonware-utils]move Array to utils [commonware-utils] move Array to utils Feb 22, 2025
@roberto-bayardo roberto-bayardo marked this pull request as ready for review February 22, 2025 20:20
fn test_validate_invalid_public_key<C: Scheme>() {
fn test_validate_invalid_public_key<C: Scheme>()
where
C::PublicKey: TryFrom<Vec<u8>, Error = Error>,
Copy link
Contributor

Choose a reason for hiding this comment

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

I think this should be unnecessary 🤔

Copy link
Contributor

Choose a reason for hiding this comment

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

If it is necessary, I wonder if we can make it not so.

utils/src/lib.rs Outdated
@@ -4,7 +4,7 @@ use prost::{encode_length_delimiter, length_delimiter_len};

mod time;
pub use time::SystemTimeExt;
pub mod array;
mod array;
Copy link
Contributor

Choose a reason for hiding this comment

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

We'll need to export the error as well if we do this (which might be annoying).

Copy link
Contributor

@patrick-ogrady patrick-ogrady left a comment

Choose a reason for hiding this comment

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

🔥

@roberto-bayardo roberto-bayardo merged commit 3724c82 into main Feb 23, 2025
6 of 7 checks passed
@roberto-bayardo roberto-bayardo deleted the move-array branch February 23, 2025 18:33
Copy link

codecov bot commented Feb 23, 2025

Codecov Report

Attention: Patch coverage is 77.77778% with 6 lines in your changes missing coverage. Please review.

Project coverage is 94.37%. Comparing base (1656a04) to head (6349986).
Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
utils/src/array.rs 64.70% 6 Missing ⚠️
@@            Coverage Diff             @@
##             main     #513      +/-   ##
==========================================
+ Coverage   94.35%   94.37%   +0.02%     
==========================================
  Files         109      110       +1     
  Lines       30286    30287       +1     
==========================================
+ Hits        28575    28584       +9     
+ Misses       1711     1703       -8     
Files with missing lines Coverage Δ
broadcast/src/linked/mocks/application.rs 91.42% <ø> (ø)
broadcast/src/linked/mocks/collector.rs 65.55% <ø> (ø)
broadcast/src/linked/mocks/coordinator.rs 92.30% <ø> (ø)
broadcast/src/linked/mod.rs 99.26% <ø> (ø)
broadcast/src/linked/parsed.rs 96.34% <100.00%> (+0.04%) ⬆️
broadcast/src/linked/prover.rs 96.36% <ø> (ø)
broadcast/src/linked/serializer.rs 100.00% <ø> (ø)
broadcast/src/linked/signer/ack_manager.rs 100.00% <ø> (ø)
broadcast/src/linked/signer/actor.rs 90.52% <ø> (ø)
broadcast/src/linked/signer/ingress.rs 100.00% <ø> (ø)
... and 50 more

... and 1 file with indirect coverage changes


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1656a04...6349986. Read the comment docs.

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