bug: TypeError: Cannot use 'in' operator to search for 'PriceFeedRemoved' in undefined
FairyFromAlfeya opened this issue · 0 comments
FairyFromAlfeya commented
Description: traceTree.findEventsForContract()
seems to be broken
Inside viewTracingTree.ts:
findForContract = ({ contract, name, }) => {
//@ts-ignore
if (name in contract._functions) {
return this.findByType({ name, type: types_1.TraceType.FUNCTION_CALL, contract });
}
return this.findByType({ name, type: types_1.TraceType.EVENT, contract });
};
contract._functions is undefined