Skip to content

Commit 1c07f98

Browse files
authored
Merge branch 'scroll-tech:develop' into feat/feedback-form-translation
2 parents 091f5d5 + 33d50db commit 1c07f98

File tree

7 files changed

+22677
-1
lines changed

7 files changed

+22677
-1
lines changed

package-lock.json

+22,587
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

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

+4
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,10 @@ Similarly to Ethereum, the Scroll sequencer aims to prioritize executable transa
9999

100100
However, just like in Ethereum, this ordering is not guaranteed by the protocol, and some blocks might diverge from it. In particular, during periods of low mempool congestion, the sequencer will process transactions on a first-come-first-served basis, so some transactions might precede others with higher tip in the same block.
101101

102+
## Reorgs and Finality
103+
104+
Starting from our [DarwinV2 upgrade](/technology/overview/scroll-upgrades#darwinv2-upgrade), the maximum reorg depth has been set to 17 blocks. Transaction ordering should be unchanged after this threshold, however the only absolute guarantee is for transactions to be finalized (proof submitted to L1).
105+
102106
## Future EIPs
103107

104108
We keep a close eye on all emerging EIPs adopted by Ethereum and adopt them when suitable. If you’re interested in more specifics, reach out in [our community forum](https://community.scroll.io) or on the [Scroll Discord](https://discord.gg/scroll).

src/content/docs/en/developers/guides/running-a-scroll-node.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ For most developers, using [our official RPC endpoint](/en/developers/developer-
1818

1919
We recommend using the latest release at https://github.com/scroll-tech/go-ethereum/releases. The required version for Scroll Mainnet is `scroll-v5.5.0` or higher, and for Scroll Sepolia it is `scroll-v5.4.2` 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.
2020

21-
For the remainder of this guide, `VERSION` will denote the version tag. For example, `scroll-v5.6.0`.
21+
For the remainder of this guide, `VERSION` will denote the version tag. For example, `scroll-v5.7.0`.
2222

2323
### Hardware Requirements
2424

src/content/docs/en/technology/overview/scroll-upgrades.mdx

+29
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,35 @@ The following contracts are used to initiate upgrades and execute upgrades after
1919

2020
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.
2121

22+
## DarwinV2 Upgrade
23+
24+
### Overview
25+
26+
During internal testing, we identified that blocks may not always be compressible under certain conditions, which leads to unprovable chunks and batches.
27+
To fix this issue, a minor upgrade has been conducted so that uncompressed blobs will be enabled when this special case is detected.
28+
29+
### Timeline
30+
31+
As this is a security related patch, we bypassed the 7-day timelock mechanism.
32+
33+
- **Scroll Sepolia**: August 28th, 2024
34+
- **Scroll Mainnet**: September 2nd, 2024
35+
36+
### Compatibility
37+
38+
#### Sequencer and Follower Nodes (l2geth)
39+
40+
The new node version is `v5.7.0`. See the [release notes](https://github.com/scroll-tech/go-ethereum/releases/tag/scroll-v5.7.0) for more information.
41+
42+
This upgrade does not change Scroll's state transition function, so it is backward compatible. However, the format of the batch data committed to Ethereum changes. As a result, nodes that enabled rollup verification (`--rollup.verify`) must upgrade to be able to follow the chain.
43+
44+
#### Dapps and Indexers
45+
46+
A change has been implemented to Scroll Mainnet to enhance sequencer throughput, which adjusted the maximum reorg depth to 17 blocks. Previously, the system performed thorough capacity checks within the signer thread to determine whether transactions exceed the circuit limit. While this ensures that all transactions within a block are compliant, it also requires additional CPU resources.
47+
We introduced a new circuit capacity checking scheme on Mainnet. The sequencer thread now will continue to perform capacity checks, but in a more approximate manner. In parallel, 16 worker threads will accurately verify the capacity of previous blocks. As a result, a reorg could occur with a maximum depth of 17 blocks, although the likelihood of this is low.
48+
49+
For indexers, the `BatchHeader` version has been upgraded to 4. This is backward compatible (the only exception is for developers decoding the blob payload, which has changed slightly).
50+
2251
## Darwin Upgrade
2352

2453
### Overview

src/content/tools/en/0x.mdx

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
---
2+
name: "0x"
3+
category: ["Defi"]
4+
excerpt: "Embed swaps in your on-chain app."
5+
logo:
6+
{
7+
src: "https://cdn.prod.website-files.com/66967cfef0a246cbbb9aee94/66967cfef0a246cbbb9af016_0x-logo-light.svg",
8+
alt: "0x Logo",
9+
}
10+
website: "https://0x.org/"
11+
network: ["Mainnet"]
12+
noAdditionalInfo: false
13+
---
14+
15+
0x is your all-in-one solution for building financial products on crypto rails. We offer a suite of APIs to help developers build faster, get the best prices, and deliver a great user experience. With over 71 million transactions and $148B+ in volume from 8 million+ users, our APIs power top apps like Coinbase Wallet, Robinhood Wallet, Matcha, Metamask, Zerion, and Zapper.
16+
17+
0x provides the [Swap API](https://0x.org/docs/0x-swap-api/introduction) and [Gasless API](https://0x.org/docs/gasless-api/introduction).
18+
19+
Get started building with [0x Swap API on Scroll](https://www.levelup.xyz/content/0x-on-scroll). For Scroll, use `534352` as the `chainId`.
20+
21+
See the [0x cheat sheet](https://0x.org/docs/introduction/0x-cheat-sheet) for additional information on how to make a 0x API request.

src/content/tools/en/alchemy.mdx

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
name: "Alchemy"
3+
category: ["Data", "Infra"]
4+
excerpt: "The web3 developer platform that provides a suite of tools for building and managing blockchain applications."
5+
logo: { src: "https://static.alchemyapi.io/docs-homepage-assets/images/chains/alchemy.svg", alt: "Alchemy Logo" }
6+
website: "https://www.alchemy.com/"
7+
network: ["Mainnet", "Testnet"]
8+
---
9+
10+
Get started building on Scroll with Alchemy at [docs.alchemy.com/reference/scroll-api-quickstart](https://docs.alchemy.com/reference/scroll-chain-api-quickstart).

src/content/tools/en/thegraph.mdx

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
---
2+
name: "The Graph"
3+
category: ["Debug", "Data"]
4+
excerpt: "Getting historical data on a smart contract can be frustrating when you’re building a dapp. The Graph provides an easy way to query smart contract data through APIs known as subgraphs."
5+
logo: { src: "https://pbs.twimg.com/profile_images/1735767195567730688/goqgFT93_400x400.jpg", alt: "The Graph Logo" }
6+
website: "https://thegraph.com"
7+
network: ["Mainnet", "Testnet"]
8+
---
9+
10+
Getting historical data on a smart contract can be frustrating when you’re building a dapp. [The Graph](https://thegraph.com/) provides an easy way to query smart contract data through APIs known as subgraphs. The Graph’s infrastructure relies on a decentralized network of indexers, enabling your dapp to become truly decentralized.
11+
12+
The Graph supports both Scroll mainnet & testnet.
13+
14+
#### Quick Start
15+
16+
These subgraphs only take a few minutes to set up. To get started, follow these three steps:
17+
18+
1. Initialize your subgraph project
19+
2. Deploy & Publish
20+
3. Query from your dapp
21+
22+
Pricing: **All developers receive 100K free queries per month on the decentralized network**. After these free queries, you only pay based on usage at $4 for every 100K queries.
23+
24+
Here’s a step by step walk through that includes screenshots:
25+
[The Graph Quick Start](https://edgeandnode.notion.site/The-Graph-Quick-Start-cd924d4d17674c5492216ef7c5e0503d?pvs=74)

0 commit comments

Comments
 (0)