Skip to content
This repository was archived by the owner on Aug 18, 2020. It is now read-only.

{DO NOT MERGE} [CDEC-512] Create JSON round-trip and golden tests for GenesisData, GenesisProtocolConstants, and GenesisConfiguration #3458

Closed
wants to merge 5 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions core/test/Test/Pos/Core/Bi.hs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ import Test.Pos.Binary.Helpers.GoldenRoundTrip (goldenTestBi,
import Test.Pos.Core.ExampleHelpers (exampleAddrSpendingData_PubKey,
exampleAddress, exampleAddress1, exampleAddress2,
exampleAddress3, exampleAddress4, exampleBlockVersion,
exampleBlockVersionData, exampleBlockVersionModifier,
exampleBlockVersionData0, exampleBlockVersionModifier,
exampleCommitment, exampleCommitmentSignature,
exampleCommitmentsMap, exampleEpochIndex, exampleHashTx,
exampleInnerSharesMap, exampleLightDlgIndices,
Expand Down Expand Up @@ -478,7 +478,7 @@ roundTripBlockVersion = eachOf 50 genBlockVersion roundTripsBiBuildable

golden_BlockVersionData :: Property
golden_BlockVersionData = goldenTestBi bVerDat "test/golden/BlockVersionData"
where bVerDat = exampleBlockVersionData
where bVerDat = exampleBlockVersionData0

roundTripBlockVersionData :: Property
roundTripBlockVersionData = eachOf 50 genBlockVersionData roundTripsBiBuildable
Expand Down
Loading