Skip to content

zcash_address: Add Converter trait and ZcashAddress::convert_with#1791

Merged
nuttycom merged 3 commits into
zcash:zcash_address-0.6.xfrom
nuttycom:address_converter
May 7, 2025
Merged

zcash_address: Add Converter trait and ZcashAddress::convert_with#1791
nuttycom merged 3 commits into
zcash:zcash_address-0.6.xfrom
nuttycom:address_converter

Conversation

@nuttycom
Copy link
Copy Markdown
Collaborator

@nuttycom nuttycom commented May 7, 2025

No description provided.

@codecov
Copy link
Copy Markdown

codecov Bot commented May 7, 2025

Codecov Report

Attention: Patch coverage is 0% with 29 lines in your changes missing coverage. Please review.

Project coverage is 52.45%. Comparing base (fb163a3) to head (456e83e).
Report is 4 commits behind head on zcash_address-0.6.x.

Files with missing lines Patch % Lines
components/zcash_address/src/convert.rs 0.00% 21 Missing ⚠️
components/zcash_address/src/lib.rs 0.00% 8 Missing ⚠️
Additional details and impacted files
@@                   Coverage Diff                   @@
##           zcash_address-0.6.x    #1791      +/-   ##
=======================================================
- Coverage                52.97%   52.45%   -0.53%     
=======================================================
  Files                      173      173              
  Lines                    21046    21251     +205     
=======================================================
- Hits                     11149    11147       -2     
- Misses                    9897    10104     +207     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@nuttycom nuttycom force-pushed the address_converter branch 3 times, most recently from c05d4db to b1d04cb Compare May 7, 2025 16:09
Copy link
Copy Markdown
Contributor

@str4d str4d left a comment

Choose a reason for hiding this comment

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

Reviewed b1d04cb.

Comment thread components/zcash_address/src/lib.rs Outdated
Comment thread components/zcash_protocol/src/consensus.rs Outdated
nuttycom added 3 commits May 7, 2025 10:28
This adds a trait that permits contextual conversions from
`ZcashAddress` into a target type. Where `TryFromAddress` permits
context-less conversions, this trait allows implementers to inspect the
contents of an address in the context of other data or operations.
@nuttycom nuttycom force-pushed the address_converter branch from b1d04cb to 456e83e Compare May 7, 2025 16:29
@nuttycom nuttycom requested a review from str4d May 7, 2025 16:29
Copy link
Copy Markdown
Contributor

@str4d str4d left a comment

Choose a reason for hiding this comment

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

utACK 456e83e

@nuttycom nuttycom merged commit f7c447a into zcash:zcash_address-0.6.x May 7, 2025
27 of 29 checks passed
@nuttycom nuttycom deleted the address_converter branch May 7, 2025 18:26
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