# End block The block_gas_used value is updated at the end of each block. ## Block Gas Used The total gas used by current block is stored in the KVStore at `EndBlock`. It is initialized to `block_gas` defined in the genesis.