diff --git a/tools/config/src/config_cli.rs b/tools/config/src/config_cli.rs index 181cb4b27..802cad860 100644 --- a/tools/config/src/config_cli.rs +++ b/tools/config/src/config_cli.rs @@ -248,7 +248,7 @@ impl ConfigCli { let p = if *vfn { // no need for seed peers, will be identified // to validator node - init_fullnode_yaml(home_path.to_owned(), false, true).await? + init_fullnode_yaml(home_path.to_owned(), true, true).await? } else { // we want seed peers, and will not have an identity init_fullnode_yaml(home_path.to_owned(), true, false).await? diff --git a/tools/config/src/make_yaml_public_fullnode.rs b/tools/config/src/make_yaml_public_fullnode.rs index f14ceaf35..629ab8a0f 100644 --- a/tools/config/src/make_yaml_public_fullnode.rs +++ b/tools/config/src/make_yaml_public_fullnode.rs @@ -127,9 +127,13 @@ state_sync: full_node_networks: - network_id: 'public' listen_address: '/ip4/0.0.0.0/tcp/6182' + identity: + type: 'from_file' + path: {path}/validator-full-node-identity.yaml + - network_id: private: 'vfn' - #mutual_authentication: true + # mutual_authentication: true listen_address: '/ip4/0.0.0.0/tcp/6181' identity: type: 'from_file'