You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 31, 2025. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+19-1Lines changed: 19 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -38,14 +38,32 @@ Each has it's own cli tool to generate test fixtures. [opt8n](./bin/opt8n) can b
38
38
39
39
**`op-test-vectors`**
40
40
41
+
A rust crate exposing types used to generate test fixtures in [./fixtures](./fixtures/).
42
+
43
+
`op-test-vectors` contains two primary modules:
44
+
41
45
-[`execution`](./crates/op-test-vectors/src/execution.rs): Rust types for the execution test fixtures.
42
46
-[`derivation`](./crates/op-test-vectors/src/derivation.rs): Rust types for the derivation test fixtures.
43
47
44
-
**`opt8n` Commands**
48
+
**`opt8n`**
49
+
50
+
A binary to generate execution test fixtures.
51
+
52
+
`opt8n` has two subcommands:
45
53
46
54
-`repl`: Spins up a REPL that allows the user to send transactions to and generate a test fixture from those transactions.
47
55
-`script`: Executes a forge script against an anvil instance and generates the test fixture.
48
56
57
+
**`opdn`**
58
+
59
+
A binary to generate derivation test fixtures.
60
+
61
+
`opdn` has the following subcommands:
62
+
63
+
-`from-l2`: Generates a derivation test fixture from the specified range of L2 blocks.
64
+
-`from-l1`: Generates a derivation test fixture from the specified range of L1 blocks.
65
+
-`info`: Outputs the L2 block info including the L1 origin for the given L2 block number.
66
+
49
67
## Book
50
68
51
69
The [book][book] contains an in-depth overview of the project, contributor guidelines, and tutorials for creating your own test fixtures as well as you own test runners.
0 commit comments