From 3497105368a847a09434ec7e8c21188a0fe19e58 Mon Sep 17 00:00:00 2001 From: Romain Bardou Date: Mon, 25 Jul 2022 11:40:40 +0200 Subject: [PATCH 1/2] Node: add --network kathmandunet --- src/bin_node/node_config_file.ml | 35 ++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/src/bin_node/node_config_file.ml b/src/bin_node/node_config_file.ml index 32f3e02c80b4..7ce0c91b3d48 100644 --- a/src/bin_node/node_config_file.ml +++ b/src/bin_node/node_config_file.ml @@ -237,6 +237,40 @@ let blockchain_network_jakartanet = "jakartanet.visualtez.com"; ] +let blockchain_network_kathmandunet = + make_blockchain_network + ~alias:"kathmandunet" + { + time = Time.Protocol.of_notation_exn "2022-07-28T15:00:00Z"; + block = + Block_hash.of_b58check_exn + "BLPZJvbTNPG2kgX97n2eCzPAFicqbxZNWSf6BkWsud5uihNua3a"; + protocol = + Protocol_hash.of_b58check_exn + "Ps9mPmXaRzmzk35gbAYNCAw6UXdE2qoABTHbN2oEEc1qM7CwT9P"; + } + ~genesis_parameters: + { + context_key = "sandbox_parameter"; + values = + `O + [ + ( "genesis_pubkey", + `String "edpkuYLienS3Xdt5c1vfRX1ibMxQuvfM67ByhJ9nmRYYKGAAoTq1UC" + ); + ]; + } + ~chain_name:"TEZOS_KATHMANDUNET_2022-07-28T15:00:00Z" + ~sandboxed_chain_name:"SANDBOXED_TEZOS" + ~user_activated_upgrades: + [(8192l, "PtKathmankSpLLDALzWw7CGD2j2MtyveTwboEYokqUCP4a1LxMg")] + ~default_bootstrap_peers: + [ + "kathmandunet.teztnets.xyz"; + "kathmandunet.boot.ecadinfra.com"; + "kathmandunet.stakenow.de:9733"; + ] + let blockchain_network_sandbox = make_blockchain_network ~alias:"sandbox" @@ -338,6 +372,7 @@ let builtin_blockchain_networks_with_tags = (16, blockchain_network_hangzhounet); (18, blockchain_network_jakartanet); (19, blockchain_network_ghostnet); + (20, blockchain_network_kathmandunet); ] |> List.map (fun (tag, network) -> match network.alias with -- GitLab From 1363894191fb2939627a9ea9fa562af75914341b Mon Sep 17 00:00:00 2001 From: Romain Bardou Date: Mon, 25 Jul 2022 11:42:00 +0200 Subject: [PATCH 2/2] Doc: add Kathmandunet --- docs/introduction/test_networks.rst | 15 +++++++++++++++ docs/user/multinetwork.rst | 2 ++ 2 files changed, 17 insertions(+) diff --git a/docs/introduction/test_networks.rst b/docs/introduction/test_networks.rst index 81b12c6bacf8..5d46e0974b79 100644 --- a/docs/introduction/test_networks.rst +++ b/docs/introduction/test_networks.rst @@ -36,6 +36,21 @@ below, have independent faucets. See :ref:`using_faucet` for detailed instructions on using a faucet. +Kathmandunet +============ + +- Built-in network alias: ``kathmandunet`` (see :ref:`builtin_networks`) + + * Available from version 14.0. + +Kathmandunet is a test network which runs the Kathmandu protocol. +Kathmandunet will run until Kathmandu is refused through the amendment process +or (accepted and then) replaced by another protocol on Mainnet. + +On Kathmandunet, some constants differ from Mainnet. +This results in a faster chain than Mainnet. +See :ref:`protocol constants ` to learn how to find out their values. + Jakartanet ========== diff --git a/docs/user/multinetwork.rst b/docs/user/multinetwork.rst index da78e68412f8..e75366e32a1c 100644 --- a/docs/user/multinetwork.rst +++ b/docs/user/multinetwork.rst @@ -56,6 +56,8 @@ the following built-in networks: - ``jakartanet`` (available from version 13.0) +- ``kathmandunet`` (available from version 14.0) + If you did not initialize your node configuration, or if your configuration file contains no ``network`` field, the node assumes you want to run Mainnet. You can use the ``--network`` option with ``tezos-node run`` to make sure -- GitLab