Commit Graph

139 Commits

Author SHA1 Message Date
Ojas Aklecha
345d0bcf13 Cheatsheet segregated based on type 2023-04-17 12:51:27 +02:00
Nikola Matic
83a937423f Update docs to reflect deprecation warning 2023-01-26 13:42:26 +01:00
Rodrigo Q. Saramago
ef6ff2f055
Adds support for the EVM version "Paris".
Deprecates `block.difficulty` and disallow `difficulty()` in inline assembly for EVM versions >= paris.
The change is due to the renaming introduced by EIP-4399 (see: https://eips.ethereum.org/EIPS/eip-4399).
Introduces `block.prevrandao` in Solidity and `prevrandao()` in inline assembly for EVM versions >= paris.

Co-authored-by: Alex Beregszaszi <alex@rtfs.hu>
Co-authored-by: Daniel <daniel@ekpyron.org>
Co-authored-by: matheusaaguiar <95899911+matheusaaguiar@users.noreply.github.com>
Co-authored-by: Nikola Matić <nikola.matic@ethereum.org>
2023-01-23 18:50:36 +00:00
Rafal Stozek
a4ed92b546 Update misleading information about OpenZeppelin's ECDSA library 2022-10-07 12:23:18 +02:00
victorknox
7445a4803f Moved Keywords section from 'Cheatsheet' to 'Units and Globally Available Variables' 2022-06-24 10:23:31 +05:30
nishant-sachdeva
276851ff91 Added support for FunctionType::Kind::StringConcat and functions string.concat 2022-02-10 22:08:47 +05:30
Marenz
7a96953e78 Implement typechecked abi.encodeCall() 2021-12-16 17:35:58 +01:00
minami
907405e2e0 Fix units-and-global-variables 2021-12-05 16:57:59 +09:00
Mikko Ohtamaa
025bbbad82 Clarify block.* and tx.* values in off-chain calls
Looks like this may vary between different EVM implementations and confuses users.
2021-10-15 19:15:12 +02:00
hrkrshnn
cb9b52c242 Docs for block.basefee and basefee() in Yul. 2021-08-11 09:27:36 +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
ce79e2515b docs: Fix badly indented lists 2021-07-15 10:13:30 +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
William Entriken
c70bc0c246
Specify how blockhash will act for invalid inputs, fixes #11364 2021-05-10 16:26:08 -04:00
Kamil Śliwak
879f1b3e26 docs: Mention that low-level calls do not have an extcodesize check 2021-03-30 18:10:00 +02:00
Djordje Mijovic
fd0762b5ef Documenting bytes.concat.
Co-authored-by: chriseth <chris@ethereum.org>
2021-03-24 11:49:21 +01:00
Harry Altman
bfe80dec6b Mark msg.sender and tx.origin as nonpayable in docs 2020-12-17 22:04:04 -05:00
Alex Beregszaszi
7b347b9ec2 Introduce address(...).code 2020-12-11 03:00:30 +00:00
Alex Beregszaszi
7cd05bf603 Introduce block.chainid 2020-12-10 17:07:54 +00:00
Alex Beregszaszi
ad6739d0f6 Support address().codehash 2020-12-09 14:58:27 +00:00
chriseth
70e7326695 Document Panic. 2020-10-22 19:26:26 +02:00
Kamil Śliwak
26ccb98222 docs: Update old external links to use HTTPS where possible 2020-08-31 12:46:45 +02:00
Kamil Śliwak
57a22a27a4 docs: Don't use link shortening 2020-08-31 12:46:45 +02:00
Kamil Śliwak
9325c4ee99 docs: Update broken external links to point at new locations 2020-08-31 12:46:45 +02:00
Kamil Śliwak
192954e8fa docs: Fix broken internal links using wrong syntax
- These links were using external link syntax instead of `:ref:`. What's
  worse, Sphinx can't detect when they're broken.
- Added missing anchors in some cases.
2020-08-31 12:46:45 +02:00
Daniel Kirchner
38c6ecbbe2 Remove finney and szabo denominations. 2020-07-13 18:07:10 +02:00
chriseth
3e3f9a472f Merge remote-tracking branch 'origin/develop' into breaking 2020-06-30 18:56:51 +02:00
Mathias Baumann
02328f3bbb Add unit denomination `gwei` 2020-06-24 18:24:56 +02:00
Djordje Mijovic
bd64b971b9 Fixing tests on breaking branch. 2020-05-19 17:42:19 +02:00
chriseth
0be56a0abf Merge remote-tracking branch 'origin/develop' into breaking 2020-05-12 17:48:53 +02:00
Harikrishnan Mulackal
c0c5127ed0 Changed a potentially misleading name 2020-05-11 19:05:41 +05:30
Harikrishnan Mulackal
091abcea8c Updated docs for type(X).min and type(X).max 2020-05-11 16:19:55 +05:30
Harikrishnan Mulackal
92cf61d4f9 fixed compilation tests and upgraded ext. tests branch 2020-05-05 21:11:15 +05:30
Harikrishnan Mulackal
a207613f17 Docs, changelog and tests 2020-05-05 21:11:15 +05:30
chriseth
a371910674
Merge pull request #8642 from ethereum/interfaceid
Add support for interfaceId.
2020-04-23 12:24:49 +02:00
iamdefinitelyahuman
d59706e5f5 docs: fix formatting errors and style inconsistencies 2020-04-20 20:24:31 +04:00
Alexander Arlt
3754a86ab2 Add support for interfaceID. 2020-04-16 12:17:40 -05:00
chriseth
f7d6c7e332 [DOC] Some more explanation for selfdestruct. 2019-11-26 16:05:43 +01:00
Chris Chinchilla
622adf55c2 Fix missplaced warnings 2019-06-19 11:03:10 +02: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
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 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
14872b598d
Update units-and-global-variables.rst 2019-04-18 12:30:56 +02:00
Chris Ward
4a6d6cb14f Tidy formatting 2019-04-08 11:46:32 +02:00
Chris Ward
26d6305a43 Combine warnings 2019-04-05 14:43:57 +02:00
Chris Ward
f8b126e153 Explain high s value 2019-04-03 12:22:03 +02:00
Chris Ward
f11f6ab9d9 Add mention of high s
Mention OpenZeppelin library

Change wording
2019-03-08 15:11:27 +01:00
Alex Beregszaszi
efe63d4264 Add type(C).name to the documentation 2019-03-04 12:59:14 +01:00
Chris Ward
7d7237e935 Start draft update to ecrecover
First draft of ecrecover clarifications

Further clarify

Correct byte error

Correct resurfaced typo

Small changes from further review
2019-02-25 11:59:52 +01:00