Commit Graph

2061 Commits

Author SHA1 Message Date
Chris Smith
d7fe96f81f Add example of constructor inheritance and order
Add an example of how contract inheritance impacts constructor calling
2019-07-09 11:37:37 -04:00
chriseth
d3e542d32c Provide secondary source location for error messages in standard json. 2019-07-04 10:54:01 +02:00
William Entriken
b6cb079157 Failed-checksum addresses are an error 2019-07-02 13:10:28 +02:00
chriseth
82c92eccbc
Fix link. 2019-07-01 16:03:12 +02:00
chriseth
f5a9b06289
Merge pull request #7006 from ethereum/docs-min-compiler
[DOCS] Add minimum compiler versions
2019-06-27 15:55:38 +02:00
Chris Chinchilla
bbc471fef8 Add minimum compiler versions 2019-06-27 15:45:15 +02:00
chriseth
321e714911
Merge pull request #7009 from ethereum/docs-fix-style
[DOCS] Fix style issues in control structures
2019-06-27 12:52:18 +02:00
William Entriken
49c79c1894
Update value-types.rst 2019-06-26 20:04:02 -04:00
Chris Chinchilla
168412dd8d
Fix style issues in control structures 2019-06-26 17:09:50 +02:00
chriseth
a03687ccfa Prepare changelog for 0.5.10 release. 2019-06-25 14:28:22 +02:00
chriseth
930ce34953
Merge pull request #6998 from ethereum/fixSignChop
Fix sign chop
2019-06-25 14:23:45 +02:00
chriseth
04fe3c070d Changelog and bug list entry. 2019-06-25 13:00:21 +02:00
chriseth
9252906827
Merge pull request #6980 from ethereum/wip/own-clar
[DOCS] Clarify what owning contract means
2019-06-25 11:25:18 +02:00
Chris Chinchilla
85b6e7508c Clarify what owning means
Updates from review
2019-06-25 08:59:40 +02:00
chriseth
c5cf3d53aa
Merge pull request #6975 from ethereum/moreSpecificDescription
More specific bug description.
2019-06-24 15:59:19 +02:00
chriseth
3b0284817e
Merge pull request #6981 from ethereum/docs-purchase-contract
[DOCS] State default value of enum in example
2019-06-24 14:36:35 +02:00
Chris Chinchilla
30e843a217 State what default value of enum in example is
Fix formatting issue and add mention of the enum default type

Other files
2019-06-24 14:32:53 +02:00
Chris Chinchilla
215f41776c Clarify implicit conversion 2019-06-24 12:43:17 +02:00
chriseth
1bf4fc571c More specific bug description. 2019-06-24 12:31:39 +02:00
Christian Parpart
b58170f890
Refactor & Speedups on CircleCI; split out out codecov into dedicated tests. 2019-06-21 20:26:10 +02:00
chriseth
9bb7160c4c
Merge pull request #6958 from sifmelcara/fix-abiencoderv2-codegen
Fix incorrect abi encoding of storage array of data type that occupy multiple storage slots
2019-06-20 13:08:42 +02:00
Chris Chinchilla
b72977f086 Review conventions section in assembly doc
Changes from review

Changes from review
2019-06-19 14:56:45 +02:00
Chris Chinchilla
622adf55c2 Fix missplaced warnings 2019-06-19 11:03:10 +02:00
mingchuan
6a5fabd004
Add ABIEncoderV2 storage array encoding bug to buglist 2019-06-19 10:47:44 +08:00
Chris Chinchilla
b66950711e
Merge pull request #6954 from ethereum/docs-public-clar
[DOCS] Clarify that public applies to state variables
2019-06-18 07:55:45 +01:00
chriseth
8260ae1397
Merge pull request #6955 from ethereum/docs-enum-int
[DOCS] Clarify that interfaces only support enum since 0.5.0
2019-06-17 18:32:53 +02:00
chriseth
4a4c146fdf
Merge pull request #6951 from ethereum/chriseth-patch-1
[DOC] Fix signextend example.
2019-06-17 18:31:29 +02:00
Chris Chinchilla
17e82ee176 Clarify that interfaces only support enum since 0.5.0 2019-06-17 17:14:53 +01:00
Chris Ward
7e4896740d Clarify that public applies to state variables 2019-06-17 16:55:31 +01:00
Chris Ward
df31461c5b Start to clarify revert vs require usage
Start rewrite of require vs revert clarification

Small clarification
2019-06-17 16:47:13 +01:00
chriseth
b90d57a9fc
[DOC] Fix signextend example. 2019-06-17 13:39:20 +02:00
chriseth
d774e30686
Merge pull request #6950 from ethereum/fix-typo-spell-check-uaah
Fix typo to make CI happy
2019-06-17 13:29:50 +02:00
Mathias Baumann
ee937ea7b3 Fix typo to make CI happy 2019-06-17 13:14:00 +02:00
Chris Chinchilla
d671761d46
Merge pull request #6945 from ethereum/ChrisChinchilla-patch-1
[DOCS] Fix typo in miscellaneous doc
2019-06-17 12:00:46 +01:00
Chris Chinchilla
aa6e29a7a0
Update docs/miscellaneous.rst
Co-Authored-By: Mathias L. Baumann <Marenz@users.noreply.github.com>
2019-06-17 11:14:11 +01:00
chriseth
9c5dc63ed2
Merge pull request #6567 from ethereum/docs-intro-subcurrency
[DOCS] Update subcurrency example in introductory section
2019-06-17 10:44:33 +02:00
Chris Chinchilla
0465803b2c
Fix typo in miscellaneous doc
As reported by @Marenz
2019-06-16 09:33:40 +01:00
Fabio Bonfiglio
2a2f068542
Correct assigned value in natspec example 2019-06-13 13:12:32 +02:00
Daniel Kirchner
502d22a26e
Merge pull request #6914 from ethereum/boost170
Use imported targets for boost and update emscripten boost to 1.70.
2019-06-12 15:26:24 +02:00
Daniel Kirchner
9d2f1b0eac Add note about boost 1.70+ and solidity<=0.5.9 to the docs. 2019-06-07 10:42:18 +02:00
Vignesh Karthikeyan
f7a8b6da65
Merge pull request #1 from ethereum/develop
Update
2019-06-07 00:52:12 +05:30
Vignesh Karthikeyan
1d9b6b5bbf
Added Content and Edited for readability
The example for signextend requested by @bshastry was added. Codeblock was moved before warning for readability.
2019-06-07 00:47:08 +05:30
Daniel Kirchner
a445df63cf Require cmake 3.5. 2019-06-06 18:49:25 +02:00
Chris Chinchilla
fc35c139ca
Merge pull request #6874 from ethereum/docs-style-fix-style
[DOCS] Bring code examples for Style Guide inline with style guide
2019-06-06 11:23:15 +02:00
Chris Chinchilla
f99d78117e Bring code examples for Style Guide inline with style guide
Add back accidentally removed public
2019-06-05 15:25:18 +02:00
Vignesh Karthikeyan
1978e1d3ff
Added example for signextend
Added sample assembly code for signextend
2019-06-05 02:02:40 +05:30
Vignesh Karthikeyan
3d40152102 Brought warning to high priority
Update functions.rst

Update for warning over note priority

Updated units-and-global-variables.rst

Updated file for warning over note priority

Updated control-structures.rst

Updated priority of warning over note

Updated assembly.rst

Updated priority of warning over code

Updated introduction-to-smart-contracts.rst

Updated priority of warning over note

Update installing-solidity.rst

Corrected control-structures.rst

Corrected white space error

Corrected whitespace

Corrected whitespace introduction to smart contract
2019-06-04 14:46:26 +05:30
Chris Chinchilla
69e4e69e69 Bring value types code examples inline with style guide 2019-05-30 14:37:17 +02:00
William Entriken
f1be1b2758
Learn how to spell section 2019-05-29 21:02:03 -04:00
chriseth
cce79ea67b
Merge pull request #6867 from ethereum/docs-style-fix-usingfor
[DOCS] Bring Using For code examples inline with style guide
2019-05-29 20:08:19 +02:00
chriseth
00f24555d9
Merge pull request #6868 from ethereum/docs-style-fix-control-struct
[DOCS] Update code examples in control structures doc to match style guide
2019-05-29 20:07:09 +02:00
Chris Ward
66fe9731fc Bring code examples in line with style guide 2019-05-29 16:26:23 +02:00
Chris Ward
bebc479fb5 Update code examples to match style guide
Remove visibility
2019-05-29 16:21:18 +02:00
Chris Ward
b015d2cd40 Bring code examples inline with style guide
Remove visibility
2019-05-29 16:17:34 +02:00
chriseth
61d2919968 Prepare version 0.5.9. 2019-05-28 15:38:48 +02:00
Chris Ward
931b93146f Update subcurrency example in introductory section
Further updates

Add line breaks

Changes from review

Updates from review

Changes from review

Fix label
2019-05-28 08:54:54 +02:00
asymmetric
d67a4cfdb7
Fix link to OpenZeppelin ECDSA library
Previous link was a 404.
2019-05-27 22:29:35 +00:00
chriseth
9d00f21cfb
Merge pull request #6841 from ethereum/style-fixes-inheritance
[DOCS] Bring inheritance doc inline with style guide
2019-05-27 19:11:32 +02:00
chriseth
dc0fac5dfd
Merge pull request #6825 from ethereum/style-fixes-assembly
[DOCS] Bring code examples inline with style guide in assembly doc
2019-05-27 17:28:12 +02:00
Chris Ward
e81e71e879 Make code examples conform to style guide 2019-05-27 16:59:54 +02:00
Chris Ward
3b64a4b955 Bring inheritance doc inline with style guide 2019-05-27 14:23:53 +02:00
Chris Ward
062c67c4a8 Bring code examples inline with style guide in assembly doc
Fix assembly block indentation

Change variable name
2019-05-27 14:17:44 +02:00
chriseth
be653bec44
Merge pull request #6741 from ethereum/docs-docker
[DOCS] Add draft of Docker instructions
2019-05-27 14:11:43 +02:00
chriseth
899858784c
Merge pull request #6834 from sifmelcara/fix-types-doc-ref-delete
Fix reference links in types.rst
2019-05-27 14:09:42 +02:00
chriseth
6240a6e906
Merge pull request #6824 from ethereum/style-fixes-abi-spec
[DOCS] Confirm ABI spec code examples to style guide
2019-05-27 14:06:55 +02:00
mingchuan
27fd533f3d
Fix reference links in types.rst 2019-05-27 18:54:00 +08:00
mingchuan
bf8af89bba
Fix assignment of struct containing array of mappings 2019-05-25 01:33:49 +08:00
Chris Ward
bfda0de3ff Add draft of Docker instructions
Changes from review

Syntax fix

Change path

Add mention of JSON too

Change path

Restructure

Update docs/installing-solidity.rst

Co-Authored-By: chriseth <chris@ethereum.org>

Update docs/installing-solidity.rst

Co-Authored-By: chriseth <chris@ethereum.org>

Fixes from review
2019-05-23 15:54:29 +02:00
Chris Ward
2c705145ae Make Creating contracts code examples match style guide 2019-05-23 14:54:11 +02:00
Chris Ward
5305dd6eac Confirm to style guide 2019-05-23 14:46:59 +02:00
chriseth
0e864467de [Docs] Better explain the modular approach. 2019-05-23 14:02:44 +02:00
Guy
2734eae6fb Added a reference to an extended list of security recommendations. 2019-05-22 10:56:25 +03:00
Guy Lando
ee0cb71959
Clarified inheritance documentation. 2019-05-20 18:30:47 +03:00
chriseth
20f3ab5961 Advantages of anynomous events. 2019-05-20 15:06:53 +02:00
chriseth
f2ae30f620 Fix handling of structs of dynamic size as constructor parameters. 2019-05-16 17:10:54 +02:00
Isaac Ibiapina
074580f743
Update visibility-and-getters.rst
edit private variable description to be more declarative
2019-05-15 18:56:21 -04:00
chriseth
c8dd412014
Merge pull request #6736 from ethereum/docs-test-nightly
[DOCS] Mention nightlies with remix
2019-05-14 14:58:28 +02:00
Vedant Agarwala
ab47864852 Fix as per issue comments 2019-05-13 20:47:55 +08:00
Chris Ward
680ce3f5f0 Expand contraction 2019-05-13 14:22:58 +02:00
Chris Ward
df31096690 Mention nightlies with remix 2019-05-13 12:47:34 +02:00
Daniel Kirchner
aa4ee3a155 Document version field in CBOR metadata. 2019-05-08 22:21:50 +02:00
Mathias Baumann
d8873f52df Update to aleth v1.6.0 2019-05-07 16:03:53 +02:00
Chris Ward
895d6e58e7 Polish introductory section of introduction to smart contracts
Update docs/introduction-to-smart-contracts.rst

Co-Authored-By: ChrisChinchilla <chriswhward@gmail.com>

Clarify pragma version
2019-05-01 14:51:32 +10:00
asymmetric
95c4f8f2bd Conversion: remove confusing int8 type
The topic of converting a smaller type into a larger one is orthogonal to the one discussed in the example (namely, conversion between signed and unsigned integers).

Therefore, we change the `int8` to an `int` to make the example clearer.
2019-04-30 17:14:00 +02:00
chriseth
23a071dfd4 Set release date, sort changelog entries and update bug list. 2019-04-30 14:14:44 +02:00
chriseth
ecb8dfb26c Forward-port 0.4.26 release notes and update bug list. 2019-04-30 11:31:12 +02:00
chriseth
39d153b7a1
Merge pull request #6570 from ethereum/fixMetaSettings
Move metadata settings into its own object.
2019-04-29 15:09:27 +02:00
chriseth
eef3f95724 Move metadata settings into its own object. 2019-04-29 14:19:27 +02:00
chriseth
e6926504ef Add link to "source-verify". 2019-04-29 09:15:05 +02:00
chriseth
f9ec1231b6 Support period as part of identifiers for Yul and Inline Assembly. 2019-04-25 16:48:16 +02:00
chriseth
309d3e65cf
Merge pull request #6585 from ethereum/fixInvalidFunctionTags
Fix invalid function tags
2019-04-25 16:30:37 +02:00
chriseth
5b991c1e59 Fix use of uninitialized functions stored in storage. 2019-04-25 15:40:48 +02:00
chriseth
b6bb3ae482
Merge pull request #6555 from sifmelcara/break-for-loop
[Yul] Disallow function definitions inside for loop init blocks
2019-04-25 11:20:44 +02:00
chriseth
f26cdea6ca Disallow Yul function definitions inside for loop init blocks. 2019-04-25 10:32:00 +02:00
Chris Ward
2322b4f504 Add Turkish translation 2019-04-23 13:15:39 +10:00
Chris Chinchilla
13518820c7
Merge pull request #6454 from ethereum/docs-high-s-clar
[DOCS] Explain high s value
2019-04-23 13:04:55 +10:00
William Entriken
916e151f46 Add NatSpec documentation. 2019-04-19 00:54:08 +02:00
rocky
b06b996461 soltest.sh, EthOptions.cmake, and CODING_STYLE.md tweaks
solidity.sh:
  * introduce SOLIDITY_BUILD_DIR env var for soltest.sh,
  * add --help output

EthOptions.cmake: more complete configuration information

CODING_STYLE.md: note existence of .editorconfig
contributing.rst: note that tests are Boost C++ unit tests
2019-04-18 07:53:28 -04:00
chriseth
fb302c1c4f
Merge pull request #6473 from ethereum/libeventhash-6435
Fix external ABI type name for contracts
2019-04-18 12:53:34 +02:00
chriseth
14872b598d
Update units-and-global-variables.rst 2019-04-18 12:30:56 +02:00