diff --git a/docs/introduction/test_networks.rst b/docs/introduction/test_networks.rst index 81b12c6bacf813c24aa1f6ae90a605bdb8c02c14..5d46e0974b798332e622ec45f010c84464229312 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 da78e68412f8fe50429a5de31da6f82efee05b1e..e75366e32a1cb3b170763699e20b99e242c19c55 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 diff --git a/src/bin_node/node_config_file.ml b/src/bin_node/node_config_file.ml index 32f3e02c80b49be4db287f471b12837c0af703c3..7ce0c91b3d485267796c3148fe35d98da599e523 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