• Mark Tyneway's avatar
    contracts-bedrock: L2StandardBridge `initialize()` · 0ed1ac11
    Mark Tyneway authored
    Adds an `initialize()` function to the `L2StandardBridge`
    implementation. This standardizes on having noop init functions
    for L2 contracts. They are set in genesis state directly so the initialize
    function should never execute. Keeping it there is more transparent.
    Otherwise one may forget that it is initializable. The `_initialized`
    storage slot MUST be set during L2 genesis generation.
    0ed1ac11
L2StandardBridge.sol 10.1 KB