Skip to content

Commit

Permalink
install coin v2 upgrade on new testnet chains (#1127)
Browse files Browse the repository at this point in the history
* install coin v2 upgrade on new testnet chains

* Update src/Chainweb/Version.hs
  • Loading branch information
larskuhtz authored Jul 29, 2020
1 parent 6215246 commit ac5aaa7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Chainweb/Version.hs
Original file line number Diff line number Diff line change
Expand Up @@ -778,6 +778,9 @@ coinV2Upgrade Mainnet01 cid h
| cid == unsafeChainId 8 = h == 140808
| cid == unsafeChainId 9 = h == 140808
| otherwise = error $ "invalid chain id " <> sshow cid
coinV2Upgrade Testnet04 cid h
| chainIdInt @Int cid >= 10 && chainIdInt @Int cid < 20 = h == 337000
| otherwise = h == 1
coinV2Upgrade Development cid h
| cid == unsafeChainId 0 = h == 3
| otherwise = h == 4
Expand Down Expand Up @@ -915,4 +918,3 @@ oldDaGuard Mainnet01 h = h < 771_414 -- ~ 2020-07-23 16:00:00
oldDaGuard Testnet04 h = h < 318_204 -- ~ 2020-07-23 16:00:00
oldDaGuard Development h = h + 30 < to20ChainsDevelopment -- 30 blocks before the transition
oldDaGuard _ _ = False

0 comments on commit ac5aaa7

Please sign in to comment.