input-output-hk / mithril

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

Refactor `BlockNumber` type #1755

Closed jpraynaud closed 2 months ago

jpraynaud commented 3 months ago

Why

Have a stronger type checking implemented on the BlockNumber type which is currently an alias to u64.

What

Refactor the BlockNumber type with a struct.

How