Commit Graph

6402 Commits

Author SHA1 Message Date
Yoichi Hirai
3d9a180cc3 Merge pull request #1417 from ethereum/fixOptimizer
Optimizer: Clear state for JUMPDESTs.
2016-11-22 15:15:17 +01:00
chriseth
7fb7d5ae39 Optimizer: Clear state for JUMPDESTs. 2016-11-22 14:58:24 +01:00
ethers
217f33c252 Clearer language as suggested by @axic 2016-11-22 00:47:58 -08:00
VoR0220
9869f1a78b
convert individual numbers to hex
Signed-off-by: VoR0220 <rj@erisindustries.com>
2016-11-21 13:53:53 -06:00
chriseth
73eb0235b4 Fix examples and add explanation. 2016-11-21 17:12:33 +01:00
Alex Beregszaszi
81eea45c2d Fix oracle callback example 2016-11-21 13:16:35 +00:00
Alex Beregszaszi
42a84946d2 Fix function type examples 2016-11-21 13:11:43 +00:00
Yoichi Hirai
b24f4a4d00
docs: some types cannot be the key type for mappings 2016-11-21 12:47:40 +01:00
escull638
74ab62de14 Fixed spelling mistake in Logs
Changed 'maps all they way up to the block level' to 'maps all the way up to the block level'.
2016-11-21 11:26:58 +00:00
chriseth
aa48008cc7 Merge pull request #1405 from ethereum/version
Update version.
2016-11-21 11:58:01 +01:00
chriseth
3f48c655e5 Update version. 2016-11-21 11:54:41 +01:00
chriseth
5ebd31ce2d Merge pull request #1404 from ethereum/changelog
Update changelog.
2016-11-21 11:30:57 +01:00
chriseth
5bb050a739 Update changelog. 2016-11-21 11:18:04 +01:00
chriseth
78e8521be7 Merge pull request #1398 from ethereum/VoR0220-patch-1
Typo
2016-11-21 11:12:53 +01:00
chriseth
afda210afd Merge pull request #1382 from ethereum/payable-constructor
Payable constructor
2016-11-21 11:06:56 +01:00
RJ
cc07a918e3 Typo 2016-11-18 12:34:43 -06:00
VoR0220
9dda8f7d84
add ostream to bytes for ease of development
Signed-off-by: VoR0220 <rj@erisindustries.com>

fix up

Signed-off-by: VoR0220 <rj@erisindustries.com>
2016-11-17 21:35:54 -06:00
Alex Beregszaszi
92f1c9d492 Properly define the pragma directive in the grammar 2016-11-18 03:15:24 +00:00
ethers
feebe3e755 Fallback functions don't always have to be payable 2016-11-17 18:14:26 -08:00
ethers
1d9aee97c2 styleguide: Don't include a whitespace in the fallback function 2016-11-17 18:13:33 -08:00
ethers
549bca1494 Don't include a whitespace in fallback function 2016-11-17 18:09:22 -08:00
ethers
39559c1bb6 styleguide: Ordering of functions
Ordering would help readers identify which functions they can call, and to find the "specials" (constructor and fallback function).  Mixing the "specials" in the middle of the code, as well as internal functions between external and public functions, don't help readers

Based on https://github.com/ConsenSys/MultiSigWallet/issues/19
2016-11-17 18:06:28 -08:00
Alex Beregszaszi
910269a29f Add appendCallValueCheck 2016-11-17 17:23:35 +00:00
Alex Beregszaszi
a35ca910c7 Rename test contract names to capitalised 2016-11-17 17:23:35 +00:00
Alex Beregszaszi
d97eb7cc75 Add payable keyword to the multisig wallet 2016-11-17 17:23:35 +00:00
Alex Beregszaszi
1d6fe5c4e4 Add payable to constructor ABI tests 2016-11-17 17:23:35 +00:00
Alex Beregszaszi
7af360882e Add missing payable constructors 2016-11-17 17:23:35 +00:00
Alex Beregszaszi
819da2f0cd Add changelog entry for payable constructor 2016-11-17 17:23:35 +00:00
Alex Beregszaszi
60e9c901e9 Include payable for the constructor in the ABI 2016-11-17 17:23:35 +00:00
Alex Beregszaszi
ceeb8f4a2b Add payable check for constructor in codegen 2016-11-17 17:23:35 +00:00
chriseth
b46a14f4a8 Merge pull request #1122 from ethereum/firstClassFunctions
Functions as first-class types.
2016-11-17 17:32:21 +01:00
chriseth
2c14a96820 Some more assertions and style changes. 2016-11-16 15:09:01 +01:00
chriseth
2defe4dcef Documentation: Style update 2016-11-16 14:37:19 +01:00
chriseth
eeae91c2a2 Update documentation. 2016-11-16 14:37:19 +01:00
chriseth
b3eeb5fcf9 Some more tests. 2016-11-16 14:37:19 +01:00
chriseth
e1fec9b287 JSON tests. 2016-11-16 14:37:19 +01:00
chriseth
830f14c3a3 Fix documentation formatting. 2016-11-16 14:37:19 +01:00
chriseth
ec31d08775 Change encoding to address-funid and add "function" as ABI type. 2016-11-16 14:37:19 +01:00
chriseth
a8e7ed37a1 Disable broken tests that are not useful. 2016-11-16 14:37:19 +01:00
chriseth
cb000a5532 Fix setting the tag. 2016-11-16 14:37:19 +01:00
chriseth
390ba085b6 fixup! Simple peephole optimizer that is activated even if not requested. 2016-11-16 14:37:19 +01:00
chriseth
739dabff8b Fix tests. 2016-11-16 14:37:19 +01:00
chriseth
7a292c9a05 Fix parser for function type disambiguity. 2016-11-16 14:37:19 +01:00
chriseth
0335ed4cb4 Simple peephole optimizer that is activated even if not requested. 2016-11-16 14:37:19 +01:00
chriseth
22b4d1b29a Check that no internals are used in any external function type. 2016-11-16 14:37:18 +01:00
Yoichi Hirai
f3d0433ec3 test: add a test about external function type taking/returning internal functions 2016-11-16 14:37:18 +01:00
chriseth
e51f852504 Converted sub assembly to smart pointer. 2016-11-16 14:37:18 +01:00
chriseth
e543bd34c0 Stored combined creation and runtime tags.
Includes a change to Assembly to allow tags from sub-assemblies to be
used.

Sorry, this get a bit bigger than I thought.
2016-11-16 14:37:18 +01:00
chriseth
ee3efa67a8 Fix tests. 2016-11-16 14:37:18 +01:00
chriseth
746266b8fc ABI: Use external function. 2016-11-16 14:37:18 +01:00