Hey guys. Unfortunately forking mainnet is not currently supported by Moralis. We were testing this the other day with Hardhat’s forking feature. The sync process expects the entire block history to be there so gets really confused when the block numbers start with 12 million. Hopefully we’ll be able to find a solution as forking mainnet is a common practice in many dev shops.
I made a note in the docs about Hardhat fork yesterday but will add fork with ganache-cli as well. Thanks for letting us know.
EDIT: you may need to create a new server instance as forking can cause the sync state to become corrupted.
EDIT 2: going to try this now
EDIT 3: yes looks like the block number starts at the forked block number so forking with ganache-cli will have the same problem as Hardhat. Bummer.