[General] How to spend from L2 account in a force included transaction
bxpana opened this issue · 0 comments
bxpana commented
Need to update docs about force inclusion of transactions
Discussed in #523
Originally posted by NIC619 May 11, 2024
Environment
Mainnet
Provide a brief description of the functionality you're trying to implement and the issue you are running into.
I'm studying the force inclusion mechanism on zkSync. I ran into a problem where I want to force include a transaction that spends from my L2 account, e.g., transfer my L2 ETH to another account, but L1's MailBox.requestL2Transaction
function requires that I pay up the l2Value
immediately instead of spending from my L2 account.
https://github.com/matter-labs/era-contracts/blob/4aa7006153ad571643342dff22c16eaf4a70fdc1/l1-contracts/contracts/zksync/facets/Mailbox.sol#L251
How am I supposed to spend from my L2 account if I'm being censored by the sequencer?
Repo Link (Optional)
No response
Additional Details
No response