News News Report Technology
April 07, 2023

Funds from GemholicECO’s 921ETH Token Sale Stuck in zkSync’s Smart Contract Due to Using Transfer Function

In Brief

GemholicECO used the transfer function when deploying their token contract on zkSync Era.

The transfer function works on Ethereum and other EVM chains, but not on zkSync.

zkSync has given the community an update to clarify the issue.

Funds from GemholicECO’s 921ETH Token Sale Stuck in zkSync’s Smart Contract Due to Using Transfer Function

GemholicECO, a multi-product platform, has raised 921 ETH, worth approximately $1.7 million, in a token sale. However, the funds have been stuck in the smart contract due to an issue with the usage of the .transfer() function, which works on Ethereum and other EVM chains, but not on zkSync.

zkSync Era is a Layer-2 protocol that scales Ethereum with Zero Knowledge technology. The Alpha version of the protocol opened on the mainnet on Mar 24.

To clarify the issue, zkSync tweeted an update on Thursday, giving its community context. According to zkSync, GemholicECO deployed its contract on the mainnet without trying it on the testnet or local node, which would have caught the problem. 

“Any smart contract that uses transfer() or send() is taking a hard dependency on gas costs, because this functions forward a hardcoded amount of 2300 gas,” zkSync explained. While the function uses a hardcoded gas amount, gas costs can change, causing the smart contract to break.

Developers were warned about using the transfer function three years ago, but it seems that GemholicECO did not heed the advice. Anticipating that the problem would arise, zkSync added a warning about using the transfer function directly into the compiler.

Developers of the protocol made a deliberate design choice of making zkSync not EVM equivalent. zkSync claims that Its dynamic gas metering allows some transactions to be up to 1,000 times cheaper than on any other EVM rollup.

Furthermore, zkSync previously checked the source code of dozens of popular crypto projects and didn’t find a single one to be not following the three-year-old warning of not using .transfer(), therefore leading it to conclude that the developer community had resolved this issue.

To prevent this issue from resurfacing in the future, zkSync has identified a solution that can solve a broader class of gas-related problems, unfreeze the smart contract and fully recover GemholicECO’s funds. The protocol will publish more details soon.

Read more:

Disclaimer

In line with the Trust Project guidelines, please note that the information provided on this page is not intended to be and should not be interpreted as legal, tax, investment, financial, or any other form of advice. It is important to only invest what you can afford to lose and to seek independent financial advice if you have any doubts. For further information, we suggest referring to the terms and conditions as well as the help and support pages provided by the issuer or advertiser. MetaversePost is committed to accurate, unbiased reporting, but market conditions are subject to change without notice.

About The Author

Cindy is a journalist at Metaverse Post, covering topics related to web3, NFT, metaverse and AI, with a focus on interviews with Web3 industry players. She has spoken to over 30 C-level execs and counting, bringing their valuable insights to readers. Originally from Singapore, Cindy is now based in Tbilisi, Georgia. She holds a Bachelor's degree in Communications & Media Studies from the University of South Australia and has a decade of experience in journalism and writing. Get in touch with her via [email protected] with press pitches, announcements and interview opportunities.

More articles
Cindy Tan
Cindy Tan

Cindy is a journalist at Metaverse Post, covering topics related to web3, NFT, metaverse and AI, with a focus on interviews with Web3 industry players. She has spoken to over 30 C-level execs and counting, bringing their valuable insights to readers. Originally from Singapore, Cindy is now based in Tbilisi, Georgia. She holds a Bachelor's degree in Communications & Media Studies from the University of South Australia and has a decade of experience in journalism and writing. Get in touch with her via [email protected] with press pitches, announcements and interview opportunities.

Hot Stories
Join Our Newsletter.
Latest News

How Minmax Is Building The Professional AI Trading Terminal Prediction Markets Still Lack In 2026

Minmax processed roughly $100,000 in volume in the first three days of June, most of it through ...

Know More

The Calm Before The Solana Storm: What Charts, Whales, And On-Chain Signals Are Saying Now

Solana has demonstrated strong performance, driven by increasing adoption, institutional interest, and key partnerships, while facing potential ...

Know More
Read More
Read more
The Quantum Risk Is No Longer Theoretical: Why Blockchain Governance May Be The Industry’s Defining Issue
Opinion Technology
The Quantum Risk Is No Longer Theoretical: Why Blockchain Governance May Be The Industry’s Defining Issue
June 25, 2026
Bitcoin Slides Below $60K As Liquidations Accelerate And Strategy’s STRC Decline Adds To Market Pressure
Markets News Report Technology
Bitcoin Slides Below $60K As Liquidations Accelerate And Strategy’s STRC Decline Adds To Market Pressure
June 25, 2026
GoMining Mines First Known Bitcoin Block Using Stratum V2 Protocol
News Report Technology
GoMining Mines First Known Bitcoin Block Using Stratum V2 Protocol
June 25, 2026
OpenAI And Broadcom Unveil Jalapeño Chip As Full-Stack AI Strategy Shifts Toward Custom Inference Infrastructure
News Report Technology
OpenAI And Broadcom Unveil Jalapeño Chip As Full-Stack AI Strategy Shifts Toward Custom Inference Infrastructure
June 25, 2026