zkevm-circuits
zkevm-circuits copied to clipboard
EIP-4895: Beacon chain push withdrawals as operations
Describe the feature you would like
EIP-4895: Beacon chain push withdrawals as operations
Additional context
Pending analysis of what work should be done.
Since this is a large task, I'll split it into 3 part
- pi circuit integration, adding withdrawals and withdrawal root in pi circuit - https://github.com/privacy-scaling-explorations/zkevm-circuits/pull/1634
- withdrawal circuit
- the main logic of EIP-4895
- balance update
- super circuit integration
blocked by #1652
Withdrawal circuit needs MPT stack trie to verify MPT root but we don't have it now. Issue #1652 was created to address it and Miha probably will work on it next week. Besides, current RLP gadget is more MPT specifc and #1652 will also support RLP constraints as it is for the state trie.