Skip to content

Commit

Permalink
add release date fork information
Browse files Browse the repository at this point in the history
Change-Id: I4a9813cc656d51995e6c63d5ffeace89574c5eef
  • Loading branch information
chessai committed Oct 25, 2024
1 parent f27e5a7 commit b85c31f
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 8 deletions.
6 changes: 3 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
## 2.26 (FIXME)
This is a major version update. This release replaces all previous versions.

Any prior version will stop working on FIXME. Node administrators must
Any prior version will stop working on **2024-11-13T00:00:00Z**. Node administrators must
upgrade to this version before that date. The 2.26 feature upgrade will
occur at block height FIXME which is estimated to be mined at FIXME.
occur at block height 5302559 which is estimated to be mined at **2024-11-14T00:00:00Z**.

### Changes
- Log large response sizes after a response completes. If the response doesn't complete, still log it if it's large. [`1b57a9b`](https://github.com/kadena-io/chainweb-node/commit/1b57a9bef226d5443d28f2c556f4bfd36f997922)
Expand All @@ -27,7 +27,7 @@ This is a major version update. This release replaces all previous versions.

Any prior version will stop working on **2024-08-21T00:00:00Z**. Node administrators must
upgrade to this version before that date. The 2.25 feature upgrade will
occur at block height 5060924 which is estimated to be mined at **2024-08-21T00:00:00Z**.
occur at block height 5060924 which is estimated to be mined at **2024-08-22T00:00:00Z**.

### Changes
- Updated to Pact 4.13: https://github.com/kadena-io/pact/releases/tag/v4.13.0
Expand Down
3 changes: 3 additions & 0 deletions src/Chainweb/Version.hs
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,7 @@ data Fork
| Chainweb224Pact
| Chainweb225Pact
| Chainweb226Pact
| Chainweb227Pact
-- always add new forks at the end, not in the middle of the constructors.
deriving stock (Bounded, Generic, Eq, Enum, Ord, Show)
deriving anyclass (NFData, Hashable)
Expand Down Expand Up @@ -244,6 +245,7 @@ instance HasTextRepresentation Fork where
toText Chainweb224Pact = "chainweb224Pact"
toText Chainweb225Pact = "chainweb225Pact"
toText Chainweb226Pact = "chainweb226Pact"
toText Chainweb227Pact = "chainweb227Pact"

fromText "slowEpoch" = return SlowEpoch
fromText "vuln797Fix" = return Vuln797Fix
Expand Down Expand Up @@ -276,6 +278,7 @@ instance HasTextRepresentation Fork where
fromText "chainweb224Pact" = return Chainweb224Pact
fromText "chainweb225Pact" = return Chainweb225Pact
fromText "chainweb226Pact" = return Chainweb226Pact
fromText "chainweb227Pact" = return Chainweb227Pact
fromText t = throwM . TextFormatException $ "Unknown Chainweb fork: " <> t

instance ToJSON Fork where
Expand Down
5 changes: 3 additions & 2 deletions src/Chainweb/Version/Mainnet.hs
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,8 @@ mainnet = ChainwebVersion
Chainweb223Pact -> AllChains (ForkAtBlockHeight $ BlockHeight 4_577_530) -- 2024-03-07 00:00:00+00:00
Chainweb224Pact -> AllChains (ForkAtBlockHeight $ BlockHeight 4_819_246) -- 2024-05-30 00:00:00+00:00
Chainweb225Pact -> AllChains (ForkAtBlockHeight $ BlockHeight 5_060_924) -- 2024-08-22 00:00:00+00:00
Chainweb226Pact -> AllChains ForkNever
Chainweb226Pact -> AllChains (ForkAtBlockHeight $ BlockHeight 5_302_559) -- 2024-11-14 00:00:00+00:00
Chainweb227Pact -> AllChains ForkNever

, _versionGraphs =
(to20ChainsMainnet, twentyChainGraph) `Above`
Expand Down Expand Up @@ -220,5 +221,5 @@ mainnet = ChainwebVersion
, (fromJuste (decodeStrictOrThrow' "\"_f1xkIQPGRcOBNBWkOvP0dGNOjmNtmXwOnXzfdwnmJQ\""), Gas 69_092)
]
}
, _versionServiceDate = Just "2024-11-13T00:00:00Z"
, _versionServiceDate = Just "2025-02-05T00:00:00Z"
}
3 changes: 2 additions & 1 deletion src/Chainweb/Version/RecapDevelopment.hs
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,8 @@ recapDevnet = ChainwebVersion
Chainweb223Pact -> AllChains $ ForkAtBlockHeight $ BlockHeight 600
Chainweb224Pact -> AllChains $ ForkAtBlockHeight $ BlockHeight 610
Chainweb225Pact -> AllChains $ ForkAtBlockHeight $ BlockHeight 620
Chainweb226Pact -> AllChains ForkNever
Chainweb226Pact -> AllChains $ ForkAtBlockHeight $ BlockHeight 630
Chainweb227Pact -> AllChains ForkNever

, _versionUpgrades = foldr (chainZip HM.union) (AllChains mempty)
[ indexByForkHeights recapDevnet
Expand Down
5 changes: 3 additions & 2 deletions src/Chainweb/Version/Testnet.hs
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,8 @@ testnet = ChainwebVersion
Chainweb223Pact -> AllChains $ ForkAtBlockHeight $ BlockHeight 4_100_681 -- 2024-03-06 12:00:00+00:00
Chainweb224Pact -> AllChains $ ForkAtBlockHeight $ BlockHeight 4_333_587 -- 2024-05-29 12:00:00+00:00
Chainweb225Pact -> AllChains $ ForkAtBlockHeight $ BlockHeight 4_575_072 -- 2024-08-21 12:00:00+00:00
Chainweb226Pact -> AllChains ForkNever
Chainweb226Pact -> AllChains $ ForkAtBlockHeight $ BlockHeight 4_816_925 -- 2024-11-13 12:00:00+00:00
Chainweb227Pact -> AllChains ForkNever

, _versionGraphs =
(to20ChainsTestnet, twentyChainGraph) `Above`
Expand Down Expand Up @@ -191,5 +192,5 @@ testnet = ChainwebVersion
, (fromJuste (decodeStrictOrThrow' "\"3fpFnFUrRsu67ItHicBGa9PVlWp71AggrcWoikht3jk\""), Gas 65130)
]
}
, _versionServiceDate = Just "2024-11-13T00:00:00Z"
, _versionServiceDate = Just "2025-02-05T00:00:00Z"
}

0 comments on commit b85c31f

Please sign in to comment.