# loadAllocs

Description: loadAllocs cheatcode documentation

Note: This document was authored using MDX

  Source: https://github.com/NomicFoundation/hardhat-website/tree/main/src/content/docs/docs/reference/cheatcodes/Environment/load-allocs.mdx

### Signature

```solidity
function loadAllocs(string calldata pathToAllocsJson) external;
```

### Description

Load a genesis JSON file's `allocs` into the in-memory EVM state.
