Skip to content

op-chain-ops: generate L1 and L2 genesis by running forge script in Go #11493

Closed

Description

Generate a L1 and a L2 dev genesis, by instantiating a script Host, loading the Deploy.s.sol and L2Genesis.s.sol, and running the deploy functions that are applicable.

This depends on some Deploy.s.sol improvements, to make the right deploy functions configurable and accessible. This is being improved as part of OPSM 0.5.

This can also improve with L2genesis.s.sol changes, to make the right deploy functions configurable and accessible. This might be part of OPSM 0.5 (focused more on L1 deployment however).

In the meantime we can try and hack around it with partial DeployConfig.s.sol overrides and temporary script hacks/changes to the genesis script.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Relationships

None yet

Development

No branches or pull requests

Issue actions