Towards Source Mapping for Zero-Knowledge Smart Contracts: Design and Preliminary Evaluation
Debugging and auditing zero-knowledge-compatible smart contracts remains a significant challenge due to the lack of source mapping in compilers such as zkSolc. In this work, we present a preliminary source mapping framework that establishes traceability between Solidity source code, LLVM IR, and zkEVM bytecode within the zkSolc compilation pipeline. Our approach addresses the traceability challenges introduced by non-linear transformations and proof-friendly optimizations in zero-knowledge compilation.
Authors
- Mark Staples (ORCID: https://orcid.org/0000-0003-3284-5385)
- Yulei Sui (ORCID: https://orcid.org/0000-0002-9510-6574)
- Pei Xu (ORCID: https://orcid.org/0009-0002-8766-3714)
Institutions
- University of Technology Sydney (AU)
- UNSW Sydney (AU)
- RoZetta Institute (AU)
Publication Details
- Published
- 2025-06-06
- DOI
- https://doi.org/10.1145/3713081.3732932
- Primary Topic
- Blockchain Technology Applications and Security
- Type
- article
- Field-Weighted Citation Impact
- 0.00