Giter VIP home page Giter VIP logo

Comments (1)

ed255 avatar ed255 commented on August 14, 2024

After taking a look at this I found that this task required some refactoring work because the keccak circuit is using dependencies from other parts of the zkevm-circuits. In particular it's depending on parts that are unrelated to keccak (like all the EVM tables, or the general cell manager which has EVM specific dependencies), so to make keccak independent that needs to be addressed (it's not just moving the code around).
So I started doing some of that but quickly remembered that Axiom was also using a fork of the same keccak circuit, but in their case this work of making the circuit independent has already been done https://github.com/axiom-crypto/halo2-lib/tree/community-edition/hashes/zkevm

So considering that Axiom already has a nice crate with the keccak hash circuit that can be imported and used by any halo2 developer, I think it's not worth it that we do the same because it's duplicated work. Moreover their crate is supposed to be compatible with their halo2 fork but also ours (via this feature https://github.com/axiom-crypto/halo2-lib/blob/18d7d6e713d7161e1f5aa15e8721e6160eb36776/hashes/zkevm/Cargo.toml#L44)

So I'm closing this issue and recommend halo2 users that need a keccak circuit to pick this one https://github.com/axiom-crypto/halo2-lib/tree/community-edition/hashes/zkevm/src/keccak

from zkevm-circuits.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.