Skip to content

zcash_protocol: Modify `Zatoshis` to directly wrap a u64

Codecov / codecov/patch succeeded Jan 27, 2024 in 0s

70.00% of diff hit (target 64.87%)

View this Pull Request on Codecov

70.00% of diff hit (target 64.87%)

Annotations

Check warning on line 47 in components/zcash_protocol/src/value.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

components/zcash_protocol/src/value.rs#L45-L47

Added lines #L45 - L47 were not covered by tests

Check warning on line 115 in components/zcash_protocol/src/value.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

components/zcash_protocol/src/value.rs#L114-L115

Added lines #L114 - L115 were not covered by tests

Check warning on line 127 in components/zcash_protocol/src/value.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

components/zcash_protocol/src/value.rs#L124-L127

Added lines #L124 - L127 were not covered by tests

Check warning on line 129 in components/zcash_protocol/src/value.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

components/zcash_protocol/src/value.rs#L129

Added line #L129 was not covered by tests

Check warning on line 149 in components/zcash_protocol/src/value.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

components/zcash_protocol/src/value.rs#L148-L149

Added lines #L148 - L149 were not covered by tests

Check warning on line 157 in components/zcash_protocol/src/value.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

components/zcash_protocol/src/value.rs#L156-L157

Added lines #L156 - L157 were not covered by tests

Check warning on line 173 in components/zcash_protocol/src/value.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

components/zcash_protocol/src/value.rs#L172-L173

Added lines #L172 - L173 were not covered by tests

Check warning on line 195 in components/zcash_protocol/src/value.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

components/zcash_protocol/src/value.rs#L194-L195

Added lines #L194 - L195 were not covered by tests

Check warning on line 232 in components/zcash_protocol/src/value.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

components/zcash_protocol/src/value.rs#L228-L232

Added lines #L228 - L232 were not covered by tests

Check warning on line 283 in components/zcash_protocol/src/value.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

components/zcash_protocol/src/value.rs#L281-L283

Added lines #L281 - L283 were not covered by tests

Check warning on line 320 in components/zcash_protocol/src/value.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

components/zcash_protocol/src/value.rs#L319-L320

Added lines #L319 - L320 were not covered by tests

Check warning on line 342 in components/zcash_protocol/src/value.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

components/zcash_protocol/src/value.rs#L341-L342

Added lines #L341 - L342 were not covered by tests

Check warning on line 374 in components/zcash_protocol/src/value.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

components/zcash_protocol/src/value.rs#L373-L374

Added lines #L373 - L374 were not covered by tests

Check warning on line 394 in components/zcash_protocol/src/value.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

components/zcash_protocol/src/value.rs#L393-L394

Added lines #L393 - L394 were not covered by tests

Check warning on line 410 in components/zcash_protocol/src/value.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

components/zcash_protocol/src/value.rs#L409-L410

Added lines #L409 - L410 were not covered by tests

Check warning on line 413 in components/zcash_protocol/src/value.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

components/zcash_protocol/src/value.rs#L412-L413

Added lines #L412 - L413 were not covered by tests

Check warning on line 418 in components/zcash_protocol/src/value.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

components/zcash_protocol/src/value.rs#L417-L418

Added lines #L417 - L418 were not covered by tests

Check warning on line 445 in components/zcash_protocol/src/value.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

components/zcash_protocol/src/value.rs#L443-L445

Added lines #L443 - L445 were not covered by tests

Check warning on line 70 in zcash_client_backend/src/fees/sapling.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

zcash_client_backend/src/fees/sapling.rs#L70

Added line #L70 was not covered by tests

Check warning on line 84 in zcash_client_backend/src/fees/sapling.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

zcash_client_backend/src/fees/sapling.rs#L84

Added line #L84 was not covered by tests

Check warning on line 288 in zcash_client_backend/src/scanning.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

zcash_client_backend/src/scanning.rs#L288

Added line #L288 was not covered by tests

Check warning on line 351 in zcash_client_backend/src/scanning.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

zcash_client_backend/src/scanning.rs#L351

Added line #L351 was not covered by tests

Check warning on line 185 in zcash_keys/src/keys.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

zcash_keys/src/keys.rs#L185

Added line #L185 was not covered by tests