Skip to content
This repository was archived by the owner on Nov 24, 2025. It is now read-only.

Commit 5180a1a

Browse files
committed
fix test versions and ea
1 parent ad7a56d commit 5180a1a

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

cwtools/ea/Ea/Genesis.hs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
{-# LANGUAGE ImportQualifiedPost #-}
12
{-# LANGUAGE LambdaCase #-}
23
{-# LANGUAGE OverloadedStrings #-}
34
{-# LANGUAGE PatternSynonyms #-}
@@ -66,7 +67,7 @@ module Ea.Genesis
6667
import Control.Lens
6768
import Control.Monad
6869

69-
import Data.Text
70+
import Data.Text qualified as T
7071
import Data.Word
7172

7273
import Chainweb.Graph
@@ -77,7 +78,6 @@ import Chainweb.Version.RecapDevelopment
7778
import Chainweb.Version.Mainnet
7879
import Chainweb.Version.Testnet04
7980

80-
8181
-- ---------------------------------------------------------------------- --
8282
-- Genesis Tx Data
8383

@@ -108,7 +108,7 @@ chainIdRangeTag (ChainIdRange l u)
108108
data Genesis = Genesis
109109
{ _version :: ChainwebVersion
110110
-- ^ chainweb version (e.g. Testnet04)
111-
, _tag :: Text
111+
, _tag :: T.Text
112112
-- ^ Module name tag
113113
, _txChainIds :: ChainIdRange
114114
-- ^ chain id

test/lib/Chainweb/Test/MultiNode.hs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -636,6 +636,7 @@ test
636636
:: LogLevel
637637
-> ChainwebVersion
638638
-> Natural
639+
-- ^ number of nodes
639640
-> Seconds
640641
-> RocksDb
641642
-> FilePath

test/lib/Chainweb/Test/TestVersions.hs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,7 @@ testVersionTemplate v = v
162162
& versionBootstraps .~ [testBootstrapPeerInfos]
163163
& versionVerifierPluginNames .~ AllChains (Bottom (minBound, mempty))
164164
& versionServiceDate .~ Nothing
165+
& versionForkNumber .~ 0
165166

166167
-- | A test version without Pact or PoW, with only one chain graph.
167168
barebonesTestVersion :: ChainGraph -> ChainwebVersion

0 commit comments

Comments
 (0)