Skip to content

Commit

Permalink
Update Shelley.CompatibilitySpec
Browse files Browse the repository at this point in the history
  • Loading branch information
rvl authored and Anviking committed Nov 30, 2020
1 parent bdf473e commit baad178
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -144,7 +144,7 @@ spec = do
describe "Shelley Addresses" $ do
prop "(Mainnet) can be deserialised by shelley ledger spec" $ \k -> do
let Address addr = paymentAddress @'Mainnet @ShelleyKey k
case SL.deserialiseAddr @(SL.Shelley StandardCrypto) addr of
case SL.deserialiseAddr @(SL.ShelleyEra StandardCrypto) addr of
Just _ -> property True
Nothing -> property False

Expand Down Expand Up @@ -177,7 +177,7 @@ spec = do

describe "decentralizationLevelFromPParams" $ do

let mkDecentralizationParam :: SL.UnitInterval -> SL.PParams (SL.Shelley c)
let mkDecentralizationParam :: SL.UnitInterval -> SL.PParams (SL.ShelleyEra StandardCrypto)
mkDecentralizationParam i = SL.emptyPParams { SL._d = i }

let testCases :: [(Ratio Word64, Text)]
Expand Down

0 comments on commit baad178

Please sign in to comment.