Closed ralph-pichler closed 9 years ago
Example: contract x { function getUnsignedValue() constant returns (uint256 rval) { return uint256(sha3(0)); } }
calling getUnsignedValue() with web3.js returns a negative bigNumber
fixed in bbe031a35f07d24c715baf3a5e3b57b9538f9bdf . Thanks for report. It was new bug, introduced after latest improvements in solidity coder.
Example: contract x { function getUnsignedValue() constant returns (uint256 rval) { return uint256(sha3(0)); } }
calling getUnsignedValue() with web3.js returns a negative bigNumber