package tezos-010-PtGRANAD-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_010_PtGRANAD.Protocol.Environment.Time.t, Tezos_error_monad.TzCore.error list) Stdlib.result Tezos_protocol_010_PtGRANAD.Protocol.Environment.Lwt.t
val get_endorsing_reward : t -> priority:int -> endorsing_power:int -> (Tezos_protocol_010_PtGRANAD.Protocol.Alpha_context.Tez.t, Tezos_error_monad.TzCore.error list) Stdlib.result Tezos_protocol_010_PtGRANAD.Protocol.Environment.Lwt.t
module Vote : sig ... end
module Contract : sig ... end
module Delegate : sig ... end
val init : ?rng_state:Stdlib.Random.State.t -> ?endorsers_per_block:int -> ?with_commitments:bool -> ?initial_balances:int64 list -> ?initial_endorsers:int -> ?min_proposal_quorum:int32 -> ?time_between_blocks: Tezos_protocol_010_PtGRANAD.Protocol.Alpha_context.Period.t list -> ?minimal_block_delay: Tezos_protocol_010_PtGRANAD.Protocol.Alpha_context.Period.t -> ?delay_per_missing_endorsement: Tezos_protocol_010_PtGRANAD.Protocol.Alpha_context.Period.t -> ?bootstrap_contracts: Tezos_protocol_010_PtGRANAD.Protocol.Alpha_context.Parameters.bootstrap_contract list -> ?level:int32 -> int -> (Block.t * Tezos_protocol_010_PtGRANAD.Protocol.Alpha_context.Contract.t list, Tezos_error_monad.TzCore.error list) Stdlib.result Tezos_protocol_010_PtGRANAD.Protocol.Environment.Lwt.t

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

OCaml

Innovation. Community. Security.