Commit Graph

16 Commits

Author SHA1 Message Date
Alex Beregszaszi
3515ee98ff Add tests for when/unless/if in LLL 2017-06-21 21:23:20 +01:00
chriseth
7af9d10006 Fix lll test. 2017-06-15 10:07:17 +02:00
Alex Beregszaszi
600e3ad240 Support shl/shr in LLL 2017-06-14 14:08:28 +01:00
benjaminion
3299c479b6 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.
2017-06-13 22:20:14 +01:00
Yoichi Hirai
c4f0608b68
More informative test 2017-06-13 12:28:03 +02:00
Yoichi Hirai
a03913427f
Add an end-to-end test about LLL macro with zero arguments 2017-06-12 15:16:08 +02:00
Alex Beregszaszi
0cb95ac35e LLL: add test for (panic) in a sequence 2017-01-12 14:52:01 +00:00
Daniel Ellison
0f304d2d89 Removed 'panic' from 'constructor_arguments_external' and added specific
test for fallback and fallthrough. Added one test for 'lit'. Added tests
for arithmetic/binary/unary operations. Added the start of tests for
assembler instructions within LLL source.
2016-12-06 18:21:26 -05:00
Daniel Ellison
e23ef9db02 Added tests for LLL constructors. Fixed a few tab issues. 2016-12-06 11:16:56 -05:00
Daniel Ellison
20a098e205 Removed enclosed_panic test until assembler bug is fixed. 2016-12-06 11:16:56 -05:00
Daniel Ellison
1152d2d2d4 Simplified exp_operator_on_range test and changed to tedting a range. 2016-12-06 11:16:56 -05:00
Daniel Ellison
a91b712ab8 Added tests for exponent operator. 2016-12-06 11:16:56 -05:00
Daniel Ellison
1b6861e6c9 Added 'panic' tests. 2016-12-06 11:16:56 -05:00
Alex Beregszaszi
94cae63390 Add callFallback to ExectionFramework 2016-11-29 21:54:28 +00:00
Alex Beregszaszi
85ebe4e5c4 LLL: check for return value in LLL smoke test 2016-11-29 21:54:27 +00:00
Alex Beregszaszi
e26466b729 LLL: add end-to-end tests 2016-11-29 21:54:27 +00:00