Skip to content

Commit e5d4eee

Browse files
authored
Add OpenVmHalo2Verifier (#1)
* feat: add OpenVmHalo2Verifier that will wrap a snark-verifier outputted verifier contract to expose a more user-friendly interface * refactor: flip args * refactor: separate the proof construction into its own function * refactor: simplify pvs copying * chore: update docs and cleanup * chore: address comments * perf: optimize pvs injection * chore: address comments * chore: uncomment verifier * feat: update Halo2Verifier to use the vm config from kitchen sink benchmark * docs: update docs * chore: flip comment * chore: address renamings * chore: remove lcov.info * chore: rename all instances of partial proof and guest pvs
1 parent 476fa9e commit e5d4eee

9 files changed

+2343
-132
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,5 @@ docs/
1212

1313
# Dotenv file
1414
.env
15+
16+
.vscode

foundry.toml

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,28 @@
22
src = "src"
33
out = "out"
44
libs = ["lib"]
5+
verbosity = 2
6+
solc = "0.8.19"
7+
optimizer = true
8+
optimizer_runs = 100000
9+
evm_version = "cancun"
10+
show_progress = true
511

6-
# See more config options https://github.com/foundry-rs/foundry/blob/master/crates/config/README.md#all-options
12+
[profile.default.optimizer_details]
13+
constantOptimizer = false
14+
yul = false
15+
16+
[fuzz]
17+
runs = 1000
18+
19+
[fmt]
20+
bracket_spacing = true
21+
int_types = "long"
22+
line_length = 120
23+
multiline_func_header = "attributes_first"
24+
number_underscore = "thousands"
25+
quote_style = "double"
26+
single_line_statement_blocks = "single"
27+
tab_width = 4
28+
wrap_comments = false
29+

lcov.info

Lines changed: 0 additions & 35 deletions
This file was deleted.

script/Counter.s.sol

Lines changed: 0 additions & 19 deletions
This file was deleted.

0 commit comments

Comments
 (0)