• Mark Tyneway's avatar
    contracts-bedrock: migrate OptimismPortal single impl · 716aa394
    Mark Tyneway authored
    Migrate the network specific config in the `OptimismPortal`
    from being `immutable` values into storage. This allows for
    a single implementation to be used for all proxies in the
    network.
    
    As seen in the storage layout, no storage values are modified.
    Only new storage values are added. This is very important for
    ensuring the integrity of storage in the contract.
    
    The deployment complexity is reduced by removing all constructor
    values and setting all config in the `initialize` function.
    The sentinel contract should use all null values for its fields
    so that it is not confused as the contract for an actual network.
    
    The bindings are regnerated. A follow up commit will bump the
    minor semver version in the `OptimismPortal`
    716aa394
Name
Last commit
Last update
..
deploy-config Loading commit data...
deployments Loading commit data...
invariant-docs Loading commit data...
lib Loading commit data...
scripts Loading commit data...
src Loading commit data...
test Loading commit data...
test-case-generator Loading commit data...
.envrc.example Loading commit data...
.eslintignore Loading commit data...
.eslintrc.js Loading commit data...
.gas-snapshot Loading commit data...
.gitignore Loading commit data...
.npmignore Loading commit data...
.prettierignore Loading commit data...
.prettierrc.js Loading commit data...
.solhint.json Loading commit data...
.solhintignore Loading commit data...
.storage-layout Loading commit data...
CHANGELOG.md Loading commit data...
LICENSE Loading commit data...
README.md Loading commit data...
STYLE_GUIDE.md Loading commit data...
foundry.toml Loading commit data...
layout-lock.json Loading commit data...
package.json Loading commit data...
semver-lock.json Loading commit data...
slither.config.json Loading commit data...
slither.db.json Loading commit data...
tsconfig.build.json Loading commit data...
tsconfig.json Loading commit data...