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

Considerations re: enriched Deposits workflow #106

Open
NiloCK opened this issue Aug 6, 2024 · 0 comments
Open

Considerations re: enriched Deposits workflow #106

NiloCK opened this issue Aug 6, 2024 · 0 comments

Comments

@NiloCK
Copy link
Collaborator

NiloCK commented Aug 6, 2024

OP-stack deposits allow for depositing of transactions, which are executed on the L2, not simply value, which is minted on the L2.

Monomer's support for deposits is currently limited to value minting. This has implications for an AppChain's censorship resistance.

The workflow for including deposits is that all L1 user initiated deposits are bundled with the L1Attributes deposit tx as a single cosmos-sdk.types.tx transaction with a custom message body.

Current planning for processing the L1 deposits is to bypass (or alter) some standard checks (AnteHandler), but passing arbitrary user-defined transactions through reduced checks is a security hazard.

Potentially: the minting portion of the user initiated deposits could be decoupled from the transaction execution portion. Then, minting could remain bundled with the L1Attributes deposit for guaranteed execution, and the associated transaction data could be packaged processed as regular sdk transactions to succeed or fail according to the normal logic of the AppChain.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant