chainwayxyz / citrea

Citrea, Bitcoin's First ZK Rollup 🍊🍋
https://citrea.xyz
GNU General Public License v3.0
129 stars 26 forks source link

Optimization: Get rid of RlpEvmTransaction #1522

Open kpp opened 4 hours ago

kpp commented 4 hours ago

Let's try to get rid of RlpEvmTransaction when we try to decode it in zk context. We call either TransactionSigned::decode_enveloped or TransactionSigned::decode_2718 in a zk context whilst we could pass TransactionSignedNoHash in evm::Call.