Commit Graph

8051 Commits

Author SHA1 Message Date
Alex Beregszaszi
bcd19456f4 Add test for compileSingle 2017-07-19 13:40:44 +01:00
Alex Beregszaszi
439b67e019 Add test for compileJSONCallback 2017-07-19 13:40:28 +01:00
Yoichi Hirai
e45e95f578 Merge pull request #2596 from ethereum/lll-test-optimiser
Run LLL contract tests with optimiser too
2017-07-19 11:49:27 +02:00
Yoichi Hirai
3ad326beba Merge pull request #2592 from ethereum/lll-simplify
LLL: remove useless code
2017-07-19 11:47:21 +02:00
Yoichi Hirai
0d50e53739 Merge pull request #2591 from ethereum/lll-no-optim
LLL: disable optimiser entirely if requested
2017-07-19 11:46:24 +02:00
Yoichi Hirai
2a46e1b0e2 Merge pull request #2589 from ethereum/rename-onchainmetadata
Rename onChainMetadata to metadata
2017-07-19 11:43:19 +02:00
Yoichi Hirai
b2879c1876 Merge pull request #2598 from ethereum/example-test-fixes
Enable more examples in the documentation for testing
2017-07-19 11:42:33 +02:00
Yoichi Hirai
becb7af4a2 Merge pull request #2597 from ethereum/modifier-internal
Mark modifiers as internal
2017-07-19 11:41:07 +02:00
Yoichi Hirai
d63e7df897 Merge pull request #2593 from ethereum/parser-error-text
Update parser error for pragma/import/contract
2017-07-19 11:40:09 +02:00
Yoichi Hirai
1563c3eb0f Merge pull request #2594 from ethereum/emscripten
Add comments to Emscripten flags
2017-07-19 11:39:02 +02:00
Yoichi Hirai
46d31f7179 Merge pull request #2590 from ethereum/natspec-cleanup
Remove unneccesary interface from Natspec
2017-07-19 11:37:10 +02:00
Yoichi Hirai
1a7b61ad05 Merge pull request #2588 from ethereum/test-optimiser
Run metadata and gas meter tests when optimiser is on too
2017-07-19 11:35:26 +02:00
Alex Beregszaszi
cffe52d6d9 Enable more examples in the documentation for testing 2017-07-19 00:05:05 +01:00
Alex Beregszaszi
644de755dc Mark modifiers as internal 2017-07-18 23:00:17 +01:00
Alex Beregszaszi
407a6e1a0f Run LLL contract tests with optimiser too 2017-07-18 22:52:18 +01:00
Alex Beregszaszi
5050164d9e Add comments to Emscripten flags 2017-07-18 21:59:32 +01:00
Alex Beregszaszi
c99d049ac0 Update parser error for pragma/import/contract 2017-07-18 21:23:49 +01:00
Alex Beregszaszi
fa2781d6da LLL: remove useless code 2017-07-18 21:12:43 +01:00
Alex Beregszaszi
c880550fbc LLL: disable optimiser entirely if requested 2017-07-18 21:09:05 +01:00
Alex Beregszaszi
5bb4bfb08b Remove unneccesary interface from Natspec 2017-07-18 21:05:34 +01:00
Alex Beregszaszi
6d8929a71a Rename onChainMetadata to metadata 2017-07-18 20:54:28 +01:00
Alex Beregszaszi
13edf1062f Run metadata and gas meter tests when optimiser is on too 2017-07-18 20:22:00 +01:00
Alex Beregszaszi
01fbc63623 Merge pull request #2585 from ethereum/tests-compilerstack
Do not use obscure CompilerStack methods in tests
2017-07-18 17:51:10 +02:00
Alex Beregszaszi
075715cf15 Do not use obscure CompilerStack methods in tests 2017-07-18 16:14:25 +01:00
Alex Beregszaszi
0eab808ece Merge pull request #2583 from ethereum/soljson-license
Export license in jsonCompiler and add tests
2017-07-18 17:02:44 +02:00
Alex Beregszaszi
6e4150a5cf Test for version/license in jsonCompiler 2017-07-18 15:33:38 +01:00
Alex Beregszaszi
e9226225d7 Properly export the license() method in Emscripten 2017-07-18 15:31:49 +01:00
Alex Beregszaszi
37553dca9a Merge pull request #2584 from ethereum/standardcompiler-cleanup
Readability fixes in StandardCompiler
2017-07-18 16:26:36 +02:00
Alex Beregszaszi
c40cbed9fb Mark const variables 2017-07-18 14:44:53 +01:00
Alex Beregszaszi
33ac1f29b5 Reorder code for readability 2017-07-18 14:44:19 +01:00
Alex Beregszaszi
7b0f877421 Merge pull request #2582 from jooray/patch-1
Keep the terminology about the exceptions the same
2017-07-18 14:52:24 +02:00
Juraj Bednar
5e0f5ee627 Keep the terminology about the exceptions the same
Don't call exception revert-style when the rest of the document uses require-style
2017-07-18 14:25:17 +02:00
Alex Beregszaszi
43a3129caf Merge pull request #2570 from benjaminion/lll-contract-test-ens
LLL: whole contract tests for the ENS Registry.
2017-07-18 12:39:26 +02:00
benjaminion
22f771dd40 LLL: whole contract tests for the ENS Registry. 2017-07-18 11:16:10 +01:00
Alex Beregszaszi
c167a31b17 Merge pull request #2574 from ltfschoen/patch-4
Update solidity-by-example.rst. Fixes accepted bids
2017-07-18 11:29:49 +02:00
Luke Schoen
56b65cf846 Update solidity-by-example.rst. Fixes accepted bids
Only accept bid values higher than highest bid. Since returns early from `placeBid` function if `value <= highestBid`
2017-07-17 19:58:41 +10:00
chriseth
b61f744dd9 Merge pull request #2565 from ethereum/literal-string-error
Include types in explicit conversion error message
2017-07-14 11:42:04 +02:00
Alex Beregszaszi
7c97546f44 Merge pull request #2559 from benjaminion/lll-contract-test-erc20
LLL: whole contract tests for ERC20 token.
2017-07-14 10:50:09 +02:00
benjaminion
3220ad0838 LLL: whole contract tests for ERC20 token. 2017-07-14 08:27:50 +01:00
Alex Beregszaszi
aec3eabdda Add test for explicit type conversion literal string 2017-07-13 23:16:14 +02:00
Alex Beregszaszi
033fc0cb1a Include types in explicit conversion error message 2017-07-13 23:09:01 +02:00
Alex Beregszaszi
556ddd0f38 Merge pull request #2564 from ethereum/large-arrays-calldata
Add type error for arrays too large for calldata
2017-07-13 23:07:34 +02:00
Alex Beregszaszi
4229caaadc Disable large arrays for memory location too 2017-07-13 22:47:35 +02:00
Alex Beregszaszi
e640bb2aed Add tests for large calldata arrays 2017-07-13 22:47:35 +02:00
Alex Beregszaszi
cb4875a28b Issue error properly for oversized arrays for calldata 2017-07-13 22:33:46 +02:00
chriseth
63bf0f68e6 Merge pull request #2553 from ethereum/extract-docs-tests
Extract examples from documentation and run tests on it
2017-07-13 22:16:49 +02:00
chriseth
a8d78bb767 Refactor compilation tests. 2017-07-13 21:47:29 +02:00
chriseth
d3b447c203 Ignore the docs build directory. 2017-07-13 21:47:29 +02:00
Alex Beregszaszi
41e5b2c3c2 Fix bugs in example contracts 2017-07-13 21:47:29 +02:00
Alex Beregszaszi
b2fcd59ee6 Add version pragma to docs examples 2017-07-13 17:10:37 +02:00