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
Minebuu
41b3f0521b
Fixed typo in abi.encodeWithSignature description
...
In the description of abi.encodeWithSignature, a right parenthesis is missing in the function argument of abi.encodeWithSelector.
2022-12-07 14:18:04 +09:00
victorknox
7445a4803f
Moved Keywords section from 'Cheatsheet' to 'Units and Globally Available Variables'
2022-06-24 10:23:31 +05:30
Kamil Śliwak
1ab84bb361
Put the table with operator precedence in a separate file, included in both Operators and Cheatsheet
2022-06-14 14:41:41 +02:00
shady41
ecb7c0b008
Moved operator precedence from the cheatsheet to the operator docs
2022-05-25 23:07:51 +02:00
Samuel Osewa
2dee5dcfae
Removed notes section
2022-05-20 15:41:35 +02:00
nishant-sachdeva
276851ff91
Added support for FunctionType::Kind::StringConcat and functions string.concat
2022-02-10 22:08:47 +05:30
Hakeem Almidan
c3145979fc
Update cheatsheet.rst
...
Add more description to the bullet point of 'block.timestamp' (under 'Global Variables')
2022-02-06 20:16:04 +03:00
Markus Waas
8bfc9ad829
Add msg.sig to cheatsheet
2022-01-24 10:21:01 +01:00
Marenz
7a96953e78
Implement typechecked abi.encodeCall()
2021-12-16 17:35:58 +01:00
minami
25a26d2f8b
Fix cheatsheet
2021-12-05 16:57:48 +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
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
qedk
3ea2854e97
Update list of reserved keywords in cheatsheet
...
- `unchecked` (added)
+ `var` (removed)
+ `byte` (removed)
2021-07-26 23:48:33 +05:30
qedk
6e18c6e7cd
Remove keyword already in use from cheatsheet
2021-07-25 20:23:29 +05:30
Kamil Śliwak
f3a5c27852
docs: Replace a few remaining ::
blocks with .. code-block::
2021-07-15 10:14:00 +02:00
Djordje Mijovic
fd0762b5ef
Documenting bytes.concat.
...
Co-authored-by: chriseth <chris@ethereum.org>
2021-03-24 11:49:21 +01:00
hrkrshnn
9bd778d728
Make msg.sender and tx.origin have type address
...
Previously both of them had type address payable. The idea is that anything that is not know to be
payable should be non-payable.
2020-12-14 16:55:48 +01: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
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
a207613f17
Docs, changelog and tests
2020-05-05 21:11:15 +05:30
Alexander Arlt
55eda85a30
docs/cheatsheet.rst: Add `type(I).interfaceId
` description.
2020-04-24 08:09:45 -05:00
chriseth
d429d20b0b
Restructure documentation and improve TOC.
2020-04-23 19:05:42 +02:00