{-# OPTIONS --safe #-}

open import Ledger.Conway.Abstract
open import Ledger.Conway.Transaction

module Ledger.Conway.Chain.Properties.EpochStep
  (txs : _) (open TransactionStructure txs)
  (abs : AbstractFunctions txs)
  where

open import Ledger.Conway.Chain txs abs
open import Ledger.Conway.Enact govStructure
open import Ledger.Conway.Epoch txs abs
open import Ledger.Prelude
open Block



enact-change⇒newEpoch : (b : Block) {cs cs'  : ChainState} 
   _  cs ⇀⦇ b ,CHAIN⦈ cs'  EnactStateOf cs  EnactStateOf cs'
   Type

enact-change⇒newEpoch b {cs} h es≢es' = epoch (b .slot)  sucᵉ (LastEpochOf cs)