header-langage
简体中文
繁體中文
English
Scan to Download the APP
Partnered With:

How to informally understand Arbitrum Nitro technology upgrade?

Read this article in 5 Minutes
Arbitrum's ability in ecological incubation operation is obvious to all, at the same time, it has also conquered a large number of technical bottlenecks.
原文标题:《 如何通俗理解 Arbitrum 的 Nitro 技术升级?4 个关键机制 》
Original article by Chloe, Chain Teahouse


Arbitrum is the original calculation engineering on Ethereum transferred to Layer 2, and then do not need to carry out any verification on the assumption that these calculation results are correct, and release the data back to Ethereum. But in order to prevent evil, there is a seven-day challenge period to cushion (if someone is caught cheating, the margin is deducted).


Arbitrum launched an upgraded version of Nitro on August 31 last year, with lower fees, better Ethereum compatibility, and zk proving more concise, all in all an upgrade (rather than a specific problem). But because it did not re-issue a new chain, but from Arbitrum One seamless upgrade, so it is still called Arbitrum One.


The key innovations underpinning Nitro can be summarized as four points: proffer program, Geth-centered, Optimistic Rollup that implements execution separately from proof, and interactive fraud proof.



Proof procedure without consensus mechanism


Nitro uses two phases to execute transactions.


Phase 1: Do it yourself in Layer2


The user creates a transaction which, after being confirmed by the wallet signature, is sent to Nitro's Sequencer.


Sequencer receives the message, filters out invalid transactions through the "state transition function" and queues the remaining transactions fairly.


Then, without any additional on-chain validation (such as L1 Ethereum), the node simply unconditionally executes locally and provides the transaction receipt to the customer (including the user who submitted malicious or incorrect information), a process that usually takes only a second or two.


However, the transaction has not yet been committed to L1 Ethereum, so there is room for change, so it is called "soft confirmation", but for the user, it is done at this stage, in fact, there are many more steps to ensure security.


The second stage


Sequencer releases queued sequences into Ethereum and finally confirms, or "hard terminates".


One way to send it is to send an instant notification to all subscribers as each transaction is ranked. Another way is to aggregate them and release them in batches (minutes apart) on L1 Ethereum.


It should be emphasized that the operation of "state transition function" in Sequencer in the first stage is open, anyone can calculate the state transition function according to the known transaction order, and all honest parties get the same result.


As a result, Nitro's nodes do not need a consensus mechanism, but simply take the sequence of transactions (instant extraction and batch extraction on Ethereum) and run them locally, thus significantly reducing the cost.


Node software Geth rewritten in Go language


Geth, or Go-Ethereum, is, as the name suggests, the ethereum node software written in the Go language that lets miners execute transactions. This is the core part of Nitro.


Arbitrum's old scheme is to simulate EVM through a custom Arbitrum virtual machine (AVM), some of its internal logic is inconsistent in EVM (such as the calculation of Gas), so it is limited to low-level instructions.


Geth, on the other hand, basically fully supports Ethereum's data structure, format, and virtual machine, so it can achieve a high degree of compatibility with Ethereum.


It's worth noting that Geth ditched the old stack (using its own custom language mini for custom logic) and went straight to the drawing board in Go, borrowing much of the development effort from existing out-of-the-box code and being streamlined overall.


Execute and prove respectively two sets of code


Layer2 has two tasks -- execution and proof, two priorities that can't be balanced, so Nitro does it in different code.


But it's all the same source code. Geth, the node software that lets miners execute trades, uses source code, which is much faster.


The proof of fraud code, however, is compiled into the binary wasm format, which is portable, small, fast to load, and Web-compatible. Nitro also tweaked the wasm format to make it more suitable for interacting with chains, calling it WAVM code.


In WASM code for Arbitrum interactive fraud proof, instead of Arbitrum virtual machine (AVM) architecture, directly to the standard language and tools to build and compile.


Interactive proof of fraud reported to each other


The proof system Nitro uses is their first "interactive proof of fraud".


Simply put, all transactions have to be checked by a validator (for fraud or invalidity) for 7 days after completion, and if there is a real problem, it is re-executed.


The verifier is the equivalent of a bounty hunter who whistles for a living, but in order to prevent anyone from disrupting the order by making false accusations, bounty hunters are also allowed to report on each other, so that both sides keep giving evidence until one side stops following.


Finally, the reported transaction is submitted to Ethereum for execution to verify who is at fault, and the false accuser's deposit is divided among the bounty hunters who challenge the false accuser.


This is interactive fraud proof, which is equivalent to introducing external regulators with market-oriented means. It is an innovation in governance mechanism, which can greatly improve the efficiency and accuracy of verification.


summarize


As an iterative version of Arbitrum, Nitro has now assisted in launching hundreds of projects, accumulating hundreds of thousands of unique users, millions of transactions and billions of dollars in bridging assets, and currently dominates the market.  


In addition to using the Nitro technology to upgrade Arbitrum One, the Arbitrum team also hopes to use it to create application-specific Rollups, and they want to incorporate resources (especially developers) from the Solana and Cosmos ecosystems in the future.


Arbitrum's ability in ecological incubation operation is obvious to all. At the same time, Arbitrum has also conquered a large number of technical bottlenecks (especially in a non-blockchain way to perfect solution), which fully demonstrates the creativity of the team. Believe from Layer2 all the way, they will go to a greater ecology.


Original link


Welcome to join the official BlockBeats community:

Telegram Subscription Group: https://t.me/theblockbeats

Telegram Discussion Group: https://t.me/BlockBeats_App

Official Twitter Account: https://twitter.com/BlockBeatsAsia

举报 Correction/Report
Choose Library
Add Library
Cancel
Finish
Add Library
Visible to myself only
Public
Save
Correction/Report
Submit