From 9bda47273c64524866b05b2ece6c2af0ea95f87c Mon Sep 17 00:00:00 2001 From: amela Date: Mon, 27 Nov 2023 19:34:39 +0100 Subject: [PATCH] docs/node/non-validator: Update config file for 23.0 --- docs/node/run-your-node/non-validator-node.md | 33 +++++++++---------- 1 file changed, 15 insertions(+), 18 deletions(-) diff --git a/docs/node/run-your-node/non-validator-node.md b/docs/node/run-your-node/non-validator-node.md index 2431da42d0..f3f5a3ff7a 100644 --- a/docs/node/run-your-node/non-validator-node.md +++ b/docs/node/run-your-node/non-validator-node.md @@ -45,26 +45,23 @@ This will configure the given node to only follow the consensus layer. In order to configure the node create the `/node/etc/config.yml` file with the following content: ```yaml -datadir: /node/data - -log: - level: - default: info - tendermint: info - tendermint/context: error - format: JSON +mode: client +common: + data_dir: /node/data + log: + format: JSON + level: + cometbft: info + cometbft/context: error + default: info genesis: - file: /node/etc/genesis.json - -consensus: - tendermint: - p2p: - # List of seed nodes to connect to. - # NOTE: You can add additional seed nodes to this list if you want. - seed: - - "{{ seed_node_address }}" - + file: /node/etc/genesis.json +p2p: + # List of seed nodes to connect to. + # NOTE: You can add additional seed nodes to this list if you want. + seeds: + - {{ seed_node_address }} ``` Before using this configuration you should collect the following information to replace the variables present in the configuration file: