diff options
author | benjaminion <ben@edginet.org> | 2017-06-14 05:20:14 +0800 |
---|---|---|
committer | benjaminion <ben@edginet.org> | 2017-06-14 05:20:14 +0800 |
commit | 3299c479b6d8f90a13c6464acc0cb2e7db012ab0 (patch) | |
tree | e808847b8c1b31a4cb268fc92c85651015ad45da /libdevcore | |
parent | d3f4c97c533b2f64dda9fe7bdf5848f6c8bbb300 (diff) | |
download | dexon-solidity-3299c479b6d8f90a13c6464acc0cb2e7db012ab0.tar dexon-solidity-3299c479b6d8f90a13c6464acc0cb2e7db012ab0.tar.gz dexon-solidity-3299c479b6d8f90a13c6464acc0cb2e7db012ab0.tar.bz2 dexon-solidity-3299c479b6d8f90a13c6464acc0cb2e7db012ab0.tar.lz dexon-solidity-3299c479b6d8f90a13c6464acc0cb2e7db012ab0.tar.xz dexon-solidity-3299c479b6d8f90a13c6464acc0cb2e7db012ab0.tar.zst dexon-solidity-3299c479b6d8f90a13c6464acc0cb2e7db012ab0.zip |
LLL: fix handling of "sha3" expression
When PR #2317 changed the EVM opcode from SHA3 to KECCAK256 it broke the `(sha3 loc len)` expression in LLL. This PR fixes things while allowing existing code using the sha3 expression (such as the ENS registrar) to continue to compile. I.e. both `(keccak256 loc len)` and `(sha3 loc len)` may be used, and the existing related sha3 macros continue to work.
Three end-to-end test cases have been added for kekkac256 and sha3.
Diffstat (limited to 'libdevcore')
0 files changed, 0 insertions, 0 deletions