patch-package --- a/node_modules/web3-eth-abi/src/index.js +++ b/node_modules/web3-eth-abi/src/index.js @@ -280,7 +280,8 @@ ABICoder.prototype.decodeLog = function (inputs, data, topics) { var nonIndexedData = data; - var notIndexedParams = (nonIndexedData) ? this.decodeParameters(notIndexedInputs, nonIndexedData) : []; + var notIndexedParams = (nonIndexedData && nonIndexedData !== '0x') ? this.decodeParameters(notIndexedInputs, nonIndexedData) : []; + //var notIndexedParams = (nonIndexedData) ? this.decodeParameters(notIndexedInputs, nonIndexedData) : []; var returnValue = new Result(); returnValue.__length__ = 0;