File tree Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Original file line number Diff line number Diff line change 1+ # op-e2e
2+
3+ The end to end tests in this repo depend on genesis state that is
4+ created with the ` bedrock-devnet ` package, and asterisc is deployed
5+ and registered to dispute game. To create this state, run the
6+ following commands from the root of the repository:
7+
8+ ``` bash
9+ make devnet-allocs
10+ ```
11+
12+ This will leave artifacts in the ` .devnet ` directory that will be
13+ read into ` op-e2e ` at runtime. The default deploy configuration
14+ used for starting all ` op-e2e ` based tests can be found in
15+ ` packages/contracts-bedrock/deploy-config/devnetL1.json ` . There
16+ are some values that are safe to change in memory in ` op-e2e ` at
17+ runtime, but others cannot be changed or else it will result in
18+ broken tests. Any changes to ` devnetL1.json ` should result in
19+ rebuilding the ` .devnet ` artifacts before the new values will
20+ be present in the ` op-e2e ` tests.
21+
22+ The design of running op-e2e at this repo is identical with
23+ [ monorepo's op-e2e] ( https://github.com/ethereum-optimism/optimism/blob/develop/op-e2e/README.md ) .
24+
25+ You may rebuild artifacts by following commanads:
26+
27+ ``` bash
28+ make devnet-clean
29+ make devnet-allocs
30+ ```
31+
32+ ## Running tests
33+
34+ Run
35+
36+ ```
37+ cd op-e2e
38+ go test -v ./faultproofs -timeout 99999s
39+ ```
You can’t perform that action at this time.
0 commit comments