[OP Stack Deployment] How to build Devnet Instead L1 Sepolia #20
-
Issue Descriptioncannot to deploy devnet using make on root directory repositories. Logs :
Additional InformationNo response |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 9 replies
-
First, a devnet is a complete local network that includes both L1 and L2. Each time you rebuild it, it starts from scratch. Please follow the guidelines below. https://github.com/ethereum-optimism/optimism/blob/67a9b3217589cec3f38742ac1f4b83ed27f33cba/specs/meta/devnet.md#bedrock-local-devnet-setup |
Beta Was this translation helpful? Give feedback.
-
Setting Up and Running a Devnet TutorialIn this tutorial, we'll guide you through setting up and running a devnet using the latest commit for Ethereum Optimism(commit a37f81dc4b29eb6f4570ee62d5a6412230ff35c1). A devnet is a local development network for Ethereum Layer 1 (L1) and Layer 2 (L2) testing. Prerequisites
Step 1: Clone the RepositoryOpen your terminal and run the following command to clone the Ethereum Optimism repository: cd ~
git clone https://github.com/ethereum-optimism/optimism.git Step 2: Navigate to the Contracts Bedrock DirectoryChange your working directory to the Contracts Bedrock directory within the cloned repository: cd optimism/packages/contracts-bedrock Step 3: Install DependenciesUse pnpm to install the project dependencies: pnpm install Step 4: Build the ProjectCompile the project by running: pnpm build Step 5: Start the DevnetNow, it's time to launch the devnet. Use the following command: make devnet-up Step 6: Add 'geth' to the PATHEdit your echo 'export PATH="$PATH:/root/go/bin"' >> ~/.bashrc source ~/.bashrc Step 7: Ensure Docker is InstalledIf you face issues related to missing Docker files, ensure that you have Docker Engine installed on your Ubuntu system. Follow the official Docker installation guide for Ubuntu here. Step 8: Run Devnet AgainAfter completing the above steps, you should now be able to successfully run the devnet using: make devnet-up Additional Information:If your system is pre-installed with Python 3.8 and you encounter issues, you may need to install Python 3.9 and set it as the default. Follow these steps: Install Python 3.9: sudo apt install python3.9 Set Python 3.9 as the default: sudo update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.8 1
sudo update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.9 2
sudo update-alternatives --config python3 |
Beta Was this translation helpful? Give feedback.
-
solved thankyou |
Beta Was this translation helpful? Give feedback.
https://stackoverflow.com/questions/70242395/run-capital-gains-command-and-get-erro-attributeerror-module-argparse-has-no
Need python 3.9+ to work
Confirmed python version issue. I recommended 3.10+ or upgrade ubuntu to 22.04