• Mark Tyneway's avatar
    contracts-bedrock: fix compile time · 70cb6d94
    Mark Tyneway authored
    Reduces the compile time to about 80s on my machine. The compile time
    was greatly increased as part of the migration to using the deploy
    script to set up the tests. Can we have our cake and eat it to? This
    commit seems to say yes.
    
    The call to `broadcast` now needs to include `msg.sender` because the
    contract doing all of the deployments is no longer the top level
    contract. This assumes that the deploy contract is not nested deeper
    than the 2nd callframe. The deployments would fail if that was not the
    case.
    
    The `cfg` now is behind a public getter on the deploy script, so the
    majority of the commit is updating places where the deploy config is
    referenced to change it into calls.
    70cb6d94
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...
snapshots Loading commit data...
src Loading commit data...
test 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...
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...