Evm_node_lib_dev.Sequencer_blueprinttype Tezos_base.TzPervasives.error += type unsigned_chunk = private {value : bytes;number : Evm_node_lib_dev_encoding.Ethereum_types.quantity;nb_chunks : int;chunk_index : int;}val nb_chunks : chunked_blueprint -> intnb_chunks blueprint computes in constant time the number of chunks of blueprint.
type unsigned_chunked_blueprint = private unsigned_chunk listval unsafe_drop_signatures : chunked_blueprint -> unsigned_chunked_blueprintunsafe_drop_signatures chunks gives back the content of chunks without checking if their signatures are valid. See check_signatures if you want to get the unsigned content iff the signature is correct.
val check_signatures :
Tezos_base.TzPervasives.Signature.public_key ->
chunked_blueprint ->
unsigned_chunked_blueprint Tezos_base.TzPervasives.tzresultcheck_signatures pubkey chunks will return the (unsigned) chunk content in the case that they were indeed signed for pubkey. Otherwise it returns an error. See unsafe_drop_signatures if you want to skip the signature verification and just get the unsigned content.
val unsigned_chunked_blueprint_encoding :
unsigned_chunked_blueprint Tezos_base.TzPervasives.Data_encoding.tval chunked_blueprint_encoding :
chunked_blueprint Tezos_base.TzPervasives.Data_encoding.tval chunks_of_external_messages :
Blueprint_types.payload ->
chunked_blueprint Tezos_base.TzPervasives.tzresultchunks_of_external_messages payload attempts to decode payload as a chunked blueprint.
val sign :
signer:Signer.t ->
chunks:unsigned_chunked_blueprint ->
chunked_blueprint Tezos_base.TzPervasives.tzresult Lwt.tsign ~signer ~chunks serializes and signs a list of chunks.
val create_inbox_payload :
smart_rollup_address:string ->
chunks:chunked_blueprint ->
Blueprint_types.payloadcreate_inbox_payload ~smart_rollup_address ~chunks encodes the chunks into message(s) that can be read from the inbox by the kernel.
val create_dal_payloads : chunked_blueprint -> string listcreate_dal_payloads chunks encodes the chunks into messages that can be read from DAL slots by the kernel. The chunks are prefixed by a tag.
maximum_usable_size_in_blueprint chunks_count returns the available space for transactions in a blueprint composed of chunks_count chunks.
type kernel_blueprint = {parent_hash : Evm_node_lib_dev_encoding.Ethereum_types.block_hash;delayed_transactions : Evm_node_lib_dev_encoding.Ethereum_types.hash list;transactions : string list;timestamp : Tezos_base.TzPervasives.Time.Protocol.t;}val make_blueprint_chunks :
number:Evm_node_lib_dev_encoding.Ethereum_types.quantity ->
kernel_blueprint ->
unsigned_chunked_blueprintmake_blueprint_chunks ~number kernel_blueprint serializes the kernel_blueprint whose number is number and splits the result into chunks small enough to fit in inbox messages.
val kernel_blueprint_parent_hash_of_payload :
Tezos_base.TzPervasives.Signature.public_key ->
Blueprint_types.payload ->
Evm_node_lib_dev_encoding.Ethereum_types.block_hash option
Tezos_base.TzPervasives.tzresultkernel_blueprint_parent_hash_of_payload sequencer bytes partially decodes fields of a kernel_blueprint and return the kernel_blueprint.parent_hash. Verify the signature of each chunk against public key sequencer.