zkSync Finds Approach to ‘Unfreeze’ 921 ETH Caught in Magnificent Contract
Ethereum Layer 2 scaling answer zkSync claims to be pleased found a mode to unfreeze the funds locked in Gemholic’s GemstoneIDO tidy contract.
In an April 6 update on Twitter, zkSync mentioned it had found an “trim answer” to 921 ETH, price around $1.7 million, locked in one of its contracts after the project’s token sale.
TLDR:
1) Funds are protected. We found an trim answer the excellent solution to unfreeze the contract.
2) Expertise just isn’t any longer EVM identical. It’s miles a deliberate acquire selection with explicit upsides and trade-offs.
3) Following easiest practices would've steer clear off the voice:https://t.co/93M5ruljUP
— zkSync (∎, ∆) (@zksync) April 7, 2023
The difficulty arose from the .transfer() feature in GemstoneIDO’s tidy contract, which the zkSync group claims may per chance were steer clear off if the project had deployed the contract on a testnet.
“Sadly, the contracts had been deployed on Expertise mainnet with out having been tried on the testnet or local node, which would be pleased right away caught the topic,” mentioned the zkSync group.
The Gemholic group, alternatively, claims to be pleased tested out the feature on the zkSync testnet before the mainnet.
The feature was as soon as segment of zkSync Expertise, the zero-info rollup scaling answer released by Subject Labs closing month. On the choice hand, zkSync Expertise just isn’t any longer Ethereum Digital Machine (EVM) identical, a “deliberate acquire selection” made by the group.
Expertise’s dynamic gasoline metering means that any ETH transfers will note better than 2300 gasoline, and any .transfer() feature entered with out an explicit gasoline stipend would fail. The group mentioned it had anticipated this kind of voice and added a warning about the feature on to its compiler.
Before everybody gets their pitchforks out for @zksync and the 921 ETH locked in that contract from in the present day, their compiler does in spite of every little thing give a warning whenever you utilize the transfer feature.
It doesn't thoroughly error out in case you're using the non-native transfer feature. pic.twitter.com/F9wTHubFmc
— cygaar (@0xCygaar) April 6, 2023
To unravel the voice of GemstoneIDO’s locked funds, zkSync mentioned it may perhaps per chance per chance develop minimal changes to the gasoline metering of the protocol to enable for a cumbersome recovery of funds.
No matter a immediate resolution, some critics alleged that the points stemmed from zkSync Expertise’s lack of total EVM equivalence, despite its claims quite the opposite.
7/n
All of the whereas, Expertise went down correct just a few days ago and now this voice with the transfer feature. Some principal folks mentioned how the lang isn't isomorphic which equates to zero EVM equivalence compatibility.
— Naz (@CryptoNasss) April 6, 2023
Source credit : unchainedcrypto.com