• Mark Tyneway's avatar
    op-node,contracts-bedrock: setup `loadAllocs` usage · 37bb1345
    Mark Tyneway authored
    Modularize the `op-node` command for creating L2 genesis
    blocks such that it can read a starting L1 block from disk
    instead of needing to fetch it from a node. This makes the
    process more simple and reproducible, because the block
    JSON file can be written to disk and committed into a repo.
    
    Also add the script for calling the `op-node` L2 genesis generation
    to `contracts-bedrock`. It will create the L2 genesis state
    in `contracts-bedrock/.testdata` which will be read by
    `vm.readAllocs(string)` to populate the initial state.
    37bb1345
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...
.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...