611 Commits

Author SHA1 Message Date
Ratan Kaliani
c4319dcee6
fix: make add_generators public (#1463) 2024-01-12 18:25:31 +00:00
Robin Salen
bb48cabdb1
Add math rendering with Katex (#1459) 2024-01-12 17:07:18 +01:00
Robin Salen
3b1ed824f5
Merge pull request #1447 from topos-protocol/plonky2_doc
Add some more explicit doc on plonky2 crate main components
2024-01-11 15:57:23 +01:00
Robin Salen
cda30847a9
Apply review 2024-01-11 15:43:51 +01:00
yanziseeker
c329b3681c
chore(evm,field,plonky2):fix typos (#1454) 2024-01-10 10:40:39 +00:00
Robin Salen
85524cfacc
Intra doc link 2024-01-10 09:06:34 +01:00
Robin Salen
33def0841d
Merge branch 'main' into plonky2_doc 2024-01-10 09:01:30 +01:00
Robin Salen
f4be34dc6d
Some more 2024-01-09 10:59:00 +01:00
Robin Salen
82804e4201
Add some more + module doc 2024-01-08 15:14:26 +01:00
Robin Salen
cb19f21994
Add crate-level documentation (#1444)
* Add crate-level documentation

* Revert change

* Skip

* Typo

* Apply comments

* Rephrase paragraph

* Apply comments
2024-01-08 14:08:53 +01:00
Robin Salen
ed2e1bc780
Add comment 2024-01-08 09:38:55 +01:00
Robin Salen
3c8b150f0f
Rustdoc 2024-01-08 09:37:42 +01:00
Robin Salen
20db596e57
Add some more explicit doc on plonky2 crate 2024-01-08 09:08:45 +01:00
Icer
cb3f91a003
add Debug trait to PartitionWitness to enable trace information output (#1437) 2023-12-21 09:33:42 +01:00
Robin Salen
2d36559dad
Make some functions const (#1407) 2023-12-05 13:41:31 -05:00
Chris Tian
b598e6ff9f
VerifierCircuitData Clone,PartialEq,Eq 2023-11-28 16:32:20 -08:00
Chris Tian
2a6065b42f
comment 2023-11-27 14:56:51 -08:00
Chris Tian
398b15c103
wip 2023-11-19 15:11:03 +03:00
Matteo Muraca
605932d149
restore no-std support (#1335)
* perform test action on `x86_64-unknown-linux-gnu` and `wasm32-unknown-unknown`

Signed-off-by: muraca <mmuraca247@gmail.com>

* make `plonky2` build on `wasm32-unknown-unknown`

Signed-off-by: muraca <mmuraca247@gmail.com>

* make `starky` build on `wasm32-unknown-unknown`
small oversight on `plonky2` fixed

Signed-off-by: muraca <mmuraca247@gmail.com>

* skip `evm` folder if target is `wasm32-unknown-unknown`

Signed-off-by: muraca <mmuraca247@gmail.com>

* add `default: true` to toolchain

Signed-off-by: muraca <mmuraca247@gmail.com>

* skip `test` if target is `wasm32-unknown-unknown`

Signed-off-by: muraca <mmuraca247@gmail.com>

* single ticks instead of double

Signed-off-by: muraca <mmuraca247@gmail.com>

* explicit target

Signed-off-by: muraca <mmuraca247@gmail.com>

* wasm32 job

Signed-off-by: muraca <mmuraca247@gmail.com>

* added `--no-default-features` to checks

Signed-off-by: muraca <mmuraca247@gmail.com>

---------

Signed-off-by: muraca <mmuraca247@gmail.com>
2023-11-07 17:10:44 -05:00
shuoer86
a0ea26f4b2
Fix typos in comments 2023-11-04 23:07:36 +08:00
Linda Guiga
05006deb44
Pad according to RATE rather than WIDTH (#1299) 2023-10-21 07:51:26 -04:00
BGluth
a02a2ecb97 Updated mir-protocol --> 0xPolygonZero
- Recently the underlying org name on Github changed to `0xPolygonZero`.
- This was causing some issues with dependencies downstream where a
  dependency pointing to the old org name was seen as a different
  dependency that was using the new org name.
- Using a `[patch] section in `Cargo.toml` was running into issues where
  we couldn't get it to get all dependency versions using a single org
  name.
2023-10-12 11:11:17 -06:00
nicholas-mainardi
300059572b
Optimize lookup builder (#1258)
* Add tests with big LUTs

* Optimize lookup builder

* Fix comment describing optimization

* Cargo fmt

* Clone LookupTableGate instead of instantiating

* Remove needless enumerate + improving comments
2023-09-29 15:57:56 +02:00
Tamir Hemo
8839285f4d add trait bound 2023-09-19 11:45:42 -07:00
Tamir Hemo
a44379b5a1 fmt and clippy 2023-09-19 11:39:20 -07:00
Tamir Hemo
7d7f01da46 refactor prove method 2023-09-19 11:32:13 -07:00
Robin Salen
d1c00767bd
Cleanup lookup_test module and reduce module visibility 2023-09-18 09:50:31 -04:00
Nicholas Ward
3571f09707
Merge pull request #1224 from mir-protocol/latest-nightly
latest nightly in CI and rust-toolchain
2023-09-08 15:18:59 -07:00
Nicholas Ward
1dd77d6d27 fmt 2023-09-08 10:18:39 -07:00
Nicholas Ward
e947a62483 suppress incorrect Clippy error 2023-09-08 10:17:41 -07:00
BGluth
65917f5f23
Merge pull request #1222 from mir-protocol/internal_crate_path_stablization
Now refers to sub-crates using paths (and removed `patch` section)
2023-09-08 11:07:54 -06:00
Nicholas Ward
2f1ed95154
Merge pull request #1220 from mir-protocol/latest_nightly_fix
Latest nightly fix
2023-09-08 10:04:09 -07:00
Nicholas Ward
90ea0318fb
Merge pull request #1223 from succinctlabs/uma/change-witness-visibility
Changed visibilities in `iop/generator` to allow for implementing `generate_partial_witness` outside of crate
2023-09-08 08:35:35 -07:00
Nicholas Ward
faa70e0768
Merge pull request #1219 from succinctlabs/uma/add-mock-feature-flag
Add `mock_build` to allow for faster circuit building and partial witness generation
2023-09-08 08:34:59 -07:00
Uma Roy
a184f09bf1 Made visibilities outside of crate to allow for forking partial witness gen outside of crate 2023-09-07 21:29:21 -07:00
Uma Roy
1be1ca4d32 clippy 2023-09-07 17:43:37 -07:00
Uma Roy
a643307108 Fixes 2023-09-07 17:41:52 -07:00
BGluth
5936c67f59 Now refers to sub-crates using paths (and removed patch section)
- Previously refered to specific `crates.io` versions.
- Motivation for this is to allow external projects to be able use
  specific revisions of this repo. Without this, a `[patch]` section
  is almost always required in the external project in order to force
  the internal plonky2 sub-crates to the same version, an approach which
  comes with its own issues.
2023-09-07 16:36:38 -06:00
BGluth
4716fe7db4 Also included clippy fixes introduced by new nightly 2023-09-07 13:33:08 -06:00
Uma Roy
5a3c8b26d1 clippy 2023-09-07 11:30:19 -07:00
Uma Roy
0ca796e1ff Removed mock feature flag and added mock_build 2023-09-07 11:29:04 -07:00
Uma Roy
18d314126f Added mock feature flag and test 2023-09-06 20:37:38 -07:00
John Guibas
800603d6f1 feat: serde for targets 2023-09-06 09:22:54 -07:00
John Guibas
d3f33baed3 make generate partial_witness pub 2023-08-24 10:45:49 -07:00
Robin Salen
925cdd5351
Cleanup 2023-08-22 20:00:49 +01:00
Robin Salen
976d752153
Observe public values 2023-08-18 18:59:58 -04:00
Robin Salen
12a687d34a
Reduce reallocations 2023-08-10 08:52:21 -04:00
Robin Salen
6f98fd7628
Merge pull request #1147 from metacraft-labs/gate_make_public_parameter
Make field `0` of `GateRef` is private
2023-08-09 11:24:32 -04:00
Jacqueline Nabaglo
b2626fdc71
Merge pull request #1162 from topos-protocol/cleanup_attributes
Remove unused attributes
2023-08-04 13:11:25 -07:00
Robin Salen
9f8c152222
Remove unused attributes 2023-08-02 08:54:20 -04:00