[ZK Stack] - zksync-cli bridge withdraw-finalize throws error with custom zksync ecosystem #967
-
Team or ProjectNo response Module Affected
Rust Versionrustup 1.28.1, rustc 1.82.0 Operating System
Issue DescriptionAfter creating and initializing a ecosystem via zkstack, I followed the documentation at https://matter-labs.github.io/zksync-era/core/latest/guides/advanced/02_deposits.html to deposit and later withdraw funds from l2. deposit commands work fine, but when trying to execute I have a postgresSQL, reth and the zkstack server up and running. Do I need to start any other services to make the ecosystem whole e.g. prover? The error message is as follows:
I created the ecosystem with Expected BehaviorFinalize the withdrawal of funds to l1 and have the funds back in the account on l1. Current BehaviorAn error is thrown after the funds were taken from the account on l2 and while trying to finalize the withdrawal on l1. Repository Link (if applicable)No response Additional DetailsNo response Prior Research
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Please try specifying |
Beta Was this translation helpful? Give feedback.
-
Right now the protocol is going through an upgrade (v26), which changes the semantics of withdrawal finalization. The changes are backward compatible for chains that are upgraded from v25 to v26, but they're not backward compatible for the chains that are deployed as v26 right away. So, the withdrawal finalization in zksync CLI doesn't work with local chain, since it's deployed as v26. Support for v26 approach is being finalized in JS SDK right now, and once the corresponding PR will be merged, we will update zksync CLI accordingly. |
Beta Was this translation helpful? Give feedback.
Right now the protocol is going through an upgrade (v26), which changes the semantics of withdrawal finalization. The changes are backward compatible for chains that are upgraded from v25 to v26, but they're not backward compatible for the chains that are deployed as v26 right away. So, the withdrawal finalization in zksync CLI doesn't work with local chain, since it's deployed as v26.
Support for v26 approach is being finalized in JS SDK right now, and once the corresponding PR will be merged, we will update zksync CLI accordingly.