This PR makes changes to the following instructions:
vault_transaction_create_from_buffer
proposal_cancel_v2
It deduplicates the business logic copied from vault_transaction_create and ProposalVote::ProposalCancel by re-using the respective contexts from those instructions. This is done in favor of copy-pasting the business logic as that introduces unnecessary code bloating.
The result is that vault_transaction_create_from_buffer and proposal_cancel_v2 now call into vault_transaction_create and ProposalVote::ProposalCancel respectively instead of copy-pasting their contents
This PR makes changes to the following instructions:
vault_transaction_create_from_buffer
proposal_cancel_v2
It deduplicates the business logic copied from
vault_transaction_create
andProposalVote::ProposalCancel
by re-using the respective contexts from those instructions. This is done in favor of copy-pasting the business logic as that introduces unnecessary code bloating.The result is that
vault_transaction_create_from_buffer
andproposal_cancel_v2
now call intovault_transaction_create
andProposalVote::ProposalCancel
respectively instead of copy-pasting their contents