Skip to content

Commit da47ce7

Browse files
committed
add point evaluation and additional opcode
1 parent 72ec8dc commit da47ce7

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

src/content/docs/en/developers/ethereum-and-scroll-differences.mdx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,15 +30,15 @@ For open-source contributors and infrastructure builders, please contact our tea
3030
| `SELFDESTRUCT` | `selfdestruct` | Disabled. If the opcode is encountered, the transaction will be reverted.[^willadpot] |
3131

3232
<Aside type="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`.
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`.
3434
</Aside>
3535

3636
[^eip1559]: We have currently disabled EIP-1559 on Scroll.
3737
[^willadpot]: Will change to adopt Ethereum’s solution in the future.
3838

3939
## EVM Precompiles
4040

41-
The `SHA2-256` (address `0x2`), `RIPEMD-160` (address `0x3`), and `blake2f` (address `0x9`) precompiles are currently not supported. Calls to these precompiled contracts will revert. We plan to enable these three precompiles in a future hard fork.
41+
The `SHA2-256` (address `0x2`), `RIPEMD-160` (address `0x3`), `blake2f` (address `0x9`), and `point evaluation` (address `0x0a`) precompiles are currently not supported. Calls to these precompiled contracts will revert. We plan to enable these three precompiles in a future hard fork.
4242

4343
The `modexp` precompile is supported but only supports inputs of size less than or equal to 32 bytes (i.e. `u256`).
4444

@@ -58,6 +58,7 @@ Because of a bounded size of the zkEVM circuits, there is an upper limit on the
5858
| `ecAdd` | 50 |
5959
| `ecMul` | 50 |
6060
| `ecPairing` | 2 |
61+
{/* TODO: Add SHA256 after upgrade */}
6162

6263

6364
## State Account

src/content/docs/en/technology/chain/differences.mdx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ import Aside from "../../../../components/Aside.astro"
2828
| `0x05` | `modexp` | Restrict the input values `B, E, M` to unsigned integers less than $2^{256}$. |
2929
| `0x08` | `ecPairing` | The inputs are still multiple of 6 32-byte values, but limit the number of tuples to at most 4. |
3030
| `0x09` | `blake2f` | Currently not supported. |
31+
| `0x0a` | `point evaluation` | Currently not supported. |
3132

3233
The remaining precompiled contracts have the same behavior as Ethereum. However, their maximum usage within a block is constrained by a limit tied to the zkEVM circuit capacity.
3334

@@ -49,5 +50,5 @@ EIPs imported from the Shanghai fork:
4950

5051

5152
<Aside type="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.
53+
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.
5354
</Aside>

0 commit comments

Comments
 (0)