Skip to content

Commit

Permalink
Rename LedgerEvents folder to EpochState
Browse files Browse the repository at this point in the history
  • Loading branch information
Jimbo4350 committed May 3, 2024
1 parent 5502e2c commit 7bb5dc3
Show file tree
Hide file tree
Showing 11 changed files with 29 additions and 29 deletions.
18 changes: 9 additions & 9 deletions cardano-testnet/cardano-testnet.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ test-suite cardano-testnet-test
other-modules: Cardano.Testnet.Test.Cli.Babbage.LeadershipSchedule
Cardano.Testnet.Test.Cli.Babbage.StakeSnapshot
Cardano.Testnet.Test.Cli.Babbage.Transaction
Cardano.Testnet.Test.LedgerEvents.Gov.DRepRetirement
Cardano.Testnet.Test.EpochState.Gov.DRepRetirement
Cardano.Testnet.Test.Cli.Conway.Plutus
Cardano.Testnet.Test.Cli.Conway.StakeSnapshot
Cardano.Testnet.Test.Cli.KesPeriodInfo
Expand All @@ -188,14 +188,14 @@ test-suite cardano-testnet-test
Cardano.Testnet.Test.FoldBlocks
Cardano.Testnet.Test.Misc

Cardano.Testnet.Test.LedgerEvents.Gov.DRepDeposits
Cardano.Testnet.Test.LedgerEvents.Gov.InfoAction
Cardano.Testnet.Test.LedgerEvents.Gov.ProposeNewConstitution
Cardano.Testnet.Test.LedgerEvents.Gov.ProposeNewConstitutionSPO
Cardano.Testnet.Test.LedgerEvents.Gov.TreasuryWithdrawal
Cardano.Testnet.Test.LedgerEvents.Gov.DRepActivity
Cardano.Testnet.Test.LedgerEvents.SanityCheck
Cardano.Testnet.Test.LedgerEvents.TreasuryGrowth
Cardano.Testnet.Test.EpochState.Gov.DRepDeposits
Cardano.Testnet.Test.EpochState.Gov.InfoAction
Cardano.Testnet.Test.EpochState.Gov.ProposeNewConstitution
Cardano.Testnet.Test.EpochState.Gov.ProposeNewConstitutionSPO
Cardano.Testnet.Test.EpochState.Gov.TreasuryWithdrawal
Cardano.Testnet.Test.EpochState.Gov.DRepActivity
Cardano.Testnet.Test.EpochState.SanityCheck
Cardano.Testnet.Test.EpochState.TreasuryGrowth

Cardano.Testnet.Test.Node.Shutdown
Cardano.Testnet.Test.SubmitApi.Babbage.Transaction
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
{-# LANGUAGE ScopedTypeVariables #-}
{-# LANGUAGE TypeApplications #-}

module Cardano.Testnet.Test.LedgerEvents.Gov.DRepActivity
module Cardano.Testnet.Test.EpochState.Gov.DRepActivity
( hprop_check_drep_activity
) where

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{-# LANGUAGE NamedFieldPuns #-}

module Cardano.Testnet.Test.LedgerEvents.Gov.DRepDeposits
module Cardano.Testnet.Test.EpochState.Gov.DRepDeposits
( hprop_ledger_events_drep_deposits
) where

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
{-# LANGUAGE ScopedTypeVariables #-}
{-# LANGUAGE TypeApplications #-}

module Cardano.Testnet.Test.LedgerEvents.Gov.DRepRetirement
module Cardano.Testnet.Test.EpochState.Gov.DRepRetirement
( hprop_drep_retirement
) where

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
{-# LANGUAGE ScopedTypeVariables #-}
{-# LANGUAGE TypeApplications #-}

module Cardano.Testnet.Test.LedgerEvents.Gov.InfoAction
module Cardano.Testnet.Test.EpochState.Gov.InfoAction
( hprop_ledger_events_info_action
) where

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
{-# LANGUAGE ScopedTypeVariables #-}
{-# LANGUAGE TypeApplications #-}

module Cardano.Testnet.Test.LedgerEvents.Gov.ProposeNewConstitution
module Cardano.Testnet.Test.EpochState.Gov.ProposeNewConstitution
( hprop_ledger_events_propose_new_constitution
) where

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE ScopedTypeVariables #-}

module Cardano.Testnet.Test.LedgerEvents.Gov.ProposeNewConstitutionSPO
module Cardano.Testnet.Test.EpochState.Gov.ProposeNewConstitutionSPO
( hprop_ledger_events_propose_new_constitution_spo
) where

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
{-# LANGUAGE ScopedTypeVariables #-}
{-# LANGUAGE TypeApplications #-}

module Cardano.Testnet.Test.LedgerEvents.Gov.TreasuryWithdrawal
module Cardano.Testnet.Test.EpochState.Gov.TreasuryWithdrawal
( hprop_ledger_events_treasury_withdrawal
) where

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE ScopedTypeVariables #-}

module Cardano.Testnet.Test.LedgerEvents.SanityCheck
module Cardano.Testnet.Test.EpochState.SanityCheck
( hprop_ledger_events_sanity_check
) where

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{-# LANGUAGE NamedFieldPuns #-}
{-# LANGUAGE OverloadedStrings #-}

module Cardano.Testnet.Test.LedgerEvents.TreasuryGrowth where
module Cardano.Testnet.Test.EpochState.TreasuryGrowth where

import Cardano.Api hiding (cardanoEra)
import qualified Cardano.Api as Api
Expand Down
22 changes: 11 additions & 11 deletions cardano-testnet/test/cardano-testnet-test/cardano-testnet-test.hs
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@ import qualified Cardano.Testnet.Test.Cli.Conway.Plutus
import qualified Cardano.Testnet.Test.Cli.KesPeriodInfo
import qualified Cardano.Testnet.Test.Cli.Queries
import qualified Cardano.Testnet.Test.Cli.QuerySlotNumber
import qualified Cardano.Testnet.Test.EpochState.Gov.DRepActivity
import qualified Cardano.Testnet.Test.EpochState.Gov.DRepDeposits
import qualified Cardano.Testnet.Test.EpochState.Gov.DRepRetirement as DRepRetirement
import qualified Cardano.Testnet.Test.EpochState.Gov.ProposeNewConstitution
import qualified Cardano.Testnet.Test.EpochState.Gov.ProposeNewConstitutionSPO as LedgerEvents
import qualified Cardano.Testnet.Test.EpochState.Gov.TreasuryWithdrawal as LedgerEvents
import qualified Cardano.Testnet.Test.EpochState.SanityCheck as LedgerEvents
import qualified Cardano.Testnet.Test.EpochState.TreasuryGrowth as LedgerEvents
import qualified Cardano.Testnet.Test.FoldBlocks
import qualified Cardano.Testnet.Test.LedgerEvents.Gov.DRepActivity
import qualified Cardano.Testnet.Test.LedgerEvents.Gov.DRepDeposits
import qualified Cardano.Testnet.Test.LedgerEvents.Gov.DRepRetirement as DRepRetirement
import qualified Cardano.Testnet.Test.LedgerEvents.Gov.ProposeNewConstitution
import qualified Cardano.Testnet.Test.LedgerEvents.Gov.ProposeNewConstitutionSPO as LedgerEvents
import qualified Cardano.Testnet.Test.LedgerEvents.Gov.TreasuryWithdrawal as LedgerEvents
import qualified Cardano.Testnet.Test.LedgerEvents.SanityCheck as LedgerEvents
import qualified Cardano.Testnet.Test.LedgerEvents.TreasuryGrowth as LedgerEvents
import qualified Cardano.Testnet.Test.Node.Shutdown
import qualified Cardano.Testnet.Test.SubmitApi.Babbage.Transaction

Expand Down Expand Up @@ -48,9 +48,9 @@ tests = do
, H.ignoreOnWindows "Treasury Growth" LedgerEvents.prop_check_if_treasury_is_growing
-- TODO: Replace foldBlocks with checkLedgerStateCondition
, T.testGroup "Governance"
[ H.ignoreOnMacAndWindows "ProposeAndRatifyNewConstitution" Cardano.Testnet.Test.LedgerEvents.Gov.ProposeNewConstitution.hprop_ledger_events_propose_new_constitution
, H.ignoreOnWindows "DRep Activity" Cardano.Testnet.Test.LedgerEvents.Gov.DRepActivity.hprop_check_drep_activity
, H.ignoreOnWindows "DRep Deposits" Cardano.Testnet.Test.LedgerEvents.Gov.DRepDeposits.hprop_ledger_events_drep_deposits
[ H.ignoreOnMacAndWindows "ProposeAndRatifyNewConstitution" Cardano.Testnet.Test.EpochState.Gov.ProposeNewConstitution.hprop_ledger_events_propose_new_constitution
, H.ignoreOnWindows "DRep Activity" Cardano.Testnet.Test.EpochState.Gov.DRepActivity.hprop_check_drep_activity
, H.ignoreOnWindows "DRep Deposits" Cardano.Testnet.Test.EpochState.Gov.DRepDeposits.hprop_ledger_events_drep_deposits
-- FIXME Those tests are flaky
-- , H.ignoreOnWindows "InfoAction" LedgerEvents.hprop_ledger_events_info_action
, H.ignoreOnWindows "ProposeNewConstitutionSPO" LedgerEvents.hprop_ledger_events_propose_new_constitution_spo
Expand Down

0 comments on commit 7bb5dc3

Please sign in to comment.