Skip to content

Commit 7c18876

Browse files
authored
Merge pull request #252 from scroll-tech/develop
Prod update 05-24-24
2 parents ae5a8d0 + 724b444 commit 7c18876

File tree

7 files changed

+52
-39
lines changed

7 files changed

+52
-39
lines changed

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v18.14.1
1+
v20.13.1

src/components/Tabs/Tabs.module.css

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,21 @@
11
.container {
22
@apply mt-4;
33
}
4+
.tablist {
5+
@apply border-0 border-b border-solid border-black mb-4;
6+
}
7+
8+
.tablist button {
9+
@apply bg-transparent text-black border-none text-xl font-semibold leading-8 outline-none mb-[-1px] mr-12 capitalize;
10+
}
11+
12+
button.primary,
13+
button.contentTabPrimary {
14+
@apply text-link border-link border-0 border-b-4 border-solid;
15+
}
16+
17+
button.secondary {
18+
}
419

520
.tab {
621
@apply py-1 px-2 mr-2;

src/components/Tabs/Tabs.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ export function Tabs({ sharedStore, ...slots }: Props) {
6565

6666
return (
6767
<div class={styles.container}>
68-
<div role="tablist" onKeyDown={moveFocus}>
68+
<div role="tablist" class={styles.tablist} onKeyDown={moveFocus}>
6969
{tabs.map(([key, content]) => (
7070
<button
7171
ref={(el) => (tabButtonRefs.current[key] = el)}
@@ -79,7 +79,7 @@ export function Tabs({ sharedStore, ...slots }: Props) {
7979
data-astro-tab
8080
id={key}
8181
key={key}
82-
class={clsx(curr === getBaseKeyFromTab(key) ? button.primary : button.secondary, styles.tab)}
82+
class={clsx(curr === getBaseKeyFromTab(key) ? styles.primary : styles.secondary, styles.tab)}
8383
>
8484
{content}
8585
</button>

src/components/Tabs/TabsContent.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ export function TabsContent({ sharedStore, ...slots }: Props) {
6464

6565
return (
6666
<div className={styles.contentContainer}>
67-
<div role="tablist" onKeyDown={moveFocus}>
67+
<div role="tablist" class={styles.tablist} onKeyDown={moveFocus}>
6868
{tabs.map(([key, content]) => (
6969
<button
7070
ref={(el) => (tabButtonRefs.current[key] = el)}

src/content/docs/en/developers/scroll-contracts.mdx

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,14 @@ Use the table below to configure your Ethereum tools to the Scroll mainnet.
102102

103103
### Safe
104104

105-
You can access Safe on Scroll [here](https://safe.scroll.xyz/), and the transaction service API is at https://transaction.safe.scroll.xyz.
105+
Scroll is available in the [official Safe app](app.safe.global), and the transaction service API is at https://safe-transaction-scroll.safe.global/.
106+
<Aside type="caution" title="Safe transition">
107+
Scroll Mainnet will not be supported on [safe.scroll.xyz](safe.scroll.xyz) after June 20th!
108+
Created safes are automatically available in the official app, but local data (address book, settings, and variables) needs to be manually transferred over, using the Export/Import functionality [here](https://safe.scroll.xyz/settings/data).
109+
Also, if you have unfinished transactions on Mainnet here, please finalize them before June 20th!
110+
</Aside>
111+
112+
106113

107114
- CompatibilityFallbackHandler: [`0xf48f2B2d2a534e402487b3ee7C18c33Aec0Fe5e4`](https://scrollscan.com/address/0xf48f2B2d2a534e402487b3ee7C18c33Aec0Fe5e4)
108115
- CreateCall: [`0x7cbB62EaA69F79e6873cD1ecB2392971036cFAa4`](https://scrollscan.com/address/0x7cbB62EaA69F79e6873cD1ecB2392971036cFAa4)

src/content/docs/en/developers/transaction-fees-on-scroll.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ Transactions aren't committed 1-by-1 -- they are collected in batches of blocks
6060

6161
### Estimating the L1 Data Fee
6262

63-
Scroll has a pre-deployed `L1GasPriceOracle`, accessible on both Scroll and Scroll Sepolia at ([`0x5300000000000000000000000000000000000002`](https://sepolia.scrollscan.com/address/0x5300000000000000000000000000000000000002)). It provides a `getL1Fee` method to estimate the L1 data fee for a given transaction's raw data.
63+
Scroll has a pre-deployed `L1GasPriceOracle` at `0x5300000000000000000000000000000000000002`, accessible on both [Scroll Mainnet](https://scrollscan.com/address/0x5300000000000000000000000000000000000002) and [Scroll Sepolia](https://sepolia.scrollscan.com/address/0x5300000000000000000000000000000000000002). It provides a `getL1Fee` method to estimate the L1 data fee for a given transaction's raw data.
6464

6565
```solidity
6666
function getL1Fee(bytes memory _data) external view override returns (uint256);

src/content/docs/en/user-guide/bridge.mdx

Lines changed: 24 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -20,32 +20,24 @@ excerpt: "To start bridging assets from Sepolia, navigate to the portal bridge a
2020
{/* TODO: Update all instructions after being able to walk through the whole flow. */}
2121

2222

23-
Visit our [Bridge](https://sepolia.scroll.io/bridge) app to get started![^thanks-hop] The Bridge supports both **Deposit** and **Withdraw** operations, allowing users to trustlessly move assets from Sepolia Testnet to Scroll Sepolia Testnet.
24-
[^thanks-hop]: Forked from [Hop Exchange](https://hop.exchange/)'s UI 🙌
23+
Visit our bridge app on [Sepolia testnet](https://sepolia.scroll.io/bridge) or [Mainnet](https://scroll.io/bridge) to get started! The Bridge supports both **Deposit** and **Withdraw** operations, allowing users to trustlessly move assets from L1 to L2.
2524

26-
Deposits can take up to 15 minutes to be available on Scroll.
27-
28-
Withdrawals, which require a second interaction on Sepolia after the withdrawal is finalized, can take much longer.
29-
30-
:::caution[Waiting a long time for a bridge transaction?]
31-
The time estimates above are typical for normal network behavior and activity levels. Because we only process so many queued L1 transactions per an L2 block, bridged messages may take longer to be included on Scroll in times of exceptional network usage.
32-
:::
33-
34-
## Deposit from Sepolia to Scroll Sepolia
25+
## Deposit from Ethereum to Scroll
3526

3627
### Instructions
3728

38-
1. First, navigate to the [Scroll Bridge](https://sepolia.scroll.io/bridge) and press the "Connect Wallet" button.
39-
1. In the app, ensure that **Ethereum Sepolia** is on top and **Scroll Sepolia** is on the bottom. You can click the "****" button to switch their positions.
40-
1. Select the token you want to transfer from Sepolia to Scroll Sepolia. If it's you're first time bridging, try "ETH."
41-
1. If this is your first time transferring a specific ERC20 token, you must **Approve** the Sepolia Bridge contract to access your ERC20 token.
42-
1. Next, click the **Send to Scroll Sepolia** button to make the deposit. Your wallet will ask to confirm the transfer transaction.
43-
1. Once the transfer transaction is sent and confirmed, the token will be deducted from your Sepolia wallet.
44-
1. You can always check the status of a transaction by pressing the "History" icon next to your wallet address in the top-right corner.
29+
1. After navigating to the bridge app, press the "Connect Wallet" button. You might need to switch your wallet to the right network.
30+
1. In the app, select the **Deposit to Scroll** tab.
31+
1. Select the token you want to transfer from the L1 network. If it's your first time bridging, try "ETH."
32+
1. If this is your first time transferring a specific ERC20 token, you must **Approve** the Sepolia or Ethereum Bridge contract to access your ERC20 token.
33+
1. Select your deposit mode. The Fast option initiates a bridge transfer immediately, while the Economy option groups multiple requests together and initiates a single bridge transfer for the batch, sharing the cost among all included requests.
34+
1. Next, slide the **Deposit funds** button to make the deposit. Your wallet will ask to confirm the transfer transaction.
35+
1. Once the transfer transaction is sent and confirmed, the token will be deducted from your wallet.
36+
1. You can always check the status of a transaction by pressing the "Transaction History" icon next to your wallet address in the top-right corner.
4537

46-
### When will the token arrive in your Scroll Sepolia wallet?
38+
{/* ### When will the token arrive in your Scroll Sepolia wallet?
4739
48-
It could take between **8 to 14 minutes** (awaiting block to become [_Safe_](https://www.alchemy.com/overviews/ethereum-commitment-levels#what-are-ethereum-commitment-levels) on Sepolia) before the token shows up in your Scroll Sepolia wallet.
40+
It could take between **8 to 14 minutes** (awaiting block to become [_Safe_](https://www.alchemy.com/overviews/ethereum-commitment-levels#what-are-ethereum-commitment-levels) on Sepolia) before the token shows up in your Scroll Sepolia wallet. */}
4941

5042
{/* You can check the progress of deposit transactions as follows: */}
5143

@@ -71,37 +63,36 @@ It could take between **8 to 14 minutes** (awaiting block to become [_Safe_](htt
7163

7264
{/* <ClickToZoom src={bridge4} /> */}
7365

74-
## Withdraw from Scroll Sepolia to Sepolia
66+
## Withdraw from Scroll to Ethereum
7567

7668
### Instructions
7769

7870
#### Submitting your Initial Withdrawal Transaction
7971

80-
1. First, switch to the **Scroll Sepolia** network in your wallet.
81-
1. In the app, ensure that **Scroll Sepolia** is on top and **Ethereum Sepolia** is on the bottom. You can click the "****" button to switch the positions.
82-
1. Select the token you want to transfer from **Scroll Sepolia** to **Sepolia**. If it's you're first time bridging, try "ETH."
83-
1. If this is your first time transferring a specific ERC20 token, you must **Approve** the Scroll Sepolia Bridge contract to access your ERC20 token.
84-
1. Next, click the **Send to Ethereum Sepolia** button to make the withdrawal. Your wallet will ask to confirm the transfer transaction.
85-
1. Once the transfer transaction is sent and confirmed, the token will be deducted from your Scroll Sepolia wallet.
72+
1. First, select the **Withdraw to Ethereum** tab in the app. You might need to switch your wallet to the right network.
73+
1. Select the token you want to transfer, If it's you're first time bridging, try "ETH."
74+
1. If this is your first time transferring a specific ERC20 token, you must **Approve** the Scroll Bridge contract to access your ERC20 token.
75+
1. Next, slide the **Withdraw funds** button to make the withdrawal. Your wallet will ask to confirm the transfer transaction.
76+
1. Once the transfer transaction is sent and confirmed, the token will be deducted from your wallet.
8677

8778
#### Submitting an Execute Withdrawal Transaction
8879

8980
{/* TODO: finish the additional instructions, better estimate "wait time" */}
9081

91-
_The remaining steps happen on Scroll Sepolia, but you first must wait for your transaction to be fully proven ("finalized") on Ethereum Sepolia. This process can take up to four hours._
82+
_The remaining steps happen on Scroll, but you first must wait for your transaction to be fully proven ("finalized") on the L1 side. This process can take up to four hours._
9283

93-
1. When your withdrawal transaction is completed finalizing on Ethereum Sepolia, you will see the "Claim" button in the Recent Transactions area become solid.
84+
1. When your withdrawal transaction is completed finalizing on Sepolia or Ethereum, you will see the "Claim" button in the Recent Transactions area become solid.
9485
1. Click the "Claim" button to submit the Execute Withdrawal transaction.
95-
1. Once submitted, your withdrawn funds should appear immediately in your Sepolia wallet.
86+
1. Once submitted, your withdrawn funds should appear immediately in your wallet.
9687

97-
### When will the token arrive in your Sepolia wallet?
88+
### When will the token arrive in your wallet?
9889

99-
The transferred token will arrive in your Sepolia wallet immediately after the block containing your Execute Withdrawal transaction is confirmed on Sepolia.
90+
The transferred token will arrive in your wallet immediately after the block containing your Execute Withdrawal transaction is confirmed.
10091

10192
{/* TODO: check architecture link is live */}
10293

10394
:::tip[Rollup Status]
104-
The rollup status `Finalized` indicates that the correct execution of transactions in this block has been proven by verifying a validity proof on-chain on Sepolia. For more information about rollup status, see [Scroll's Architecture Overview](/technology).
95+
The rollup status `Finalized` indicates that the correct execution of transactions in this block has been proven by verifying a validity proof on-chain on the L1 chain. For more information about rollup status, see [Scroll's Architecture Overview](/technology).
10596
:::
10697

10798
{/* You can check the progress of withdrawal transactions as follows: */}

0 commit comments

Comments
 (0)