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
nfrisby@frisbycomp:~/cardano-haskell/cardano-ledger$ git show origin/master --no-patch
commit 63d98c3f8e9eb2878cec3ab71c54fc40c798ac01 (origin/master, origin/HEAD)
Author: Tim Sheard <[email protected]>
Date: Thu Aug 24 15:45:07 2023 -0400
Fix inactive PoolStake not counting as Drep Stake (#3676)
* Changed freshDRepPulser to use map form IncrementalStake rather than SnapShot.
I see that the non-testing code propagates maxMajorPV but never actually uses it.
The intended check is being done, just not by the ledger rules.
For TPraos, the max major version is passed as the first argument to chainChecks, which does not receive a Globals argument. It is called from Consensus code, which carries its own "config" that has the value in it. Similarly for Praos, but the check itself is also in the Consensus code base (since TPraos has not been fully relocated to the Consensus repo). See the instances of the envelopeChecks method, which is only applied to headers.
Using an up-to-date commit
I see that the non-testing code propagates
maxMajorPV
but never actually uses it.I therefore propose we remove it from the
Globals
data type.The text was updated successfully, but these errors were encountered: