Skip to content

[1] Preparation changes for merging with upstream#45

Merged
vivek-arte merged 3 commits into
zsa1from
upstream_merge_prep
Dec 30, 2025
Merged

[1] Preparation changes for merging with upstream#45
vivek-arte merged 3 commits into
zsa1from
upstream_merge_prep

Conversation

@vivek-arte
Copy link
Copy Markdown

This PR performs some code refactoring to make the upstream merge in the next step less complicated.

The refactoring is cosmetic in that it doesn't affect the generated test vectors.
It mainly splits out the initialization and byte serialization of the transaction (in TransactionBase) to differing functions for header, transparent and sapling parts of the transaction.
The Orchard parts are in the child classes (TransactionV5 and TransactionV6) and are not separated out into functions.

Copy link
Copy Markdown

@PaulLaux PaulLaux left a comment

Choose a reason for hiding this comment

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

Will these changes affect the actual test vectors generated?

Comment thread zcash_test_vectors/transaction.py
@vivek-arte vivek-arte merged commit e2be5c6 into zsa1 Dec 30, 2025
3 checks passed
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