package tezos-alpha-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.

Returns all the constants of the protocol

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

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

OCaml

Innovation. Community. Security.