Commit Graph

8025 Commits

Author SHA1 Message Date
Leo Arias
841fe4bf26 Prepare the version of the snap package for the release tags 2017-07-18 14:33:49 +00: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
Alex Beregszaszi
9a5aac599e Run tests on source code from docs 2017-07-13 17:10:37 +02:00
Alex Beregszaszi
32a76f15e0 Upgrade isolate_tests.py to support extracting code from docs 2017-07-13 17:10:37 +02:00
Alex Beregszaszi
b5da5f6e42 Merge pull request #2504 from ethereum/inlineasm-decl-empty
Support variable declarations without an assignment in assembly
2017-07-13 16:58:24 +02:00
chriseth
d1c3ecc94a Merge pull request #2567 from ethereum/refactorExceptions
Refactor exceptions and provide comment function.
2017-07-13 16:56:03 +02:00
Alex Beregszaszi
32247fd028 Merge pull request #2569 from ethereum/transferToTransfer
Add another transfer testcase.
2017-07-13 16:20:11 +02:00
Alex Beregszaszi
8d90e6fc4e Rename expectedItems to numVariables 2017-07-13 15:18:40 +02:00
Alex Beregszaszi
ee3a2c0599 Add end-to-end test 2017-07-13 15:18:40 +02:00
Alex Beregszaszi
b65601bb3d Add changelog and documentation 2017-07-13 15:18:40 +02:00
Alex Beregszaszi
03abf792c5 Support variable declarations without an assignment in EVM 2017-07-13 15:18:18 +02:00
Alex Beregszaszi
cee93d946d Support parsing let statements without a value 2017-07-13 15:18:18 +02:00
chriseth
c9b51e71bd Add another transfer testcase. 2017-07-13 15:10:34 +02:00
chriseth
2b33e0bcec Merge pull request #2544 from federicobond/error-value-transfer-non-payable
Add type error when attempting to transfer value to a non-payable contract
2017-07-13 15:08:36 +02:00
chriseth
09e821619e Refactor exceptions and provide comment function. 2017-07-13 11:34:03 +02:00
Federico Bond
da917333d9 Fix error message formatting 2017-07-12 23:59:45 -03:00
Federico Bond
f20b150f38 Add type error when attempting value transfer to a non-payable contract 2017-07-12 23:57:53 -03:00
Alex Beregszaszi
757c500bda Merge pull request #2562 from ethereum/addGnosisTestContracts
Gnosis compilation contracts.
2017-07-12 20:38:52 +02:00
chriseth
b1c1fb6c83 Gnosis compilation contracts. 2017-07-12 15:55:11 +02:00
chriseth
91f17a3662 Merge pull request #2560 from ethereum/abi-spec-nitpick
Nitpicking abi-spec.rst
2017-07-12 15:16:23 +02:00
chriseth
b7a59652f1 Merge pull request #2501 from ethereum/undef-macros
Move UndefMacros from libdevcore to libsolidity/parsing
2017-07-12 15:07:20 +02:00
chriseth
106acd9cbb Merge pull request #2522 from ethereum/testCode
Added various contracts for testing.
2017-07-12 15:03:29 +02:00
chriseth
fca8d781b4 Merge pull request #2556 from ethereum/inlineasm-calldata
Issue proper warning trying to access calldata variables in inline assembly
2017-07-12 15:02:20 +02:00
Yoichi Hirai
6307a12651
Borrow a sentence from @axic
and edit the phrase "following its type", which sounded like the data follows the type in the call data.
2017-07-12 14:37:12 +02:00
Yoichi Hirai
d5c3ef4605
Nitpicking abi-spec.rst 2017-07-12 13:27:47 +02:00
chriseth
b981ef2055 Merge pull request #1477 from ethereum/doc-remove-fixed
[WIP] docs: ``var x = 1/4`` is not working, so remove description about it
2017-07-12 12:11:13 +02:00
Alex Beregszaszi
db7ad508f8 Issue proper warning trying to access calldata variables in inline assembly 2017-07-12 10:48:44 +02:00
Alex Beregszaszi
699a3724ae Merge pull request #2545 from benjaminion/lll-alloc-updated
LLL: alloc issues round-up
2017-07-11 22:44:41 +02:00