-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Release 0.1.6 rc0 #33
Commits on Oct 24, 2022
-
Rollback to pse halo2 and halo2wrong for first release (#5)
* feat: move `Accumulator` to `accumulator.rs` * feat: update due to halo2 * feat: upgrade to use branch `feature/generic-instructions` of `halo2wrong` * refactor: rollback to `{halo2,halo2_wrong}` without challenge API and cleanup dependencies * chore: rename statement to instance and auxliary to witness * chore: use `finalize` instead of `code` * feat: add `Code::deployment` and `EvmLoader::deployment_code`; add example `evm-verifier-codegen` * fix: typo * feat: reduce generated evm verifier size; rename to `evm-verifier` and add another example `evm-verifier-with-accumulator` * fix: due to `halo2wrong` * feat: reorganize mods and traits * fix: allow empty `values` in `sum_*` and move them under `ScalarLoader` * ci: use `--all-features` for `cargo test` * fix: use same strategy for aggregation testing * fix: simplify trait `PlonkVerifier` again * fix: move system specified transcript under mod `system` * feat: add `quotient_poly` info in `Protocol` * feat: implement linearization for circom integration * feat: re-export loader's dependency for consumer * refactor: for circom's integration * tmp: pin `revm` to rev * fix: remove parentheses * fix: upgrade for multi-phase halo2 * feat: improve error reporting * chore: rename crate to snake case * feat: add `Domain` as an input of `PolynomialCommitmentScheme::read_proof` * refactor: for further integration * feat: generalize to suppoer also ipa and add builder fns to `system::halo2::Config` * feat: add `KzgDecider` for simple evm verifier * refactor: split `AccumulationScheme` and `AccumulatorEncoding` * refactor: split `PolynomialCommitmentScheme` and `MultiOpenScheme` * fix: not need sealed actually * fix: `chunk_size` should be `LIMBS` when recovering accumulator * feat: add `Expression::DistributePowers` to avoid stack overflow * fix: update and pin foundry * fix: move testing circuits under `system/halo2` * fix: allow accumulate single accumulator * feat: remove all patch and make less depending `halo2wrong`
Configuration menu - View commit details
-
Copy full SHA for 916b29f - Browse repository at this point
Copy the full SHA 916b29fView commit details
Commits on Oct 28, 2022
-
* feat: generalize `Protocol` for further usage * feat: add `EccInstruction::{fixed_base_msm,variable_base_msm,sum_with_const}` * chore: move `rand_chacha` as dev dependency
Configuration menu - View commit details
-
Copy full SHA for 2cd8b9d - Browse repository at this point
Copy the full SHA 2cd8b9dView commit details
Commits on Nov 8, 2022
-
General refactor for further integration (#13)
* feat: remove dev-dependency `foundry` and vendor necessary part of it * refactor: simplify traits and remove unused stuff * refactor: much less clone * feat: generalized `AccumulatorEncoding` for `EccInstructions`
Configuration menu - View commit details
-
Copy full SHA for 25dbaf5 - Browse repository at this point
Copy the full SHA 25dbaf5View commit details
Commits on Nov 9, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 5c31088 - Browse repository at this point
Copy the full SHA 5c31088View commit details
Commits on Nov 14, 2022
-
Configuration menu - View commit details
-
Copy full SHA for ba167b7 - Browse repository at this point
Copy the full SHA ba167b7View commit details
Commits on Nov 17, 2022
-
Update
EvmLoader
to generate Yul code instead of bytecode (#15)* Update `EvmLoader` to generate Yul instead of bytecode * feat: simplify * feat: Add missing end_gas_metering impl Co-authored-by: Han <[email protected]> Co-authored-by: Han <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c5645e7 - Browse repository at this point
Copy the full SHA c5645e7View commit details
Commits on Nov 30, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 5e5de91 - Browse repository at this point
Copy the full SHA 5e5de91View commit details
Commits on Dec 17, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 50d69c1 - Browse repository at this point
Copy the full SHA 50d69c1View commit details
Commits on Dec 23, 2022
-
Restructure for more kind of verifier (#21)
* feat: restructure to monorepo and expand the project scope to be generic (s)nark verifier * feat: reorganize mods and traits for further new features * refactor: simplify trait bounds * chore: use hyphen case for crate name (`snark_verifier` -> `snark-verifier`)
Configuration menu - View commit details
-
Copy full SHA for dda7423 - Browse repository at this point
Copy the full SHA dda7423View commit details
Commits on Jan 6, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 6a518c9 - Browse repository at this point
Copy the full SHA 6a518c9View commit details -
refactor: remove redudant check
validate_ec_point
(still doesn not ……support identity)
Configuration menu - View commit details
-
Copy full SHA for 3f3da27 - Browse repository at this point
Copy the full SHA 3f3da27View commit details
Commits on Jan 20, 2023
-
feat: expand more things and fix typos
Co-authored-by: Chih Cheng Liang <[email protected]> Co-authored-by: Carlos Pérez <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5023293 - Browse repository at this point
Copy the full SHA 5023293View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8cc0b15 - Browse repository at this point
Copy the full SHA 8cc0b15View commit details -
Configuration menu - View commit details
-
Copy full SHA for e4e0a4d - Browse repository at this point
Copy the full SHA e4e0a4dView commit details
Commits on Feb 1, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 2d5ef6b - Browse repository at this point
Copy the full SHA 2d5ef6bView commit details
Commits on Feb 3, 2023
-
Configuration menu - View commit details
-
Copy full SHA for df03d89 - Browse repository at this point
Copy the full SHA df03d89View commit details
Commits on Feb 14, 2023
-
Configuration menu - View commit details
-
Copy full SHA for f1265f5 - Browse repository at this point
Copy the full SHA f1265f5View commit details
Commits on Feb 19, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 4ad803a - Browse repository at this point
Copy the full SHA 4ad803aView commit details -
Configuration menu - View commit details
-
Copy full SHA for c9e2d2c - Browse repository at this point
Copy the full SHA c9e2d2cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2db9f42 - Browse repository at this point
Copy the full SHA 2db9f42View commit details
Commits on Feb 20, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 396aea6 - Browse repository at this point
Copy the full SHA 396aea6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 53a30eb - Browse repository at this point
Copy the full SHA 53a30ebView commit details
Commits on Feb 21, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 8b09067 - Browse repository at this point
Copy the full SHA 8b09067View commit details -
Configuration menu - View commit details
-
Copy full SHA for 85c68b4 - Browse repository at this point
Copy the full SHA 85c68b4View commit details -
Configuration menu - View commit details
-
Copy full SHA for efec13b - Browse repository at this point
Copy the full SHA efec13bView commit details
Commits on Feb 28, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 2fd73ab - Browse repository at this point
Copy the full SHA 2fd73abView commit details
Commits on Apr 18, 2023
-
* feat(sdk): remove duplicate code in `RangeWithInstanceCircuitBuilder::synthesize` * feat(sdk): Proof caching when using feature 'halo2-pse' * chore: sync with halo2-lib * chore: switch to halo2-lib release-0.3.0 branch
Configuration menu - View commit details
-
Copy full SHA for 57aaba5 - Browse repository at this point
Copy the full SHA 57aaba5View commit details
Commits on May 5, 2023
-
Moved
RangeWithInstanceCircuitBuilder
to halo2-lib (#9)* chore: sync with halo2-lib * fix: clippy
Configuration menu - View commit details
-
Copy full SHA for aecfd45 - Browse repository at this point
Copy the full SHA aecfd45View commit details
Commits on May 11, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 95e6b4a - Browse repository at this point
Copy the full SHA 95e6b4aView commit details
Commits on May 22, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 739c1f7 - Browse repository at this point
Copy the full SHA 739c1f7View commit details -
Configuration menu - View commit details
-
Copy full SHA for b38400a - Browse repository at this point
Copy the full SHA b38400aView commit details -
Configuration menu - View commit details
-
Copy full SHA for e24fa3c - Browse repository at this point
Copy the full SHA e24fa3cView commit details -
Configuration menu - View commit details
-
Copy full SHA for f510177 - Browse repository at this point
Copy the full SHA f510177View commit details -
fix:
rotate_scalar
misbehaves oni32::MIN
(#13)Should never actually be callable with such a large negative rotation
Configuration menu - View commit details
-
Copy full SHA for 9bbe6da - Browse repository at this point
Copy the full SHA 9bbe6daView commit details -
Configuration menu - View commit details
-
Copy full SHA for 11e0ebc - Browse repository at this point
Copy the full SHA 11e0ebcView commit details
Commits on May 23, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 1820e9c - Browse repository at this point
Copy the full SHA 1820e9cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2641da5 - Browse repository at this point
Copy the full SHA 2641da5View commit details -
feat: verify proof in release mode (#17)
Verify proof before caching it as extra safety
Configuration menu - View commit details
-
Copy full SHA for 1e64c30 - Browse repository at this point
Copy the full SHA 1e64c30View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7041c6f - Browse repository at this point
Copy the full SHA 7041c6fView commit details -
Configuration menu - View commit details
-
Copy full SHA for eee5ec2 - Browse repository at this point
Copy the full SHA eee5ec2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9dbe913 - Browse repository at this point
Copy the full SHA 9dbe913View commit details
Commits on Jun 7, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 8d9fd64 - Browse repository at this point
Copy the full SHA 8d9fd64View commit details
Commits on Jul 7, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 4c4e9e0 - Browse repository at this point
Copy the full SHA 4c4e9e0View commit details
Commits on Jul 20, 2023
-
feat: remove use of env vars for circuit configuration (#22)
* feat: remove use of env vars for circuit configuration This is a companion to axiom-crypto/halo2-lib#92 * chore: remove rustfmt CI check PSE upstream uses different rustfmt configuration than us, so some files disagree in formatting
Configuration menu - View commit details
-
Copy full SHA for 7a0fd96 - Browse repository at this point
Copy the full SHA 7a0fd96View commit details
Commits on Jul 21, 2023
-
Configuration menu - View commit details
-
Copy full SHA for cbf7219 - Browse repository at this point
Copy the full SHA cbf7219View commit details
Commits on Jul 27, 2023
-
Feat/read pk buffer capacity (#24)
* feat: change default `read_pk` buffer capacity to 1MB * feat: add bench for read_pk
Configuration menu - View commit details
-
Copy full SHA for 4aba23a - Browse repository at this point
Copy the full SHA 4aba23aView commit details
Commits on Aug 15, 2023
-
* feat(snark-verifier): update to ff v0.13 * feat(snark-verifier): update examples * feat(snark-verifier-sdk): update to ff v0.13 * fix: conversion from BaseConfigParams to AggregationConfigParams * chore: pin poseidon rev * refactor(sdk): add `AggregationCtxBuilder` for aggregation Contains the populated builder after aggregating, without creating the `AggregationCircuit`. Doesn't need config parameters and break points. * chore: update cargo
Configuration menu - View commit details
-
Copy full SHA for 4eded17 - Browse repository at this point
Copy the full SHA 4eded17View commit details
Commits on Aug 18, 2023
-
[Feat] Universal verifier circuit (#26)
* feat: add example with different vkey as private witness Same aggregation circuit, verifies different snarks with different vkeys (same standard plonk gate, but different selectors / copy constraints) * fix: save break points when generating agg circuit for first time (#23) * fix: save break points when generating agg circuit for first time * chore: add circuit files to gitignore * feat: halo2-lib universal verifier example * chore: cargo fix * feat: allow circuit size (number of rows) to be loaded as witness * chore: clippy fix * fix(n_as_witness): computation of shifts depends on `omega` `omega` which changes when `k` changes, so all shift computations need to be done as witness. Current implementation is likely not the most optimal. Instead of storing `shift` as `omega^i`, we store just `Rotation(i)`. We de-duplicate when possible using `BTreeMap` of `Rotation`. Note you must use `Rotation` instead of `F` for `BTreeMap` because the ordering of `omega^i` may change depending on `omega`. * fix: temp remove pow_var * add universal verifier range check test * chore: do not serialize domain_as_witness if none * Revert "fix: temp remove pow_var" This reverts commit 69f648e. * fix: halo2_lib example * test: halo2_lib with variable lookup table passes * Bump version to 0.1.3 --------- Co-authored-by: Roshan <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f1d12e5 - Browse repository at this point
Copy the full SHA f1d12e5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9d98145 - Browse repository at this point
Copy the full SHA 9d98145View commit details -
Configuration menu - View commit details
-
Copy full SHA for f309ede - Browse repository at this point
Copy the full SHA f309edeView commit details
Commits on Aug 28, 2023
-
Update: use
halo2-lib
v0.4.0 (#29)* feat: update snark-verifier * update: use `halo2-lib` v0.4.0
Configuration menu - View commit details
-
Copy full SHA for 3aadbdf - Browse repository at this point
Copy the full SHA 3aadbdfView commit details
Commits on Sep 1, 2023
-
feat: load
k
as witness and computen = 2^k
andomega
fromk
(#……30) * feat: load `k` as witness and compute `n = 2^k` and `omega` from `k` Removes need to make `omega` a public output in universal verifier. * fix: bit_length
Configuration menu - View commit details
-
Copy full SHA for 10ef300 - Browse repository at this point
Copy the full SHA 10ef300View commit details
Commits on Sep 8, 2023
-
Move
OptimizedPoseidonSpec
tohalo2-base
(#31)* chore: move `OptimizedPoseidonSpec` to `halo2-base` * Bump version to 0.1.5 and remove poseidon-rs dep
Configuration menu - View commit details
-
Copy full SHA for 260962d - Browse repository at this point
Copy the full SHA 260962dView commit details
Commits on Sep 10, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 1f5ebd3 - Browse repository at this point
Copy the full SHA 1f5ebd3View commit details -
Configuration menu - View commit details
-
Copy full SHA for a0fa8ec - Browse repository at this point
Copy the full SHA a0fa8ecView commit details
Commits on Sep 11, 2023
-
[feat] change yul code into Solidity assembly (#32)
feat: change yul code into Solidity assembly Just changes to wrapping yul in solidity assembly block
Configuration menu - View commit details
-
Copy full SHA for df944c2 - Browse repository at this point
Copy the full SHA df944c2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6f3f6f7 - Browse repository at this point
Copy the full SHA 6f3f6f7View commit details -
Configuration menu - View commit details
-
Copy full SHA for d8400e6 - Browse repository at this point
Copy the full SHA d8400e6View commit details
Commits on Oct 22, 2023
-
chore:
snark-verifier
re-exportshalo2-base
,halo2-ecc
(#38)and `snark-verifier-sdk` re-exports `snark-verifier`. This is to minimize cargo dependency / version issues until we publish to crates.io.
Configuration menu - View commit details
-
Copy full SHA for bba2bb7 - Browse repository at this point
Copy the full SHA bba2bb7View commit details
Commits on Oct 23, 2023
-
[feat] make assembly block Solidity memory safe (#39)
* feat: make assembly block Solidity memory safe * chore: add back example solidity code
Configuration menu - View commit details
-
Copy full SHA for 39ab9d3 - Browse repository at this point
Copy the full SHA 39ab9d3View commit details
Commits on Nov 2, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 1f97d29 - Browse repository at this point
Copy the full SHA 1f97d29View commit details -
[chore] add
cargo audit
and update dependencies (#40)* chore: add `cargo audit` and update dependencies disabling zkevm benches due to versioning issues * chore: autobenches false * fix: audit-check CI
Configuration menu - View commit details
-
Copy full SHA for ffdd599 - Browse repository at this point
Copy the full SHA ffdd599View commit details
Commits on Nov 3, 2023
-
[chore] fix hyperlinks in docs (#41)
chore: fix hyperlinks in docs
Configuration menu - View commit details
-
Copy full SHA for 055527a - Browse repository at this point
Copy the full SHA 055527aView commit details
Commits on Nov 4, 2023
-
[chore] separate
revm
import into separate feature (#44)* chore: import `ruint` separately to not rely on `revm` * feat: add feature `revm` to toggle `revm` import Separates `revm` import, which is only used for testing EVM execution, from `loader_evm` feature, which is used more broadly for generating proofs to be sent to on-chain verifier. * chore: add CI to check `--release` compilation with assembly * fix: import under revm
Configuration menu - View commit details
-
Copy full SHA for 1cf2986 - Browse repository at this point
Copy the full SHA 1cf2986View commit details
Commits on Nov 9, 2023
-
Configuration menu - View commit details
-
Copy full SHA for ebea343 - Browse repository at this point
Copy the full SHA ebea343View commit details