optimism
optimism copied to clipboard
Error deploying L2 Contracts using the OP Stack Chain docs on the celestiaorg/optimism repo.
forge script scripts/Deploy.s.sol:Deploy --private-key $GS_ADMIN_PRIVATE_KEY --broadcast --rpc-url $L1_RPC_URL --slow
Fails with error
│ ├─ [0] VM::parseJsonUint("<stringified JSON>", "$.recommendedProtocolVersion") [staticcall]
│ │ └─ ← 0
│ ├─ [0] VM::parseJsonBool("<stringified JSON>", "$.useFaultProofs") [staticcall]
│ │ └─ ← no matching value found at "$.useFaultProofs"
│ └─ ← no matching value found at "$.useFaultProofs"
└─ ← no matching value found at "$.useFaultProofs"
```
I am running the tag git checkout tags/v1.2.0-OP_v1.7.0-CN_v0.12.4.
There are 3 new variables in the DeployConfig.s.sol
"fundDevAccounts", "useFaultProofs", "expectedGameType" which are not present in the celestia-develop branch it seems. So the OP Contract deployments are not working.
There aren't any changes related to deployment in the celestia-develop branch. You might need to use a template like deploy-config/sepolia.json or add these missing vars to the getting-started.sh script.