Comments (1)
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)
- A Typo detection CI automation HOT 2
- nondeterministic circuit generation in integration test HOT 2
- EVM Circuit: block.table_assignment introduces non fixed entries in fixed columns
- Toward Dencun Upgrade
- Transaction Hash
- BLOBBASEFEE opcode
- beacon root in EVM
- Shard Blob Transactions
- Get bench results for average block VS keccak maxed out HOT 2
- is_zero can be implemented without witnessing the inverse HOT 1
- State circuit spec sync
- Running make tests HOT 1
- Estimate rows needed for a block that of blake/sha256 maxed out HOT 1
- EIP-3074: AUTH and AUTHCALL opcodes
- MPT fails with mainnet test with block 18363441
- Stack trie witness generator - modified extension node
- fails to build because of the recent halo2-lib commit
- jallaz.sol HOT 1
- title
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zkevm-circuits.