@barrywhitehat in post discussed how to implement private EVM by adding pstore and pload opcodes, supporting private user states, analyzing the trade-off between privacy and global state. @barrywhitehat 在帖子中讨论了如何通过添加pstore和pload操作码实现私有EVM,支持私有用户状态,同时分析了隐私与全局状态的权衡。
Notes
Private global state is infeasible, as the prover must know the state to generate proofs
Adding pstore and pload opcodes supports private user states
Private storage trees and invalid trees manage private data
Need to handle metadata leaks, such as message.sender and tx.origin
Can achieve private rollup, with users or servers generating proofs
Future needs to consider EOA privacy and dynamic value storage race conditions