Skip to content
Closed
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: 4 additions & 0 deletions src/Chainweb/Version/Development.hs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ module Chainweb.Version.Development(devnet, pattern Development) where
import qualified Data.Set as Set

import Chainweb.BlockCreationTime
import Chainweb.BlockHeight
import Chainweb.ChainId
import Chainweb.Difficulty
import Chainweb.Graph
Expand All @@ -32,6 +33,9 @@ devnet = ChainwebVersion
{ _versionCode = ChainwebVersionCode 0x00000002
, _versionName = ChainwebVersionName "development"
, _versionForks = tabulateHashMap $ \case
-- MigratePlatformShare is a one-shot migration guarded by
-- 'atNotGenesis', which errors on 'ForkAtGenesis'.
MigratePlatformShare -> AllChains $ ForkAtBlockHeight $ BlockHeight 2
_ -> AllChains ForkAtGenesis
, _versionUpgrades = AllChains mempty
, _versionGraphs = Bottom (minBound, twentyChainGraph)
Expand Down