tari-project / tari-dan

BSD 3-Clause "New" or "Revised" License
5 stars 14 forks source link

fix(mempool): allow local transactions with unversioned inputs #1027

Closed sdbondi closed 2 months ago

sdbondi commented 2 months ago

Description

fix(mempool): resolve local unversioned inputs before execution

Motivation and Context

Allow local only transactions with unversioned inputs to be resolved in the mempool

High-level Notes:

How Has This Been Tested?

Cucumber test re-added that tests unversioned inputs.

What process can a PR reviewer use to test or verify this change?

Submit a transaction with at least one unversioned input local to the shard

Breaking Changes

NOTE: Added an index to the database, that requires the database to be deleted to be applied. This is non-breaking but does ensure data integrity and improves the SQLite implementation query performance

github-actions[bot] commented 2 months ago

Test Results (CI)

533 tests  +1   533 :white_check_mark: +1   1h 43m 20s :stopwatch: + 1m 2s  63 suites +1     0 :zzz: ±0    2 files   ±0     0 :x: ±0 

Results for commit 50d8d517. ± Comparison against base commit 4ae07744.