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
Robin Salen
8f91913337
Fix nightly version
2024-02-06 09:32:45 -05:00
Robin Salen
212f29cfb9
Add missing constraints mentioned by auditors ( #1499 )
2024-02-05 17:56:49 -05:00
Robin Salen
af0259c5eb
Remove StarkProofWithMetadata ( #1497 )
2024-02-04 11:15:02 -05:00
Robin Salen
f3f7433c29
Some cleanup ( #1498 )
2024-02-03 12:21:38 -05:00
Robin Salen
6357963654
Reorganize lookup / ctl modules ( #1495 )
...
* Reorganize lookup / ctl modules
* Apply review
2024-02-01 23:19:49 +00:00
Robin Salen
e502a0dfb1
Make CTLs more generic ( #1493 )
...
* Make number of tables generic
* Remove dependency on Table in the CTL module
* Remove needless conversion
* Remove more needless conversion
* Clippy
* Apply reviews
2024-02-01 11:41:42 -05:00
Utsav Jain
1dc22b761f
Fix BaseSumGenerator and BaseSplitGenerator Ids ( #1494 )
...
* fix: different ids for generators with different bases
required for correct serialisation
Signed-off-by: electron-team <utsavjn48@gmail.com>
* fixing wasm32 build issue
Signed-off-by: electron-team <utsavjn48@gmail.com>
* fix fmt issue
Signed-off-by: electron-team <utsavjn48@gmail.com>
---------
Signed-off-by: electron-team <utsavjn48@gmail.com>
2024-02-01 08:49:36 -05:00
Robin Salen
f76245e298
Cleanup imports ( #1492 )
2024-02-01 07:16:28 -05:00
Daniel Lubarov
a9060e61b8
Add LA audit report
2024-01-28 09:04:16 -08:00
Vivek Pandya
36e62a134d
Use usize::BITS and wrapping_shr in reverse_index_bits_in_place_small ( #1478 )
2024-01-26 10:10:45 -05:00
Vivek Pandya
14bb5bdb82
Use web_time crate instead of std::time ( #1481 )
2024-01-25 08:20:34 -05:00
Robin Salen
eff7cc0f58
Fix circuit sizes ( #1484 )
2024-01-25 05:45:28 +00:00
Alonso González
ca2e56e23b
Fix bugs in jumpdest analysis ( #1474 )
...
* Fix simulation for jumpdest analysis
* Fix bugs in jumpdest analysis
* Update evm/src/cpu/kernel/asm/core/jumpdest_analysis.asm
Co-authored-by: Robin Salen <30937548+Nashtare@users.noreply.github.com>
* Address reviews
---------
Co-authored-by: Robin Salen <30937548+Nashtare@users.noreply.github.com>
2024-01-24 17:16:41 +01:00
Robin Salen
c0700065db
Improve BIGNUM operations ( #1482 )
2024-01-24 05:03:49 -05:00
Robin Salen
acc59c3563
Speed-up bn254 pairing operation ( #1476 )
...
* Speed-up bn254 operations
* Add comment for write_fp254_12_unit macro
* Refactor some macros
* nit: comment
* Add newline
2024-01-23 17:36:14 -05:00
Ben
ae0907ff97
Merge pull request #1462 from 0xPolygonZero/pg/evm-licensing
...
Add licensing info for EVM crate
2024-01-23 18:59:58 +00:00
Robin Salen
8cb80e097d
Improve blake2f call ( #1477 )
...
* Improve on blake2 operations
* Comments
* Remove swap_mstore calls by changing stack macros
2024-01-22 14:42:11 +00:00
Robin Salen
319fc6a2f2
Improve SHA2 precompile ( #1480 )
...
* Improve SHA2 precompile
* Review
* Add removed global label
2024-01-22 13:02:38 +00:00
Linda Guiga
8e1969db2f
Fix interpreter jumps ( #1471 )
...
* Fix interpreter jumps
* Apply comments
2024-01-22 11:30:51 +01:00
Thabokani
b8a16b39c7
Fix typos ( #1479 )
2024-01-19 09:53:06 +01:00
Léo Vincent
265d46a96e
chore: update ci workflow ( #1475 )
...
* chore: bump `actions/checkout` and `actions/cache`
* chore: use `dtolnay/rust-toolchain` and `Swatinem/rust-cache` instead of outdated github actions
* chore: use `cargo test`
* chore: remove `actions-rs/cargo`
* fix: typo
* chore: enable to cancel in-progress jobs
* chore: add job timeouts
2024-01-18 15:46:11 +01:00