Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // OptimismPortalInteropFlag enables interop features in OptimismPortal2. OptimismPortalInteropFlag = common.HexToHash("0x0000000000000000000000000000000000000000000000000000000000000001") // CannonKonaFlag enables Kona as the default cannon prover. CannonKonaFlag = common.HexToHash("0x0000000000000000000000000000000000000000000000000000000000000010") // DeployV2DisputeGamesFlag enables deployment of V2 dispute game contracts. DeployV2DisputeGamesFlag = common.HexToHash("0x0000000000000000000000000000000000000000000000000000000000000100") // L2CMFlag enables L2CM. L2CMFlag = common.HexToHash("0x0000000000000000000000000000000000000000000000000000000000100000") // ZKDisputeGameFlag enables the ZK dispute game system. // TODO(#19432): Use this flag in the OPCM/OPD integration pipeline. ZKDisputeGameFlag = common.HexToHash("0x0000000000000000000000000000000000000000000000000000000001000000") // SuperRootGamesMigrationFlag enables the super root games migration path in OPCM upgrade. SuperRootGamesMigrationFlag = common.HexToHash("0x0000000000000000000000000000000000000000000000000000000010000000") )
Development feature flag constants.
Functions ¶
func EnableDevFeature ¶
EnableDevFeature sets a specific development feature flag in a feature bitmap.
func IsDevFeatureEnabled ¶
IsDevFeatureEnabled checks if a specific development feature is enabled in a feature bitmap. It performs a bitwise AND between the bitmap and flag to determine if the feature is set. This follows the same pattern as the Solidity DevFeatures library.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.