Commit Graph

57 Commits

Author SHA1 Message Date
Denton Liu
1826579f80 Add documentation about throwing 2016-08-17 12:09:20 -04:00
chriseth
774bb8ab3b Make function calls throw if target does not have code.
Low-level calls still just execute and will actually report "success".
This allows `x.call.value(y)()` for x being a non-contract account.
2016-08-17 11:30:40 +02:00
chriseth
e4578982c6 Merge pull request #905 from ethereum/chriseth-patch-1
Docs: wording: recursive call exploit -> reentrancy exploit
2016-08-17 11:14:47 +02:00
chriseth
a63f94e042 Fix docs. (#916) 2016-08-17 11:04:40 +02:00
chriseth
dbc95570cb Merge pull request #903 from mocamircea/patch-8
Update control-structures.rst
2016-08-16 16:24:04 +02:00
chriseth
480cf384bb Merge pull request #710 from chriseth/throwFailedCreate
BREAKING: Throw if contract creation fails.
2016-08-16 16:13:56 +02:00
Mircea Moca
b2d6097653 Update control-structures.rst
Splitted example.
2016-08-16 16:30:44 +03:00
Mircea Moca
d24c431ce5 Update control-structures.rst 2016-08-16 16:06:08 +03:00
chriseth
2a560b798b Throw if contract creation fails. 2016-08-16 14:49:44 +02:00
chriseth
0c2dc34075 Wording: recursive call exploit -> reentrancy exploit 2016-08-16 11:22:24 +02:00
Mircea Moca
ae0654443c Update control-structures.rst
typo -> coherence with previous occurrence in the document of C/JavaScript
2016-08-16 10:45:04 +03:00
Mircea Moca
1c81d2a481 Update control-structures.rst 2016-08-16 10:41:50 +03:00
Denton Liu
f2389b3314 Change i.e. to e.g. 2016-08-11 11:10:47 -04:00
Denton Liu
279518a536 Add missing s 2016-08-08 13:33:09 -04:00
Denton Liu
838a91b38c Refix typo 2016-08-08 13:32:54 -04:00
Denton Liu
2204c597fb Fix typo 2016-08-05 11:59:10 -04:00
Denton Liu
7a20324142 Link to order of precedence table 2016-07-28 15:19:04 -04:00
Denton Liu
5d113600aa Fix typos 2016-07-12 17:06:49 -04:00
chriseth
efad1e05ac Merge pull request #680 from Denton-L/fix-679
Add section about default values of variables
2016-07-08 20:15:28 +02:00
Denton Liu
cf0579a86e Incorporate changes 2016-07-08 14:07:58 -04:00
Denton Liu
06fa66b2e6 Mention dangers of polymorphism 2016-07-07 16:34:05 -04:00
Denton Liu
ab3531ffc3 Incorporate corrections 2016-07-07 13:53:57 -04:00
Denton Liu
70e5af11ef Correct grammar and language 2016-07-05 11:55:09 -04:00
Denton Liu
14f57568dc Apply fixes 2016-07-05 11:44:39 -04:00
Denton Liu
cb5fc23014 Fix incorrect directives 2016-07-04 10:51:02 -04:00
chriseth
2df142c496 Security Considerations 2016-07-04 15:27:53 +02:00
Denton Liu
0db67b8895 Add section about default values of variables 2016-06-22 13:35:15 -04:00
Denton Liu
49f5bc7ce9 Changed inline code syntax
Changed from :code:`<inline>` to ``<inline>``
2016-05-30 09:44:33 -04:00
Denton Liu
80600a5a42 Modified control-structures.rst
Changed inline code syntax
2016-05-30 09:42:30 -04:00
Dave Hoover
ae677c1e31 Typo fix 2016-05-20 09:18:03 -05:00
Denton Liu
c851cd0481 Corrected capitalisation of symbol names 2016-05-18 17:17:05 -04:00
Denton Liu
d152923548 Fixed a badly resolved merge conflict 2016-05-18 15:53:14 -04:00
Denton Liu
7c22a387f3 Changed whitespace formatting 2016-05-18 11:35:32 -04:00
Denton Liu
d70ae38e92 Fixed table formatting 2016-05-18 11:23:48 -04:00
Denton Liu
51fe1bd9c2 Replaced tabs with spaces 2016-05-18 11:23:48 -04:00
Denton Liu
d6f05a6d36 Increased clarity of assembly statement 2016-05-18 11:23:48 -04:00
Denton Liu
14bd009eb6 Corrected spacing to four spaces 2016-05-18 11:23:47 -04:00
Denton Liu
bdb48b8567 Removed trailing space 2016-05-18 11:23:47 -04:00
chriseth
775b757d0e Merge pull request #545 from chriseth/accessFunLabels
Allow access to functions in inline assembly.
2016-05-17 23:59:13 +02:00
chriseth
e28604f0b0 Typo 2016-05-17 17:05:03 +02:00
chriseth
4b445b898e Merge pull request #546 from chriseth/fixiszero
Correctly use not/bnot/iszero.
2016-05-14 00:58:55 +02:00
Denton Liu
20cec07b46 Removed unnecessary period 2016-05-12 13:25:00 -04:00
Denton Liu
7b6fd013a4 Added origin of scoping rules 2016-05-12 09:59:29 -04:00
Denton Liu
50eb3b8f8f Moved comment to more logical place 2016-05-12 09:49:49 -04:00
Denton Liu
e60a17379e Removed trailing spaces 2016-05-12 09:48:56 -04:00
chriseth
67ca3bb4b9 Allow access to functions in inline assembly. 2016-05-12 12:30:48 +02:00
Denton Liu
52a8d7b3f5 Added content 2016-05-11 17:07:25 -04:00
Denton Liu
08b7d4aebe Changed the title 2016-05-11 17:02:28 -04:00
Denton Liu
ef56723060 Created scoping section 2016-05-11 15:47:05 -04:00
chriseth
a927efb151 Correctly use not/bnot/iszero.
A long time ago, some opcodes were renamed. Now we should only have
not (bitwise negation) and iszero (logical negation).
2016-05-09 10:52:23 +02:00