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

Adds odyssey support #302

Merged
merged 2 commits into from
Dec 16, 2024
Merged

Adds odyssey support #302

merged 2 commits into from
Dec 16, 2024

Conversation

nitaliano
Copy link
Contributor

Description

This PR introduces a new cli flag --odyssey.enabled. It adds support to start both the L1 & L2 anvil instances with odyssey features enabled allowing developers to start testing out more experimental features multichain

Copy link

cloudflare-workers-and-pages bot commented Dec 16, 2024

Deploying supersim with  Cloudflare Pages  Cloudflare Pages

Latest commit: 7cb43f5
Status: ✅  Deploy successful!
Preview URL: https://23d1322e.supersim.pages.dev
Branch Preview URL: https://odyssey-support.supersim.pages.dev

View logs

@nitaliano nitaliano marked this pull request as ready for review December 16, 2024 14:18
@nitaliano nitaliano requested a review from a team as a code owner December 16, 2024 14:18
// Spin up L1 anvil instance
l1Anvil := anvil.New(log, closeApp, &networkConfig.L1Config)
l1Cfg := networkConfig.L1Config
if cliConfig != nil {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

would you prefer having this here over applying it to the networkConfig in supersim.go. Similar to how we apply the other cli configs? https://github.com/ethereum-optimism/supersim/blob/main/supersim.go#L64

Copy link
Contributor Author

@nitaliano nitaliano Dec 16, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yea I initially put it in the network config, the problem is the network config doesn't get passed down to where we setup anvil only the chain config gets passed all the way down. The interop portion you linked too is being utilized after everything is up and running. I considered adding the field to the network configs still but it would result in more code just copying the field over to the chain config

config/cli.go Show resolved Hide resolved
@nitaliano nitaliano merged commit b27245e into main Dec 16, 2024
5 checks passed
@nitaliano nitaliano deleted the odyssey-support branch December 16, 2024 18:42
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

Successfully merging this pull request may close these issues.

2 participants