Closed Alenar closed 4 months ago
3 files ± 0 43 suites ±0 8m 16s :stopwatch: -15s 972 tests +44 972 :white_check_mark: +44 0 :zzz: ±0 0 :x: ±0 1 066 runs +44 1 066 :white_check_mark: +44 0 :zzz: ±0 0 :x: ±0
Results for commit b0decd81. ± Comparison against base commit 86c172ce.
:recycle: This comment has been updated with latest results.
Content
This PR add block range root (aka a
BlockRange
and it's associated transactions merkle root) computation and storage.This step is added to the
CardanoTransactionImporter
of signer & aggregator nodes after the import of the transactions.Other changes:
mithril-common
: Change and rename theTransactionParser
into aBlockScanner
that returns a dedicated typeScannedBlock
that can be converted into a list of transactions. This simplify the next refactor to make it stream the blocks in order to lessen the scanning footprint (#1646).mithril-persistence
: Add a system to add quickly aget_all
method to a type that implement theProvider
trait. You can now implement theGetAllCondition
trait to the entity of the provider to automatically derive theGetAllProvider
trait that define theget_all
method.Pre-submit checklist
Issue(s)
Closes #1633