Commit Graph
158 Commits
Author SHA1 Message Date
Kamil Śliwak d07b796675 Disallow modifier declarations and definitions in interfaces 2021-08-31 15:25:08 +02:00
chriseth f7916f2940 Add override exception for interface functions. 2021-08-31 10:45:31 +02:00
Marenz 121fd40f74 Allow reading of immutables during construction time 2021-08-19 13:59:05 +02:00
chriseth 62727f322a Merge pull request #11662 from ethereum/docs-fix-highlighting-and-upgrade-pygments
[Docs] Fix highlighting and always use latest packages
2021-07-29 11:29:38 +02:00
chriseth 8ea31cf4e1 Use caret 2021-07-26 14:17:22 +02:00
GuLiPing-Hz 997c014971 Update libraries.rst
add unchecked
2021-07-26 13:24:04 +02:00
Kamil Śliwak 693b88e5f8 docs: Force highlighter to work despite errors on snippets that it cannot parse 2021-07-15 10:14:00 +02:00
Kamil Śliwak d8260a1e93 docs: Replace > with >= in pragmas to work around the highligher being unable to process the former 2021-07-15 10:14:00 +02:00
Kamil Śliwak f3a5c27852 docs: Replace a few remaining :: blocks with .. code-block:: 2021-07-15 10:14:00 +02:00
Kamil Śliwak 42f982c063 docs: Fix indentation in some of the code snippets 2021-07-15 10:13:32 +02:00
Kamil Śliwak ce79e2515b docs: Fix badly indented lists 2021-07-15 10:13:30 +02:00
Kamil Śliwak a1ca12a0a8 Clarify that non-byte array struct members are omitted by getters 2021-07-08 14:31:30 +02:00
Marenz 7f65f1cc02 Fix code-start headers in documentation 2021-07-01 15:17:42 +02:00
iskanderandrews a8e9d7a80d docs/
Enhancing all the .rst doc files by adding highlighting for the code snippets, including the following langs:
1. Solidity

2. bash

3. javascript

4. assembly
2021-06-25 12:33:55 +02:00
Kamil Śliwak 11731f6091 docs: Mention reference types and 4 indexed slots for anonymous events 2021-05-26 16:52:33 +02:00
Keqi HuangandKamil Śliwak 7b228a5b9a Renamed variable for clarity.
Co-authored-by: Kamil Śliwak <cameel2@gmail.com>
2021-05-25 11:41:41 +02:00
newbateni fccdb59cef change variable declaration place
in Test and TestPayable contract (in Fallback Function section) 
variables declared after  their use and I fix that
2021-04-27 15:36:16 +04:30
Raphael Roullet dda4b5d9d7 clarify init value by replacing zero with default value 2021-04-23 13:45:22 +02:00
chriseth 99a9bd1a63 Merge pull request #11176 from ethereum/random-doc-clarifications
Random documentation clarifications
2021-04-01 14:47:54 +02:00
chriseth 0c1be06cba Documentation for custom errors. 2021-03-30 23:04:32 +02:00
Kamil Śliwak 8c6bbf607f docs: Explain that public library functions cannot be called internally from the outside 2021-03-30 18:10:00 +02:00
Kamil Śliwak e1464fa4fb docs: Clarify how modifiers can affect function arguments and return values 2021-03-30 18:10:00 +02:00
Kamil Śliwak 36f769662b docs: Add selector to the index 2021-03-30 14:31:51 +02:00
Kamil Śliwak 259bf3f23a docs: The default visibility level for state variables is internal 2021-03-30 14:31:51 +02:00
Kamil Śliwak 60090fb4a9 docs: Calldata arguments are no longer limited to external functions 2021-03-30 14:31:51 +02:00
chriseth ceecfcb8a3 Fix payable example. 2021-01-20 15:09:26 +01:00
Dmytro c3d6f19e12 Update events doc
Changed the name of the variable because the RTD displays it in green (like the data type or the syntax of the word function), apparently, this is due to the formatting of the RTD text.
https://docs.soliditylang.org/en/latest/contracts.html#events
2021-01-15 18:12:52 +02:00
hrkrshnn 7438c4dc16 Tests after making all explicit address conversions as non-payable 2020-12-14 18:46:01 +01:00
hrkrshnn 88c99a7538 Tests/Docs: changing type of msg.sender and tx.origin into address
And also making the type of address(literal) as non-payable address.
2020-12-14 16:55:48 +01:00
chriseth 561280a5cc Merge remote-tracking branch 'origin/develop' into breaking 2020-12-14 11:33:40 +01:00
Kamil Śliwak 0f6f4314b6 Fix code snippets in docs not passing tests on versions matching their pragmas 2020-12-12 04:52:16 +01:00
chriseth 253889cbf1 Merge remote-tracking branch 'origin/develop' into breaking 2020-11-24 16:22:03 +01:00
chriseth a0a02f2307 Merge remote-tracking branch 'origin/develop' into breaking 2020-11-23 19:28:08 +01:00
chriseth 0326367b22 Documentation. 2020-11-23 14:30:17 +01:00
chriseth 377f9233ae Clarify access of free functions. 2020-11-23 12:28:29 +01:00
chriseth e8a278eefa Merge remote-tracking branch 'origin/develop' into breaking 2020-11-17 18:51:57 +01:00
chriseth e1a0370275 Document static lookup for modifiers. 2020-11-17 18:33:45 +01:00
Kamil Śliwak b7694b9a14 docs: Gather information about linker in one place and reorganize the section a bit 2020-11-16 21:37:36 +01:00
Kamil Śliwak 1ff00488bb docs: Add information about metadata difference resulting from manual linking 2020-11-16 21:26:47 +01:00
Kamil Śliwak aba04c7afa docs: Remove the outdated information about linked library name length limitation 2020-11-16 21:26:47 +01:00
hrkrshnn 29e23efc93 Tests/Docs after "stricter explicit conversion from Literals to Integers" 2020-11-03 14:31:44 +01:00
chriseth 5ffee049fa Merge remote-tracking branch 'origin/develop' into breaking 2020-11-03 14:05:14 +01:00
chriseth 631570c547 Documentation. 2020-11-03 13:31:51 +01:00
chriseth bfc8e26007 Remove low-level log functions. 2020-10-22 17:50:14 +02:00
chriseth f6e57a0eec Merge pull request #10023 from ethereum/develop
Merge develop into breaking.
2020-10-13 18:18:53 +02:00
Mathias Baumann 32b4f18023 Print warning for unnamed return parameters and no return statement 2020-10-13 13:11:29 +02:00
chriseth 14352ed921 Merge remote-tracking branch 'origin/develop' into HEAD 2020-10-08 20:18:04 +02:00
chriseth df16515b52 Documentation. 2020-10-08 18:56:18 +02:00
chriseth 4bdec8107c Merge remote-tracking branch 'origin/develop' into HEAD 2020-09-29 09:53:50 +02:00
Harikrishnan Mulackal 8339765509 [DOCS] Change >=0.7.0 to ^0.7.0 2020-09-28 13:02:31 +02:00