-
Notifications
You must be signed in to change notification settings - Fork 86
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
consensus-cardano-test: add MaryAlonzo hard fork ThreadNet test
- Loading branch information
Showing
6 changed files
with
422 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
ouroboros-consensus-cardano-test/src/Test/ThreadNet/TxGen/Alonzo.hs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{-# LANGUAGE FlexibleInstances #-} | ||
{-# LANGUAGE TypeFamilies #-} | ||
{-# OPTIONS_GHC -Wno-orphans #-} | ||
module Test.ThreadNet.TxGen.Alonzo () where | ||
|
||
import Ouroboros.Consensus.Shelley.Eras | ||
import Ouroboros.Consensus.Shelley.Ledger | ||
|
||
import Test.ThreadNet.TxGen (TxGen (..)) | ||
|
||
-- | Dummy generator until CAD-2119 is done, i.e., the transaction generator in | ||
-- the ledger has been generalised over the eras. | ||
instance TxGen (ShelleyBlock (AlonzoEra c)) where | ||
|
||
type TxGenExtra (ShelleyBlock (AlonzoEra c)) = () | ||
|
||
testGenTxs _ _ _ _ _ _ = pure [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.