diff --git a/remix-lib/src/execution/eventsDecoder.js b/remix-lib/src/execution/eventsDecoder.js index 55796681a9..c7abdb9d8b 100644 --- a/remix-lib/src/execution/eventsDecoder.js +++ b/remix-lib/src/execution/eventsDecoder.js @@ -76,9 +76,9 @@ class EventsDecoder { var topics = log.topics.map((value) => { return value.indexOf('0x') === 0 ? value : '0x' + value }) - events.push({ topic: topicId, event: abi.event, args: abi.object.parse(topics, '0x' + log.data) }) + events.push({ from: log.address, topic: topicId, event: abi.event, args: abi.object.parse(topics, '0x' + log.data) }) } else { - events.push({ data: log.data, topics: log.topics }) + events.push({ from: log.address, data: log.data, topics: log.topics }) } } cb(null, { decoded: events, raw: logs })