Module Tezos_alpha_test_helpers.Scenario_attestation

val update_activity : string -> Block.block -> State.t -> State.t
type kind =
  1. | Preattestation
  2. | Attestation
val string_of_kind : kind -> string

--- Attestations ---

val check_attestation_aggregate_metadata : ?check_not_found:bool -> kind:kind -> (Tezos_alpha_test_helpers.Signature.Public_key_hash.t * 'a) list -> Block.full_metadata -> Scenario_base.t -> unit Tezos_base.TzPervasives.tzresult Lwt.t
val check_attestation_rewards : ?check_not_found:bool -> string -> Block.full_metadata -> Scenario_base.t -> unit Tezos_base.TzPervasives.tzresult Lwt.t
val check_missed_attestation_rewards : string -> ?check_not_found:bool -> Block.full_metadata -> Scenario_base.t -> unit Tezos_base.TzPervasives.tzresult Lwt.t
val attest_aggreg_with : string list -> (Scenario_base.t, Scenario_base.t) Scenario_dsl.scenarios

(tz4 only) Creates an aggregated attestation from the attestations of the given delegates. Fails if one of the delegates has no slot for the given block, or if one of the delegates' consensus key is not a tz4

--- Preattestations ---

val make_fake_block : ?payload_round:int -> Incremental.incremental -> (Block.t, Tezos_base.TzPervasives.tztrace) Stdlib.result Lwt.t
val preattest_with : ?payload_round:int -> string -> (Scenario_base.t_incr, Scenario_base.t_incr) Scenario_dsl.scenarios
val preattest_aggreg_with : ?payload_round:int -> string list -> (Scenario_base.t_incr, Scenario_base.t_incr) Scenario_dsl.scenarios

(tz4 only) Creates an aggregated preattestation from the preattestations of the given delegates. Fails if one of the delegates has no slot for the given block, or if one of the delegates' consensus key is not a tz4

val preattest_with_all_ : ?payload_round:int -> Scenario_base.t_incr -> Scenario_base.t_incr Tezos_base.TzPervasives.tzresult Lwt.t