vuittont60
dcbfef6df9
chore: fix typos ( #1451 )
2024-01-09 09:33:17 +00:00
Robin Salen
2dacbfe2ff
Address bundling ( #1426 )
...
* Start
* Scale TxnFields
* Speed-up
* Misc fixes
* Other fixes
* Fix
* Fix offset
* One more fix
* And one more fix
* Fix
* Fix
* Fix init
* More interpreter fixes
* Final fixes
* Add helper methods
* Clippy
* Apply suggestions
* Comments
* Update documentation
* Regenerate pdf
* minor
* Rename some macros for consistency
* Add utility method for unscaling segments and scaled metadata
* Address comments
2024-01-08 10:46:26 +00:00
Linda Guiga
18e08f4f61
Filter range checks ( #1433 )
...
* Add filtering to range-checks
* Cleanup
* Fix Clippy
* Apply comment
2023-12-18 17:27:12 -05:00
Hamy Ratoanina
46b6aa108d
Implement degree 2 filters ( #1404 )
...
* Implement degree 2 filters
* Apply comments
2023-12-05 17:02:37 -05:00
Robin Salen
2d36559dad
Make some functions const ( #1407 )
2023-12-05 13:41:31 -05:00
Robin Salen
d28ba24059
Pacify clippy ( #1403 )
2023-12-04 09:51:48 -05:00
Linda Guiga
48e2b24b49
Add range check constraints for the looked table ( #1380 )
...
* Add constraints to check that looked tables are well constructed for range checks
* Fix comments
2023-11-22 15:59:41 -05:00
Robin Salen
b9328815e6
Reduce visibility ( #1364 )
2023-11-17 15:45:38 -05:00
Robin Salen
88fcc32983
Reduce visibility for a bunch of structs and methods in EVM crate ( #1289 )
...
* Reduce visibility for a bunch of structs and methods
* Remove redundant
2023-11-13 09:26:56 -05:00
Robin Salen
5c41dc4dac
Range-check keccak sponge inputs to bytes ( #1342 )
...
* Range-check keccak sponge inputs to bytes
* Move outside of inner loop
* Apply review
2023-11-10 10:44:58 -05:00
Linda Guiga
19178072b4
Remove len column in KeccakSpongeStark ( #1334 )
...
* Remove len column in KeccakSpongeStark
* Apply comment
Co-authored-by: Robin Salen <30937548+Nashtare@users.noreply.github.com>
---------
Co-authored-by: Robin Salen <30937548+Nashtare@users.noreply.github.com>
2023-11-06 16:48:36 -05:00
Robin Salen
0d97b93af5
Add some documentation in EVM crate ( #1295 )
...
Co-authored-by: Linda Guiga <linda.guiga@toposware.com>
2023-10-30 14:28:24 -04:00
Linda Guiga
e58d7795f8
Remove reg_preimage columns in KeccakStark ( #1279 )
...
* Remove reg_preimage columns in KeccakStark
* Apply comments
* Minor cleanup
2023-10-06 15:49:57 -04:00
Robin Salen
0abc3b9210
Apply comments ( #1248 )
2023-09-22 10:14:47 -04:00
Robin Salen
d6be2b987b
Remove generic_const_exprs feature from EVM crate ( #1246 )
...
* Remove const_generic_exprs feature from EVM crate
* Get a generic impl of StarkFrame
2023-09-22 09:19:13 -04:00
Robin Salen
19220b21d7
Remove redundant Keccak sponge cols ( #1233 )
...
* Rename columns in KeccakSponge for clarity
* Remove redundant columns
* Apply comments
2023-09-14 15:27:38 -04:00
Nicholas Ward
7cdb6baf2d
Merge pull request #1177 from topos-protocol/alloc
...
Reduce reallocations
2023-08-14 12:17:54 -07:00
Robin Salen
437f57a862
Fix logic CTL
2023-08-11 09:23:58 -04:00
Robin Salen
8541a04b4c
Apply Nicholas comment
2023-08-10 15:54:03 -04:00
Robin Salen
56ebda4981
Address review
2023-08-10 10:40:47 -04:00
Robin Salen
12a687d34a
Reduce reallocations
2023-08-10 08:52:21 -04:00
Robin Salen
ee9ce4c59d
Combine AND and OR flags in CpuStark
2023-08-09 16:05:24 -04:00
Linda Guiga
06037f814f
Fix the memory CTL and implement the verifier memory bus
...
Co-authored-by: Hamy Ratoanina <hamy.ratoanina@toposware.com>
2023-07-27 18:20:03 -04:00
Robin Salen
1e57ef96cb
Remove unnecessary constraint
2023-04-11 17:46:48 -04:00
Robin Salen
29726f9257
Apply review
2023-04-11 17:45:37 -04:00
Robin Salen
18d27d2f55
Remove is_final_block column in KeccakSpongeStark
2023-04-11 08:05:50 -04:00
Robin Salen
0146f48a87
Cleanup
2023-04-08 14:30:26 -04:00
Robin Salen
99b0d0094c
Implement KeccakSpongeStark constraints
2023-04-08 14:30:25 -04:00
Daniel Lubarov
b8e97aaaf8
Fix logic and Keccak CTLs
...
Lots of little bugs!
- The Keccak sponge table's padding logic was wrong, it was mixing up the number of rows with the number of hashes.
- The Keccak sponge table's Keccak-looking data was wrong - input to Keccak-f should be after xor'ing in the block.
- The Keccak sponge table's logic-looking filter was wrong. We do 5 logic CTLs for any final-block row, even if some of the xors are with 0s from Keccak padding.
- The CPU was using the wrong/outdated output memory channel for its Keccak sponge and logic CTLs.
- The Keccak table just didn't have a way to filter out padding rows. I added a filter column for this.
- The Keccak table wasn't remembering the original preimage of a permutation; lookers were seeing the preimage of the final step. I added columns for the original preimage.
- `ctl_data_logic` was using the wrong memory channel
- Kernel bootloading generation was using the wrong length for its Keccak sponge CTL, and its `keccak_sponge_log` was seeing the wrong clock since it was called after adding the final bootloading row.
2022-12-19 15:42:59 -08:00
Daniel Lubarov
b8b2fefe52
Use Keccak sponge table for bootloading
...
And get rid of the deprecated Keccak memory table.
2022-12-03 11:21:31 -08:00
Daniel Lubarov
82d0f08193
clippies
2022-12-02 17:06:30 -08:00
Daniel Lubarov
9bf47ef8ac
Fixes
2022-12-01 12:46:14 -08:00
Daniel Lubarov
d3aa33975a
generate_keccak_general, generate_byte
2022-12-01 12:06:29 -08:00
Brandon H. Gomes
6fd0da216a
fix: remove unstable features from plonky2
...
Signed-off-by: Brandon H. Gomes <bhgomes@pm.me>
2022-11-02 17:50:31 -07:00
Daniel Lubarov
b6d71a7008
Keccak benchmark
...
And reworking things a bit to include the timing data we want.
2022-09-23 10:54:17 -07:00
Daniel Lubarov
496581cfa1
fix
2022-09-04 17:07:06 -07:00
Daniel Lubarov
46cf46ccd8
Minor
2022-09-04 16:56:17 -07:00
Daniel Lubarov
c9cfcecc9f
Logic CTL for xor
2022-09-04 16:53:04 -07:00
Daniel Lubarov
d392ec04e7
Feedback
2022-09-03 23:02:06 -07:00
Daniel Lubarov
2c77247d43
Keccak sponge STARK
...
It contains a row for each absorb step of the sponge.
2022-09-01 09:41:19 -07:00