Analysis of the zkSync Incident: Engraving Brings Stress Test to L2
Author: @tmel0211 Original Article Link: https://twitter.com/tmel0211/status/1736264350770643075 Engraving texts on zkSync, the short-term surge in transactions was indeed a “stress test” of layer2 public chain performance, but it didn’t result in a “crash.” On the contrary, it was an open drill for @zksync, successfully withstanding tests like peak TPS and GAS stability. This might sound counterintuitive at first, so let me clarify with technical logic: zkSync’s block production works as follows: Users create transactions that enter zkSync Sequencer’s sorting sequence. Sequencer then packages these based on Gas Fee, sends them to the Proof system for validation, and finally submits them to the mainnet for finality confirmation. There are two key points that could lead to a perceived “poor experience”: 1) User transaction creation: Most users initiate transactions via wallets like Metamask. However, transactions first enter RPC remote call servers, leading to queueing time ranging from seconds to minutes. If wait time is long, Metamask might deem the transaction failed, showing a failure message. This doesn’t mean the transaction actually failed, but rather a compatibility issue between Metamask’s RPC response time and zkSync’s Sequencer queue logic. This is why some transactions, initially shown as failed in Metamask, succeed later on. Using backend code to directly call zkSync’s RPC avoids such timeout and failure issues, offering a smoother experience. This is more a wallet experience issue, not about zkSync chain’s processing capacity. 2) Sequencer fair sorting: When users rapidly send transactions to the RPC queue, each transaction starts with a nonce value of 0. If a new transaction (nonce=1) is initiated while the previous one is still queued (nonce=0), zkSync’s Sequencer assigns nonce based on time and sorts them accordingly. However, if a user perceives a transaction as failed in Metamask and submits a new one, some transactions may not make it to zkSync’s backend due to wallet and zkSync API interface issues. Users might think they submitted many transactions, but zkSync only receives a portion of them. Overall, Metamask’s RPC response logic and users hurriedly stacking transactions could lead to numerous “failures” because transactions aren’t actually submitted to zkSync’s backend. - Clarifying the “crash” issue: zkSync didn’t “crash.” The issue was with the browser frontend, as browsers pull data via zkSync’s RPC interface, which can be slow in responding. A surge in new transactions slows down the response. Sponsored by NEXO. Sponsorship does not represent the views of WuBlockchain and does not constitute financial advice from WuBlockchain. Readers are requested to strictly abide by local laws and regulations. In short, the browser’s data sync speed couldn’t keep up with the surge in queued transactions. This is a browser frontend issue, not related to the chain’s operation. Usually, once transaction speed slows, and browsers fetch new data, the issue resolves. During browser issues, cross-verification with other browsers syncing zkSync block data, like https://hyperscan.xyz, can be helpful. - How’s the real “operational performance” of the chain? 1) Amidst the so-called crash rumors, zkSync’s official @anthonykrose was tweeting about TPS records. In reality, zkSync’s TPS soared to a peak of 187.9, usually ranging between 50–100. This shows zkSync withstood the pressure, serving as a thorough “stress test” for future TPS in the thousands. 2) ZK-Rollup’s special mechanism means the larger the transaction volume, the cheaper the Gas fee. In fact, zkSync’s Gas fee did become cheaper, as shown by growthepie data, indicating a 5.2% decrease in the past 24 hours, averaging around $0.19. This price varies per user, but overall, it’s cheaper. - The impact of the engraving event on layer2 public chains? According to dune data, Sync’s engraving minting added 5M transactions in 14 hours, with 65575 holders participating. As mentioned, zkSync officials knew about this “stress test” and took measures to ensure orderly chain operation. This was a beneficial stress test for zkSync, positively impacting more than negatively. Long-term, the engraving event doesn’t degrade layer2 performance; instead, it provides practical experience for further optimization. However, I understand that besides Sync, other engravings are being minted. While not as FOMO-inducing as Sync, they also contribute to the stress test. Anyway, the overall result is positive. Understanding zkSync’s backend sorting and block production logic and clearing up the “poor experience” misconception should reassure everyone that all is running well. We should have more confidence in layer2. Follow us Wu Blockchain is free today. But if you enjoyed this post, you can tell Wu Blockchain that their writing is valuable by pledging a future subscription. You won't be charged unless they enable payments. |
Older messages
Asia's weekly TOP10 crypto news (Dec 11 to Dec 17)
Sunday, December 17, 2023
Author:0xMingyue Editor:Colin Wu 1. Hong Kong's Weekly Summary 1.1 Hong Kong Government Enlists Five Banks to Explore a Series of Digital Green Bond Issuances link The Hong Kong government has
Weekly Project Updates: Ordinals Reach New Heights in Popularity, Solana On-Chain Transaction Volume Surpasses Eth…
Saturday, December 16, 2023
1. Bitcoin Ordinals Achieves Historic Highs in Market Trading Volume and Independent Transaction Addresses link According to @domodata data panel, on December 14th, the trading volume on the Bitcoin
IOSGVC Founder:Bull Market Analysis & 2023 Outlook
Friday, December 15, 2023
Author: Jocy, IOSGVC Founder Source: https://twitter.com/JinzhouLin/status/1732233990873264271 1、Scale Growth Resulting from Effective Regulation With Binance's regulatory episode comes to a
Analyzing Mantle LSP: A Dual-Channel Yield Combiner Supported by RWA and ETH PoS
Friday, December 15, 2023
Author: defioasis On December 4th, the L2 network Mantle announced the launch of the ETH liquidity staking protocol Mantle LSP, a core product deployed on Ethereum L1 and managed by Mantle. As of
WuBlockchain Weekly: Ordinals Added to Vulnerability Database, Panic Ensues After Ledgerconnect Attack, SEC Chairm…
Friday, December 15, 2023
1. US Reveals November Unadjusted CPI Yearly Rate at 3.1%, the Lowest Since June This Year link The seasonally adjusted Consumer Price Index (CPI) in November in the United States showed a year-on-year
You Might Also Like
Growth Through Participative Ideation | BanklessDAO Weekly Rollup
Saturday, September 7, 2024
Catch Up With What Happened This Week in BanklessDAO ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏
Bitcoin falls below $54k as market sees volatility following jobs data
Saturday, September 7, 2024
Bitcoin fell below $54000 as uncertainty over potential rate cuts led to heightened market turbulence. ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏
The fastest growing DePIN project 🔥
Saturday, September 7, 2024
How to get a free unlimited phone plan 📲
Weekly Project Updates: EIGEN Announces Second Season Airdrop, Ethena Concludes Second Airdrop, Matter Labs to Lay…
Saturday, September 7, 2024
The Eigen Foundation has announced the launch of the EIGEN Season 2 Stakedrop airdrop. For the second season, approximately 70 million EIGEN (around 4.2% FDV) will be allocated to stakers and operators
Curling at Futurist; Living on Litecoin; Flexa SDK launch
Friday, September 6, 2024
Ampera at the Blockchain Futurist Conference 🥌 ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏
🥛 Will the Fed stick the soft landing? 🛬
Friday, September 6, 2024
PLUS: Crypto's top earners of 2024 (so far) 💰
Russia mined over $3 billion in Bitcoin last year, boosting tax revenue amid sanctions
Friday, September 6, 2024
Chainalysis warned that Russia could leverage local exchanges like Garantex for tax evasion efforts. ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏
NFT & Blockchain Gaming Weekly - 🐱 CryptoKitties resurges as its ‘Egg’ NFTs soar by over 40x; BAYC announces a pa…
Friday, September 6, 2024
CryptoKitties resurges as its 'Egg' NFTs soar by over 40x. BAYC announces partnership with BMW and releases a mini-game. Mysten Labs launches gaming device SuiPlay0X1, integrating the Sui
WuBlockchain Weekly: Japan May Continue Rate Hikes, 96% of NFTs Approaching 'Death', CZ Banned for Life from Manag…
Friday, September 6, 2024
The US reported an increase of 99000 jobs in August according to the ADP employment data, marking the smallest growth since January 2021, falling short of the expected 145000. ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏
🥛 Waddup, fat app! 🍔
Thursday, September 5, 2024
We need a wellness check on the crypto ETFs, stat!