Alex Beregszaszi
4a11200a27
Better assert message for appendInlineAssembnly
2016-12-11 17:57:15 +01:00
Alex Beregszaszi
b93589b3b6
Implement identity call in inline assembly
2016-12-11 17:57:15 +01:00
Alex Beregszaszi
bf5dac1fb2
Turn off the identity precompile for testing
2016-12-11 17:57:15 +01:00
Alex Beregszaszi
1bf412d9fd
Implement CompilerUtils::memoryCopy using inline assembly
2016-12-11 17:57:15 +01:00
Alex Beregszaszi
4abc8ab5a9
Add usingIdentity option to CompilerUtils::memoryCopy
2016-12-11 17:57:15 +01:00
chriseth
d0542f0e36
Warn if msg.value is used in non-payable function.
2016-12-11 16:46:58 +01:00
chriseth
d2b8bdd016
Merge pull request #1464 from federicobond/warn-msgvalue
...
Warn about using msg.value in non-payable function
2016-12-11 16:46:06 +01:00
chriseth
4508f71324
Merge pull request #1481 from zigguratt/lll-end-to-end-testing
...
LLL: end to end testing
2016-12-11 16:43:15 +01:00
chriseth
f2c5ab0cb9
Merge pull request #1496 from federicobond/remove-unused-var
...
Remove unused variable inputFiles
2016-12-11 16:40:21 +01:00
chriseth
0e9b72725e
Merge pull request #1497 from federicobond/json-names
...
Fix names of JSON AST nodes
2016-12-11 16:39:23 +01:00
chriseth
84d4f3da02
Merge pull request #1498 from federicobond/fix-typos
...
Fix typos in comments
2016-12-11 16:38:17 +01:00
Federico Bond
b6fcc5ffb0
Fix typos in comments
2016-12-11 12:11:04 -03:00
Federico Bond
df76230240
Fix names of JSON AST nodes
2016-12-11 02:07:08 -03:00
Federico Bond
dac95ce398
Remove unused variable inputFiles
2016-12-11 00:41:41 -03:00
chriseth
6a40318138
Display tx hash for debugging.
2016-12-09 20:29:02 +01:00
Federico Bond
05139500fb
Warn about using msg.value in non-payable function
2016-12-08 16:22:13 -03:00
Danil Nemirovsky
e5a992937c
- alphabetically sorted string constants per name.
2016-12-08 21:33:09 +03:00
Danil Nemirovsky
f1cf9eb1ea
- moved string constants into common place;
...
- replaced string literals with string constants.
2016-12-08 21:33:09 +03:00
Danil Nemirovsky
db42294a20
- fixed a misprint.
2016-12-08 21:33:09 +03:00
chriseth
84443eb560
Merge pull request #1351 from ethereum/truncate_bit
...
Truncate a boolean from calldata into one bit
2016-12-08 16:15:35 +01:00
chriseth
e7ff4ac810
Merge pull request #1412 from ethereum/disallow-multiple-errors
...
disallow more than one errors in name and type tests
2016-12-08 16:07:46 +01:00
chriseth
b536f24644
Merge pull request #1488 from ethereum/parser-error-msg
...
test: check error messages in parser tests
2016-12-08 16:05:39 +01:00
chriseth
89771a4460
Merge pull request #1492 from federicobond/patch-1
...
Remove duplicate Identifier from AssemblyItem grammar rule
2016-12-08 11:59:10 +01:00
Federico Bond
926a252961
Remove duplicate Identifier from AssemblyItem grammar rule
2016-12-07 22:00:16 -03:00
chriseth
740294f65a
Merge pull request #1489 from federicobond/isolate-tests
...
Cleanup and fix scripts/isolate_tests.py
2016-12-07 11:29:37 +01:00
chriseth
fd7561ed60
Merge pull request #1490 from ethereum/debugMessages
...
Option to show messages in tests.
2016-12-07 11:28:29 +01: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
chriseth
d1c71b7826
Also provide value and format slightly differently.
2016-12-06 23:52:39 +01:00
Federico Bond
72f9a4a73e
Cleanup and fix scripts/isolate_tests.py
2016-12-06 19:21:38 -03:00
Federico Bond
7a46e15efd
Rename isolateTests.py script to isolate_tests.py
2016-12-06 19:21:10 -03:00
chriseth
86953ca3e4
Option to show messages in tests.
2016-12-06 22:31:20 +01:00
Yoichi Hirai
94536ccec8
test: check error messages in parser tests
2016-12-06 17:28:49 +01: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
chriseth
b201e148fa
Merge pull request #1465 from ethereum/missing_keywords
...
document missing keywords
2016-12-06 13:47:30 +01:00
Yoichi Hirai
1f345e527d
test: either fix tests to raise just one error, or mark them as raising multiple errors
2016-12-05 15:41:37 +01:00
Yoichi Hirai
01215694f6
test: disallow more than one errors in name and type tests
2016-12-05 15:41:37 +01:00
chriseth
34327c5d8a
Merge pull request #1394 from ethers/patch-1
...
styleguide: Order of Functions
2016-12-05 12:48:06 +01:00
RJ
29edf2f4c9
Merge pull request #1483 from federicobond/r-literals
...
Migrate remaining source code in tests to R literals
2016-12-03 16:02:52 -06:00
Federico Bond
70d246c834
Migrate remaining source code in tests to R literals
2016-12-03 17:52:51 -03:00
chriseth
9be2fb12bd
Merge pull request #1475 from ethereum/fail-on-identity-fail
...
Throw if calling the identity precompile (memoryCopy) failed
2016-12-03 01:08:45 +01:00
Alex Beregszaszi
86d54c02cd
Throw if calling the identity precompile (memoryCopy) failed
2016-12-02 13:18:39 +00:00
Yoichi Hirai
d94fd636b7
grammar.txt: define inline assembly
2016-12-02 12:20:06 +01:00
Yoichi Hirai
43b56a61aa
parsing: default
and null
are reserved keywords
2016-12-02 11:52:11 +01:00
Yoichi Hirai
50bcc60e6e
grammar.txt: remove a space from payable
keyword
2016-12-02 11:52:11 +01:00
chriseth
3a01a87afe
Merge pull request #1386 from ethereum/metadataOut
...
Metadata stamp
2016-12-02 11:23:45 +01:00
chriseth
5098e1eb15
Count instructions without metadata hash.
2016-12-01 16:04:47 +01:00