ZKsync实现完全EVM等效,开发者可无缝部署以太坊合约

Odaily
07 May

Odaily星球日报讯 据 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.

Most Discussed

  1. 1
     
     
     
     
  2. 2
     
     
     
     
  3. 3
     
     
     
     
  4. 4
     
     
     
     
  5. 5
     
     
     
     
  6. 6
     
     
     
     
  7. 7
     
     
     
     
  8. 8
     
     
     
     
  9. 9
     
     
     
     
  10. 10