Hardhat and ganache forks currently dont support state overrides. When running this library with a fork, we get execution revert whenever using the chainId as mainnet.
More details can be found here: https://stackoverflow.com/a/75823265/7655219
Would be nice to control the state overrides behaviour using an environment variable