Closed parketh closed 3 weeks ago
seems there is an issue that the test plan doesn't pass @parketh will create an issue to track it
seems there is an issue that the test plan doesn't pass @parketh will create an issue to track it
tracking here: https://github.com/babylonchain/optimism/issues/14
Summary
This PR removes the hardcoded Babylon chain configs (CW contract address and chain type) from the engine queue, and dynamically imports them from chain configs at deployment.
It closes #12.
Description
Refer to OP docs on creating L2 rollup.
We add two new values to
.envrc
as follows:Then, we amend the config script at
packages/contracts-bedrock/scripts/getting-started/config.sh
to include these params:Finally, we update
Finalizer
by adding theBabylonConfig
object so that we can read the Babylon configs in the engine queue, and remove the hard code.Test plan