Commit e2356c35 authored by Adrian Sutton's avatar Adrian Sutton Committed by GitHub

Revert "op-program: Make directory preimage format the default." (#11823)

parent 7f3d6ef5
...@@ -139,7 +139,7 @@ func NewConfig( ...@@ -139,7 +139,7 @@ func NewConfig(
L2ClaimBlockNumber: l2ClaimBlockNum, L2ClaimBlockNumber: l2ClaimBlockNum,
L1RPCKind: sources.RPCKindStandard, L1RPCKind: sources.RPCKindStandard,
IsCustomChainConfig: isCustomConfig, IsCustomChainConfig: isCustomConfig,
DataFormat: types.DataFormatDirectory, DataFormat: types.DataFormatFile,
} }
} }
......
...@@ -40,7 +40,7 @@ var ( ...@@ -40,7 +40,7 @@ var (
Name: "data.format", Name: "data.format",
Usage: fmt.Sprintf("Format to use for preimage data storage. Available formats: %s", openum.EnumString(types.SupportedDataFormats)), Usage: fmt.Sprintf("Format to use for preimage data storage. Available formats: %s", openum.EnumString(types.SupportedDataFormats)),
EnvVars: prefixEnvVars("DATA_FORMAT"), EnvVars: prefixEnvVars("DATA_FORMAT"),
Value: string(types.DataFormatDirectory), Value: string(types.DataFormatFile),
} }
L2NodeAddr = &cli.StringFlag{ L2NodeAddr = &cli.StringFlag{
Name: "l2", Name: "l2",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment