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(core): validates non-contract utxos have no sidechain features #4259

Conversation

sdbondi
Copy link
Member

@sdbondi sdbondi commented Jul 1, 2022

Description

  • adds simple validation rule to check that non-contract outputs do not contain sidechain features

Motivation and Context

Outputs that are not flagged with contract OutputTypes should not contain SideChainFeatures

How Has This Been Tested?

Fail case unit test, happy case is tested by other tests

@aviator-app aviator-app bot merged commit a8ba89f into tari-project:development Jul 1, 2022
@sdbondi sdbondi deleted the core-check-empty-sidechain-features branch July 1, 2022 12:01
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