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

Restrict L1 contracts to only be callable by the sequencer #1157

Open
jrchatruc opened this issue Nov 13, 2024 · 1 comment
Open

Restrict L1 contracts to only be callable by the sequencer #1157

jrchatruc opened this issue Nov 13, 2024 · 1 comment

Comments

@jrchatruc
Copy link
Member

Add an onlySequencer modifier to the functions in the onChainProposer so that only the sequencer can advance the state of the chain in the L1 contract

@jrchatruc jrchatruc converted this from a draft issue Nov 13, 2024
@h3lio5
Copy link
Contributor

h3lio5 commented Nov 14, 2024

should it be a single sequencer or an array of whitelisted ones? If the sequencer network is decentralized and permissionless we may need to maintain a separate registry for that.

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

No branches or pull requests

2 participants