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_client_backend: Move change memos into the ChangeValue components of Proposals #1012

Merged
merged 2 commits into from
Oct 12, 2023

Conversation

nuttycom
Copy link
Contributor

@nuttycom nuttycom commented Oct 9, 2023

The existing API limited change outputs to having only a single memo repeated across each change output. This change makes it so that each proposed change output can have its own associated memo, and leaves it up to the input selector to determine how requested change memos are associated with change outputs.

@nuttycom nuttycom added the C-tech-debt Category: Technical debt that needs to be paid off label Oct 9, 2023
@codecov
Copy link

codecov bot commented Oct 9, 2023

Codecov Report

Attention: 9 lines in your changes are missing coverage. Please review.

Files Coverage Δ
zcash_client_backend/src/data_api/wallet.rs 87.08% <100.00%> (-0.16%) ⬇️
zcash_client_sqlite/src/chain.rs 49.58% <ø> (ø)
zcash_client_sqlite/src/wallet.rs 82.84% <ø> (ø)
zcash_client_sqlite/src/wallet/sapling.rs 78.08% <ø> (ø)
zcash_client_backend/src/fees.rs 55.31% <40.00%> (-2.83%) ⬇️
zcash_client_backend/src/fees/fixed.rs 71.05% <57.14%> (-1.17%) ⬇️
zcash_client_backend/src/fees/zip317.rs 79.59% <66.66%> (-1.06%) ⬇️

📢 Thoughts on this report? Let us know!.

@daira daira self-requested a review October 11, 2023 17:18
daira
daira previously approved these changes Oct 11, 2023
Copy link
Contributor

@daira daira left a comment

Choose a reason for hiding this comment

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

utACK with suggestions.

daira
daira previously approved these changes Oct 11, 2023
Copy link
Contributor

@daira daira left a comment

Choose a reason for hiding this comment

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

utACK

@daira
Copy link
Contributor

daira commented Oct 11, 2023

The wasi and clippy failures were due to failed downloads from crates.io, so I restarted them.

nuttycom and others added 2 commits October 11, 2023 14:15
…ents of `Proposal`s.

The existing API limited change outputs to having only a single memo
repeated across each change output. This change makes it so that each
proposed change output can have its own associated memo, and leaves it
up to the input selector to determine how requested change memos are
associated with change outputs.
Co-authored-by: Daira Emma Hopwood <[email protected]>
@nuttycom
Copy link
Contributor Author

force-pushed to resolve conflicts after the merge of #1013

Copy link
Contributor

@daira daira left a comment

Choose a reason for hiding this comment

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

utACK

@nuttycom nuttycom merged commit c4c2c59 into zcash:main Oct 12, 2023
14 of 16 checks passed
@nuttycom nuttycom deleted the wallet/proposal_change_memos branch October 12, 2023 17:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-tech-debt Category: Technical debt that needs to be paid off
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants