Mavkit_node_config.Config_validationcheck config verifies if the config parameter is valid. If the validation report of the config:
check config then logs its error(s) and potential warnings, then fails with the Invalid_node_configuration error.check config logs its warnings then returns unit.config.disable_config_validation is set to true, the validation is not applied and check config returns unit.val check :
?ignore_testchain_warning:bool ->
Config_file.t ->
unit Mavryk_base.TzPervasives.tzresult Lwt.t