package tezos-protocol-010-PtGRANAD
Tezos/Protocol: economic-protocol definition
Install
Dune Dependency
Authors
Maintainers
Sources
tezos-16.0.tar.gz
sha256=ad9e08819871c75ba6f4530b125f7d157799398e4d77a1e6bfea9d91ff37ff55
sha512=c5dc4d40cc09bc6980fbbdb5c2e105bf4252cf9cfcb2b49660b0ebe4dc789f6709ec3b3bf2f87d81580d3eed9521eeb1c960f24d9b14eb0285aaba1f84d10a9b
doc/tezos-protocol-010-PtGRANAD.raw/Tezos_raw_protocol_010_PtGRANAD/Alpha_context/Gas/index.html
Module Alpha_context.Gas
Source
Source
module Arith :
Fixed_point_repr.Safe
with type 'a t = Saturation_repr.may_saturate Saturation_repr.t
Source
val check_limit_is_valid :
context ->
'a Arith.t ->
unit Tezos_protocol_environment_010_PtGRANAD.Error_monad.tzresult
Checks that the given gas limit does not exceed the hard gas limit per operation
Source
val consume_limit_in_block :
context ->
'a Arith.t ->
context Tezos_protocol_environment_010_PtGRANAD.Error_monad.tzresult
Consumes gas equal to the given operation gas limit in the current block gas level of the context. May fail if not enough gas remains in the block
Source
val consume :
context ->
cost ->
context Tezos_protocol_environment_010_PtGRANAD.Error_monad.tzresult
Consumes operation gas. May fail if not enough gas remains for the operation
Update gas counter in the context.
Source
val gas_exhausted_error :
context ->
'a Tezos_protocol_environment_010_PtGRANAD.Error_monad.tzresult
Triggers an error in case of gas exhaustion.
Returns the operation gas level difference between two contexts. Returns Arith.zero
if any of the contexts are set to unlimited gas
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>