Skip to content

Commit 7dddb01

Browse files
authored
Remove Scroll Sepolia testnet content from the English docs (#562)
* remove Scroll Sepolia testnet content from the English docs Scroll Sepolia is being shut down, so remove the testnet from the English documentation: - drop the "Scroll Sepolia Testnet" section from the contract page - drop the Sepolia network parameters, RPC providers, testnet ETH FAQ and node snapshot from the developer FAQ - delete the Testnet ETH Faucet page along with its sidebar entry and the user-guide/faucet redirect that fed it - retarget the custom gateway and ScrollMessenger guides at Ethereum mainnet / Scroll Mainnet (addresses, explorer links, bridge API) - point the Scroll Messenger, transaction fee and node guides at the mainnet endpoints only - remove the "Sepolia Resources" sidebar section, its English translation keys, the Sepolia search suggestion and the unused NetworkTabs component Left untouched: - the es/tr/zh translations, which are handled separately - historical release notes under technology/overview/scroll-upgrades, whose Sepolia mentions record when each upgrade shipped - the Scroll SDK docs, where Sepolia almost always means Ethereum Sepolia used as the L1 basechain, which is unaffected by this Note that sidebar.ts, the search suggestions and redirects.json are shared across locales, so those entries go for every language. * keep the faucet URLs alive as redirects to the developer FAQ Deleting faucet.mdx and dropping its redirects.json entry would have 404'd ten live URLs: /developers/faucet and its four locale variants (generated from the doc collection) plus /user-guide/faucet and its four locale variants. Point both sources at /en/developers/ instead. Also drop the faucet from the support FAQ question, since there is no faucet to ask about anymore. * keep the Sepolia contract addresses and restore the upgrade history Addressing review feedback on #562. Keep the Scroll Sepolia section on the contracts page rather than deleting it — the addresses are useful for historical reference. It now opens with a caution telling readers the network was shut down after July 30th, 2026 and that the addresses are not for new work. The address list itself is byte-identical to what was there before. Restore the "Scroll Sepolia has already undergone this upgrade" line in transaction-fees-on-scroll and cross-domain-messaging, plus the Sepolia L1MessageQueueWithGasPriceOracle address and the Scroll Sepolia L1GasPriceOracle link. Those record what happened during the February 2024 bridge upgrade, which stays true after the shutdown. Both files are now unchanged from prod. * keep the Sepolia network parameters for historical reference Thegaram's review asked to keep chain ids alongside the contract addresses. The chain id lives in the developer FAQ's network parameter table, not on the contracts page, so restore that table with the same shutdown caution and reword the question to past tense. Still gone: the Scroll Sepolia RPC provider list, the Testnet ETH section and the Sepolia node snapshot link. Those point at third-party infrastructure and build artifacts for a dead chain rather than being reference data worth preserving. * keep the Sepolia node snapshot link Restore both snapshot URLs, annotating the Sepolia one with the shutdown date rather than dropping it.
1 parent a6eca86 commit 7dddb01

17 files changed

Lines changed: 59 additions & 135 deletions

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ We try to keep a clean commit history, so we'll follow a standard process initia
2020
- Start with a present-tense verb
2121
- Keep your commit headline short but sufficient to understand the scope and focus of the change.
2222
- Changes are often formatted like `add doc X`, `fix page Y`, `improve docs for Z`.
23-
- Example: "`update contract addresses for USDC on Scroll Sepolia`".
23+
- Example: "`update contract addresses for USDC on Scroll`".
2424
- If you touch any infrastructure, make sure it builds with `yarn build`
2525
- Trust the autoformatter (prettier)
2626
- Make sure images are optimized and compressed

public/locales/en/translation.json

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@
6363
"developers": "Developers",
6464
"buildingOnScroll": "Building on Scroll",
6565
"faq": "Frequently Asked Questions",
66-
"faucet": "Testnet ETH Faucet",
6766
"developerQuickstart": "Developer Quickstart",
6867
"verifyingSmartContracts": "Verifying Smart Contracts",
6968
"scrollContracts": "Scroll Contracts",
@@ -90,12 +89,8 @@
9089
"estimatingGasAndTxFees": "Estimating Gas & Tx Fees",
9190
"resources": "Resources",
9291
"mainnetResources": "Mainnet Resources",
93-
"sepoliaResources": "Sepolia Resources",
9492
"scrollBlockExplorer": "Scrollscan Explorer",
9593
"rollupExplorer": "Rollup Explorer",
96-
"scrollSepoliaBlockExplorer": "Scroll Sepolia Explorer",
97-
"sepoliaRollupExplorer": "Rollup Explorer",
98-
"sepoliaBlockExplorer": "Scrollscan Explorer",
9994
"transactionJourney": "Checking Transaction Journey"
10095
},
10196
"technology": {

src/components/Header/Search/SearchModal.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ const recommendedArticles = [
2020
url: "/en/developers/developer-quickstart",
2121
},
2222
{
23-
title: "Sepolia Testnet Contracts",
23+
title: "Scroll Contracts",
2424
url: "/en/developers/scroll-contracts",
2525
},
2626
{

src/components/Tabs/NetworkTabs.astro

Lines changed: 0 additions & 14 deletions
This file was deleted.

src/components/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,4 @@
88
export { default as CodeSample } from "./CodeSample/CodeSample.astro"
99
export { default as Aside } from "./Aside.astro"
1010
export { default as ClickToZoom } from "./ClickToZoom.astro"
11-
export { default as NetworkTabs } from "./Tabs/NetworkTabs.astro"
1211
export { default as PackageManagerTabs } from "./Tabs/PackageManagerTabs.astro"

src/config/sidebar.ts

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ export const getSidebar = () => {
1111
{ title: t("sidebar.developers.faq"), url: formatUrl("developers") },
1212
{ title: t("sidebar.developers.buildingOnScroll"), url: formatUrl("developers/building-on-scroll") },
1313
{ title: t("sidebar.developers.scrollContracts"), url: formatUrl("developers/scroll-contracts") },
14-
{ title: t("sidebar.developers.faucet"), url: formatUrl("developers/faucet") },
1514
{
1615
title: t("sidebar.developers.ethereumAndScrollDifferences"),
1716
url: formatUrl("developers/ethereum-and-scroll-differences"),
@@ -110,13 +109,6 @@ export const getSidebar = () => {
110109
{ title: t("sidebar.developers.scrollBlockExplorer"), url: "https://scrollscan.com/" },
111110
],
112111
},
113-
{
114-
section: t("sidebar.developers.sepoliaResources"),
115-
contents: [
116-
{ title: t("sidebar.developers.sepoliaRollupExplorer"), url: "https://sepolia.scroll.io/rollupscan" },
117-
{ title: t("sidebar.developers.scrollSepoliaBlockExplorer"), url: "https://sepolia.scrollscan.dev/" },
118-
],
119-
},
120112
],
121113
technology: [
122114
{

src/content/docs/en/article-components.mdx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -68,23 +68,23 @@ We define the Square-Fibonacci sequence[^1], a variation of the Fibonacci sequen
6868
const config: HardhatUserConfig = {
6969
...
7070
networks: {
71-
scrollSepolia: {
72-
url: 'https://sepolia-rpc.scroll.io' || '',
71+
scroll: {
72+
url: 'https://rpc.scroll.io' || '',
7373
accounts:
7474
process.env.PRIVATE_KEY !== undefined ? [process.env.PRIVATE_KEY] : [],
7575
},
7676
},
7777
etherscan: {
7878
apiKey: {
79-
scrollSepolia: <YOUR API KEY>,
79+
scroll: <YOUR API KEY>,
8080
},
8181
customChains: [
8282
{
83-
network: 'scrollSepolia',
84-
chainId: 534351,
83+
network: 'scroll',
84+
chainId: 534352,
8585
urls: {
86-
apiURL: 'https://api-sepolia.scrollscan.com/api',
87-
browserURL: 'https://sepolia.scrollscan.com/',
86+
apiURL: 'https://api.scrollscan.com/api',
87+
browserURL: 'https://scrollscan.com/',
8888
},
8989
},
9090
],

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ excerpt: "There are a number of technical details that differ between Ethereum m
1010

1111
import Aside from "../../../../components/Aside.astro"
1212

13-
A number of technical details differ between Ethereum mainnet's EVM and Scroll's modified design for a zkEVM. Below you can see those differences as they exist on Scroll and Scroll Sepolia.
13+
A number of technical details differ between Ethereum mainnet's EVM and Scroll's modified design for a zkEVM. Below you can see those differences as they exist on Scroll.
1414

1515
For open-source contributors and infrastructure builders, please contact our team for additional support.
1616

src/content/docs/en/developers/faucet.mdx

Lines changed: 0 additions & 43 deletions
This file was deleted.

src/content/docs/en/developers/guides/bridge-erc20-through-the-custom-gateway.mdx

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ This guide will walk through how to use Scroll's bridge for ERC20s that need cus
1818
Bridge](/developers/l1-and-l2-bridging/eth-and-erc20-token-bridge#deposit-eth-and-erc20-tokens-from-l1) for more info.
1919
</Aside>
2020

21-
## Step 1: Launch a token on Sepolia
21+
## Step 1: Launch a token on Ethereum
2222

2323
First, we need a token to bridge. There is no need for a particular ERC20 implementation in order for a token to be compatible with L2. If you already have a token, feel free to skip this step. If you want to deploy a new token, use the following contract of a simple ERC20 token that mints 1 million tokens to the deployer when launched.
2424

@@ -35,16 +35,16 @@ contract L1Token is ERC20 {
3535
}
3636
```
3737

38-
## Step 2: Launch the counterpart token on Scroll Sepolia testnet
38+
## Step 2: Launch the counterpart token on Scroll
3939

40-
Next, you'll launch a counterpart to this token on Scroll, which will represent the original token on Sepolia. This token can implement custom logic to match that of the L1 token or even add additional features beyond those of the L1 token.
40+
Next, you'll launch a counterpart to this token on Scroll, which will represent the original token on Ethereum. This token can implement custom logic to match that of the L1 token or even add additional features beyond those of the L1 token.
4141

4242
For this to work:
4343

4444
- The token must implement the `IScrollStandardERC20` interface in order to be compatible with the bridge.
4545
- The contract should provide the gateway address and the counterpart token addresses (the L1 token we just launched) under the `gateway()` and `counterpart()` functions. It should also allow the L2 gateway to call the token `mint()` and `burn()` functions, which are called when a token is deposited and withdrawn.
4646

47-
The following is a complete example of a token compatible with the bridge. To the constructor, you will pass the official Scroll Custom Gateway address (`0x058dec71E53079F9ED053F3a0bBca877F6f3eAcf`) and the address of the token launched on Sepolia.
47+
The following is a complete example of a token compatible with the bridge. To the constructor, you will pass the official Scroll Custom Gateway address (`0x64CCBE37c9A82D85A1F2E74649b7A42923067988`) and the address of the token launched on Ethereum.
4848

4949
```solidity
5050
// SPDX-License-Identifier: MIT
@@ -102,19 +102,19 @@ You need to contact the Scroll team to add the token to `L2CustomERC20Gateway` c
102102

103103
## Step 4: Deposit tokens
104104

105-
Once your token has been approved by the Scroll team, you should be able to deposit tokens from L1. To do so, you must first approve the `L1CustomGateway` contract address on Sepolia (`0x31C994F2017E71b82fd4D8118F140c81215bbb37`). Then, deposit tokens by calling the `depositERC20` function from the `L1CustomGateway` contract. This can be done using [our bridge UI](https://scroll.io/bridge), [Etherscan Sepolia](https://sepolia.etherscan.io/address/0x31C994F2017E71b82fd4D8118F140c81215bbb37#writeProxyContract), or a smart contract.
105+
Once your token has been approved by the Scroll team, you should be able to deposit tokens from L1. To do so, you must first approve the `L1CustomGateway` contract address on Ethereum (`0xb2b10a289A229415a124EFDeF310C10cb004B6ff`). Then, deposit tokens by calling the `depositERC20` function from the `L1CustomGateway` contract. This can be done using [our bridge UI](https://scroll.io/bridge), [Etherscan](https://etherscan.io/address/0xb2b10a289A229415a124EFDeF310C10cb004B6ff#writeProxyContract), or a smart contract.
106106

107107
## Step 5: Withdraw tokens
108108

109-
You will follow similar steps to send tokens back from L2 to L1. First, approve the `L2CustomGateway` address (`0x058dec71E53079F9ED053F3a0bBca877F6f3eAcf`) and then withdraw the tokens calling the `withdrawERC20` from the `L2CustomGateway` contract.
109+
You will follow similar steps to send tokens back from L2 to L1. First, approve the `L2CustomGateway` address (`0x64CCBE37c9A82D85A1F2E74649b7A42923067988`) and then withdraw the tokens calling the `withdrawERC20` from the `L2CustomGateway` contract.
110110

111111
## Alternative Approach: Launch and set up a custom L1 gateway contract
112112

113113
Adding your token to the Scroll official bridge (as described above) is the recommended method of bridging tokens to and from Scroll. This approach will make them easier to discover and safer for holders. However, it will require approval from the Scroll team. If you want to launch a custom token without the official approval process, you can launch a custom gateway yourself. To do so, you will need to deploy an `L1CustomERC20Gateway` contract on L1 and an `L2CustomERC20Gateway` on L2.
114114

115115
### Launch an L1 Custom Gateway
116116

117-
Let’s start by launching the following contract on Sepolia.
117+
Let’s start by launching the following contract on Ethereum.
118118

119119
```solidity
120120
// SPDX-License-Identifier: MIT
@@ -321,19 +321,19 @@ contract L2CustomERC20Gateway is L2ERC20Gateway, ScrollGatewayBase, Ownable {
321321
}
322322
```
323323

324-
### Setup your Gateway contract on Sepolia
324+
### Setup your Gateway contract on Ethereum
325325

326326
Once the contracts are deployed, call the following functions to initialize the contracts and bind them to the corresponding tokens and the gateway on the other side of the bridge.
327327

328328
First, call the `initialize` function on the `MyL1Gateway` contract with the following parameters:
329329

330330
- `_counterpart`: The address of `MyL2Gateway` we just launched on Scroll.
331-
- `_router`: Set it to `0x13FBE0D0e5552b8c9c4AE9e2435F38f37355998a`, the `L1GatewayRouter` contract on Sepolia.
332-
- `_messenger`: Set it to `0x50c7d3e7f7c656493D1D76aaa1a836CedfCBB16A`, the `L1ScrollMessenger` contract on Sepolia.
331+
- `_router`: Set it to `0xF8B1378579659D8F7EE5f3C929c2f3E332E41Fd6`, the `L1GatewayRouter` contract on Ethereum.
332+
- `_messenger`: Set it to `0x6774Bcbd5ceCeF1336b5300fb5186a12DDD8b367`, the `L1ScrollMessenger` contract on Ethereum.
333333

334334
A custom gateway can host multiple token bridges. In this case, we will only be allowing bridging between L1Token and L2Token by calling the `updateTokenMapping` function on the `MyL1Gateway` contract with the following parameters:
335335

336-
- `_l1Token`: The address of the `L1Token` contract we previously launched on Sepolia.
336+
- `_l1Token`: The address of the `L1Token` contract we previously launched on Ethereum.
337337
- `_l2Token`: The address of the `L2Token` contract we previously launched on Scroll.
338338

339339
### Setup your Gateway contract on Scroll
@@ -342,14 +342,14 @@ Now let’s switch to the Scroll chain and initialize `MyL2Gateway`, following s
342342

343343
First, call the `initialize` function from `MyL2Gateway`:
344344

345-
- `_counterpart`: The address of `MyL1Gateway` we just launched on Sepolia.
346-
- `_router`: Set it to `0x9aD3c5617eCAa556d6E166787A97081907171230`, the `L2GatewayRouter` contract on Scroll.
347-
- `_messenger`: Set it `0xBa50f5340FB9F3Bd074bD638c9BE13eCB36E603d`, the `L2ScrollMessenger` contract on Scroll.
345+
- `_counterpart`: The address of `MyL1Gateway` we just launched on Ethereum.
346+
- `_router`: Set it to `0x4C0926FF5252A435FD19e10ED15e5a249Ba19d79`, the `L2GatewayRouter` contract on Scroll.
347+
- `_messenger`: Set it `0x781e90f1c8Fc4611c9b7497C3B47F99Ef6969CbC`, the `L2ScrollMessenger` contract on Scroll.
348348

349349
Next, call `updateTokenMapping` on the `MyL2Gateway` contract:
350350

351351
- `_l2Token`: The address of the `L2Token` contract we previously launched on Scroll.
352-
- `_l1Token`: The address of the `L1Token` contract we previously launched on Sepolia.
352+
- `_l1Token`: The address of the `L1Token` contract we previously launched on Ethereum.
353353

354354
### Bridging tokens
355355

0 commit comments

Comments
 (0)