Gemholic, a popular project on zkSync, recently encountered a problem with their smart contract due to the platform’s incompatibility with the transfer function. As a result, 921 ETH IDO funds were stuck in the smart contract, causing concern among the community.
However, the zkSync team responded promptly and efficiently to the situation, stating that the funds were safe and that they had found an elegant solution to unfreeze the contract. The team also assured the community that they would be transparent about the issue and provide further context.
According to the zkSync team, the issue could have been prevented if best practices had been followed. Gemholic had recently deployed their token contract and performed a ICO launch on zkSync Era without testing it on the testnet or local node. Any smart contract that uses the transfer function is taking a hard dependency on gas costs, which can lead to issues when gas pricing changes or when the fallback function consumes more than 2300 gas.
The zkSync team had warned developers about this issue three years ago and added a warning about the transfer function directly to the compiler. They even checked the source code of dozens of popular crypto projects and did not find a single one that was not following their warning. However, the Gemholic situation demonstrated that some developers were still not heeding the warning.
The zkSync team has been working on a solution that can solve a broader class of gas-related problems and will allow for the full recovery of funds. They will provide more details on the solution soon.
Despite this incident, zkSync Era has already become a popular platform for developers and communities building on it. The platform has seen a tremendous spike in activity, becoming the fourth highest TVL and third highest usage of all L2s in just two weeks since its launch.
The zkSync team has taken this issue seriously and will continue to be on alert to resolve any future problems. They encourage developers to follow best practices and heed their warnings to prevent similar incidents from occurring.
#zkSync #zkSyncEra #Gemholic #crypto2023 #azcoinnews
This article was republished from azcoinnews.com