Skip to content

Commit

Permalink
Update max gas amount
Browse files Browse the repository at this point in the history
  • Loading branch information
Ben-Rey committed Nov 30, 2023
1 parent 951bca9 commit 640c7f2
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions docs/learn/gas.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ Each smart contract instruction consumes a defined amount of `gas` when executed

Protocol-defined gas limits ensuring a total slot execution time remains below 300 milliseconds
on the reference hardware are set as follows:
* the execution of autonomous smart contracts at each slot: `MAX_ASYNC_GAS = 1_000_000_000`
* the execution of all the operations of a block: `MAX_BLOCK_GAS = 4_294_967_295`

- the execution of autonomous smart contracts at each slot: `MAX_ASYNC_GAS = 1_000_000_000`
- the execution of all the operations of a block: `MAX_BLOCK_GAS = 4_294_167_295`

## Gas in operations

Expand Down Expand Up @@ -64,4 +64,3 @@ At each slot `S`, the autonomous smart contract messages that can be executed at
are picked from the most profitable to the least profitable and executed in that order
until their cumulated `max_gas` reaches `MAX_ASYNC_GAS`.
Autonomous smart contract messages are removed from the pool once they are executed.

0 comments on commit 640c7f2

Please sign in to comment.