From aad1c4d6707f3d1c03da2abd4efde3ab438629ba Mon Sep 17 00:00:00 2001 From: Lars Kuhtz Date: Fri, 7 Aug 2020 23:16:59 -0700 Subject: [PATCH 1/5] bump version to 2.1 --- chainweb.cabal | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chainweb.cabal b/chainweb.cabal index 1490da84e4..889e44e32b 100644 --- a/chainweb.cabal +++ b/chainweb.cabal @@ -1,7 +1,7 @@ cabal-version: 2.4 name: chainweb -version: 2.0 +version: 2.1 synopsis: A Proof-of-Work Parallel-Chain Architecture for Massive Throughput description: A Proof-of-Work Parallel-Chain Architecture for Massive Throughput. homepage: https://github.com/kadena-io/chainweb From 8c1922e47d1dc84e1d1e031847d5a9971c605b90 Mon Sep 17 00:00:00 2001 From: Lars Kuhtz Date: Fri, 7 Aug 2020 23:17:19 -0700 Subject: [PATCH 2/5] update CHANGELOG --- CHANGELOG.md | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 80aa1b6ab3..ca968d59a9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,55 @@ # `chainweb-node` Changelog +## 2.1 (2020-08-11) + +This version replaces all previous versions. Any prior version will stop working +on **2020-08-13T00:00:00Z**. Node administrators must upgrade to this version +before that date. + +This version will stop working on **2020-10-08T00:00:00Z**. + +*Forks:* + +This version includes the fork that adds 10 additional chains to Chainweb +resulting in 20 chains in total. The fork will occur on + +* Mainnet at block height 852,054, which is expected to happen around + 2020-08-20 16:55:14 UTC. + +The mining API of chainweb-node will start serving work items for the new chains +starting at above block heights for the respective network. The mempool and pact +service APIs will accept requests already some time before the transition. POW +difficulties will re-adjust within a few hours after the transition. During that +time block rates may be slightly higher or lower than usual. + +*Possibly Breaking Changes:* + +* Fix the database location and layout when a custom location is configured. + (#1128) + + This only affects users who configured custom database locations. + + This is a potentially breaking change. The chainweb node tries hard to + adjust the database location by itself without user intervention. If you + have tooling that depends on a custom database location, you may want check + the logs at first start up and double check that everything works as expected. + +* Deprecate the use of the node-id configuration. (#1128) + + This only affects users who configured the node-id either on the command line or + in the configuration files. + + Any node-id settings are now ignored. In particular the database locations + doesn't include the node-id any more and just defaults to `0/rocksDb` and + `0/sqlitedb`. + +*Other Changes*: + +* More efficient chain database pruning. (#1132) +* Fix a bug where Chainweb node would fail to start when it stopped after + the last block that pact evaluated got orphaned. (#1123) +* Improve failure response for invalid solved work. (#1126) + ## 2.0 (2020-07-11) This version replaces all previous versions. Any prior version will stop working From b39365d2b5cfdafc9ddfc0ba91866fae99837098 Mon Sep 17 00:00:00 2001 From: Lars Kuhtz Date: Fri, 7 Aug 2020 23:17:39 -0700 Subject: [PATCH 3/5] update killswitch for 2.1 --- node/ChainwebNode.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/node/ChainwebNode.hs b/node/ChainwebNode.hs index 193f198773..1914c1eeb9 100644 --- a/node/ChainwebNode.hs +++ b/node/ChainwebNode.hs @@ -493,10 +493,10 @@ pkgInfoScopes = -- -------------------------------------------------------------------------- -- -- main --- KILLSWITCH for version 2.0 +-- KILLSWITCH for version 2.1 -- killSwitchDate :: Maybe String -killSwitchDate = Just "2020-08-13T00:00:00Z" +killSwitchDate = Just "2020-10-08T00:00:00Z" mainInfo :: ProgramInfo ChainwebNodeConfiguration mainInfo = programInfoValidate From fd40660a5b415f31d38aa084ed62f011b2f0d89c Mon Sep 17 00:00:00 2001 From: Lars Kuhtz Date: Fri, 7 Aug 2020 23:57:11 -0700 Subject: [PATCH 4/5] _version_nodeVersion in rosetta network options test --- test/Chainweb/Test/Rosetta/RestAPI.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/Chainweb/Test/Rosetta/RestAPI.hs b/test/Chainweb/Test/Rosetta/RestAPI.hs index 626da1ea6a..c84d8bf29a 100644 --- a/test/Chainweb/Test/Rosetta/RestAPI.hs +++ b/test/Chainweb/Test/Rosetta/RestAPI.hs @@ -389,7 +389,7 @@ genesisId = BlockId 0 "rdfJIktp_WL0oMr8Wr6lH49YkERAJ9MlFp0RPLMXPDE" rosettaVersion :: RosettaNodeVersion rosettaVersion = RosettaNodeVersion { _version_rosettaVersion = "1.3.1" - , _version_nodeVersion = "2.0" + , _version_nodeVersion = "2.1" , _version_middlewareVersion = Nothing , _version_metadata = Just $ HM.fromList [ "node-api-version" A..= ("0.0" :: Text) From b17dd791c04b5e5926cbf7c9e2ca052d67258ce9 Mon Sep 17 00:00:00 2001 From: Doug Beardsley Date: Sat, 8 Aug 2020 13:15:54 -0400 Subject: [PATCH 5/5] Change kill switch date, mention 1130 in changelog --- CHANGELOG.md | 3 ++- node/ChainwebNode.hs | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ca968d59a9..a95732652e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,7 +6,7 @@ This version replaces all previous versions. Any prior version will stop working on **2020-08-13T00:00:00Z**. Node administrators must upgrade to this version before that date. -This version will stop working on **2020-10-08T00:00:00Z**. +This version will stop working on **2020-10-15T00:00:00Z**. *Forks:* @@ -49,6 +49,7 @@ time block rates may be slightly higher or lower than usual. * Fix a bug where Chainweb node would fail to start when it stopped after the last block that pact evaluated got orphaned. (#1123) * Improve failure response for invalid solved work. (#1126) +* Fix mainnet coin v2 upgrade for new chains. (#1130) ## 2.0 (2020-07-11) diff --git a/node/ChainwebNode.hs b/node/ChainwebNode.hs index 1914c1eeb9..6a74657323 100644 --- a/node/ChainwebNode.hs +++ b/node/ChainwebNode.hs @@ -496,7 +496,7 @@ pkgInfoScopes = -- KILLSWITCH for version 2.1 -- killSwitchDate :: Maybe String -killSwitchDate = Just "2020-10-08T00:00:00Z" +killSwitchDate = Just "2020-10-15T00:00:00Z" mainInfo :: ProgramInfo ChainwebNodeConfiguration mainInfo = programInfoValidate