【ZKsync实现完全EVM等效,开发者可无缝部署以太坊合约】5月7日消息,据ZKsync官方宣布,ZKsync现已实现完全EVM等效(EVM Equivalence),开发者可直接使用Solidity编译生成的EVM字节码在ZKsync链上部署,无需再使用zkSolc、Foundry ZKsync等特制工具。该功能通过协议第27版升级引入,并由治理提案ZIP-9正式批准上线。 EVM字节码将在EraVM之上通过EVM解释器执行,实现无缝兼容Foundry、Hardhat、Remix等主流以太坊开发工具。尽管如此,因运行模式差异,该机制仍存在gas计算方式不同、部分EVM指令(如CALLCODE、SELFDESTRUCT)不被支持、执行费用高于原生EraVM合约等限制。ZKsync建议性能敏感项目仍以EraVM原生开发为优先。该升级将逐步扩展至Elastic Network中的其他ZK链。
Disclaimer: Investing carries risk. This is not financial advice. The above content should not be regarded as an offer, recommendation, or solicitation on acquiring or disposing of any financial products, any associated discussions, comments, or posts by author or other users should not be considered as such either. It is solely for general information purpose only, which does not consider your own investment objectives, financial situations or needs. TTM assumes no responsibility or warranty for the accuracy and completeness of the information, investors should do their own research and may seek professional advice before investing.