Commit Graph

6524 Commits

Author SHA1 Message Date
Yoichi Hirai
932e7887bd
test: add tests that tries different types on <<= 2016-12-13 16:35:42 +01:00
chriseth
9d60734549 Merge pull request #1506 from federicobond/improve-error-msg
Improve error message when trying to modify constant variables
2016-12-13 15:27:02 +01:00
Federico Bond
de720e643d Improve error message when trying to modify constant variables 2016-12-13 00:32:37 -03:00
chriseth
0e0d5d47c0 Renamed padToWordBoundaries -> padToWords 2016-12-12 23:43:21 +01:00
Yoichi Hirai
1c3605362d Merge pull request #1468 from ethereum/memcpy-assembly
Implement memcpy without the identity precompile
2016-12-12 22:39:47 +01:00
chriseth
c111d6e27e Merge pull request #1491 from ameten/refactoring
Just refactored some code
2016-12-12 21:43:04 +01:00
Federico Bond
9ed65f2ab9 Include visibility level for functions in AST 2016-12-12 16:21:57 -03:00
Yoichi Hirai
e62b98646f Merge pull request #1494 from ethereum/showtxhash
Display tx hash for debugging.
2016-12-12 19:51:49 +01:00
chriseth
e53fdb4933 Merge pull request #1357 from federicobond/remove-sierra-note
Remove macOS Sierra note from install_deps.sh
2016-12-12 12:40:39 +01:00
chriseth
cc11739928 Documentation. 2016-12-12 11:12:12 +01:00
chriseth
2fac1d23a7 Tests for bytes. 2016-12-12 11:12:12 +01:00
chriseth
7bc2ecf30a Correct test expectations. 2016-12-12 11:12:12 +01:00
chriseth
ffccbd432a Display tx hash for debugging. 2016-12-12 11:12:12 +01:00
chriseth
2738045030 Cleaner shift handling and type conversion for binary operations. 2016-12-12 11:12:12 +01:00
chriseth
2df60bec92 Type after shift should be type of left operand. 2016-12-12 11:12:12 +01:00
Alex Beregszaszi
b8b4f5e9f9 Support bitshifting in variables 2016-12-12 11:12:10 +01:00
chriseth
81d7e0233a Changelog entry. 2016-12-11 17:58:22 +01:00
chriseth
bfa4f45116 Split memcopy into three functions. 2016-12-11 17:57:15 +01:00
chriseth
4184525d4a Fix inline assembly. 2016-12-11 17:57:15 +01:00
Alex Beregszaszi
efd7b4bfbb Reset stack height after inline assembly block 2016-12-11 17:57:15 +01:00
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