Commit Graph

14730 Commits

Author SHA1 Message Date
Daniel Kirchner
3321fc56ea Split fallback function and introduce "fallback()" and "receive()" syntax. 2019-11-04 17:17:58 +01:00
chriseth
3d625cc239
Merge pull request #7616 from ethereum/fixOverrideMessage
Fix override error message.
2019-11-04 14:02:53 +01:00
chriseth
5392532d70 Fix override error message. 2019-11-04 13:37:23 +01:00
chriseth
60ec679156
Merge pull request #7358 from aarlt/abstract_contracts
Abstract contracts
2019-11-04 13:24:30 +01:00
Alexander Arlt
f3f652e290 Update TypeChecker.cpp 2019-11-01 14:54:47 -05:00
Alexander Arlt
569422d2c2 Add Changelog entry. 2019-11-01 14:54:47 -05:00
Alexander Arlt
c908c16acd Remove InternalCompilerError on abstract contract instantiation. 2019-11-01 14:54:47 -05:00
Alexander Arlt
cd3ad73b5a Update tests. 2019-11-01 14:54:47 -05:00
Alexander Arlt
793b906e05 Update docs/contracts/abstract-contracts.rst. 2019-11-01 14:54:47 -05:00
Alexander Arlt
6573638340 Update docs/grammar.txt 2019-11-01 14:54:47 -05:00
Alexander Arlt
e87924a96e Update soltest related tests. 2019-11-01 14:54:47 -05:00
Alexander Arlt
54c5e604e5 Add new tests. 2019-11-01 14:54:47 -05:00
Alexander Arlt
62950a9234 Support for abstract contracts. 2019-11-01 14:54:47 -05:00
chriseth
106d8ec3b6
Merge pull request #7607 from ethereum/add-leave
yul proto: Add leave statement
2019-11-01 13:33:40 +01:00
Bhargava Shastry
edc5059208 yul proto: Add leave statement 2019-11-01 11:18:05 +01:00
chriseth
42b8c98567 Merge remote-tracking branch 'origin/develop' into develop_060 2019-10-31 18:03:25 +01:00
chriseth
59c4d62b21
Merge pull request #7595 from ethereum/colony-develop-060
Switches to Colony fork temporarily
2019-10-31 17:39:30 +01:00
chriseth
bce13d0249
Merge pull request #7596 from ethereum/solcjs_dao
Remove solc-js DAO tests replacement
2019-10-31 17:39:01 +01:00
chriseth
49e8093e06
Merge pull request #7563 from ethereum/override-rewrite-5424
Implement override keyword
2019-10-31 17:15:55 +01:00
Leonardo Alt
80a790b5c3 Remove solc-js DAO tests replacement 2019-10-31 16:16:13 +01:00
Erik Kundt
38f6a58bac Switches to Colony fork temporarly. 2019-10-31 14:26:33 +01:00
chriseth
d932f2d0c2
Merge pull request #7590 from hellraiserinchief/add-piet
add piet to tools list
2019-10-31 10:50:52 +01:00
hellraiserinchief
7e912b1366 add piet to tools list 2019-10-30 23:09:42 +05:30
Mathias Baumann
6c6a9054b2 Implement override checking 2019-10-30 17:31:33 +01:00
Mathias Baumann
5ff02c12e2 Add reference to contract in FunctionDefinition annotation 2019-10-30 17:31:33 +01:00
Mathias Baumann
20e227afb5 Ensure list of overrides consists of contracts 2019-10-30 17:31:33 +01:00
Mathias Baumann
b76106fc4a Parse override keyword for modifier definitions 2019-10-30 17:31:33 +01:00
Mathias Baumann
f4c40080c4 Move if-condition to function for re-use 2019-10-30 17:31:33 +01:00
chriseth
5434ba025e
Merge pull request #7588 from ethereum/ext-tests-version-pragma-060
Updates fixed version pragma in ext. truffle tests.
2019-10-30 15:05:42 +01:00
Erik Kundt
ba8356f093 Updates fixed version pragma in ext. truffle tests. 2019-10-30 14:33:19 +01:00
chriseth
432b158890
Merge pull request #7560 from ethereum/yulLeave
[Yul] leave statement.
2019-10-30 11:15:53 +01:00
chriseth
d605f89167
Merge pull request #7548 from ethereum/fixWasmLayout
Wasm: Fix layout for text conversion.
2019-10-29 17:52:34 +01:00
chriseth
499fe57d33 Tests 2019-10-29 14:32:16 +01:00
chriseth
91a92a01d5 Test updates. 2019-10-29 14:32:16 +01:00
chriseth
c30839888f Use `leave` in code generator. 2019-10-29 14:32:16 +01:00
chriseth
f98925d8b6 Remove `leave` at end of function. 2019-10-29 14:32:16 +01:00
chriseth
ceb8ee9124 [Yul] leave statement. 2019-10-29 14:32:16 +01:00
chriseth
5d906cd58d
Merge pull request #7568 from ethereum/fixtest
Fix failing tests on ArchLinux and potentially MacOS
2019-10-29 12:37:51 +01:00
Mathias Baumann
b3a5c9c9c0 Fix failing tests on ArchLinux and potentially MacOS 2019-10-29 12:02:50 +01:00
chriseth
edf1e83fda Merge remote-tracking branch 'origin/develop' into develop_060 2019-10-28 15:21:49 +01:00
chriseth
185bd83916
Merge pull request #7575 from ethereum/fixVersion
Fix pragmas
2019-10-28 14:05:39 +01:00
chriseth
607bf24afe
Merge pull request #7386 from ethereum/060-strict-inline-assembly
Defaulting to strict inline assembly (instead of loose)
2019-10-28 12:48:58 +01:00
chriseth
81e2d1ed14
Merge pull request #7528 from ethereum/fix-7434
yul interpreter: Initialize calldata with random data
2019-10-28 12:39:27 +01:00
chriseth
d8d8493550 Fix pragma version for testing. 2019-10-28 12:36:39 +01:00
chriseth
9719f099aa
Merge pull request #7551 from ethereum/060-cxx17-std-optional
Use `std::optional<>` rather than `boost::optional<>`
2019-10-28 12:17:31 +01:00
chriseth
07c67b98f6 Merge remote-tracking branch 'origin/develop' into HEAD 2019-10-28 12:12:52 +01:00
chriseth
9eb08c0cbb
Merge pull request #7570 from HenryRLee/issue4575
Treat super as an unknown identifier in inline assembly #4575
2019-10-28 11:43:32 +01:00
Christian Parpart
df729b3084 Make use of C++17 std::optional<> instead of boost::optional<>. 2019-10-28 11:39:30 +01:00
Christian Parpart
30a99e0df4 test: Adapts InlineAssembly test case for jump instruction (which doesn't "exist" in strict assembly). 2019-10-28 10:03:16 +01:00
Henry Lee
24cbb4dd17 Treat magic variables as unknown identifiers in inline assembly
This fixes #4575. For keywords such as 'super' and 'this', will be
treated as unknown identifiers.
2019-10-28 14:59:50 +11:00