• Mark Tyneway's avatar
    contracts-bedrock: update `StorageSetter` · ff2cd43b
    Mark Tyneway authored
    Adds a new setter that takes a list of slots to set. This allows a
    single `upgradeToAndCall` to be used with this contract that sets many
    storage slots in a single call. This will simplify future upgrades
    using the 2 step upgrade model.
    
    Includes fuzz tests for the new functionality. The complexity with
    the fuzz testing of this operation is that we cannot pass in duplicate
    keys, otherwise it is impossible to make assertions against because
    there is no way to hook in to the call. Perhaps if we had a way to see
    every state diff then we would be able to make assertions against that.
    ff2cd43b
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...