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

Creating new L2s based on an existing L1 chain. #239

Open
hamdiallam opened this issue Oct 29, 2024 · 2 comments
Open

Creating new L2s based on an existing L1 chain. #239

hamdiallam opened this issue Oct 29, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@hamdiallam
Copy link
Contributor

hamdiallam commented Oct 29, 2024

Right now supersim, creates all the L2s & L1s at once. However, there's a UX journey that would be great to test with supersim, A new member gets added to the superchain

We could simulate this with the following flow.

  1. Start supersim in the default setting with 1 L2, and 2 L2 chains
  2. In a new window, start supersim again with some flags like --l1.endpoint and --l2.starting.port and --l2.starting.chainid which allows new L2s chains to start using the same L1 started in step (1)

This would allow developers to dynamically increase/decrease the number of L2s and test the dapp flow. An open question is how the superchain registry works in non fork mode

@hamdiallam hamdiallam added the enhancement New feature or request label Oct 29, 2024
@nitaliano
Copy link
Contributor

nitaliano commented Oct 29, 2024

Would also be nice to add the ability to do this through admin rpcs as well. For unit and integration testing I think being able to do this through the rpc would be very useful so we don't need to have all the L2's running for tests that don't need them.

@hamdiallam
Copy link
Contributor Author

hamdiallam commented Oct 29, 2024

yep totally agree, maybe the admin rpcs is the right way to do this. This admin rpc could also serve the needed registry config info for the frontend to shim with as well! I like this approach better

will need to some library to dynamically render terminal output

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

No branches or pull requests

2 participants