package tezos-008-PtEdo2Zk-test-helpers

  1. Overview
  2. Docs
type t =
  1. | B of Block.t
  2. | I of Incremental.t

Returns the seed of the cycle to which the block belongs to.

val get_minimal_valid_time : t -> priority:int -> endorsing_power:int -> (Tezos_protocol_008_PtEdo2Zk.Protocol.Environment.Time.t, Tezos_error_monad.TzCore.error list) Stdlib.result Tezos_protocol_008_PtEdo2Zk.Protocol.Environment.Lwt.t
val get_endorsing_reward : t -> priority:int -> endorsing_power:int -> (Tezos_protocol_008_PtEdo2Zk.Protocol.Alpha_context.Tez.t, Tezos_error_monad.TzCore.error list) Stdlib.result Tezos_protocol_008_PtEdo2Zk.Protocol.Environment.Lwt.t
module Vote : sig ... end
module Contract : sig ... end
module Delegate : sig ... end
val init : ?endorsers_per_block:int -> ?with_commitments:bool -> ?initial_balances:int64 list -> ?initial_endorsers:int -> ?min_proposal_quorum:int32 -> int -> (Block.t * Tezos_protocol_008_PtEdo2Zk.Protocol.Alpha_context.Contract.t list, Tezos_error_monad.TzCore.error list) Stdlib.result Tezos_protocol_008_PtEdo2Zk.Protocol.Environment.Lwt.t

init n : returns an initial block with n initialized accounts and the associated implicit contracts

OCaml

Innovation. Community. Security.