docs
docs copied to clipboard
[TUTORIAL] Docs tutorials out of sync on/after v1.7.0
Please update docs to reflect latest changes in new builds.
since version 1.7.0 hardhat artifacts are no longer used in a few places in the build / run process:
https://github.com/ethereum-optimism/optimism/commit/082d075dcef809ebb940129ff17de8b0f5ec3451
main.go call will need to be changed... currently in the tutorial:
but should look more like:
go run cmd/main.go genesis l2
--deploy-config ../packages/contracts-bedrock/deploy-config/getting-started.json
--l1-deployments ../packages/contracts-bedrock/deployments/getting-started/.deploy
--outfile.l2 genesis.json
--outfile.rollup rollup.json
--l1-rpc $L1_RPC_URL
also any references to json files in getting-started should likely require the contents of .deploy.
so for running proposer:
should look more like: for -l2oo-address... in () cat ../packages/contracts-bedrock/deployments/getting-started/.deploy | jq -r '.L2OutputOracleProxy'
and also:
again... we'll find the address in the .deploy file mentioned above.