Baking/Test: fix ci

This commit is contained in:
Vincent Botbol 2018-05-23 16:18:39 +02:00 committed by Grégoire Henry
parent d82c811bdd
commit 852acc4710
3 changed files with 66 additions and 65 deletions

View File

@ -65,7 +65,7 @@ class unix_wallet ~base_dir : wallet = object (self)
Lwt_utils_unix.Json.write_file filename json) Lwt_utils_unix.Json.write_file filename json)
(fun exn -> Lwt.return (error_exn exn)) (fun exn -> Lwt.return (error_exn exn))
|> generic_trace "could not write the %s alias file." alias_name |> generic_trace "could not write the %s alias file." alias_name
end end
class unix_prompter = object class unix_prompter = object
method prompt : type a. (a, string tzresult) lwt_format -> a = method prompt : type a. (a, string tzresult) lwt_format -> a =

View File

@ -37,6 +37,7 @@ let no_write_context ?(block = `Head 0) config : #Client_context.full = object
a -> a ->
a Data_encoding.encoding -> unit Error_monad.tzresult Lwt.t = a Data_encoding.encoding -> unit Error_monad.tzresult Lwt.t =
fun _ _ _ -> return () fun _ _ _ -> return ()
method with_lock : type a. (unit -> a Lwt.t) -> a Lwt.t = fun f -> f ()
method block = block method block = block
method confirmations = None method confirmations = None
method prompt : type a. (a, string tzresult) Client_context.lwt_format -> a = method prompt : type a. (a, string tzresult) Client_context.lwt_format -> a =