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

zcash_primitives: Add no_std support #1688

Merged
merged 6 commits into from
Jan 29, 2025

Apply suggestions from code review

d352b93
Select commit
Loading
Failed to load commit list.
Merged

zcash_primitives: Add no_std support #1688

Apply suggestions from code review
d352b93
Select commit
Loading
Failed to load commit list.
Codecov / codecov/patch succeeded Jan 29, 2025 in 0s

72.95% of diff hit (target 51.89%)

View this Pull Request on Codecov

72.95% of diff hit (target 51.89%)

Annotations

Check warning on line 81 in zcash_primitives/src/encoding.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

zcash_primitives/src/encoding.rs#L80-L81

Added lines #L80 - L81 were not covered by tests

Check warning on line 70 in zcash_primitives/src/merkle_tree.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

zcash_primitives/src/merkle_tree.rs#L67-L70

Added lines #L67 - L70 were not covered by tests

Check warning on line 81 in zcash_primitives/src/merkle_tree.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

zcash_primitives/src/merkle_tree.rs#L79-L81

Added lines #L79 - L81 were not covered by tests

Check warning on line 84 in zcash_primitives/src/merkle_tree.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

zcash_primitives/src/merkle_tree.rs#L84

Added line #L84 was not covered by tests

Check warning on line 99 in zcash_primitives/src/merkle_tree.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

zcash_primitives/src/merkle_tree.rs#L99

Added line #L99 was not covered by tests

Check warning on line 104 in zcash_primitives/src/merkle_tree.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

zcash_primitives/src/merkle_tree.rs#L104

Added line #L104 was not covered by tests

Check warning on line 157 in zcash_primitives/src/merkle_tree.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

zcash_primitives/src/merkle_tree.rs#L157

Added line #L157 was not covered by tests

Check warning on line 160 in zcash_primitives/src/merkle_tree.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

zcash_primitives/src/merkle_tree.rs#L160

Added line #L160 was not covered by tests

Check warning on line 179 in zcash_primitives/src/merkle_tree.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

zcash_primitives/src/merkle_tree.rs#L179

Added line #L179 was not covered by tests

Check warning on line 274 in zcash_primitives/src/merkle_tree.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

zcash_primitives/src/merkle_tree.rs#L274

Added line #L274 was not covered by tests

Check warning on line 288 in zcash_primitives/src/merkle_tree.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

zcash_primitives/src/merkle_tree.rs#L288

Added line #L288 was not covered by tests

Check warning on line 323 in zcash_primitives/src/merkle_tree.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

zcash_primitives/src/merkle_tree.rs#L323

Added line #L323 was not covered by tests

Check warning on line 998 in zcash_primitives/src/transaction/builder.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

zcash_primitives/src/transaction/builder.rs#L997-L998

Added lines #L997 - L998 were not covered by tests

Check warning on line 95 in zcash_primitives/src/transaction/components/orchard.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

zcash_primitives/src/transaction/components/orchard.rs#L95

Added line #L95 was not covered by tests

Check warning on line 109 in zcash_primitives/src/transaction/components/orchard.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

zcash_primitives/src/transaction/components/orchard.rs#L109

Added line #L109 was not covered by tests

Check warning on line 130 in zcash_primitives/src/transaction/components/orchard.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

zcash_primitives/src/transaction/components/orchard.rs#L130

Added line #L130 was not covered by tests

Check warning on line 119 in zcash_primitives/src/transaction/components/sapling.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

zcash_primitives/src/transaction/components/sapling.rs#L119

Added line #L119 was not covered by tests

Check warning on line 42 in zcash_primitives/src/transaction/components/sprout.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

zcash_primitives/src/transaction/components/sprout.rs#L42

Added line #L42 was not covered by tests

Check warning on line 65 in zcash_primitives/src/transaction/components/sprout.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

zcash_primitives/src/transaction/components/sprout.rs#L65

Added line #L65 was not covered by tests

Check warning on line 98 in zcash_primitives/src/transaction/components/tze.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

zcash_primitives/src/transaction/components/tze.rs#L98

Added line #L98 was not covered by tests

Check warning on line 104 in zcash_primitives/src/transaction/components/tze.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

zcash_primitives/src/transaction/components/tze.rs#L104

Added line #L104 was not covered by tests

Check warning on line 205 in zcash_primitives/src/transaction/components/tze.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

zcash_primitives/src/transaction/components/tze.rs#L205

Added line #L205 was not covered by tests

Check warning on line 117 in zcash_primitives/src/transaction/components/tze/builder.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

zcash_primitives/src/transaction/components/tze/builder.rs#L117

Added line #L117 was not covered by tests

Check warning on line 132 in zcash_primitives/src/transaction/components/tze/builder.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

zcash_primitives/src/transaction/components/tze/builder.rs#L132

Added line #L132 was not covered by tests

Check warning on line 141 in zcash_primitives/src/transaction/fees/zip317.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

zcash_primitives/src/transaction/fees/zip317.rs#L141

Added line #L141 was not covered by tests