diff --git a/embark-ui/src/containers/ContractLoggerContainer.js b/embark-ui/src/containers/ContractLoggerContainer.js index 4b269bd8..75c80943 100644 --- a/embark-ui/src/containers/ContractLoggerContainer.js +++ b/embark-ui/src/containers/ContractLoggerContainer.js @@ -34,7 +34,7 @@ class ContractLoggerContainer extends Component { function mapStateToProps(state, props) { return { contractLogs: getContractLogsByContract(state, props.contract.className), - contractEvents: getContractEventsByContract(state, props.match.params.contractName) + contractEvents: getContractEventsByContract(state, props.contract.className) }; } diff --git a/embark-ui/src/reducers/index.js b/embark-ui/src/reducers/index.js index 4a51efd7..f8cbceb9 100644 --- a/embark-ui/src/reducers/index.js +++ b/embark-ui/src/reducers/index.js @@ -21,11 +21,7 @@ const entitiesDefaultState = { contractDeploys: [], contractCompiles: [], contractLogs: [], -<<<<<<< HEAD -======= contractEvents: [], - commands: [], ->>>>>>> Add Contract Events to UI messages: [], messageChannels: [], versions: [], diff --git a/lib/modules/blockchain_connector/index.js b/lib/modules/blockchain_connector/index.js index eca3d4f2..21f00196 100644 --- a/lib/modules/blockchain_connector/index.js +++ b/lib/modules/blockchain_connector/index.js @@ -643,9 +643,6 @@ class BlockchainConnector { this.contractsEvents.push(dataWithName); this.events.emit('blockchain:contracts:event', dataWithName); }); - eventEmitter.on('error', () => { - console.log('error') - }) }); callback(); });