Commit Graph

1201 Commits

Author SHA1 Message Date
chriseth
3da16b3e8a Documentation for revert with reason string. 2018-04-12 13:09:37 +02:00
chriseth
0546a36aca
Merge pull request #3836 from netrunnerX/develop
Update solidity-by-example.rst.
2018-04-10 11:48:29 +02:00
NetX
089c295641 Update solidity-by-example.rst 2018-04-09 16:57:38 +02:00
Federico Bond
4e037281ac Error on duplicated super constructor calls 2018-04-09 11:22:35 +02:00
Robbie Ferguson
49567b3f4c Update Delegatecall Description in Docs
The previous description did not include the fact that the storage locations of the two contracts must align up until the storage variable(s) affected in order for the called contract to successfully write to the caller's storage. If they are misaligned, delegatecall will silently fail. This is difficult to debug without underlying knowledge of how delegatecall works, and clarity in the docs would certainly be helpful.
2018-04-06 16:38:59 +02:00
chriseth
d74b71a554
Merge pull request #3805 from kevinflo/tuple-documentation-var-removal
Removed documentation reference to var for tuple variable assignment
2018-04-05 16:19:16 +02:00
chriseth
251e4cff58 Document use of AFL. 2018-04-05 14:39:55 +02:00
Kevin Florenzano
d662622b25 Variable assignment wording change 2018-04-05 17:12:48 +09:00
chriseth
7cf09941bb
Merge pull request #3657 from ethereum/codingStyle
Use coding style.
2018-04-05 10:09:53 +02:00
chriseth
0f7e18780f
Clarify code state of contracts under construction. 2018-04-04 15:07:29 +02:00
chriseth
0cbe55005d Create empty dynamic memory arrays more efficiently. 2018-04-04 12:37:04 +02:00
Roman
86c5d6aaad
hash256 -> bytes32 fix in misleading note
As it was described here: https://ethereum.stackexchange.com/questions/44628/understanding-low-level-interface-to-logs/44629?noredirect=1#comment52316_44629
2018-04-04 09:02:58 +03:00
Daniel Kirchner
3ae326139a Document absence of constructors. 2018-04-03 18:21:55 +02:00
Daniel Kirchner
f855c78a08 Update version pragma and use new constructor syntax in std/ contracts. 2018-04-03 18:21:55 +02:00
bitshift
07c74ef924 Updates docs to new constructor syntax. 2018-04-03 18:21:55 +02:00
chriseth
d21382157c
Merge pull request #3801 from meowingtwurtle/preFixedPoint
Set default fixed point decimal places to 18
2018-04-03 11:10:55 +02:00
chriseth
3d0b99731f
Merge pull request #3803 from ethereum/homebrew
Remove brew linkapps from the installation instructions
2018-04-03 11:09:12 +02:00
Haoliang Yu
826de65e2d
fix a wrong number 2018-04-02 22:22:38 -04:00
kevinflo
884ea39d85 Removed documentation reference to the now-depricated var tuple variable assignment syntax 2018-04-02 13:57:19 +09:00
Alex Beregszaszi
29df18d4d7 Remove brew linkapps from the installation instructions 2018-03-31 01:11:56 +01:00
Jason Cobb
e37b619593 Set default fixed point decimal places to 18 2018-03-31 00:56:36 +01:00
wbt
8aadc179ae
Fix small formatting issue
in which a constant was not treated as code, inconsistent with surrounding examples.
2018-03-30 15:28:15 -04:00
Alex Beregszaszi
b540ba527a Disallow empty structs 2018-03-27 15:49:41 +01:00
Alex Beregszaszi
8c1352ca75
Merge pull request #3772 from ethereum/docsTestingGuide
Add syntax testing guide to docs
2018-03-27 14:28:16 +01:00
Erik Kundt
80458b0420 Explains test structure and update mechanism more detailed. 2018-03-27 11:55:21 +02:00
bitshift
bddfa47e77 Updates docs for blockhash changes. 2018-03-27 03:30:03 +01:00
Erik Kundt
9d9c0bf908 Updates "How to contribute"
Adds detailed description of  the new syntax test tool.
2018-03-21 19:35:22 +01:00
Matías A. Ré Medina
6e730df036
Fix: Missing payable at function forceOwnerChange
forceOwnerChange expects ether, and does not have the payable keyword.
2018-03-19 16:38:20 -03:00
Daniel Kirchner
3232561d97 Refactoring; fuse SyntaxTestParser and SyntaxTester to SyntaxTest. 2018-03-13 11:20:11 +01:00
chriseth
5ad34e035e
Merge pull request #3702 from solidity-korea/develop
Add Korean to Translations
2018-03-12 15:07:46 +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
dongsamb
a0907e90c6 Add Korean to Translation 2018-03-10 11:49:51 +09:00
Grzegorz Hasse
7ebd580954 Fix a typo. 2018-03-07 21:27:24 -08:00
chriseth
cbd8644f2d Update changelog for release. 2018-03-07 18:15:25 +01:00
chriseth
c1bf6fb96f
Merge pull request #3634 from ethereum/useCorrectVersionForEmit
Use 0.4.21 pragma for documentation that uses "emit".
2018-03-07 18:13:11 +01:00
ankit raj
7566787cd2 Some words on Remix 2018-03-06 19:39:53 +01:00
chriseth
3057aeece4 Document STATICCALL usage in experimental 0.5.0. 2018-03-06 15:32:45 +01:00
chriseth
6055bc250f Use coding style. 2018-03-06 10:32:58 +01:00
chriseth
5f5af650ce
Merge pull request #3653 from ethereum/docNegativeSourceIndex
Document the meaning of sourceIndex "-1" in source mappings.
2018-03-06 09:28:53 +01:00
Oleksii Matiiasevych
5d486b741f
Revert warning update about view modifier 2018-03-06 14:19:59 +07:00
Daniel Kirchner
154fd1d6cb Document the meaning of sourceIndex "-1" in source mappings. 2018-03-06 02:05:35 +01:00
chriseth
3793aa405b
Merge pull request #3643 from ethereum/gasleft
Move msg.gas to global function gasleft(). Closes #2971.
2018-03-05 20:11:37 +01:00
Daniel Kirchner
b8589fbe0f Use msg.value and gasleft() as an example in the docs. 2018-03-05 16:59:33 +01:00
chriseth
6dc137317f
Merge pull request #3569 from ethereum/evmVersion
EVM version
2018-03-05 12:10:49 +01:00
Daniel Kirchner
c633c0eacb Move msg.gas to global function gasleft(). Closes #2971. 2018-03-05 11:18:04 +01:00
Furkan Ayhan
c2730a4893
Correct warning message in Pure Functions doc
wrong commit that caused this: (64eaff6420 (diff-754689a291c0a19b500c31eb6c1d30c7R506))
2018-03-04 13:23:07 +03:00
bernard peh
cde4e3172b change the language so that it doesn't sound like send and transfer is providing the stipend 2018-03-02 23:40:17 +11:00
chriseth
66ee9aa2f1 Use 0.4.21 pragma for documentation that uses "emit". 2018-03-02 12:29:48 +01:00
bernard peh
2c086cb90b clarify 2300 gas stipend in fallback function section 2018-03-02 16:25:52 +11:00
chriseth
1246917e32 Explain json-io setting. 2018-03-01 17:19:35 +01:00