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

Migration flags #275

Closed
wants to merge 2 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions op-chain-ops/genesis/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -666,6 +666,9 @@ type FaultProofDeployConfig struct {
// UseFaultProofs is a flag that indicates if the system is using fault
// proofs instead of the older output oracle mechanism.
UseFaultProofs bool `json:"useFaultProofs"`
// InitializeAnchorStateRegistry is a flag that indicates if the system should
// initialize the AnchorStateRegistry when running Deploy.s.sol run() function.
InitializeAnchorStateRegistry bool `json:"initializeAnchorStateRegistry"`
// FaultGameAbsolutePrestate is the absolute prestate of Cannon. This is computed
// by generating a proof from the 0th -> 1st instruction and grabbing the prestate from
// the output JSON. All honest challengers should agree on the setup state of the program.
Expand Down Expand Up @@ -830,6 +833,9 @@ type DeployConfig struct {

// DeployCeloContracts indicates whether to deploy Celo contracts.
DeployCeloContracts bool `json:"deployCeloContracts"`

// InitializeAnchorStateRegistry indicates whether to initialize the AnchorStateRegistry.
InitializeAnchorStateRegistry bool `json:"initializeAnchorStateRegistry"`
}

// Copy will deeply copy the DeployConfig. This does a JSON roundtrip to copy
Expand Down
Loading