Home CryptocurrencyAltcoin Polygon co-founder explains how to prevent signups from crashing networks

Polygon co-founder explains how to prevent signups from crashing networks

by SuperiorInvest

Inscriptions, a form of digital collectible created by writing data into the call data or token fields of a blockchain transaction, have caused degraded performance or even failures on several blockchain networks, including Arbitrum, zkSync, Avalanche, and others. But Branden Farmer, co-founder of Polygon, says parallelized Ethereum virtual machines (EVMs) can solve the problem once and for all.

Inscriptions were first created on the Bitcoin network. After the Taproot update in 2021, Bitcoin users discovered that the update allowed them to embed data in the “witness” field of a transaction, allowing images, tokens, and other types of digital collectibles to be minted on the blockchain. of Bitcoin. Some users saw the new collectibles as a benefit to the network, while others considered them “spam.”

But the trend didn’t stop with Bitcoin. Soon, token producers began minting tokens on Ethereum and layer 2 sidechains such as Arbitrum, Avalanche, and Polygon. Instead of being written to the witness field of a Bitcoin transaction, this new type of inscription was written to the “calldata” field of an EVM-based network. Since call data is not stored in the state of a smart contract, this allowed producers to create their collectibles at a fraction of the cost of minting a traditional non-fungible token (NFT).

However, this cheap method of minting eventually caused high fees and instability for several blockchain networks as users increasingly flooded the networks with inscription transactions. On December 15, Ethereum Layer 2 Abitrum went offline for over 70 minutes due to signup spam. During December, half a dozen other blockchains also experienced degraded performance or extremely high fees as a result of these mintings.

In a conversation with Cointelegraph, Farmer stated that parallelized EVMs can help solve this problem. In his view, parallelism allows unrelated transactions to be processed faster, increasing the performance of blockchains and potentially allowing them to handle spam.

“In general, the EVM is executed sequentially, so each transaction in a block must be executed in order,” Farmer said. “It doesn’t matter if it’s an NFT transaction or a Uniswap transaction, two things that don’t depend on each other, we process those transactions sequentially.”

However, with a parallelized EVM, unrelated transactions can be processed simultaneously rather than sequentially. “At the same time, we could be processing your Uniswap transactions, your sign-ups, and your NFT mints,” Farmer said.

This ability to simultaneously process two or more transactions can allow the network to “localize gas rates into competing areas.”

For example, if many different people try to use Uniswap at the same time, they may have to pay higher fees since their transactions are related to each other and must be processed sequentially. However, other users trying to create NFTs would be mostly unaffected by this increase in Uniswap usage. Conversely, if the network experiences an increase in enrollment, this may result in an increase in rates for enrollees, leaving other users largely unaffected.

Farmer stated that this “localized gas rate” feature has not yet been implemented at Polygon, but it is ultimately one of the goals.

Another benefit of parallelism is an overall increase in performance, Farmer said. The Polygon team has already implemented “Block-STM”, which is a “first step” towards parallelization. And even with this small step, they saw “a 1.6x improvement in performance” and “either [have] achieved or will soon achieve a twofold improvement.” This means allowing nodes to synchronize with the network and process blocks twice as fast, resulting in greater network capacity to handle spam.

Related: Polygon 2.0: 2024 to see unified L2 chains powered by ZK

According to Farmer, parallelization was originally proposed by Solana developers, but the idea is now being implemented on multiple blockchains to improve performance, including not only Polygon but also Aptos, Monad, and others. However, the Ethereum ecosystem is taking a new approach to this concept by combining parallelization with increasing block space through layer 2 ecosystems, including Polygon 2.0, she said.

Source Link

Related Posts