Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1828 - Remove code due to hard fork - Dec 2024 #1930

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 0 additions & 21 deletions cardano-chain-gen/cardano-chain-gen.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -130,27 +130,6 @@ test-suite cardano-chain-gen
other-modules: Test.Cardano.Db.Mock.Config
Test.Cardano.Db.Mock.Examples
Test.Cardano.Db.Mock.Property.Property
Test.Cardano.Db.Mock.Unit.Alonzo
Test.Cardano.Db.Mock.Unit.Alonzo.Config
Test.Cardano.Db.Mock.Unit.Alonzo.Plutus
Test.Cardano.Db.Mock.Unit.Alonzo.PoolAndSmash
Test.Cardano.Db.Mock.Unit.Alonzo.Reward
Test.Cardano.Db.Mock.Unit.Alonzo.Simple
Test.Cardano.Db.Mock.Unit.Alonzo.Stake
Test.Cardano.Db.Mock.Unit.Alonzo.Tx
Test.Cardano.Db.Mock.Unit.Babbage
Test.Cardano.Db.Mock.Unit.Babbage.CommandLineArg.ConfigFile
Test.Cardano.Db.Mock.Unit.Babbage.CommandLineArg.EpochDisabled
Test.Cardano.Db.Mock.Unit.Babbage.Config.MigrateConsumedPruneTxOut
Test.Cardano.Db.Mock.Unit.Babbage.Config.Parse
Test.Cardano.Db.Mock.Unit.Babbage.InlineAndReference
Test.Cardano.Db.Mock.Unit.Babbage.Other
Test.Cardano.Db.Mock.Unit.Babbage.Plutus
Test.Cardano.Db.Mock.Unit.Babbage.Reward
Test.Cardano.Db.Mock.Unit.Babbage.Rollback
Test.Cardano.Db.Mock.Unit.Babbage.Simple
Test.Cardano.Db.Mock.Unit.Babbage.Stake
Test.Cardano.Db.Mock.Unit.Babbage.Tx
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are we sure we want to remove ALL past era tests?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We could keep some tests as a reference and some that showcase differences in the behaviour between eras. We could filter them together in a meeting.

Test.Cardano.Db.Mock.Unit.Conway
Test.Cardano.Db.Mock.Unit.Conway.CommandLineArg.ConfigFile
Test.Cardano.Db.Mock.Unit.Conway.CommandLineArg.EpochDisabled
Expand Down
4 changes: 0 additions & 4 deletions cardano-chain-gen/test/Main.hs
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ import System.Directory (getCurrentDirectory)
import System.Environment (lookupEnv, setEnv)
import System.FilePath ((</>))
import qualified Test.Cardano.Db.Mock.Property.Property as Property
import qualified Test.Cardano.Db.Mock.Unit.Alonzo as Alonzo
import qualified Test.Cardano.Db.Mock.Unit.Babbage as Babbage
import qualified Test.Cardano.Db.Mock.Unit.Conway as Conway
import Test.Tasty
import Test.Tasty.QuickCheck (testProperty)
Expand All @@ -30,8 +28,6 @@ tests iom = do
testGroup
"cardano-chain-gen"
[ Conway.unitTests iom knownMigrationsPlain
, Babbage.unitTests iom knownMigrationsPlain
, Alonzo.unitTests iom knownMigrationsPlain
, testProperty "QSM" $ Property.prop_empty_blocks iom knownMigrationsPlain
]
where
Expand Down
6 changes: 0 additions & 6 deletions cardano-chain-gen/test/Test/Cardano/Db/Mock/Config.hs
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,6 @@ data CommandLineArgs = CommandLineArgs
, claEpochDisabled :: Bool
, claHasCache :: Bool
, claHasLedger :: Bool
, claSkipFix :: Bool
, claOnlyFix :: Bool
, claForceIndexes :: Bool
, claHasMultiAssets :: Bool
, claHasMetadata :: Bool
Expand Down Expand Up @@ -286,8 +284,6 @@ mkSyncNodeParams staticDir mutableDir CommandLineArgs {..} = do
, enpPGPassSource = DB.PGPassCached pgconfig
, enpEpochDisabled = claEpochDisabled
, enpHasCache = claHasCache
, enpSkipFix = claSkipFix
, enpOnlyFix = claOnlyFix
, enpForceIndexes = claForceIndexes
, enpHasInOut = True
, enpSnEveryFollowing = 35
Expand Down Expand Up @@ -361,8 +357,6 @@ initCommandLineArgs =
, claEpochDisabled = True
, claHasCache = True
, claHasLedger = True
, claSkipFix = True
, claOnlyFix = False
, claForceIndexes = False
, claHasMultiAssets = True
, claHasMetadata = True
Expand Down
112 changes: 0 additions & 112 deletions cardano-chain-gen/test/Test/Cardano/Db/Mock/Unit/Alonzo.hs

This file was deleted.

Loading
Loading