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: fix reinstating CancelledInbound outputs and fix tests #3400

Conversation

philipr-za
Copy link
Contributor

@philipr-za philipr-za commented Sep 30, 2021

Description

This PR adds back the ability to reinstate a CancelledInbound transaction outputs in the case that a cancelled inbound transaction gets a reply via SAF after its been cancelled.

The majority of this PR is actually fixing transaction service tests in the tx-validation2 branch.

It also adds an extra db migration to clear existing mined_height values from the completed_transaction table to have all completed transactions get fully revalidated after a migration from an old db schema.

How Has This Been Tested?

tests provided and fixed

This PR adds back the ability to reinstate a CancelledInbound transaction outputs in the case that a cancelled inbound transaction gets a reply via SAF after its been cancelled.

The majority of this PR is actually fixing transaction service tests.

It also adds an extra db migration to clear existing `mined_height` values from the `completed_transaction` table to have all completed transactions get fully revalidated after a migration from an old db schema.
@philipr-za philipr-za force-pushed the philip-inbound-cancelled branch from fe4d135 to 594eec8 Compare October 1, 2021 05:44
@stringhandler stringhandler merged commit 77ffc36 into tari-project:tx-validation2 Oct 1, 2021
stringhandler added a commit that referenced this pull request Oct 6, 2021
alternate approach to transaction validation (#3191)
feat!: integration of new transaction and output validation (#3352)
feat: update coinbase handling for new tx and output validation (#3383)
refactor: use wallet connectivity in wallet services (#3391)
refactor: mapping for deleted mmr position to height/hash for perf (#3394)
feat: Fix reinstating CancelledInbound outputs and fix tests (#3400)
chore: merge development into tx-validation2 and fix issues (#3417)
Uncomment cucumber tests
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