Iām syncing to a local hardhat chain as such:
moralis-admin-cli connect-local-devchain --chain hardhat --moralisSubdomain XXXX --frpcPath ./frp/frpc
API keys are stored in a .env
file, and the first time I synced for events, everything went smooth and values were loading in the Moralis database!
But when I left my project and came back, restarted my hardhat node and synced for events, the values didnāt show up in the table anymore. I even recreated the sync events and restarted my node, sync connection, and everything, wondering if Iām doing something wrong?
For reference:
local hardhat node
deploying "NftMarketplace" (tx: 0x67e866e05cffecbc9d5c983b6059dc8c8d3b71f74999feb07dc3f7eef11039ed)...: deployed at 0x5FbDB2315678afecb367f032d93F642f64180aa3 with 1359579 gas
----------------------------------------------------
----------------------------------------------------
deploying "BasicNft" (tx: 0x484912c7b9bbcace4999e9d8baf3e9e5cd65588f7ecac6e8fa2a60a4d03c3ea7)...: deployed at 0xe7f1725E7734CE288F8367e1Bb143E90bb3F0512 with 2154911 gas
----------------------------------------------------
Started HTTP and WebSocket JSON-RPC server at http://127.0.0.1:8545/
Connected:
Sync event looks good (I even remade it and double-checked the deploy address)
I emitted some events, but itās still empty
Thoughts?