You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`BASEFEE`|`block.basefee`| Disabled.[^eip1559] If the opcode is encountered, the transaction will be reverted. |
30
29
|`SELFDESTRUCT`|`selfdestruct`| Disabled. If the opcode is encountered, the transaction will be reverted.[^willadpot]|
31
30
32
31
<Asidetype="caution"title="">
33
-
Opcodes from the Cancun upgrade are not yet available on Scroll, including `MCOPY`, `TSTORE`, `TLOAD`, `BLOBHASH` and `BLOBBASEFEE`. Additionally, [EIP-4788](https://eips.ethereum.org/EIPS/eip-4788) for accessing the Beacon Chain block root is not supported. We recommend using `shanghai` as your EVM target and avoiding using a Solidity version higher than `0.8.23`.
32
+
Opcodes related to EIP-4844, like `BLOBHASH` and `BLOBBASEFEE`, are not yet available on Scroll. Additionally, [EIP-4788](https://eips.ethereum.org/EIPS/eip-4788) for accessing the Beacon Chain block root is not supported.
34
33
</Aside>
35
34
36
-
[^eip1559]: We have currently disabled EIP-1559 on Scroll.
35
+
We support the `cancun` EVM target and the latest Solidity version `0.8.26`.
36
+
37
37
[^willadpot]: Will change to adopt Ethereum’s solution in the future.
38
38
39
39
## EVM Precompiles
@@ -91,12 +91,7 @@ When verifying `EXTCODESIZE`, it is expensive to load the whole contract data in
91
91
92
92
## Block Time
93
93
94
-
Scroll aims for a constant block time of 3 seconds. This is shorter and more consistent than the 12 seconds used in the Ethereum under ideal conditions.
95
-
96
-
This was chosen for two reasons:
97
-
98
-
- Having faster, constant block time results in quicker feedback and a better user experience.
99
-
- As we optimize the zkEVM circuits in our testnets, even if we maintain a smaller gas limit per block or batch, we can still reach higher throughput than Ethereum.
94
+
To improve the throughput of the Scroll chain, we introduced a dynamic block time in our [Curie upgrade](/technology/overview/scroll-upgrades#curie-upgrade). During the congestion period, a block will be sealed once the transactions in the block reach the circuit limit instead of waiting for the 3-second interval. During normal hours, blocks will still be sealed at 3-second interval to ensure a consistent user experience.
Copy file name to clipboardExpand all lines: src/content/docs/en/technology/chain/differences.mdx
+5-17Lines changed: 5 additions & 17 deletions
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,6 @@ import Aside from "../../../../../components/Aside.astro"
16
16
|`BLOCKHASH`| Returns `keccak(chain_id \|\| block_number)` for the last 256 blocks. |
17
17
|`COINBASE`| Returns the fee vault address (predeployed contract `0x5300000000000000000000000000000000000005`). |
18
18
|`DIFFICULTY` / `PREVRANDAO`| Always return 0. |
19
-
|`BASEFEE`| Disabled because currently we disabled EIP-1559. If the opcode is encountered, the transaction will be reverted. |
20
19
|`SELFDESTRUCT`| Disabled. If the opcode is encountered, the transaction will be reverted. |
21
20
22
21
## Precompiled Contracts
@@ -33,21 +32,10 @@ The remaining precompiled contracts have the same behavior as Ethereum. However,
33
32
34
33
## EIPs
35
34
36
-
Our sequencer was developed based on the London fork initially. We disabled some EIPs in the London fork and introduced a few EIPs from the Shanghai fork to improve the compatibility.
35
+
Our sequencer was developed based on the London fork initially. Since then we have adopted most features from London, Shanghai, and Cancun.
37
36
38
-
Disabled EIPs until the London fork:
37
+
Our EIP-1559 fee market behaves differently: the sequencer sets the L2 base fee (based on the L1 base fee), and we don't burn ETH.
39
38
40
-
-[EIP-1559](https://eips.ethereum.org/EIPS/eip-1559): Fee market change and EIP-1559 transaction type
-[EIP-3860](https://eips.ethereum.org/EIPS/eip-3860): Limit and meter initcode
49
-
50
-
51
-
<Asidetype="tip"title="">
52
-
Opcodes from the Cancun upgrade are not yet available on Scroll, including `MCOPY`, `TSTORE`, `TLOAD`, `BLOBHASH` and `BLOBBASEFEE`. Additionally, [EIP-4788](https://eips.ethereum.org/EIPS/eip-4788) for accessing the Beacon Chain block root is not supported.
53
-
</Aside>
39
+
<Asidetype="caution"title="">
40
+
Opcodes related to EIP-4844, like `BLOBHASH` and `BLOBBASEFEE`, are not yet available on Scroll. Additionally, [EIP-4788](https://eips.ethereum.org/EIPS/eip-4788) for accessing the Beacon Chain block root is not supported.
0 commit comments