Skip to content

Commit

Permalink
Merge pull request #2580 from input-output-hk/newhoggy/add-FromShared…
Browse files Browse the repository at this point in the history
…CBOR-constraint-to-ShelleyBasedEra

Add FromSharedCBOR to ShelleyBasedEra
  • Loading branch information
newhoggy authored Dec 8, 2021
2 parents e43ea69 + 1e8fc9d commit 4595b73
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions eras/shelley/impl/src/Cardano/Ledger/Shelley/API.hs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ import Cardano.Ledger.Shelley.Constraints
UsesValue,
)
import Control.State.Transition (State)
import Data.Sharing (Interns, Share)
import Data.Sharing (FromSharedCBOR, Interns, Share)

class
( PraosCrypto (Crypto era),
Expand All @@ -46,7 +46,8 @@ class
UsesPParams era,
ChainData (State (Core.EraRule "PPUP" era)),
SerialisableData (State (Core.EraRule "PPUP" era)),
Share (Core.TxOut era) ~ Interns (Credential 'Staking (Crypto era))
Share (Core.TxOut era) ~ Interns (Credential 'Staking (Crypto era)),
FromSharedCBOR (Core.TxOut era)
) =>
ShelleyBasedEra era

Expand Down

0 comments on commit 4595b73

Please sign in to comment.