zkSync helps project recover stuck $1.7M from smart contract

Share This Post

Ethereum (ETH) layer2 (L2) network zkSync said it found “an elegant solution” to unfreeze  921 ETH — worth $1.7 million — belonging to Gemholic that was stuck in a smart contract.

Gemholic had had issues transferring the funds out of zkSync’s Era mainnet and later requested help from the layer2 network.

zkSync identifies the problem

According to zkSync, Gemholic encountered issues with its smart contract deployment on the Era mainnet because of its “usage of the .transfer() function.”

zkSync noted that this function uses a hardcoded fixed gas amount of 2300, which is not guaranteed to work on Ethereum because the gas consumption could be more or changed in the future.

The L2 solution said it had warned of this issue as far back as 2019.

zkSync further explained that its Era mainnet is not an equivalent of Ethereum Virtual Machine (EVM). It noted that:

“This is a deliberate design choice. Era has a diverging, dynamic gas metering, which allows some transaction types to be 10x to 1000x cheaper than on any other EVM rollup!”

The solution

zkSync said it identified “an elegant solution which can solve a broader class of gas-related problems. It will require minimal changes in the gas metering of the protocol but will allow for full recovery of the funds.”

The L2 network said it checked the source code of several popular crypto projects and found that they complied with its previous warning.

Meanwhile, the scaling solution pointed out that these issues could have been prevented if Gemholic first deployed the contract on a testnet. zkSync said:

“Unfortunately, the contracts were deployed on Era mainnet without having been tried on the testnet or local node, which would have immediately caught the problem.”

zkSync has enjoyed rapid adoption since its launch in March. The total value of assets locked on the network has risen to fourth among other L2 networks, according to L2beats data. The project said its growth is “the most any scaling solution has ever undergone in such a short period.”

The post zkSync helps project recover stuck $1.7M from smart contract appeared first on CryptoSlate.

Read Entire Article
spot_img
- Advertisement -spot_img

Related Posts

Thai SEC Big Move: Investors Could Soon Access Crypto ETFs

The post Thai SEC Big Move: Investors Could Soon Access Crypto ETFs appeared first on Coinpedia Fintech News The Thai Securities and Exchange commission is ready to bring huge economical changes The

Top Analyst Unveils This ‘Shiba Inu Killer’ As The Most Bullish Coin Of 2024

The post Top Analyst Unveils This ‘Shiba Inu Killer’ As The Most Bullish Coin Of 2024 appeared first on Coinpedia Fintech News Dubbed the “Shiba Inu killer,” ETFSwap (ETFS), a revolutionary

Bitcoin Price Fails At MA-200, Is A Crash To $52,000 Coming?

Following its brief stint above $66,000, the Bitcoin price fall had put it below multiple important levels This allowed the bears to thrive as they reclaimed control of the largest cryptocurrency by

Joe Rogan Criticizes Bitcoin & NFTs: Are They Worth the Hype?

The post Joe Rogan Criticizes Bitcoin & NFTs: Are They Worth the Hype appeared first on Coinpedia Fintech News In a recent episode of The Joe Rogan Experience, Joe Rogan sparked a spirited

Crypto Scandal: Here’s How This 86-Year Old Defrauded Investors And Later Got Caught

A former California attorney, named David Kagel aged 86 years old, has been sentenced to five years of probation and ordered to pay almost $14 million in restitution due to his involvement in a

Whale Buys $6M Eigen Using Two Fresh Wallets 

The post Whale Buys $6M Eigen Using Two Fresh Wallets  appeared first on Coinpedia Fintech News Amid the increasingly trending Eigen token, a new whale has made a massive entry with two newly