{-# LANGUAGE FlexibleInstances #-}
{-# LANGUAGE TypeFamilies #-}
{-# OPTIONS_GHC -Wno-orphans #-}
module Test.ThreadNet.TxGen.Alonzo () where
import Ouroboros.Consensus.Protocol.TPraos (TPraos)
import Ouroboros.Consensus.Shelley.Eras
import Ouroboros.Consensus.Shelley.Ledger
import Test.ThreadNet.TxGen (TxGen (..))
instance TxGen (ShelleyBlock (TPraos c) (AlonzoEra c)) where
type _ = ()
testGenTxs :: CoreNodeId
-> NumCoreNodes
-> SlotNo
-> TopLevelConfig (ShelleyBlock (TPraos c) (AlonzoEra c))
-> TxGenExtra (ShelleyBlock (TPraos c) (AlonzoEra c))
-> LedgerState (ShelleyBlock (TPraos c) (AlonzoEra c))
-> Gen [GenTx (ShelleyBlock (TPraos c) (AlonzoEra c))]
testGenTxs CoreNodeId
_ NumCoreNodes
_ SlotNo
_ TopLevelConfig (ShelleyBlock (TPraos c) (AlonzoEra c))
_ TxGenExtra (ShelleyBlock (TPraos c) (AlonzoEra c))
_ LedgerState (ShelleyBlock (TPraos c) (AlonzoEra c))
_ = [GenTx (ShelleyBlock (TPraos c) (AlonzoEra c))]
-> Gen [GenTx (ShelleyBlock (TPraos c) (AlonzoEra c))]
forall a. a -> Gen a
forall (f :: * -> *) a. Applicative f => a -> f a
pure []