package tezos-protocol-014-PtKathma

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type Tezos_protocol_environment_014_PtKathma.Error_monad.error +=
  1. | Tx_rollup_negative_input_size

A generic helper to hash an input

hash_cost size returns the cost of gas for hashing a buffer of size bytes.

Raises Tx_rollup_negative_input_size iff size < 0.

consume_add_message_cost ctxt consume the gas cost of adding a message to an inbox and return the new context.

OCaml

Innovation. Community. Security.