Commit Graph

3059 Commits

Author SHA1 Message Date
Florian Sey
c7d57031b5 Improve wording on voting example
From a beginner perspective, it is the first time in the documentation
that the term wallets is used. Other terms such as accounts or addresses
are explained in the Introduction to smart contracts.
2022-05-06 01:01:37 +02:00
Nobuhiko Otoba
f6c0edc902 Add a require statement to the Ballot contract 2022-04-30 12:51:59 +02:00
aathan
43ff61f185
Update functions.rst 2022-04-15 12:24:48 -07:00
Kamil Śliwak
e684b36b25
Merge pull request #12908 from tharun634/move-docs
Moved `docs.sh` script to `docs/`
2022-04-11 13:51:05 +02:00
sourabh.xyz
9867fbcfb0
Update inheritance.rst
Fixed typo 'owned' → 'Owned'.
2022-04-09 13:17:07 +05:30
Kamil Śliwak
23e77e9a84 docs.sh: Fail on all errors, includding undefined variables and failures in piped commands 2022-04-08 20:41:31 +02:00
Kamil Śliwak
efd0024853 docs.sh: Make the script independent of the working directory 2022-04-08 20:41:31 +02:00
Tharun K
a608bc12f7 Moved docs.sh script to docs/ 2022-04-08 20:41:22 +02:00
chriseth
22d8c0aecd Some updates to gas and delegatecall. 2022-04-07 21:34:36 +02:00
Kamil Śliwak
e340cf6ca2
Merge pull request #12876 from aathan/why-is-this-inline-assembly-not-memory-safe
[Docs] clarify the reason for the memory-unsafe assembly example being unsafe
2022-04-07 18:41:41 +02:00
aathan
9e2b26e046 Clarify the reason for the memory-unsafe assembly example being unsafe 2022-04-07 18:03:02 +02:00
Kamil Śliwak
0dd7f9c871
Merge pull request #12901 from aathan/clarify-base-contract-constructors
Clarify base contract constructors (re request of PR #12872)
2022-04-07 13:33:05 +02:00
andreb0x
60416120af Update introduction-to-smart-contracts.rst
modifying "write" to "transactions"
2022-04-07 10:05:46 +05:30
andreb0x
39f3175a37 updates to gas section
small modifications for clarity

updates to delegatecall

Update introduction-to-smart-contracts.rst

modifying "write" to "transactions"

updates to gas section

small modifications for clarity

Update introduction-to-smart-contracts.rst

modifying "write" to "transactions"

updates to gas section

small modifications for clarity

updates to delegatecall
2022-04-07 10:05:46 +05:30
aathan
fd0df0b05d
Update inheritance.rst 2022-04-05 12:19:59 -07:00
aathan
6f4844648f abstract-contracts.rst: Clarify when a contract may or must be marked abstract 2022-04-04 14:21:49 +02:00
aathan
54fa215885
Update mapping-types.rst
typo
2022-03-23 17:15:17 -07:00
aathan
07c9384b44
Update value-types.rst 2022-03-22 23:06:23 -07:00
Hector Roussille
040c444a2a Fixed ambiguity in the create2 address computation doc
specify that arguments are encoded using abi.encode in the example code
2022-03-16 19:56:11 +01:00
chriseth
1be21e2670 Move state variable initialization to top. 2022-03-16 12:23:23 +01:00
chriseth
acd488532d Set release date. 2022-03-16 10:28:40 +01:00
chriseth
0bc29f2cb5 Using for at file level. 2022-03-15 12:07:28 +01:00
chriseth
c6ac1625bd
Merge pull request #12773 from ethereum/encodeCallBug
Fix encodeCall bug.
2022-03-15 10:52:13 +01:00
Daniel Kirchner
8cb01a9953 Fix and updated test. 2022-03-15 10:23:09 +01:00
Daniel Kirchner
353759c1d4
Merge pull request #12680 from devtooligan/fix/underscore-prefix
fix: corrects _ prefixes
2022-03-14 22:58:42 +01:00
chriseth
9188519f11 Using for with global binding. 2022-03-14 17:39:14 +01:00
Richie
beb51068bb
fix: corrects _ prefixes 2022-03-14 08:03:10 -07:00
Daniel Kirchner
e58c0b561d Mark viaIR code generation as non-experimental. 2022-03-14 14:48:00 +01:00
hrkrshnn
672951ccc7 Extend using-for. 2022-03-14 12:33:44 +01:00
nishant-sachdeva
b7a9daa2f8 Generate warning when rational numbers are converted to their mobile type without explicit requests 2022-03-14 14:04:46 +05:30
chriseth
356c83ad8e
Merge pull request #12763 from kanedaaaa/develop
doc: improve explanation of interfaces
2022-03-10 08:45:21 +01:00
kanedaaaa
1b93db7863 doc: improve explanation of interfaces 2022-03-09 18:35:14 +01:00
Daniel Kirchner
b57e856426 Adjust documentation. 2022-03-09 17:53:28 +01:00
chriseth
145186f68c
Merge pull request #12723 from ethereum/docs-translation-updates
[DOCS] Updated translation links / rewording of language influences
2022-03-07 18:09:29 +01:00
franzihei
4d9a078798 updates index with language links 2022-03-07 13:05:00 +01:00
chriseth
57e012da98
Merge pull request #12663 from ethereum/assemblyAnnotationDialectString
Assembly annotation as memory-safe using assembly flags.
2022-03-07 13:03:08 +01:00
chriseth
4f19d68ee9
Merge pull request #12620 from ethereum/assemblyAnnotation
Memory-safety annotation for inline assembly.
2022-03-07 12:48:41 +01:00
Leo
7c91dd05a7
Merge pull request #12741 from david-k/develop
[Doc] Fix leftover use of divModWithSlacks
2022-03-07 10:12:47 +01:00
Daniel Kirchner
198b705361
Merge pull request #12721 from ethereum/fixIterableMapping
Fix iterable mapping example.
2022-03-04 15:27:56 +01:00
david-k
cb4ffbfbb7
Fix leftover use of divModWithSlacks in doc
The option `divModWithSlacks` was previously changed to `divModNoSlacks`.
However, this was not reflected in the documentation.
2022-03-04 11:02:54 +01:00
Daniel Kirchner
46d8611e90 Adjust grammar. 2022-03-02 17:07:11 +01:00
Daniel Kirchner
0381de54c2 Update docs. 2022-03-02 17:07:11 +01:00
Daniel Kirchner
62a997ac97 Documentation. 2022-03-02 16:42:28 +01:00
chriseth
466251b5a0
Merge pull request #12689 from callezenwaka/develop
Fix typos on doc
2022-02-28 19:04:03 +01:00
Callis Ezenwaka
5134dafb8e Update typo in using-for.rst
Update typo in using-for.rst
2022-02-28 19:03:13 +01:00
chriseth
fb7cdda891 Fix iterable mapping example. 2022-02-28 17:57:19 +01:00
chriseth
5a94a7c9be
Merge pull request #12698 from Abdulkarim4u/develop
fixed grammar on doc.
2022-02-28 12:40:01 +01:00
Richie
49f06dacdf fix: remove lower_case_with_underscores and Capitalized_Words_With_Underscores from code examples 2022-02-21 10:53:35 -08:00
Abdul Karim Moro
2834003848
fixed grammar on doc.
If readers can gain additional pieces of  information on smart contracts, then  "more details" should be correct.
2022-02-19 08:31:26 +09:00
Wes Bouaziz
e9cc45b258
Fixing a typo in doc's EVM dialect in Yul's doc.
It's the tiniest typo but it's visible on the website.
2022-02-17 10:57:28 +01:00