formal-ledger-specifications icon indicating copy to clipboard operation
formal-ledger-specifications copied to clipboard

DRep expiration is "bumped" when there are no proposals even if the DRep has already expired

Open carlostome opened this issue 2 months ago • 1 comments

This behaviour shows up as a conformance testing failure as well, since the implementation only bumps the expiration epoch of DReps which are not expired.

This difference of behaviour is exhibited by the test:

  • LEDGER/Withdraw from a key delegated to a DRep that expired after delegation

carlostome avatar Sep 24 '25 11:09 carlostome

Hmm, that's an interesting one. This behaviour isn't preserved by bisimulation, so I think we could also make the case that conformance shouldn't fail when two DReps are expired but have different epoch numbers associated with them.

It might also be interesting to prove this, and then test equality only up to that equivalence relation defined on our side. I feel like that shouldn't be that difficult.

WhatisRT avatar Sep 26 '25 14:09 WhatisRT