Commit Graph

15028 Commits

Author SHA1 Message Date
chriseth
8e736a9f49 Type Checker for try/catch. 2019-09-23 17:22:56 +02:00
chriseth
b5bc52f2a7 Control flow for try statements. 2019-09-23 17:22:56 +02:00
chriseth
644a402166 Tests. 2019-09-23 17:22:56 +02:00
chriseth
6d6914f98f Parser for try/catch. 2019-09-23 17:22:42 +02:00
chriseth
a54d9d622f Grammar and Documentation. 2019-09-23 17:22:42 +02:00
chriseth
a66c354698 AST for try and catch. 2019-09-23 17:22:09 +02:00
chriseth
c4208a6ab8
Merge pull request #7457 from ethereum/docAndTestsForChainIdAndSelfBalance
Document chainid and selfbalance.
2019-09-23 16:31:58 +02:00
Micah Zoltu
ae84782d0e
Removes the optionality on output in ABI docs.
I _believe_ (someone more knowledgable than I should verify this claim) that Solidity will always write out an `output` member.  If there are no return parameters, then the array will be empty, but the `output` property will be present.

If this is not correct, I will withdraw this PR, but if the assertion is correct then the docs should reflect that so people can rely on the `output` property being present when writing ABI processors.

I also fixed some inconsistency in line termination character.  It was sometimes `.` and sometimes `;`.  I picked `.`, but don't really care which as long as it is consistent.
2019-09-23 16:42:34 +08:00
Erik Kundt
36271beca8 Sets project version to 0.6.0. 2019-09-19 20:08:55 +02:00
chriseth
0478eb1e1b
Merge pull request #7459 from ethereum/circle-nightly-060
Enable nightly tests for 0.6.0
2019-09-19 15:44:46 +02:00
chriseth
bfc8fd23ac Document chainid and selfbalance. 2019-09-19 15:35:37 +02:00
Erik Kundt
839637e472 Enables nightly tests for 0.6.0. 2019-09-19 13:45:08 +02:00
Leonardo Alt
ed9674be8d [SMTChecker] Add as const function to SMTLib2Interface 2019-09-18 22:57:14 +02:00
chriseth
9ecd51c54d Refactor. 2019-09-18 14:06:03 +02:00
chriseth
5a950908b6
Merge pull request #7432 from ethereum/fix-ossfuzz-build
ossfuzz: Create a separate cmake toolchain file for ossfuzz
2019-09-17 15:24:50 +02:00
chriseth
7c774c3a4b
Merge pull request #7444 from ethereum/solc-fuzzer-add-evmversion
solc fuzzer: Use randomly chosen evm version
2019-09-17 15:23:17 +02:00
chriseth
7190227149
Merge pull request #7379 from sifmelcara/ssa-var-after-control-flow-join
[YulOpt] Create SSA variable after control flow joins
2019-09-17 15:13:38 +02:00
chriseth
51cde26fb1
Merge pull request #7430 from ethereum/push_no_args
Add push() for dynamic storage arrays
2019-09-17 15:06:49 +02:00
Leonardo Alt
43d6e00b14 Add push() for dynamic storage arrays 2019-09-17 13:47:33 +02:00
Bhargava Shastry
9b31d72f43 solc fuzzer: Use randomly chosen evm version 2019-09-17 13:43:22 +02:00
mingchuan
520a3ccfff [YulOpt] declare SSA var when control flow joins 2019-09-17 13:22:02 +02:00
chriseth
5859a69c44
Merge pull request #7409 from ethereum/forLoopOutOfBody
[Yul] Move for loop condition out of body.
2019-09-17 12:58:56 +02:00
chriseth
1b8fe275ee
Merge pull request #7425 from ethereum/fixOrderOpt
Fix order bug in optimizer.
2019-09-17 12:58:17 +02:00
chriseth
cbf8acad73
Merge pull request #7439 from ethereum/docs_clearing_mappings
[DOCS] Clearing mappings
2019-09-17 12:40:11 +02:00
chriseth
203447fa72
Merge pull request #7415 from ethereum/clang-dockerfile
Add clang docker file based on ubuntu disco
2019-09-17 12:34:19 +02:00
chriseth
c224b09bb3 Fix reordering bug in optimizer. 2019-09-17 12:33:00 +02:00
chriseth
68986a58b6 Test. 2019-09-17 12:32:46 +02:00
chriseth
7a79742f3d Out of body again. 2019-09-17 12:30:15 +02:00
chriseth
5b3efee93b
Merge pull request #7442 from ethereum/develop
Merge develop into develop_060
2019-09-17 12:16:27 +02:00
Leonardo Alt
df0b54d7c7 [DOCS] Clearing mappings 2019-09-17 11:58:00 +02:00
chriseth
58f0f9dbea
Merge pull request #7417 from ethereum/fix-7355-v2
Update logic to track dynamically encoded parameters
2019-09-17 11:43:37 +02:00
chriseth
46fc479670
Merge pull request #7435 from ethereum/styleCheck
Disable style check test
2019-09-16 22:18:50 +02:00
chriseth
54d936dda8
Merge pull request #7428 from microbecode/docs-remove-abs
Fixed code example which utilizes non-existing function 'abs' - the v…
2019-09-16 19:21:37 +02:00
chriseth
8b6b1ca986
Merge pull request #7426 from aarlt/clang-format
clang-format: add "UseTab: ForIndentation" @ develop
2019-09-16 19:20:29 +02:00
chriseth
0567643323 Disable style check. 2019-09-16 19:06:50 +02:00
chriseth
34a84f3a4f
Merge pull request #7431 from ethereum/fix_array_mapping
Fix ICE when pop dyn storage array of mapping
2019-09-16 18:59:26 +02:00
Bhargava Shastry
48da5f07a5 ossfuzz: Create a separate cmake toolchain file for ossfuzz so that multiple fuzzing backends may be used 2019-09-16 18:35:15 +02:00
chriseth
41d9316cc5
Merge pull request #7377 from ethereum/ipfs_metadata
Use IPFS for Metadata hash
2019-09-16 17:36:06 +02:00
Leonardo Alt
eab9f65610 Fix ICE when pop dyn storage array of mapping 2019-09-16 16:33:17 +02:00
Bhargava Shastry
403fb7d88c Update logic to track dynamically encoded parameters 2019-09-16 14:25:37 +02:00
Lauri Peltonen
b7e6dc3d05 Fixed code example which utilizes non-existing function 'abs' - the value is stated to be negative so abs(a) is the same as -a 2019-09-13 21:36:43 +03:00
Alexander Arlt
47fae911f9 Add UseTab: ForIndentation 2019-09-13 12:40:51 -05:00
Leonardo Alt
d685554980 Create option for metadata hash 2019-09-13 18:59:12 +02:00
chriseth
2d601a4f23
Merge pull request #7414 from ethereum/refactorSSA
Refactor SSA transform.
2019-09-13 17:55:39 +02:00
Leonardo
34ba617ea6
Merge pull request #7133 from ethereum/smt_chc_loop
[SMTChecker] CHC basic loop support
2019-09-13 13:34:16 +02:00
Leonardo Alt
e1c238e25f [SMTChecker] Add loop support 2019-09-13 12:40:53 +02:00
Daniel Kirchner
c72d1ffb65
Merge pull request #7421 from ethereum/develop
Merge develop into develop_060
2019-09-13 12:14:02 +02:00
Daniel Kirchner
0736f873ea
Merge pull request #7340 from ethereum/arraySlice
Array slice syntax (with implementation for dynamic calldata arrays)
2019-09-13 11:42:39 +02:00
Daniel Kirchner
5d58c43a5c
Merge pull request #7388 from ethereum/isoltest-fallback-functions
[isoltest] Support fallback functions
2019-09-13 11:37:42 +02:00
Daniel Kirchner
4782c800ec Initial introduction of array slices with partial implementation for dynamic calldata arrays. 2019-09-13 10:57:53 +02:00