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

Interop: Simplify Dependency Set Management #13457

Open
tynes opened this issue Dec 18, 2024 · 0 comments
Open

Interop: Simplify Dependency Set Management #13457

tynes opened this issue Dec 18, 2024 · 0 comments

Comments

@tynes
Copy link
Contributor

tynes commented Dec 18, 2024

Right now the dependency set is maintained on L1 as well as each L2. This adds complexity to the contracts as we need to make sure that each time a dependency is added to the dependency set, it is pushed into each L2 state. This allows the smart contracts to revert when trying to consume a message from a chain outside of the dependency set or when sending to a chain outside of the dependency set (ethereum-optimism/specs#460)

If we instead removed these onchain checks and moved the checks offchain into the proof/blockbuilder, it would remove the concept of needing to maintain this state in each L2. We would lose the ability to prevent sends to chains outside of the dependency set, but in return we would get a lot more onchain simplicity. The dependency set would live in a single place in the SuperchainConfig and it would not need to be pushed to each SystemConfig. We would be able to drop the idea of the SystemConfig and L1Block contracts knowing about the dependency set.

zainbacchus added a commit to ethereum-optimism/docs that referenced this issue Dec 19, 2024
Reverting #1171 due to ethereum-optimism/optimism#13457

Preventing sends to outside dependency set can be explored via app-layer solution eg onchain tokenlist
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