Sync and watch contract events does not sync events from contract

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

Sync and watch contract events does not sync events from contract

Can you post the sync parameters you used for the events you wish to sync - contract address, chain, event/topic, ABI, historical sync, etc.

@melnichin1407, this is the error from coreservices: Error: No provider found for chain 0x5

Try to enable that chain for the server, or try to disable it and enable it again in case that it is already present.

We will have to restart coreservices after that.

I restarted coreservices now, it looks like that chain is added for that server, can you try to add again the event syncs?

Sorry, but nothing. I add event sync and emit event against. The table is empty :frowning:

Only 2 events are not working

checking to see how it looks now

I changed the topic for SelectiveCollection event to use directly the hash form

Can you check GenerativeCollection table?

Selective collection works!

But what is wrong. What should I do? Because I have another server with similar configuration but with different addresses. Will this work?

in that case the topic0 somehow was not the right one and I used the hash form for topic0 directly

how do you add an event sync? from admin interface or programmatically

From admin interface

Seems like another events aren’t working too -_-

Can you tell me how much events are on this server?

New admin: 41
Beta admin: 5 XD

only those 5 are syncing, those 41 that are listed there are from _EventSyncStatus table, you can delete everything from that table and it will show 0 and after that if you restart coreservices those 5 will show in _EventSyncStatus table

Ok, But i need those 41 events. I should make them from beta admin with β€œhash” topic?

most of them probably will work directly without hash topic

you can also add an event sync from code:
https://v1docs.moralis.io/moralis-dapp/automatic-transaction-sync/smart-contract-events#watch-new-smart-contract-event

Will events from code display in db dashbord or new admin/beta admin?