Skip to content

Commit edf0098

Browse files
committed
Remove the failing test
1 parent 1827cf4 commit edf0098

File tree

2 files changed

+0
-22
lines changed

2 files changed

+0
-22
lines changed

eras/shelley/test-suite/test/Test/Cardano/Ledger/Shelley/RulesTests.hs

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
module Test.Cardano.Ledger.Shelley.RulesTests (
1010
chainExamples,
1111
multisigExamples,
12-
testTickF,
1312
) where
1413

1514
import Cardano.Ledger.BaseTypes (Network (..), StrictMaybe (..))
@@ -520,22 +519,3 @@ setDepositsToObligation nes = nes {nesEs = es {esLState = ls {lsUTxOState = utxo
520519
(lsCertState ls)
521520
(utxoState ^. utxosGovStateL)
522521
}
523-
524-
-- | This property test checks the correctness of the TICKF transation.
525-
-- TICKF is used by the consensus layer to get a ledger view in a computationally
526-
-- cheaper way than using the TICK rule.
527-
-- Therefore TICKF and TICK need to compute the same ledger view.
528-
propTickfPerservesLedgerView :: NewEpochState ShelleyEra -> Property
529-
propTickfPerservesLedgerView nes =
530-
let (EpochNo e) = nesEL nes
531-
slot = slotFromEpoch (EpochNo $ e + 1)
532-
nes' = setDepositsToObligation (filterEmptyRewards nes)
533-
tickNes = runShelleyBase $ applySTSTest @(ShelleyTICK ShelleyEra) (TRC ((), nes', slot))
534-
tickFNes = runShelleyBase $ applySTSTest @(ShelleyTICKF ShelleyEra) (TRC ((), nes', slot))
535-
in fromMaybe discard $ do
536-
Right tickNes' <- pure tickNes
537-
Right tickFNes' <- pure tickFNes
538-
pure $ currentLedgerView tickNes' === currentLedgerView tickFNes'
539-
540-
testTickF :: TestTree
541-
testTickF = testProperty "TICKF properties" propTickfPerservesLedgerView

eras/shelley/test-suite/test/Tests.hs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ import qualified Test.Cardano.Ledger.Shelley.Rules.Deposits as Deposits (tests)
1616
import qualified Test.Cardano.Ledger.Shelley.RulesTests as RulesTests (
1717
chainExamples,
1818
multisigExamples,
19-
testTickF,
2019
)
2120
import qualified Test.Cardano.Ledger.Shelley.SafeHash as SafeHash (safeHashTest)
2221
import qualified Test.Cardano.Ledger.Shelley.Serialisation as Serialisation
@@ -52,7 +51,6 @@ defaultTests =
5251
, Serialisation.tests
5352
, RulesTests.chainExamples
5453
, RulesTests.multisigExamples
55-
, RulesTests.testTickF
5654
, UnitTests.unitTests
5755
, SafeHash.safeHashTest
5856
]

0 commit comments

Comments
 (0)