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

$380 Million Bitcoin Seized By Irish Authorities Stuck In Limbo Over Missing Password

The Irish Criminal Assets Bureau (CAB) is facing significant challenges in accessing €350 million or approximately $383 million in Bitcoin (BTC) seized from a former drug dealer  The

NEIRO Hits Fresh ATH As WIF And PEPE Climb Up The Charts, Profits Begin To Rotate To DeFi Tokens Like LNEX

The post NEIRO Hits Fresh ATH As WIF And PEPE Climb Up The Charts, Profits Begin To Rotate To DeFi Tokens Like LNEX appeared first on Coinpedia Fintech News The rapid ascent of meme coins like NEIRO,

Analysts Say Cardano Price Unlikely To Reclaim $1 Anytime Soon – Kaspa and Rollblock Offer Better Opportunities

The post Analysts Say Cardano Price Unlikely To Reclaim $1 Anytime Soon – Kaspa and Rollblock Offer Better Opportunities appeared first on Coinpedia Fintech News Cardano (ADA) has gone from a

South Korean Lawmakers Call for Full Investigation Into KOK Token Crash

Two South Korean lawmakers have called for a full investigation into the KOK token after its value collapsed to almost zero Victims have accused Korea’s largest newspaper of promoting the scam,

BlackRock holds out during $49.2 million in Bitcoin ETF outflow amid Ethereum ghost town

On Oct 8, 2024, Bitcoin ETFs saw net outflows totaling $186 million Fidelity’s FBTC ETF led the declines with $488 million in outflows, while Grayscale’s GBTC ETF recorded a smaller

Chinese Government’s $542k Ethereum Sell-Off Sparks ETH Price Drop

The post Chinese Government’s $542k Ethereum Sell-Off Sparks ETH Price Drop appeared first on Coinpedia Fintech News Following the Bitcoin (BTC) dip to $61k, which influenced a similar move on