Skip to content

Commit

Permalink
Merge pull request #870 from Concordium/mainnet-604-release
Browse files Browse the repository at this point in the history
Mainnet 6.0.4 release
  • Loading branch information
dg-concordium authored Sep 11, 2023
2 parents d2850a1 + 8d01e2b commit 734f3e2
Show file tree
Hide file tree
Showing 4 changed files with 65 additions and 15 deletions.
6 changes: 3 additions & 3 deletions source/mainnet/net/installation/downloads.rst
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ For the system requirements to run a node, see :ref:`System requirements to run
Ubuntu |mainnet-node-version|
-----------------------------

To run a node on a server with Ubuntu, `download a Mainnet Debian package <https://distribution.mainnet.concordium.software/deb/concordium-mainnet-node_5.4.2-0_amd64.deb>`_.
To run a node on a server with Ubuntu, `download a Mainnet Debian package <https://distribution.mainnet.concordium.software/deb/concordium-mainnet-node_6.0.4-0_amd64.deb>`_.

- SHA256 checksum of the download: |node-deb-package-checksum|

Expand All @@ -165,14 +165,14 @@ To learn how to run a node with Ubuntu, see :ref:`Run a node on a server with Ub
Windows |mainnet-node-version|
------------------------------

To run a node on Windows, `download a Mainnet Windows Installer package <https://distribution.concordium.software/windows/Signed/Node-5.4.2-0.msi>`_. **Please be aware that you should backup your configuration, as the installer will overwrite the current configuration with a standard configuration.**
To run a node on Windows, `download a Mainnet Windows Installer package <https://distribution.concordium.software/windows/Signed/Node-6.0.4-0.msi>`_. **Please be aware that you should backup your configuration, as the installer will overwrite the current configuration with a standard configuration.**

To learn how to run a node on Windows, see :ref:`Run and manage a node on Windows <run-node-windows>`.

Mac |mainnet-node-version|
--------------------------

To run a node on macOS, `download a Mainnet macOS installer package <https://distribution.concordium.software/macos/signed/concordium-node-5.4.2-0.pkg>`_.
To run a node on macOS, `download a Mainnet macOS installer package <https://distribution.concordium.software/macos/signed/concordium-node-6.0.4-0.pkg>`_.

To learn how to run a node on Mac, see :ref:`Run and manage a node on macOS <run-node-macos>`.

Expand Down
10 changes: 10 additions & 0 deletions source/mainnet/net/installation/previous-node-downloads.rst
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,16 @@ Ubuntu - Mainnet
Default GRPC port is set to 10000
Default listen port is set to 8888

`5.4.2 <https://distribution.mainnet.concordium.software/deb/concordium-mainnet-node_5.4.2-0_amd64.deb>`__

- Verification instructions

In a terminal:

#. Navigate to the download.
#. Paste the following into the terminal: sha256sum concordium-mainnet-node_5.4.2-0_amd64.deb
#. Verify that the output matches the SHA256 checksum ``cab62172983d509e2e6b34e1bbc6464d989b1f749861278ee800d9efc31fd848``.

`5.3.2 <https://distribution.mainnet.concordium.software/deb/concordium-mainnet-node_5.3.2-0_amd64.deb>`__

- Verification instructions
Expand Down
58 changes: 49 additions & 9 deletions source/mainnet/net/release-notes/release-notes-lp.rst
Original file line number Diff line number Diff line change
Expand Up @@ -548,26 +548,66 @@ Nodes
Mainnet
-------

.. _542-mainnet:
.. _604-mainnet:

June 14, 2023
September 11, 2023

Concordium node version 5.4.2 contains the following features and bug fixes:
Concordium Node 6.0.4 contains support for `protocol version 6 <https://github.com/Concordium/concordium-update-proposals/blob/main/updates/P6.txt>`_ with Concordium BFT consensus which will be released September 25, 2023. **Node runners should upgrade to version 6.0.4. before the protocol update to ensure that their nodes do not shut down.**

- Enable CORS support in grpc-web. This only applies when grpc-web is enabled.
Also, gRPC v1 is NOT enabled in any of the node distributions. gRPC v2 should be used. As a consequence of this the configuration option ``no-rpc-server`` and environment variable ``CONCORDIUM_NODE_DISABLE_RPC_SERVER``, as well as default values of ``rpc-server-port`` (``CONCORDIUM_NODE_RPC_SERVER_PORT``) and ``rpc-server-addr`` (``CONCORDIUM_NODE_RPC_SERVER_ADDR``), have been removed. The V1 gRPC server is only started if both of these options are supplied.

- Fixed a security issue.
Additional features of this release include:

- Support using block height as block identifiers in gRPC v2 API.
- Fixed a network layer bug where initial messages after the handshake could be dropped in some circumstances.

- Extend gRPC v2 API call ``GetBlockInfo`` with the protocol version of the block.
- Changes in Wasm validation and execution in P6 include:

- Do not keep a historical list of peers when running as a normal node.
- Disallowed globals in initialization sections for V1 contracts in P6.

- Fixed a bug that caused an extra byte to be added when running ``getModuleSource`` in the V1 GRPC API.
- Added support for sign extension instructions in Wasm in P6.

- Do not count custom sections towards module size when executing contracts.

- Support new ``invoke`` operations for retrieving account keys and checking signatures.

- Shut down consensus upon a protocol update updating from protocol version 6.

- Fixed a bug that causes bakers in genesis to restake their earnings when they should not. This affects genesis data at protocol version P5; P1-P4 genesis data are not affected. This breaks compatibility with chains started with P5 genesis data, where some genesis bakers are not set to restake earnings. Other chains (including mainnet and testnet) are not affected.

- Changed the ``GetConsensusStatus`` endpoint so that slot duration is only returned in protocol versions 0-5.

- Endpoint is extended to return current timeout duration, current round, current epoch and trigger block time in protocol version 6.

- Changed the ``GetBlockInfo`` endpoint:

- Block slot is only returned in protocol versions 0-5.

- In protocol version 6, the returned finalized block is the last finalized block until itself is finalized. Then it is itself.

- Endpoint extended to return block round and epoch in protocol version 6.

- Changed the `GetElectionInfo` endpoint so that election difficulty is only returned in protocol versions 0-5.

.. dropdown:: Previous releases

.. dropdown:: 5.4.2 - June 14, 2023

.. _542-mainnet:

Concordium node version 5.4.2 contains the following features and bug fixes:

- Enable CORS support in grpc-web. This only applies when grpc-web is enabled.

- Fixed a security issue.

- Support using block height as block identifiers in gRPC v2 API.

- Extend gRPC v2 API call ``GetBlockInfo`` with the protocol version of the block.

- Do not keep a historical list of peers when running as a normal node.

- Fixed a bug that caused an extra byte to be added when running ``getModuleSource`` in the V1 GRPC API.

.. dropdown:: 5.3.2 - April 27, 2023

.. _532-mainnet:
Expand Down
6 changes: 3 additions & 3 deletions source/mainnet/variables.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@
.. |cargo-linux-checksum| replace:: ea3f603e2a921181cdf323604066444378a955c55e82b206a7d169bf636fa75d

.. Node version variables
.. |mainnet-node-version| replace:: 5.4.2
.. |mainnet-node-version| replace:: 6.0.4
.. |testnet-node-version| replace:: 6.0.4

.. Node debian package verification variables
.. |node-deb-package| replace:: concordium-mainnet-node_5.4.2-0_amd64.deb
.. |node-deb-package-checksum| replace:: cab62172983d509e2e6b34e1bbc6464d989b1f749861278ee800d9efc31fd848
.. |node-deb-package| replace:: concordium-mainnet-node_6.0.4-0_amd64.deb
.. |node-deb-package-checksum| replace:: 0c236d9a0d87d1dbc44e979155208aecd6f18051ca7baf02a2603b8a9599c454

.. Mainnet genesis block verification variables
.. |mainnet-genesis-block| replace:: genesis.dat
Expand Down

0 comments on commit 734f3e2

Please sign in to comment.