-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcheck.sh
More file actions
181 lines (150 loc) · 3.94 KB
/
check.sh
File metadata and controls
181 lines (150 loc) · 3.94 KB
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
#!/bin/sh
CWD=`pwd`
export PATH=${CWD}/rust-staged/bin:$PATH
export ZIREN_ZKM_CC=mipsel-zkm-zkvm-elf-gcc
cargo --version
rustc --version
## FAIL due to ring 0.16.20 too old
#cd $CWD
#cd zkm/prover/examples/keccak
#cargo clean
#cargo update
#RUST_LOG=info SEG_FILE_DIR=/tmp/output cargo run --release
## FAIL due to ring 0.16.20 too old
#cd $CWD
#cd zkm/prover/examples/prove-large-seg
#cargo clean
#cargo update
#RUST_LOG=info SEG_FILE_DIR=/tmp/output cargo run --release
cd $CWD
cd zkm/prover/examples/prove-seg
cargo clean
cargo update
RUST_LOG=info SEG_FILE_DIR=/tmp/output cargo run --release
cd $CWD
cd zkm/prover/examples/revme/host
cargo clean
cargo update
RUST_LOG=info SEG_OUTPUT=/tmp/output cargo run --release
cd $CWD
cd zkm/prover/examples/sha2-rust/host
cargo clean
cargo update
ARGS="711e9609339e92b03ddc0a211827dba421f38f9ed8b9d806e1ffdd8c15ffa03d world!" RUST_LOG=info SEG_OUTPUT=/tmp/output cargo run --release
cd $CWD
cd zkm/prover/examples/sha2-composition/host
cargo clean
cargo update
RUST_LOG=info PRECOMPILE_PATH=../../sha2-rust/guest/elf/mips-zkm-zkvm-elf SEG_OUTPUT=/tmp/output cargo run --release
cd $CWD
cd zkm/prover/examples/split-seg
cargo clean
cargo update
BASEDIR=../../../emulator/test-vectors RUST_LOG=info ELF_PATH=../../../emulator/test-vectors/minigeth BLOCK_NO=13284491 SEG_OUTPUT=/tmp/output SEG_SIZE=65536 ARGS="" cargo run --release
BASEDIR=../../../emulator/test-vectors RUST_LOG=info ELF_PATH=../../../emulator/test-vectors/minigeth BLOCK_NO=13284491 SEG_OUTPUT=/tmp/output SEG_START_ID=0 SEG_NUM=1 SEG_SIZE=65536 cargo run --release
BASEDIR=../../../emulator/test-vectors RUST_LOG=info ELF_PATH=../../../emulator/test-vectors/minigeth BLOCK_NO=13284491 SEG_OUTPUT=/tmp/output SEG_START_ID=0 SEG_NUM=299 SEG_SIZE=65536 cargo run --release
cd $CWD
cd Ziren/examples/aggregation/host
cargo clean
cargo update
RUST_LOG=info cargo run --release
cd $CWD
cd Ziren/examples/bitcoin/host
cargo clean
cargo update
RUST_LOG=info cargo run --release
cd $CWD
cd Ziren/examples/bn254/host
cargo clean
cargo update
RUST_LOG=info cargo run --release
cd $CWD
cd Ziren/examples/chess/host
cargo clean
cargo update
RUST_LOG=info cargo run --release
cd $CWD
cd Ziren/examples/cycle-tracking/host
cargo clean
cargo update
RUST_LOG=info cargo run --release
cd $CWD
cd Ziren/examples/fibonacci/host
cargo clean
cargo update
RUST_LOG=info cargo run --release
cd $CWD
#cd Ziren/examples/fibonacci_c_lib/host
#cargo clean
#cargo update
#RUST_LOG=info cargo run --release
cd $CWD
cd Ziren/examples/groth16/host
cargo clean
cargo update
RUST_LOG=info cargo run --release
cd $CWD
cd Ziren/examples/groth16/host
cargo clean
cargo update
RUST_LOG=info cargo run --release
cd $CWD
cd Ziren/examples/is-prime/host
cargo clean
cargo update
RUST_LOG=info cargo run --release
cd $CWD
cd Ziren/examples/json/host
cargo clean
cargo update
RUST_LOG=info cargo run --release
cd $CWD # FAILED: assertion `left == right` failed
#cd Ziren/examples/keccak-precompile/host
#cargo clean
#cargo update
#RUST_LOG=info cargo run --release
cd $CWD
cd Ziren/examples/plonk/host
cargo clean
cargo update
RUST_LOG=info cargo run --release
cd $CWD
cd Ziren/examples/regex/host
cargo clean
cargo update
RUST_LOG=info cargo run --release
cd $CWD
cd Ziren/examples/rsa/host
cargo clean
cargo update
RUST_LOG=info cargo run --release
cd $CWD
cd Ziren/examples/ssz-withdrawals/host
cargo clean
cargo update
RUST_LOG=info cargo run --release
cd $CWD
cd Ziren/examples/tendermint/host
cargo clean
cargo update
RUST_LOG=info cargo run --release
cd $CWD
cd Ziren/examples/unconstrained/host
cargo clean
cargo update
RUST_LOG=info cargo run --release
cd $CWD
cd zkvm-benchmarks/ziren
cargo clean
cargo update
RUSTFLAGS="-C target-cpu=native" cargo run -r --bin modpow
cd $CWD
cd zkvm-benchmarks/ziren
cargo clean
cargo update
RUSTFLAGS="-C target-cpu=native" cargo run -r --bin sha3
cd $CWD
cd reth-processor
cargo clean
cargo update
cargo run -r --bin host -- --block-number 9831027 --chain-id 48816 --cache-dir ./bin/host