Layer-2 zkSync to release smart contract stuck 921 ETH IDO funds

Layer-2 zkSync to release smart contract stuck 921 ETH IDO funds

Layer-2 zkSync to release smart contract stuck 921 ETH IDO funds PlatoBlockchain Data Intelligence. Vertical Search. Ai.

SNEAK PEEK

  • zkSync has found a solution to release the stuck 921 ETH
  • Before deployment, smart contracts were not tested.
  • zkSync Era TVL has spiked in the fortnight ever since its launch.

Incompatibilities have led to 900 ETH plus being stuck in a smart contract on the zkSync layer-2 network, as reported by Investor Bites

A project that made 921 ETH in an IDO on zkSync is undergoing issues accessing its funds. The money belongs to Gemholic, an ecological project that approached zkSync for help. 

Gemholic was prevented from withdrawing its Ethereum by an incompatibility with the transfer feature. On April 7, zkSync acknowledged the request with an offer of help to retrieve the project’s locked assets. 

The team confirmed the safety of the funds and said that they found a solution to unfreeze the contract. 

The team noted that Gemholic used their token contract recently and executed a pre-sale launch on zkSync Era. Adding on, the team shared that after the deployment, they faced a problem with their contract because of the usage of the .transfer() function. 

Also, without being tested initially, the smart contracts were deployed on zkSync. In 2019,  ConsenSys developers warned against the usage of such a Solidity transfer function.

The function involves the usage of a hardcoded fixed gas amount of 2300, though more than this amount can be consumed by fallback() function. This limitation and its effect on smart contracts were warned by zkSync as well. 

The team examined the source code of dozens of reputed crypto projects and found them to be compliant with the new dynamic system. 

A solution was figured out to fix a broader class of gas-based issues. The solution is based on minimal charges in the gas metering of the protocol but will enable retrieving the money completely.  

zkSync Era has experienced a huge hike in activity even since its launch in late March. According to its claims, it is the maximum a scaling fix has even undergone in such a short duration. 

As per L2beat, within a half-month of its launch, zkSync Era has become the fourth-highest TVL as well as the third-highest usage of all layer two protocols.

Meanwhile, Arbitrum One is ruling with a market share of 66% and a TVL of $6 billion. As for zkSync, it has reached only $149 million TVL.

Time Stamp:

More from Investor Bites