input-output-hk / mithril

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

Ord on signed entity type discriminants #1669

Closed Alenar closed 5 months ago

Alenar commented 5 months ago

Content

This PR enforce an order implementation for the signed entity type discriminant.

The order is defined as the following:

MithrilStakeDistribution < CardanoStakeDistribution < CardanoImmutableFilesFull < CardanoTransactions

This order was already correctly implement using a simple derive Ord with the work on #1496 (to allow the capabilities field of the aggregator root endpoint to use a BTreeSet).

This PR:

Pre-submit checklist

Issue(s)

Closes #1648

github-actions[bot] commented 5 months ago

Test Results

    3 files  ±0     43 suites  ±0   8m 23s :stopwatch: -15s   978 tests +2    978 :white_check_mark: +2  0 :zzz: ±0  0 :x: ±0  1 072 runs  +2  1 072 :white_check_mark: +2  0 :zzz: ±0  0 :x: ±0 

Results for commit 3f3fb02d. ± Comparison against base commit f36ddb23.

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