Open lmcorbalan opened 5 years ago
Would it be possible to provide a minimal subgraph that reproduces this?
@leoyvens
You could use this subgraph https://github.com/protofire/maker-governance-subgraph
The error occurs in this line https://github.com/protofire/maker-governance-subgraph/blob/master/src/mappings/DSChief.ts#L399 when you remove the if
clause from this other line https://github.com/protofire/maker-governance-subgraph/blob/master/src/mappings/DSChief.ts#L387
Please let me know if it works for you.
It would be great to have a functionality to check if an address is a contract (similar to
web3.eth.getCode('0x...')
) or to be able to handle the error thrown when calling a function of a SmartContract bound to and External Owned Account.It throws an error like the one below and stops the syncing :