Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[General] How to spend from L2 account in a force included transaction #673

Open
bxpana opened this issue Aug 27, 2024 Discussed in #523 · 1 comment
Open

[General] How to spend from L2 account in a force included transaction #673

bxpana opened this issue Aug 27, 2024 Discussed in #523 · 1 comment
Labels
docs Items needed to be added or updated in the documentation general General question research Theoretical or research questions

Comments

@bxpana
Copy link
Contributor

bxpana commented Aug 27, 2024

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

@bxpana bxpana added general General question research Theoretical or research questions docs Items needed to be added or updated in the documentation labels Aug 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Items needed to be added or updated in the documentation general General question research Theoretical or research questions
Projects
None yet
Development

No branches or pull requests

2 participants
@bxpana and others