• Mark Tyneway's avatar
    contracts-bedrock: fix test legibility · af5ad1d2
    Mark Tyneway authored
    Adds a new helper library called `EIP1967Helper` that can
    get the admin and impl storage slots from a `Proxy` implementing
    ERC1967. This is more helpful to use than hardcoded magic values
    such as `multisig` because it is not clear who the multisig is
    since its value is assigned in a different file. We want to decouple
    the value from a magic value and set it to exactly what we want it
    to be which is the admin. This will work in all cases no matter what
    the admin is since it dynamically pulls the value from storage for
    the tests.
    af5ad1d2
Name
Last commit
Last update
..
deploy-config Loading commit data...
deployments Loading commit data...
invariant-docs Loading commit data...
lib Loading commit data...
periphery-deploy-config Loading commit data...
scripts Loading commit data...
src Loading commit data...
test 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...
.storage-layout Loading commit data...
CHANGELOG.md Loading commit data...
CONTRIBUTING.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...