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

feat: prevent ambiguous output features in transaction protocols #3765

Conversation

hansieodendaal
Copy link
Contributor

@hansieodendaal hansieodendaal commented Jan 28, 2022

Description

Prevented possible ambiguous use of output features when creating the SingleReceiverTransactionProtocol and TransactionSenderMessage.
Note: SingleRoundSenderData already contains OutputFeatures

Motivation and Context

Ambiguity when constructing transaction protocols should not be possible.

How Has This Been Tested?

  • Unit tests
  • Cucumber tests (npm test -- --tags "@critical")

Removed possible ambiguous use of output features when creating the
SingleReceiverTransactionProtocol and TransactionSenderMessage.
Copy link
Collaborator

@SWvheerden SWvheerden left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@philipr-za philipr-za left a comment

Choose a reason for hiding this comment

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

LGTM

@aviator-app aviator-app bot merged commit f5b6ab6 into tari-project:development Jan 31, 2022
@hansieodendaal hansieodendaal deleted the ho_remove_redundant_output_features_param branch February 1, 2022 08:55
sdbondi added a commit to sdbondi/tari that referenced this pull request Feb 1, 2022
* development:
  chore: check genesis block during startup (tari-project#3776)
  chore: fix lint again (tari-project#3780)
  fix(core): fetch_header_containing_*_mmr functions now take a 0-based mmr position (tari-project#3749)
  refactor(test_faucet): include create_utxo to avoid unintentionally breaking faucet utxos (tari-project#3771)
  fix: text explorer show sha-3 correctly + minor fixes (tari-project#3779)
  feat: prevent ambiguous output features in transaction protocols (tari-project#3765)
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.

None yet

3 participants