@@ -11,11 +11,7 @@ import Test.Tasty (TestTree, testGroup)
11
11
import Test.Tasty.HUnit (Assertion , testCase )
12
12
13
13
import qualified Test.Cardano.Db.Mock.Unit.Alonzo.Config as AlzConfig
14
- import qualified Test.Cardano.Db.Mock.Unit.Alonzo.Plutus as AlzPlutus
15
- import qualified Test.Cardano.Db.Mock.Unit.Alonzo.PoolAndSmash as AlzPnS
16
- import qualified Test.Cardano.Db.Mock.Unit.Alonzo.Reward as AlzReward
17
14
import qualified Test.Cardano.Db.Mock.Unit.Alonzo.Simple as AlzSimple
18
- import qualified Test.Cardano.Db.Mock.Unit.Alonzo.Stake as AlzStake
19
15
import qualified Test.Cardano.Db.Mock.Unit.Alonzo.Tx as AlzTx
20
16
21
17
{- HLINT ignore "Reduce duplication" -}
@@ -41,71 +37,6 @@ unitTests iom knownMigrations =
41
37
[ test " simple tx" AlzTx. addSimpleTx
42
38
, test " consume utxo same block" AlzTx. consumeSameBlock
43
39
]
44
- , testGroup
45
- " stake addresses"
46
- [ test " (de)registrations" AlzStake. registrationTx
47
- , test " (de)registrations in same block" AlzStake. registrationsSameBlock
48
- , test " (de)registrations in same tx" AlzStake. registrationsSameTx
49
- , test " stake address pointers" AlzStake. stakeAddressPtr
50
- , test " stake address pointers deregistration" AlzStake. stakeAddressPtrDereg
51
- , test " stake address pointers. Use before registering." AlzStake. stakeAddressPtrUseBefore
52
- ]
53
- , testGroup
54
- " rewards"
55
- [ test " rewards simple" AlzReward. simpleRewards
56
- , test " rewards with deregistration" AlzReward. rewardsDeregistration
57
- , test " rewards with reregistration. Fixed in Babbage." AlzReward. rewardsReregistration
58
- , test " Mir Cert" AlzReward. mirReward
59
- , test " Mir rollback" AlzReward. mirRewardRollback
60
- , test " Mir Cert deregistration" AlzReward. mirRewardDereg
61
- , -- , test "test rewards empty last part of epoch" rewardsEmptyChainLast
62
- -- , test "test delta rewards" rewardsDelta -- See the same test on Babbage for the reason it was disabled.
63
- test " rollback on epoch boundary" AlzReward. rollbackBoundary
64
- , test " single MIR Cert multiple outputs" AlzReward. singleMIRCertMultiOut
65
- ]
66
- , testGroup
67
- " stake distribution"
68
- [ test " stake distribution from genesis" AlzStake. stakeDistGenesis
69
- , test " 2000 delegations" AlzStake. delegations2000
70
- , test " 2001 delegations" AlzStake. delegations2001
71
- , test " 8000 delegations" AlzStake. delegations8000
72
- , test " many delegations" AlzStake. delegationsMany
73
- , test " many delegations, sparse chain" AlzStake. delegationsManyNotDense
74
- ]
75
- , testGroup
76
- " plutus spend scripts"
77
- [ test " simple script lock" AlzPlutus. simpleScript
78
- , test " unlock script in same block" AlzPlutus. unlockScriptSameBlock
79
- , test " failed script" AlzPlutus. failedScript
80
- , test " failed script in same block" AlzPlutus. failedScriptSameBlock
81
- , test " multiple scripts unlocked" AlzPlutus. multipleScripts
82
- , test " multiple scripts unlocked same block" AlzPlutus. multipleScriptsSameBlock
83
- , test " multiple scripts failed" AlzPlutus. multipleScriptsFailed
84
- , test " multiple scripts failed same block" AlzPlutus. multipleScriptsFailedSameBlock
85
- ]
86
- , testGroup
87
- " plutus cert scripts"
88
- [ test " stake scripts" AlzPlutus. registrationScriptTx
89
- , test " stake scripts deregistration" AlzPlutus. deregistrationScriptTx
90
- , test " multiple stake scripts deregistration" AlzPlutus. deregistrationsScriptTxs
91
- , test " multiple stake scripts deregistration in same tx" AlzPlutus. deregistrationsScriptTx
92
- , test " multiple stake scripts deregistration in same tx missing redeemer 1" AlzPlutus. deregistrationsScriptTx'
93
- , test " multiple stake scripts deregistration in same tx missing redeemer 2" AlzPlutus. deregistrationsScriptTx''
94
- ]
95
- , testGroup
96
- " MultiAssets plutus scripts"
97
- [ test " mint simple multi asset" AlzPlutus. mintMultiAsset
98
- , test " mint many multi assets" AlzPlutus. mintMultiAssets
99
- , test " swap many multi assets" AlzPlutus. swapMultiAssets
100
- ]
101
- , testGroup
102
- " pools and smash"
103
- [ test " pool registration" AlzPnS. poolReg
104
- , test " query pool that's not registered" AlzPnS. nonexistantPoolQuery
105
- , test " pool deregistration" AlzPnS. poolDeReg
106
- , test " pool multiple deregistration" AlzPnS. poolDeRegMany
107
- , test " delist pool" AlzPnS. poolDelist
108
- ]
109
40
]
110
41
where
111
42
test :: String -> (IOManager -> [(Text , Text )] -> Assertion ) -> TestTree
0 commit comments