benjaminion
3bc935d932
LLL: rewrite alloc to avoid issues with edge cases.
2017-07-11 21:22:38 +01:00
benjaminion
e3c58eada6
Test cases for for and while loops.
2017-07-08 19:55:41 +01:00
benjaminion
468d716800
LLL: Full set of test cases for the built-in compiler macros.
2017-06-28 16:07:45 +01:00
Alex Beregszaszi
dbbdcc66e6
LLL: fix redefinitions on some compilers
2017-06-24 12:59:30 +01:00
Alex Beregszaszi
af57c083f2
LLL: fix the set keyword (create symbol if not present)
2017-06-23 02:52:44 +01:00
benjaminion
0175008ffa
LLL: Fix msg macro with six arguments.
...
The previous macro used the set built-in in a way incompatible with the current
implementation of set. This commit updates the macro to be more transparent in how it's
working and avoids the use of the set and alloc built-ins.
2017-06-22 13:46:52 +01:00
chriseth
de7a488f82
Merge pull request #2415 from benjaminion/lll-fix-create-macro
...
LLL: Fix for edge case in the create macros.
2017-06-22 12:33:45 +02:00
chriseth
1c54ce2a2c
Merge pull request #2399 from ethereum/lll-if
...
LLL: Replace obsolete assembly code
2017-06-22 12:22:28 +02:00
benjaminion
9954c5c0fa
LLL: Testcases for the two create built-in macros.
2017-06-22 09:45:23 +01:00
benjaminion
35bf91407e
LLL: Test case for ecrecover built-in macro.
2017-06-21 23:35:27 +01:00
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