# End block

The block\_gas\_used value is updated at the end of each block.

### Block Gas Used <a href="#block-gas-used" id="block-gas-used"></a>

The total gas used by current block is stored in the KVStore at `EndBlock`.

It is initialized to `block_gas` defined in the genesis.
