Too little coffee, re-adding gas-limit

This commit is contained in:
Hans Svensson 2023-06-16 09:13:51 +02:00
parent 097be3946c
commit 1e24462efc

View File

@ -612,7 +612,17 @@ The difficulty of the current block.
``` ```
Chain.event(e : event) : unit 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 ##### spend