mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Change default EVM version to Shanghai.
Co-authored-by: Rodrigo Q. Saramago <rodrigoqsaramago@gmail.com>
This commit is contained in:
co-authored by
Rodrigo Q. Saramago
parent
34b13c1f89
commit
44da8507b1
@@ -172,10 +172,10 @@ at each version. Backward compatibility is not guaranteed between each version.
|
||||
the optimizer.
|
||||
- ``london``
|
||||
- The block's base fee (`EIP-3198 <https://eips.ethereum.org/EIPS/eip-3198>`_ and `EIP-1559 <https://eips.ethereum.org/EIPS/eip-1559>`_) can be accessed via the global ``block.basefee`` or ``basefee()`` in inline assembly.
|
||||
- ``paris`` (**default**)
|
||||
- ``paris``
|
||||
- Introduces ``prevrandao()`` and ``block.prevrandao``, and changes the semantics of the now deprecated ``block.difficulty``, disallowing ``difficulty()`` in inline assembly (see `EIP-4399 <https://eips.ethereum.org/EIPS/eip-4399>`_).
|
||||
- ``shanghai``
|
||||
- Cheaper deployment cost due to the introduction of ``push0`` (see `EIP-3855 <https://eips.ethereum.org/EIPS/eip-3855>`_).
|
||||
- ``shanghai`` (**default**)
|
||||
- Smaller code size and gas savings due to the introduction of ``push0`` (see `EIP-3855 <https://eips.ethereum.org/EIPS/eip-3855>`_).
|
||||
|
||||
.. index:: ! standard JSON, ! --standard-json
|
||||
.. _compiler-api:
|
||||
|
||||
Reference in New Issue
Block a user