<!-- Canonical: https://docs.linea.build/api/linea-smart-contracts/interfaces/l1/izkevmv2 -->

> For the complete Linea documentation index, see [llms.txt](/llms.txt).
> Agents can fetch this page as Markdown at [https://docs.linea.build/api/linea-smart-contracts/interfaces/l1/izkevmv2.md](https://docs.linea.build/api/linea-smart-contracts/interfaces/l1/izkevmv2.md).

# IZkEvmV2

# `IZkEvmV2`

### StartingRootHashDoesNotMatch

```solidity
error StartingRootHashDoesNotMatch()
```

_Thrown when the starting rootHash does not match the existing state._

### ProofIsEmpty

```solidity
error ProofIsEmpty()
```

_Thrown when zk proof is empty bytes._

### InvalidProofType

```solidity
error InvalidProofType()
```

_Thrown when zk proof type is invalid._

### InvalidProof

```solidity
error InvalidProof()
```

_Thrown when zk proof is invalid._

### InvalidProofOrProofVerificationRanOutOfGas

```solidity
error InvalidProofOrProofVerificationRanOutOfGas(string errorReason)
```

_Thrown when the call to the verifier runs out of gas or reverts internally._

Contributions not accepted

These reference pages are automatically generated based on Linea's [smart contracts](https://github.com/Consensys/linea-monorepo/tree/main/contracts/src). To ensure they accurately match the deployed smart contracts, we cannot accept any contributions that edit these pages.
