Module Tezt_migration_registry.Register

type state = {
  1. migration_level : int;
  2. node : Tezt_tezos.Node.t;
  3. network : [ `Ghostnet | `Mainnet | `Nextnet of string | `Sandbox | `Seoulnet | `Shadownet | `Tallinnnet | `Weeklynet of string ];
  4. next_protocol : Tezt_tezos.Protocol.t;
  5. artifacts_dir_path : string;
  6. mutable protocol_parameters : Tezt_wrapper.JSON.t option;
  7. mutable next_protocol_parameters : Tezt_wrapper.JSON.t option;
}
val init_state : int -> Tezt_tezos.Node.t -> [ `Ghostnet | `Mainnet | `Nextnet of string | `Sandbox | `Seoulnet | `Shadownet | `Tallinnnet | `Weeklynet of string ] -> Tezt_tezos.Protocol.t -> string -> state
val registered : (string, state -> int -> state Lwt.t) Stdlib.Hashtbl.t
val register : title:string -> (state -> int -> state Lwt.t) -> unit
val get : string -> (state -> int -> state Lwt.t) option