package tezos-008-PtEdo2Zk-test-helpers

  1. Overview
  2. Docs
val contents : ?proof_of_work_nonce:Stdlib.Bytes.t -> ?priority:int -> ?seed_nonce_hash:Tezos_protocol_008_PtEdo2Zk.Protocol.Nonce_hash.t -> unit -> Tezos_protocol_008_PtEdo2Zk.Protocol.Alpha_context.Block_header.contents
type header

Forges a correct header following the policy. The header can then be modified and applied with apply.

val set_seed_nonce_hash : Tezos_protocol_008_PtEdo2Zk.Protocol.Nonce_hash.t option -> header -> header

Sets uniquely seed_nonce_hash of a header

Sets the baker that will sign the header to an arbitrary pkh

Signs the header with the key of the baker configured in the header. The header can no longer be modified, only applied.

OCaml

Innovation. Community. Security.