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
Copy file name to clipboardExpand all lines: src/content/docs/en/developers/ethereum-and-scroll-differences.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -33,7 +33,7 @@ For open-source contributors and infrastructure builders, please contact our tea
33
33
34
34
## EVM Precompiles
35
35
36
-
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.
36
+
The `RIPEMD-160` (address `0x3`) and `blake2f` (address `0x9`) precompiles are currently not supported. The `SHA2-256` (address `0x2`) is currently supported on Scroll Sepolia, but will soon be supported on Scroll Mainnet. Calls to unsupported precompiled contracts will revert. We plan to enable these precompiles in future hard forks.
37
37
38
38
The `modexp` precompile is supported but only supports inputs of size less than or equal to 32 bytes (i.e. `u256`).
Copy file name to clipboardExpand all lines: src/content/docs/en/developers/guides/running-a-scroll-node.mdx
+4-3Lines changed: 4 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,9 +16,9 @@ For most developers, using [our official RPC endpoint](../developer-quickstart#n
16
16
17
17
### Finding the latest version
18
18
19
-
We recommend using the latest release at https://github.com/scroll-tech/go-ethereum/releases. For Scroll Mainnet, the required version is `scroll-v5.0.0` or higher. If you'd like to keep up with new node releases, go to https://github.com/scroll-tech/go-ethereum, click on **Watch**, **Custom**, and make sure that **Releases** is selected.
20
-
21
-
For the remainder of this guide, `VERSION` will denote the version tag. For example, `scroll-v5.1.10`.
19
+
We recommend using the latest release at https://github.com/scroll-tech/go-ethereum/releases. The required version is `scroll-v5.2.0` or higher. If you'd like to keep up with new node releases, go to https://github.com/scroll-tech/go-ethereum, click on **Watch**, **Custom**, and make sure that **Releases** is selected.
20
+
{/* TODO: update min required version for mainnet after Bernoulli upgrade, also update mainnet genesis info */}
21
+
For the remainder of this guide, `VERSION` will denote the version tag. For example, `scroll-v5.2.0`.
|`numBlocks`| 1 |`uint8`| 0 | The number of blocks in the chunk |
139
-
|`block[0]`| 60 |`BlockContext`| 1 | The block information of the 1st block |
140
-
| ... | ... | ... | ... | ... |
141
-
|`block[i]`| 60 |`BlockContext`|`60*i+1`| The block information of `i+1`-th block |
142
-
| ... | ... | ... | ... | ... |
143
-
|`block[n-1]`| 60 |`BlockContext`|`60*n-59`| The block information of the last block |
144
-
|`l2Transactions`| dynamic |`bytes`|`60*n+1`| The concatenated RLP encoding of L2 transactions with signatures. The byte length (`uint32`) of RLP encoding is inserted before each transaction. |
|`numBlocks`| 1 |`uint8`| 0 | The number of blocks in the chunk |
142
+
|`block[0]`| 60 |`BlockContext`| 1 | The block information of the 1st block |
143
+
| ... | ... | ... | ... | ... |
144
+
|`block[i]`| 60 |`BlockContext`|`60*i+1`| The block information of `i+1`-th block |
145
+
| ... | ... | ... | ... | ... |
146
+
| `block[n-1]` | 60 | `BlockContext` | `60*n-59` | The block information of the last block
147
+
| `l2Transactions` | dynamic | `bytes` | `60*n+1` | The concatenated RLP encoding of L2 transactions with signatures. The byte length (`uint32`) of RLP encoding is inserted before each transaction. | |
You can join our [Telegram channel for technical updates](https://t.me/scroll_tech_updates), which includes future upgrade announcements and on-chain operation events.
21
+
22
+
## Bernoulli Upgrade
23
+
24
+
### Overview
25
+
26
+
This upgrade features a significant reduction in transaction costs by introducing support for EIP-4844 data blobs and supporting the SHA2-256 precompile.
27
+
28
+
### Timeline
29
+
30
+
-**Scroll Sepolia**
31
+
- Network Upgrade: April 15th, 2024
32
+
-**Scroll Mainnet**
33
+
- TBD
34
+
35
+
### Technical Details
36
+
37
+
#### Contract changes
38
+
39
+
The contract changes for this upgrade are in [this PR](https://github.com/scroll-tech/scroll/pull/1179).
40
+
41
+
{/* As well as the audit fixes listed here [TODO] */}
42
+
43
+
#### Node changes
44
+
45
+
The new node version is v5.2.0. See [here](https://github.com/scroll-tech/go-ethereum/releases/tag/scroll-v5.2.0) for the changelog.
46
+
47
+
{/* #### Prover changes
48
+
49
+
[TODO]
50
+
51
+
#### Audits
52
+
53
+
- OpenZeppelin [TODO]
54
+
- TrailofBits [TODO] */}
55
+
56
+
### Compatibility
57
+
58
+
#### Sequencer and follower nodes (l2geth)
59
+
60
+
This upgrade is a hard fork as it introduces the new blob data type and the SHA2-256 precompiled contract. Operators running an `l2geth` node are required to upgrade before the hard fork block. See the [node releases](https://github.com/scroll-tech/go-ethereum/releases) for more information.
61
+
62
+
#### Indexers and Bridges
63
+
64
+
This upgrade changes the format that Scroll uses to publish data to Ethereum. Projects that rely on this data should carefully review [the new data format](https://docs.scroll.io/en/technology/chain/rollup/#codec), and check whether their decoders need to be adjusted. A summary of the new format:
65
+
66
+
- The format of [`BlockContext`](https://github.com/scroll-tech/scroll/blob/5362e28f744093495c1c09a6b68fc96a3264278b/common/types/encoding/codecv1/codecv1.go#L125) will not change.
67
+
-`Chunks` will [no longer include](https://github.com/scroll-tech/scroll/blob/5362e28f744093495c1c09a6b68fc96a3264278b/common/types/encoding/codecv1/codecv1.go#L162) the L2 transaction data. This will instead be [stored in a blob](https://github.com/scroll-tech/scroll/blob/5362e28f744093495c1c09a6b68fc96a3264278b/common/types/encoding/codecv1/codecv1.go#L284) attached to the `commitBatch` transaction.
68
+
-`BatchHeader` now contains one new field, [`BlobVersionedHash`](https://github.com/scroll-tech/scroll/blob/5362e28f744093495c1c09a6b68fc96a3264278b/common/types/encoding/codecv1/codecv1.go#L405).
69
+
70
+
#### Provers
71
+
72
+
This upgrade involves a breaking change in [zkevm-circuits](https://github.com/scroll-tech/zkevm-circuits). Operators running a prover node are required to upgrade.
0 commit comments