0xEigenLabs / eigen-zeth

A "Type 0" zkEVM
10 stars 2 forks source link

Support multiple transactions per block #34

Closed eigmax closed 1 month ago

eigmax commented 2 months ago

This function involves the components below:

eigmax commented 2 months ago

For the deposit txn, the bridge-service need to watch all the BridgeAsset event, and store the EMT root with current txId. @BC-A

For the withdrawal txn, it's included in a batch for the sequenceBatch and verifyBatch. In each verifyBatch, the L2 EMT root has been sent to L1.

All the claim should be happened one by one.