You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add golden tests for all queries, which also includes adding necessary examples for ledger types to Ledger.
Make sure that the existing examples are sufficiently interesting; e.g. the example PoolDistr used for GetStakeDistribution has only one entry, which means that we couldn't notice that a recent Ledger update changed the encoding for maps with more than 23 elements.
Currently, we have golden tests for some, but not all queries (both the encoded query and result messages):
ouroboros-consensus/ouroboros-consensus-cardano/src/shelley-testlib/Test/Consensus/Shelley/Examples.hs
Lines 199 to 217 in 15d2e93
The goal of this ticket is to extend this:
PoolDistr
used forGetStakeDistribution
has only one entry, which means that we couldn't notice that a recent Ledger update changed the encoding for maps with more than 23 elements.The text was updated successfully, but these errors were encountered: