Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error deploying L2 Contracts using the OP Stack Chain docs on the celestiaorg/optimism repo. #401

Open
yohanelly95 opened this issue Mar 22, 2024 · 2 comments

Comments

@yohanelly95
Copy link

yohanelly95 commented Mar 22, 2024

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.
    
@yohanelly95
Copy link
Author

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.

@tuxcanfly
Copy link
Collaborator

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants