Commit Graph

6489 Commits

Author SHA1 Message Date
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
chriseth
f1907bbb12 Add the _runs parameter. 2016-12-01 16:04:00 +01:00
Alex Beregszaszi
4c15c465ef Submit library addresses to the compiler in tests (and not link afterwards) 2016-12-01 16:04:00 +01:00
Alex Beregszaszi
c88f34c781 Remove unneeded optimised test from EndToEndTest 2016-12-01 16:04:00 +01:00
Alex Beregszaszi
1ad9640fa3 Optimizer tests to not interfere with the optimiser flag 2016-12-01 16:03:59 +01:00
Alex Beregszaszi
f869792eec Fix type of optimizeRuns 2016-12-01 16:03:59 +01:00
Alex Beregszaszi
ea7a6520b2 Fix documentation errors
Subheadings must use consistent format across a file.

The metadata with comments cannot be parsed as JSON.
2016-12-01 16:03:59 +01:00
chriseth
f91ae3f06b Fix tests 2016-12-01 16:03:59 +01:00
Alex Beregszaszi
35325ee7c3 Update metadata documentation 2016-12-01 16:03:59 +01:00
chriseth
6a7ff039df Use CBOR encoding. 2016-12-01 16:03:59 +01:00
chriseth
e0d4a3d518 Fix emscripten build. 2016-12-01 16:03:59 +01:00
chriseth
1316c0c872 Fix documentation error. 2016-12-01 16:03:59 +01:00
chriseth
1e35526eb6 Fix tests. 2016-12-01 16:03:59 +01:00
chriseth
aa1fd6a879 Add test. 2016-12-01 16:03:59 +01:00
chriseth
91ecc4533d Add swarm hash to the end of the bytecode. 2016-12-01 16:03:59 +01:00
chriseth
36c6fe2b69 Changelog entry. 2016-12-01 16:03:59 +01:00