Open kevinweaver opened 11 months ago
We use mainnet forking locally. Try running your Anvil as an OP mainnet fork. I'll leave this open until I add a note about this in docs!
Thanks for the help! The final commands to test local L2 deployment were: forge
cp .env.prod .env
source .env
forge script --rpc-url http://localhost:8545 --sender 0x6D2b70e39C6bc63763098e336323591eb77Cd0C6 script/DeployL2.s.sol --broadcast --unlocked
anvil
anvil -f https://opt-mainnet.g.alchemy.com/v2/... --fork-block-number 108869000 --auto-impersonate
What is the bug? When I attempt to run the
DeployL2.s.sol
(or L1) script locally, it fails:How can it be reproduced? (optional)
Additional context (optional) Very likely user error, but any help welcome!