Closed joshklop closed 1 month ago
The pull request introduces several changes, including updates to the .gitignore
file to ignore artifacts from the opdevnet environment, the addition of a new method to the URL
struct, and the creation of multiple JSON configuration files for Ethereum Layer 1 and Layer 2 networks. It also includes new functionality for configuring and running an L1 node, as well as an Optimistic Rollup development network. Additionally, a comprehensive test suite for the OPDevnet functionality is provided.
File | Change Summary |
---|---|
.gitignore |
Added entry opdevnet/artifacts to ignore artifacts from the opdevnet environment. |
e2e/url/url.go |
Added method func (u *URL) Scheme() string to return the scheme of the URL. |
opdevnet/config/addresses.json |
Created new JSON file with mappings for various contract names and their Ethereum addresses. |
opdevnet/config/devnetL1.json |
Created new JSON configuration file with parameters for Layer 1 blockchain network. |
opdevnet/defaults.go |
Introduced functions for initializing deployment and allocation configurations for L1 and L2 networks. |
opdevnet/l1.go |
Added functionality for configuring and running a Layer 1 node with L1Config struct and related methods. |
opdevnet/logger.go |
Introduced a new logger function to enhance logging for the opdevnet package. |
opdevnet/op.go |
Added OPConfig struct and functions for configuring and running an Optimistic Rollup development network. |
opdevnet/opdevnet_test.go |
Created a test suite for OPDevnet functionality, validating interactions and expected behaviors. |
.gitignore
file, specifically adding the line bin/
to ignore binaries, which is directly related to the main PR's addition of opdevnet/artifacts
to the same file.🐰 In the land of code where bunnies hop,
New entries added, we won't stop!
With configs and tests, our work is bright,
In opdevnet's realm, we take flight!
So let’s celebrate, with joy and cheer,
For every change brings us near! 🐇✨
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
The idea is that the rollup developer will be able to run
appd monomer start --dev
. The--dev
flag will signal that an OP devnet should be started in addition to the application. We can add this functionality to theStartCommandHandler
. I wanted to send this for review since the next phase may take a few days.The
opdevnet
package is effectively a more modular version of theOPStack
in thee2e
tests. A lot of the configs and code are borrowed.Summary by CodeRabbit
New Features
Bug Fixes
Tests