mirror of https://github.com/status-im/web3.js.git
Merge branch 'develop' into sandbox
Conflicts: dist/ethereum-light.js dist/ethereum-light.js.map dist/ethereum-light.min.js dist/ethereum.js dist/ethereum.js.map dist/ethereum.min.js lib/web3.js
This commit is contained in:
commit
e928e14bc4
|
@ -1997,7 +1997,7 @@ var indexedParamsToTopics = function (event, indexed) {
|
|||
return abi.formatInput(inputs, [v]);
|
||||
});
|
||||
}
|
||||
return abi.formatInput(inputs, [value]);
|
||||
return '0x' + abi.formatInput(inputs, [value]);
|
||||
});
|
||||
};
|
||||
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -1997,7 +1997,7 @@ var indexedParamsToTopics = function (event, indexed) {
|
|||
return abi.formatInput(inputs, [v]);
|
||||
});
|
||||
}
|
||||
return abi.formatInput(inputs, [value]);
|
||||
return '0x' + abi.formatInput(inputs, [value]);
|
||||
});
|
||||
};
|
||||
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -57,7 +57,7 @@ var indexedParamsToTopics = function (event, indexed) {
|
|||
return abi.formatInput(inputs, [v]);
|
||||
});
|
||||
}
|
||||
return abi.formatInput(inputs, [value]);
|
||||
return '0x' + abi.formatInput(inputs, [value]);
|
||||
});
|
||||
};
|
||||
|
||||
|
|
|
@ -80,7 +80,7 @@ describe('lib/web3/event', function () {
|
|||
assert.equal(result.address, address);
|
||||
assert.equal(result.topics.length, 2);
|
||||
assert.equal(result.topics[0], signature);
|
||||
assert.equal(result.topics[1], f.formatInputInt(4));
|
||||
assert.equal(result.topics[1], '0x' + f.formatInputInt(4));
|
||||
assert.equal(result.fromBlock, options.fromBlock);
|
||||
assert.equal(result.toBlock, options.toBlock);
|
||||
assert.equal(result.offset, options.offset);
|
||||
|
|
Loading…
Reference in New Issue