package tezos-012-Psithaca-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.

module Vote : sig ... end
module Contract : sig ... end
module Delegate : sig ... end
val init : ?rng_state:Stdlib.Random.State.t -> ?commitments: Tezos_protocol_012_Psithaca.Protocol.Alpha_context.Commitment.t list -> ?initial_balances:int64 list -> ?consensus_threshold:int -> ?min_proposal_quorum:int32 -> ?bootstrap_contracts: Tezos_protocol_012_Psithaca.Protocol.Alpha_context.Parameters.bootstrap_contract list -> ?level:int32 -> ?cost_per_byte:Tezos_protocol_012_Psithaca.Protocol.Alpha_context.Tez.t -> ?liquidity_baking_subsidy: Tezos_protocol_012_Psithaca.Protocol.Alpha_context.Tez.t -> ?endorsing_reward_per_slot: Tezos_protocol_012_Psithaca.Protocol.Alpha_context.Tez.t -> ?baking_reward_bonus_per_slot: Tezos_protocol_012_Psithaca.Protocol.Alpha_context.Tez.t -> ?baking_reward_fixed_portion: Tezos_protocol_012_Psithaca.Protocol.Alpha_context.Tez.t -> ?origination_size:int -> ?blocks_per_cycle:int32 -> int -> (Block.t * Tezos_protocol_012_Psithaca.Protocol.Alpha_context.Contract.t list, Tezos_error_monad.TzCore.error list) Stdlib.result Tezos_protocol_012_Psithaca.Protocol.Environment.Lwt.t

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

OCaml

Innovation. Community. Security.