[SOLVED] Event Sync Not Working on devchain

Good day - I added events to watch using my localdevchain and it added successfully however events are not updatingā€¦ So I have the tables in my database but when events occur, nothing happensā€¦ My table also does not have any of the columns that should be there but Iā€™m unsure if this adds automatically when an event is listened onā€¦ I am using wsl to do this I am not sure if it makes a difference

Screenshot (33)

what is the server url?

https://z5kdushajyl5.usemoralis.com:2053/server

it looks like the proxy is not connected to that server

weird - it says connected and I synced events from terminal

now it is connected, but it doesnā€™t seem to work as expected, for this command:
'{"method": "eth_chainId", "id" : "0"}'
it returns:

{"jsonrpc":"2.0","id":null,"error":{"code":-32600,"message":"Invalid request","data":{"message":"Invalid request"}}}

what local devchain are you using?

I am using hardhatā€¦

Okay do you have any idea how I might solve this?

I donā€™t have an idea now, I didnā€™t see this before
maybe try to restart hardhat

I have tried multiple times

if you try to run locally on your local devchain this, what you get?

curl -X POST RPC_URL_HERE  -d '{"method": "eth_chainId", "id" : "0"}'

{ā€œjsonrpcā€:ā€œ2.0ā€,ā€œidā€:null,ā€œerrorā€:{ā€œcodeā€:-32600,ā€œmessageā€:ā€œInvalid requestā€,ā€œdataā€:{ā€œmessageā€:ā€œInvalid requestā€}}}

I donā€™t know what happens, I guess that you can not use ganache

I am using hardhat not ganache

I know, I have more experience with ganache

it looks like an issue on our side specific to hardhat, weā€™ll investigate more

Thank you so much!!!

So what route do you suggest I take in the meanwhile? Straight to testnet?

testnet will work, maybe we fix it today for hardhat
ganache will also work now

okay thank you please let me know when you do