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
Right now, the semantics of cross-era ticking/forecasting is purely implementation-defined, driven by whatever does not cause any concrete issues, rather than principled considerations.
Chain-dep state ticking is also underspecified (eg on the transition from TPraos to Praos, should the extra entropy nonce have been used if non-neutral?).
We should try to improve the situation here, and should be in a decent position for this as we now have a sizeable sample of era transitions whose requirements/particularities can guide our judgement. This requires input from the Ledger team, but the Consensus team can start by drafting a proposal. Possible outcomes are:
Decide on how responsibility for the cross-era logic should be distributed across Consensus and Ledger. (Right now, it is a mix between the Ledger-provided TranslateEra instances, and how/when Consensus invokes them. At the very least, it should be clarified what the exact requirements/guarantees here are.)
Very concrete example question: The ledger events of which era should be emitted when ticking across an era boundary?
Enriching the existing specifications with cross-era behavior (eg in the existing Ledger specs PDFs, or in the formal ledger specifications).
Crucially, any semantics we decide on has to be compatible with mainnet.
The text was updated successfully, but these errors were encountered:
@amesgen I marked this issue as needing help for the time being. Perhaps we could create a separate issue where we describe what we need from the ledger team, and mark that one as help needed.
Right now, the semantics of cross-era ticking/forecasting is purely implementation-defined, driven by whatever does not cause any concrete issues, rather than principled considerations.
ouroboros-consensus/ouroboros-consensus-cardano/src/ouroboros-consensus-cardano/Ouroboros/Consensus/Cardano/CanHardFork.hs
Lines 708 to 723 in 106ce89
We should try to improve the situation here, and should be in a decent position for this as we now have a sizeable sample of era transitions whose requirements/particularities can guide our judgement. This requires input from the Ledger team, but the Consensus team can start by drafting a proposal. Possible outcomes are:
TranslateEra
instances, and how/when Consensus invokes them. At the very least, it should be clarified what the exact requirements/guarantees here are.)Crucially, any semantics we decide on has to be compatible with mainnet.
The text was updated successfully, but these errors were encountered: