Concordium / concordium-base

Core Rust and Haskell libraries used by various components of the Concordium blockchain, as well as some tools used for testing and development.
Mozilla Public License 2.0
22 stars 24 forks source link

Revise ToJSON for BakerPoolStatus for compatibility. #550

Closed td202 closed 3 weeks ago

td202 commented 4 weeks ago

Purpose

With the cooldown changes, the PoolStatus datastructure was split into BakerPoolStatus and PassiveDelegationStatus, and ActiveBakerPoolStatus was factored out (under a Maybe). This last change in particular meant that the deriveJSON instances for BakerPoolStatus would not be backwards compatible. This rectifies that.

Changes

Checklist