Second sync events not working

Hi again :wink:

I don’t know why but I setup a second sync and it’s not storing the event in the table.
My first one is working fine but the second one is not saving data inside the table.

topic: requestRegistered
abi:

{
  "anonymous": false,
  "inputs": [
    {
      "indexed": false,
      "internalType": "address",
      "name": "request",
      "type": "address"
    },
    {
      "indexed": true,
      "internalType": "address",
      "name": "smartContract",
      "type": "address"
    },
    {
      "indexed": true,
      "internalType": "address",
      "name": "client",
      "type": "address"
    },
    {
      "indexed": true,
      "internalType": "address",
      "name": "auditor",
      "type": "address"
    }
  ],
  "name": "requestRegistered",
  "type": "event"
}

Address is the same as the other event.
No beforeSave/beforeConsume that could break the saving.
Moralis reacts to the transaction that emits the events and logs+saves it inside ethTransactions, but the event data is not saved inside the table specified in the configuration and nowhere else.
I ran a hardhat script to be sure an event is emitted and it is.
Tried to remove the sync event then re-create it, nothing changes still the same problem…
Any ideas?

what is the exact topic that you added for this event?

Hey what do you mean by exact topic ??

you wrote this and this doesn’t look like a valid topic

Here is what i pass

Ok got it thanks ahah, parameters are missing :sweat_smile:

1 Like