[General] On bridging from Ethereum-L1 to zkSync Era network, the funds are available immediately on zkSync Era network. #616
-
It's mentioned in the Instant Confirmations section of ZKsync Finality docs:
So, my question is: On bridging, a user receives funds immediately on L2 (without having the finality being achieved on L1), now suppose the user moves or uses those funds immediately since the funds are allowed to be moved, and during the ~24 hours of time (i.e., required to achieve full finality), one can make a ton of transactions, and that too from various wallets/keys. But, what if the finality for the initial bridging transaction would never be achieved on L1 and the transaction gets rolled back, then how zkSync will cover up those funds or rollback all the subsequent transactions in that case? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 9 replies
-
The scenario you've described touches on the core aspects of transaction finality and the security mechanisms in place within the zkSync Era network. Here's how zkSync handles such situations: Immediate Usability vs. Finality
Handling Non-Finality
Recommendations for Users
ConclusionThe design of zkSync is such that it balances between immediate usability of funds and the robustness of transaction finality. The system's ability to rollback transactions in the event of non-finality is a critical aspect that ensures the security and reliability of the network. Users are advised to consider their risk tolerance and possibly wait for L1 finality for large or critical transactions. Your feedback helps us serve you better. If this fully addresses your question, please give it a thumbs up. If it doesn't, please give it a thumbs down. This will inform the community and team so we can improve our support. |
Beta Was this translation helpful? Give feedback.
A few updates here, from what I've gathered the bot responses are correct. The costs of the reorg would be handled by the operator. However deposits from L1 are not available on ZKsync until they are finalized on L1 (takes ~15 minutes to deposit). If using a third party bridge that will change things a bit which is why it's always more secure to use the canonical bridge.