Dal_node.Config_file
DAL node configuration files.
val read : t -> Tezt_wrapper.JSON.t
Read the configuration file (config.json
) of a DAL node.
val write : t -> Tezt_wrapper.JSON.t -> unit
Write the configuration file of a DAL node, replacing the existing one.
val update : t -> (Tezt_wrapper.JSON.t -> Tezt_wrapper.JSON.t) -> unit
Update the configuration file of a DAL node. If the DAL node is already running, it needs to be restarted manually.
Example: Node.Config_file.update node (JSON.put ("expected_pow", "0.0"))