MoralisWeb3 / issue-tracker

25 stars 7 forks source link

Forking on hardhat not working. #114

Open Mr-Jawnson opened 2 years ago

Mr-Jawnson commented 2 years ago

I want to fork the mainnet at a particular block and then get this error when I try to get the balance of someone. Does moralis even support archive nodes?

ProviderError: missing trie node fd0a7976c6f0eb0a11c2eb455dc861053d84627d22a24c25361ac50b20866d50 (path ) at HttpProvider.request (node_modules\hardhat\src\internal\core\providers\http.ts:49:19) at JsonRpcClient._send (node_modules\hardhat\src\internal\hardhat-network\jsonrpc\client.ts:319:39) at JsonRpcClient._perform (node_modules\hardhat\src\internal\hardhat-network\jsonrpc\client.ts:249:34) at async Promise.all (index 16) at ForkStateManager.initializeGenesisAccounts (node_modules\hardhat\src\internal\hardhat-network\provider\fork\ForkStateManager.ts:85:20) at Function.create (node_modules\hardhat\src\internal\hardhat-network\provider\node.ts:166:7) at HardhatNetworkProvider._init (node_modules\hardhat\src\internal\hardhat-network\provider\provider.ts:247:28) at HardhatNetworkProvider._send (node_modules\hardhat\src\internal\hardhat-network\provider\provider.ts:189:5) at HardhatNetworkProvider.request (node_modules\hardhat\src\internal\hardhat-network\provider\provider.ts:115:18) at EthersProviderWrapper.send (node_modules\@nomiclabs\hardhat-ethers\src\internal\ethers-provider-wrapper.ts:13:20)