input-output-hk / mithril

Stake-based threshold multi-signatures protocol
https://mithril.network
Apache License 2.0
123 stars 39 forks source link

Prune cardano transactions in signer after block range roots computation #1685

Closed Alenar closed 4 months ago

Alenar commented 4 months ago

Content

This PR add, to the signer only, a pruning of the cardano transactions after the computation of block ranges roots.

This is done using a decorator wrapping the existing CardanoTransactionsImporter.

Two new configuration parameters have been added to signer Configuration structure:

Since both have a default value our signer won't have to update their configurations.

Pre-submit checklist

Comments

Issue(s)

Closes #1645

github-actions[bot] commented 4 months ago

Test Results

    3 files  ± 0     43 suites  ±0   8m 32s :stopwatch: ±0s   970 tests +11    970 :white_check_mark: +11  0 :zzz: ±0  0 :x: ±0  1 064 runs  +11  1 064 :white_check_mark: +11  0 :zzz: ±0  0 :x: ±0 

Results for commit e258352b. ± Comparison against base commit 2fe74c2a.

:recycle: This comment has been updated with latest results.