-
Notifications
You must be signed in to change notification settings - Fork 77
/
justfile
64 lines (44 loc) · 2.78 KB
/
justfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
default:
just --summary --unsorted
build +ARGS="--release":
cargo build -p zeth-ethereum --bin zeth-ethereum {{ARGS}}
cargo build -p zeth-optimism --bin zeth-optimism {{ARGS}}
cargo build -p zeth-benchmark --bin zeth-benchmark {{ARGS}}
cuda: (build "--release -F cuda")
metal: (build "--release -F metal")
run bin +ARGS:
RUST_LOG=info ./target/release/zeth-{{bin}} {{ARGS}}
ethereum +ARGS: (run "ethereum" ARGS)
optimism +ARGS: (run "optimism" ARGS)
benchmark +ARGS: (run "benchmark" ARGS)
clippy:
RISC0_SKIP_BUILD=1 cargo clippy -p zeth-ethereum
RISC0_SKIP_BUILD=1 cargo clippy -p zeth-optimism
RISC0_SKIP_BUILD=1 cargo clippy -p zeth-benchmark
RISC0_SKIP_BUILD=1 cargo clippy -p zeth-testeth
test:
cargo test --all-targets -p zeth-core -p zeth-preflight -p zeth-guests -p zeth -p zeth-benchmark -F debug-guest-build
cargo test --all-targets -p zeth-core-ethereum -p zeth-preflight-ethereum -p zeth-ethereum -F debug-guest-build
cargo test --all-targets -p zeth-core-optimism -p zeth-preflight-optimism -p zeth-optimism -F debug-guest-build
cargo test --all-targets -p zeth-testeth -F ef-tests
just test-cache-eth
just test-cache-op
test-cache-eth +ARGS="": (build ARGS)
RUST_LOG=info ./target/debug/zeth-ethereum build --cache=bin/ethereum/data -b=1
RUST_LOG=info ./target/debug/zeth-ethereum build --cache=bin/ethereum/data -b=1150000
RUST_LOG=info ./target/debug/zeth-ethereum build --cache=bin/ethereum/data -b=1920000
RUST_LOG=info ./target/debug/zeth-ethereum build --cache=bin/ethereum/data -b=2463000
RUST_LOG=info ./target/debug/zeth-ethereum build --cache=bin/ethereum/data -b=2675000
RUST_LOG=info ./target/debug/zeth-ethereum build --cache=bin/ethereum/data -b=4370000
RUST_LOG=info ./target/debug/zeth-ethereum build --cache=bin/ethereum/data -b=7280000
RUST_LOG=info ./target/debug/zeth-ethereum build --cache=bin/ethereum/data -b=9069000
RUST_LOG=info ./target/debug/zeth-ethereum build --cache=bin/ethereum/data -b=9200000
RUST_LOG=info ./target/debug/zeth-ethereum build --cache=bin/ethereum/data -b=12244000
# RUST_LOG=info ./target/debug/zeth-ethereum build --cache=bin/ethereum/data -b=12965000
RUST_LOG=info ./target/debug/zeth-ethereum build --cache=bin/ethereum/data -b=13773000
RUST_LOG=info ./target/debug/zeth-ethereum build --cache=bin/ethereum/data -b=15050000
RUST_LOG=info ./target/debug/zeth-ethereum build --cache=bin/ethereum/data -b=15537394
RUST_LOG=info ./target/debug/zeth-ethereum build --cache=bin/ethereum/data -b=17034870
RUST_LOG=info ./target/debug/zeth-ethereum build --cache=bin/ethereum/data -b=19426587
test-cache-op +ARGS="": (build ARGS)
RUST_LOG=info ./target/debug/zeth-optimism build --cache=bin/optimism/data -c=optimism-sepolia -b=17664000