Commit Graph

109 Commits

Author SHA1 Message Date
chriseth
0cbe55005d Create empty dynamic memory arrays more efficiently. 2018-04-04 12:37:04 +02:00
bitshift
bddfa47e77 Updates docs for blockhash changes. 2018-03-27 03:30:03 +01:00
wbt
7d206ba64a Noted suicide is deprecated (#3692)
According to the [changelog](b5e804b8ca/Changelog.md), `suicide` was deprecated before 0.4.3 (after 0.2.0) and warning by 0.4.17.
2018-03-12 15:02:24 +01:00
Daniel Kirchner
154fd1d6cb Document the meaning of sourceIndex "-1" in source mappings. 2018-03-06 02:05:35 +01:00
Daniel Kirchner
c633c0eacb Move msg.gas to global function gasleft(). Closes #2971. 2018-03-05 11:18:04 +01:00
Oleksii Matiiasevych
a0d006015e Update Tips and Tricks on structs initialization. (#3626)
* Update Tips and Tricks on structs initialization.
2018-03-01 16:54:04 +01:00
Jordi Baylina
4f34d092ca
Update miscellaneous.rst 2018-02-28 09:35:07 +01:00
chriseth
2b5a5a8669 Make addmod and mulmod revert if the last argument is zero. 2018-02-15 13:52:17 +01:00
David Au
4047ed23fc Update miscellaneous.rst
Fix small typo
2017-10-15 11:04:00 -04:00
Alex Beregszaszi
a7592fa801 Document packed ABI 2017-09-26 22:48:49 +01:00
Alex Beregszaszi
b1a7281ee9 Promote metadata to its own chapter (split from miscellaneous) 2017-09-11 15:05:46 +01:00
Alex Beregszaszi
e649ce71bd Refer to internal ABI documentation 2017-08-28 11:59:35 +01:00
Alex Beregszaszi
412cc6bc58 Highlight opcodes in docs 2017-08-28 11:59:35 +01:00
Alex Beregszaszi
dd2cc899bb Fix lists and links 2017-08-28 11:59:35 +01:00
Alex Beregszaszi
93e6e83093 Document pure functions 2017-08-24 13:46:18 +01:00
Alex Beregszaszi
b1cdf81506 Document view functions 2017-08-22 18:25:46 +01:00
chriseth
5b26e2bcee Merge pull request #2486 from jamesray1/patch-22
Ref to getter function in docs/miscellaneous.rst
2017-08-11 18:26:46 +02:00
James Ray
0da46f259f :ref:getter function<getter-functions> 2017-07-31 20:35:29 +10:00
James Ray
c03a85aa7b ref getter-functions 2017-07-28 11:50:20 +10:00
James Ray
89551d9968 Updated reference to getter-functions 2017-07-28 11:34:22 +10:00
Alex Beregszaszi
bf10cd6c95 Mention all global aliases 2017-07-26 23:05:09 +01:00
Alex Beregszaszi
15689506c5 Remove interface keyword from reserved list 2017-07-26 23:05:09 +01:00
Alex Beregszaszi
b2fcd59ee6 Add version pragma to docs examples 2017-07-13 17:10:37 +02:00
James Ray
221a013042 Fixed reference to getter function 2017-07-07 12:07:25 +10:00
James Ray
433039f105 Ref to getter function 2017-06-30 19:47:35 +10:00
chriseth
7f05ef8aca Clarify exceptions. 2017-06-23 19:29:11 +02:00
Federico Bond
9fc4c877d3 Fix and improve grammar.txt 2017-06-22 13:55:08 -03:00
Jonathan Brown
8595bc7122 for free => automatically
Getters still use gas when called from another contract, so they are not free.
2017-06-03 14:12:33 +07:00
Alex Beregszaszi
8a5feb8c49 Explain that bytecode depends on metadata 2017-04-25 18:29:51 +01:00
Alex Beregszaszi
6c9dcaf7ac Mention the order of the ABI in metadata 2017-04-25 18:29:50 +01:00
chriseth
47cd8964b8 Require and Assert. 2017-03-14 14:21:33 +01:00
Yoichi Hirai
cfbbd89daf Merge pull request #1702 from ethereum/assertError
Change effect of assert to invalid opcode.
2017-03-03 18:25:50 +01:00
Alex Beregszaszi
a36e2ce0cb Document transfer() 2017-02-24 00:18:18 +00:00
chriseth
4b1e8111cc Remove assert for now. 2017-02-23 19:43:40 +01:00
chriseth
811bb770c5 Change effect of assert to invalid opcode. 2017-02-16 15:54:17 +01:00
Alex Beregszaszi
28a7b1e019 Document revert() 2017-02-10 22:42:33 +00:00
Alex Beregszaszi
fd7ffedead Use different wording for assert 2017-02-10 21:41:40 +00:00
Alex Beregszaszi
7f726de1cb Document assert() 2017-02-10 13:29:17 +00:00
chriseth
4fccb5fdac Document input description and metadata output. 2017-02-08 21:53:07 +00:00
Alex Beregszaszi
9f9807f95d Remove obsolete esoteric features section 2017-02-03 01:52:18 +00:00
Alex Beregszaszi
ace583d0a1 Rename accessor to getter 2017-02-03 00:17:21 +00:00
Federico Bond
6955b8f7b9 Remove wrong syntax highlighting in docs 2016-12-28 17:32:10 -03:00
chriseth
56a027bedc Use multiple URLs for metadata. 2016-12-13 16:37:48 +01:00
chriseth
84443eb560 Merge pull request #1351 from ethereum/truncate_bit
Truncate a boolean from calldata into one bit
2016-12-08 16:15:35 +01:00
Yoichi Hirai
43b56a61aa
parsing: default and null are reserved keywords 2016-12-02 11:52:11 +01:00
Alex Beregszaszi
ea7a6520b2 Fix documentation errors
Subheadings must use consistent format across a file.

The metadata with comments cannot be parsed as JSON.
2016-12-01 16:03:59 +01:00
Alex Beregszaszi
35325ee7c3 Update metadata documentation 2016-12-01 16:03:59 +01:00
chriseth
6a7ff039df Use CBOR encoding. 2016-12-01 16:03:59 +01:00
chriseth
1316c0c872 Fix documentation error. 2016-12-01 16:03:59 +01:00
chriseth
91ecc4533d Add swarm hash to the end of the bytecode. 2016-12-01 16:03:59 +01:00