contracts-bedrock: L2StandardBridge `initialize()`
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.
Showing
Please register or sign in to comment