From 1e24462efc2486cf24f026ff78a8bc965ec241e9 Mon Sep 17 00:00:00 2001 From: Hans Svensson Date: Fri, 16 Jun 2023 09:13:51 +0200 Subject: [PATCH] Too little coffee, re-adding gas-limit --- docs/sophia_stdlib.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/docs/sophia_stdlib.md b/docs/sophia_stdlib.md index a9d45f5..9fcdd7e 100644 --- a/docs/sophia_stdlib.md +++ b/docs/sophia_stdlib.md @@ -612,7 +612,17 @@ The difficulty of the current block. ``` Chain.event(e : event) : unit ``` -Emits the event. To use this function one needs to define the `event` type as a `datatype` in the contract. + +Emits the event. To use this function one needs to define the `event` type as a +`datatype` in the contract. + + +##### gas\_limit +``` +Chain.gas_limit : int +``` + +The gas limit of the current block. ##### spend