• Mark Tyneway's avatar
    contracts-bedrock: system config fix · f68d876c
    Mark Tyneway authored
    Be sure to emit an event in the initialize function
    for the changes to the properties that the op-node cares
    about. This will ensure that the op-node's view of the
    system config is never corrupted. Without this change,
    an accidental reinitialize where the values are changed
    could result in this happening. Add events to prevent
    this from happening. This is done by making internal functions
    that are not `onlyOwner` and using those internal functions
    in `initialize`.
    
    Bump the version of the system config a minor version.
    f68d876c
SystemConfig.sol 17.4 KB