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

feat(supersim): configure l1 and l2 vanilla genesis state #28

Merged
merged 1 commit into from
Jun 27, 2024

Conversation

tremarkley
Copy link
Contributor

@tremarkley tremarkley commented Jun 26, 2024

Closes #15
Part of #2

Pins the genesis files genesis-l1.json and genesis-l2.json, which contain all op stack predeploys including the interop contracts:

  • CrossL2Inbox (0x4200000000000000000000000000000000000022)
  • L2toL2CrossDomainMessenger (0x4200000000000000000000000000000000000023)
  • L1Block (0x4200000000000000000000000000000000000015)

The genesis files were generated from the optimism monorepo by setting the useInterop flag to true and running make devnet-up.

Additionally, updated the anvil.Config struct to contain a GenesisPath field, which is used for initializing the anvil instance with the genesis state.

@tremarkley
Copy link
Contributor Author

tremarkley commented Jun 26, 2024

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @tremarkley and the rest of your teammates on Graphite Graphite

@tremarkley tremarkley changed the title feat(supersim): configure l1 and l2 genesis state feat(supersim): configure l1 and l2 vanilla genesis state Jun 26, 2024
@tremarkley tremarkley marked this pull request as ready for review June 26, 2024 20:56
@tremarkley tremarkley requested a review from a team as a code owner June 26, 2024 20:56
@tremarkley tremarkley changed the base branch from 06-25-feat_spin_up_multiple_chains to main June 26, 2024 22:43
@tremarkley tremarkley force-pushed the harry/genesis branch 7 times, most recently from 85bb40d to a90d332 Compare June 26, 2024 23:08
supersim_test.go Outdated Show resolved Hide resolved
supersim_test.go Outdated Show resolved Hide resolved
supersim_test.go Outdated Show resolved Hide resolved
supersim_test.go Outdated Show resolved Hide resolved
Copy link
Contributor

@nitaliano nitaliano left a comment

Choose a reason for hiding this comment

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

good job, comments i left aren't blocking or anything and hope you're enjoying go!

@tremarkley tremarkley force-pushed the harry/genesis branch 3 times, most recently from 49050fc to d320d75 Compare June 27, 2024 17:55
@tremarkley tremarkley merged commit 2a0d024 into main Jun 27, 2024
2 checks passed
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.

orchestrator: vanilla genesis setup
2 participants