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
Features from the Dencun upgrade are not yet available on Scroll. Please use `shanghai` as your EVM target and avoid using a Solidity version higher than `0.8.23`.
88
+
</Aside>
89
+
86
90
### Hardhat
87
91
88
92
Modify your Hardhat config file `hardhat.config.ts` to point at the Scroll Sepolia Testnet public RPC.
|`BLOCKHASH`|`block.blockhash`| Returns `keccak(chain_id \|\| block_number)` for the last 256 blocks. |
@@ -28,6 +29,10 @@ For open-source contributors and infrastructure builders, please contact our tea
28
29
|`BASEFEE`|`block.basefee`| Disabled.[^eip1559] If the opcode is encountered, the transaction will be reverted. |
29
30
|`SELFDESTRUCT`|`selfdestruct`| Disabled. If the opcode is encountered, the transaction will be reverted.[^willadpot]|
30
31
32
+
<Asidetype="caution"title="">
33
+
Opcodes from the Cancun upgrade are not yet available on Scroll, including `MCOPY`, `TSTORE`, `TLOAD`, 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`.
34
+
</Aside>
35
+
31
36
[^eip1559]: We have currently disabled EIP-1559 on Scroll.
32
37
[^willadpot]: Will change to adopt Ethereum’s solution in the future.
33
38
@@ -41,6 +46,20 @@ The `ecPairing` precompile is supported, but the number of points(sets, pairs) i
41
46
42
47
The other EVM precompiles are all supported: `ecRecover`, `identity`, `ecAdd`, `ecMul`.
43
48
49
+
### Precompile Limits
50
+
51
+
Because of a bounded size of the zkEVM circuits, there is an upper limit on the number of calls that can be made for some precompiles. These transactions will not revert, but simply be skipped by the sequencer if they cannot fit into the space of the circuit. Read more about the [Circuit Capacity Checker](/en/technology/sequencer/execution-node#circuit-capacity-checker).
-[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`, and `BLOBBASEFEE`. Additionally, [EIP-4788](https://eips.ethereum.org/EIPS/eip-4788) for accessing the Beacon Chain block root is not supported.
0 commit comments