4913 Commits

Author SHA1 Message Date
Ben
d48ce9cf88
Merge pull request #1580 from AdventureSeeker987/main
chore: remove repetitive words
2024-04-24 15:20:37 +01:00
yanziseeker
1f6c04f62c
Update circuit_data.rs 2024-04-24 21:30:39 +08:00
yanziseeker
8d95b155b4
Update transpose_util.rs 2024-04-24 21:29:35 +08:00
yanziseeker
56e1b98d32
Update unconstrained_stark.rs (#1578) 2024-04-22 22:54:03 +09:00
Matthias Görgens
72c1c90748
Remove obsolete function ceil_div_usize (#1574) 2024-04-19 22:00:03 +09:00
Robin Salen
76da138338
Bump versions pre-release (#1569) 2024-04-16 20:10:19 +09:00
Ben
4c10381192
Merge pull request #1568 from 0xPolygonZero/readme
Missed changelog update
2024-04-15 23:44:28 +04:00
Ben
c386a63902
One more 2024-04-15 20:40:23 +01:00
Ben
2566321774
Merge pull request #1566 from jimpo/avx512-feature
Add stdarch_x86_avx512 feature
2024-04-15 23:38:59 +04:00
Ben
fefe94d174
Update CHANGELOG.md 2024-04-15 20:33:07 +01:00
Ben
d74121ca6e
Merge pull request #1567 from 0xmozak/matthias/remove-filter
Simplify types: remove option from CTL filters
2024-04-15 17:21:14 +04:00
Matthias Goergens
0731fec251 Simplify types: remove option from CTL filters
CTL filters can already express perfectly well the behaviour that we
gave for `None`.  No need to complicated anything.

Plus some random lint fixes that clippy demanded..
2024-04-15 17:14:54 +08:00
Jim Posen
692a9e35d0 Add stdarch_x86_avx512 feature 2024-04-11 21:13:57 +03:00
Ben
53c5bc3e95
Merge pull request #1559 from 0xPolygonZero/update_changelog
Update CHANGELOG.md
2024-03-22 19:41:21 +04:00
Ben
240839e8a6
Update CHANGELOG.md 2024-03-22 15:28:56 +00:00
Ben
cbfd19edb7
Merge pull request #1558 from spartucus/main
Refactor code
2024-03-22 13:00:05 +04:00
Bob Niu
3e89c7c24c refactor code 2024-03-22 16:22:05 +08:00
Hamy Ratoanina
54cee24b36
Bump versions pre-release (#1557) 2024-03-21 14:34:41 -04:00
Alonso González
4f8e631550
Prove Starks without constraints (#1552)
* Enable starks without constraints

* Clippy

* Add test stark without constraints

* Missing file

* Missing changes in the recursive side

* Fix bug with recursion

* Missing import

* Clippy

* Apply suggestions from code review

Co-authored-by: Robin Salen <30937548+Nashtare@users.noreply.github.com>

* Address reviews

* Fix TODO

* Apply suggestions from code review

Co-authored-by: Linda Guiga <101227802+LindaGuiga@users.noreply.github.com>

* More reviews

* Fix bug in eval_helper_columns

* Apply suggestions from code review

Co-authored-by: Robin Salen <30937548+Nashtare@users.noreply.github.com>

* Address reviews

* Allow <= blowup_factor + 1 constraints + reviews

* Add unconstrined Stark

* Missing file

* Remove asserts

---------

Co-authored-by: Robin Salen <30937548+Nashtare@users.noreply.github.com>
Co-authored-by: Linda Guiga <101227802+LindaGuiga@users.noreply.github.com>
2024-03-15 11:43:45 +00:00
Robin Salen
2a2becc415
Fix CTLs with exactly two looking tables (#1555) 2024-03-14 23:30:18 +09:00
Robin Salen
a137b64ac1
Add SECURITY.md and move contribution guidance to CONTRIBUTING.md (#1556) 2024-03-14 20:01:23 +09:00
Nicholas Ward
62ffe11a98
Merge pull request #1550 from 0xPolygonZero/example-doc-fix
example documentation fix
2024-03-04 14:06:06 -08:00
Nicholas Ward
316e13ea4b example documentation fix 2024-03-04 14:05:16 -08:00
Robin Salen
66127bcf73
Bump starky (#1549) 2024-02-29 22:54:08 +00:00
Robin Salen
44dc0f96ff
Add mention to versions in local dependencies (#1546) 2024-02-28 06:27:21 +00:00
Robin Salen
0817fd8e98
Pacify clippy (#1547) 2024-02-28 15:21:34 +09:00
Ben
cc464cbc87
Merge pull request #1545 from 0xPolygonZero/code_owners
Create CODEOWNERS
2024-02-28 02:48:02 +04:00
Ben
75c746e77f
Create CODEOWNERS 2024-02-27 22:10:13 +00:00
David
16746f1ed7
chore: remove conditional compilation for debug_utils (#1540)
* chore: remove conditional compilation for debug_utils

* chore: update CHANGELOG
2024-02-23 09:39:10 -05:00
Robin Salen
7445ec911b
Bump plonky2-util version (#1538) 2024-02-20 23:50:21 +00:00
Robin Salen
c94dc6f858
Version bump pre-release (#1536)
* Bump versions

* Bump hashbrown and ahash accordingly

* Update changelog
2024-02-20 14:50:43 -05:00
Robin Salen
598ac876ae
Do some additional cleanup pre-release (#1532)
* Add Debug impl for types

* Remove outdated clippy lint exceptions

* Hide internal custom gate methods and make some const
2024-02-19 10:32:07 -05:00
Robin Salen
4a620f4d79
Fix latest clippy for redundant_imports (#1535)
* Fix clippy for maybe_rayon

* Remove reimports
2024-02-19 08:13:32 -05:00
Robin Salen
6c9588aaea
Update licenses and dependencies (#1534) 2024-02-19 07:35:51 -05:00
Ford
da85f1be36
typo (#1533) 2024-02-18 15:25:16 +00:00
Robin Salen
cfe4448341
Implement Default for DefaultGateSerializer and DefaultGeneratorSerializer (#1531)
* Implement Default for DefaultGateSerializer and DefaultGeneratorSerializer

* Apply comments

* Update doc

* Clippy
2024-02-18 14:34:00 +00:00
Robin Salen
3e579b6d43
Remove plonky2_evm post-migration to zk_evm monorepo (#1530) 2024-02-17 11:04:07 -05:00
Hamy Ratoanina
a7b985ce39
Add hash public input methods (#1529)
* Add hash public input methods

* Change vecs to arrays

* ::

* Fix method name
2024-02-16 16:55:46 +00:00
Georgy Shepelev
8753162b77
Fix build for wasm32/64-unknown-unknown without std (#1528)
* adjust to no_std build

* disable default features of serde_json

* cargo fmt & clippy

* fix review remarks
2024-02-15 09:14:44 -05:00
Robin Salen
6f42ed5ca3
Add additional methods for Poseidon with PackedField (#1526)
* Add additional methods for Poseidon with PackedField

* Apply comments

* Comment

---------

Co-authored-by: Linda Guiga <lindaguiga3@gmail.com>
2024-02-15 13:52:34 +00:00
Alonso González
710225c9e0
Simulate jumpdest data with the interpreter (#1489)
* Simulate jumpdest data with the interpreter

* Fix mising type paramenter on some tests

* Refactor simulation and fix some intepreter bugs

* Fix bug in interpreter

* Apply suggestions from code review

Co-authored-by: Robin Salen <30937548+Nashtare@users.noreply.github.com>

* Address remaining reviews

* [WIP] Fixing memory issue

* [WIP] Fixed memory issue but erc20 failing

* Fix interpreter halting issue

* Restore transition.rs

* Minor

* Adress reviews

* Address reviews

* Missing fix

---------

Co-authored-by: Robin Salen <30937548+Nashtare@users.noreply.github.com>
2024-02-13 11:53:52 -05:00
Robin Salen
3ec1bfddb3
Update starky and leverage it as dependency for plonky2_evm (#1503)
* Update prover logic

* Add helper method for CTL data

* Some cleanup

* Update some methods

* Fix

* Some more fixes

* More tweaks

* Final

* Leverage starky crate

* Additional tweaks

* Cleanup

* More cleanup

* Fix

* Cleanup imports

* Fix

* Final tweaks

* Cleanup and hide behind debug_assertions attribute

* Clippy

* Fix no-std

* Make wasm compatible

* Doc and remove todo

* API cleanup and remove TODO

* Add Debug impls

* Add documentation for public items

* Feature-gate alloc imports

* Import method from starky instead

* Add simple crate and module documentation

* Apply comments

* Add lib level documentation

* Add test without lookups

* Fix starks without logup

* Cleanup

* Some more cleanup

* Fix get_challenges for non-lookup STARKs

* Add additional config methods and tests

* Apply comments

* More comments
2024-02-13 11:47:54 -05:00
David
b6fec06c38
Fix nightly build (ahash issue) (#1524)
* Revert "Fix workflow"

This reverts commit 246c2b6263f71313192801b1c27a3c08e241f545.

* Revert "Fix nightly version"

This reverts commit 8f919133379213698ba43fda5a39a153a17324b7.

* chore: remove stdsimd feature req (stabilized)
2024-02-12 09:42:07 -05:00
Robin Salen
b600142cd4
Cleanup alloc / std imports for plonky2 (#1518)
* Cleanup alloc/std versions for plonky2

* Fix import for macro
2024-02-10 15:48:52 -05:00
Robin Salen
6b39fc9006
Remove risk of panics in interpreter (#1519) 2024-02-10 14:11:52 -05:00
Robin Salen
d2598bded0
Revert "Remove StarkProofWithMetadata (#1497)" (#1502)
This reverts commit af0259c5eb010304cfc04a5e2a77e88cf8cc2378.
2024-02-08 08:43:04 -05:00
Robin Salen
1a08e783da
Fix no-std tests and add corresponding jobs in the CI (#1501) 2024-02-06 14:59:34 -05:00
Robin Salen
06444eaaf3
Switch permutation argument for logUp in starky (#1496)
* Switch permutation argument for logUp in starky

* Apply comments

* Refactor check_lookup_options

* Comments

* Add more visibility

* std -> core

* Revert "Add more visibility"

This reverts commit 2b4e50e0e7fc7676814b1bc1f4071d9ec0ab9d5c.

* Add more visibility to lookup items
2024-02-06 17:57:40 +00:00
David
fb8452de8e
Merge pull request #1500 from topos-protocol/ci
Pin nightly version to 2024-02-01
2024-02-06 16:28:55 +01:00
Robin Salen
246c2b6263
Fix workflow 2024-02-06 09:39:29 -05:00