Skip to content

Commit

Permalink
ormolize
Browse files Browse the repository at this point in the history
  • Loading branch information
lehins committed Nov 8, 2021
1 parent 2a36234 commit 4eda640
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,12 @@ import Cardano.Ledger.Coin
coinToRational,
rationalToCoinViaFloor,
)
import Cardano.Ledger.Compactible
import qualified Cardano.Ledger.Core as Core
import Cardano.Ledger.Credential (Credential, Ptr, StakeReference (..))
import qualified Cardano.Ledger.Crypto as CC (Crypto)
import Cardano.Ledger.Era
import Cardano.Ledger.Keys (KeyHash, KeyRole (..))
import Cardano.Ledger.Compactible
import Cardano.Ledger.Serialization (decodeRecordNamed)
import Cardano.Ledger.Shelley.TxBody (PoolParams)
import Cardano.Ledger.Shelley.UTxO (UTxO (..))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ where

import Cardano.Ledger.BaseTypes
import Cardano.Ledger.Coin
import Cardano.Ledger.Compactible (Compactible (fromCompact))
import qualified Cardano.Ledger.Core as Core
import Cardano.Ledger.Credential (Credential)
import Cardano.Ledger.Era (Crypto, Era)
Expand All @@ -46,7 +47,6 @@ import Data.Set (Set)
import GHC.Generics (Generic)
import GHC.Records
import NoThunks.Class (NoThunks (..))
import Cardano.Ledger.Compactible (Compactible(fromCompact))

data NEWEPOCH era

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ import Cardano.Ledger.BaseTypes
textToDns,
textToUrl,
)
import Cardano.Ledger.Coin (DeltaCoin (..), CompactForm(..))
import Cardano.Ledger.Coin (CompactForm (..), DeltaCoin (..))
import qualified Cardano.Ledger.Core as Core
import Cardano.Ledger.Crypto (DSIGN)
import qualified Cardano.Ledger.Crypto as CC (Crypto)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,6 @@ import Test.Cardano.Ledger.Shelley.ConcreteCryptoTypes (C, C_Crypto, ExMock)
import Test.Cardano.Ledger.Shelley.Examples (CHAINExample (..), testCHAINExample)
import qualified Test.Cardano.Ledger.Shelley.Examples.Cast as Cast
import qualified Test.Cardano.Ledger.Shelley.Examples.Combinators as C
import Test.Cardano.Ledger.Shelley.Examples.PoolLifetime (mkStake)
import Test.Cardano.Ledger.Shelley.Examples.Federation
( coreNodeKeysBySchedule,
)
Expand All @@ -123,7 +122,7 @@ import Test.Cardano.Ledger.Shelley.Examples.Init
nonce0,
ppEx,
)
import Test.Cardano.Ledger.Shelley.Examples.PoolLifetime (makeCompletedPulser)
import Test.Cardano.Ledger.Shelley.Examples.PoolLifetime (makeCompletedPulser, mkStake)
import Test.Cardano.Ledger.Shelley.Generator.Core
( AllIssuerKeys (..),
NatNonce (..),
Expand Down
1 change: 1 addition & 0 deletions libs/ledger-state/src/Cardano/Ledger/State/Orphans.hs
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ instance PersistFieldSql (TxId C) where
sqlType _ = SqlBlob

deriving instance PersistField (CompactForm Coin)

deriving instance PersistFieldSql (CompactForm Coin)

instance PersistField Coin where
Expand Down

0 comments on commit 4eda640

Please sign in to comment.