2243 Commits

Author SHA1 Message Date
Nicholas Ward
f16db8c564 fmt 2022-06-23 14:01:22 -07:00
Nicholas Ward
593d3eeffd fixes 2022-06-23 14:01:22 -07:00
Nicholas Ward
9434819829 addressed comments 2022-06-23 14:01:22 -07:00
Nicholas Ward
a7f6bf3b00 fmt 2022-06-23 14:01:22 -07:00
Nicholas Ward
de52e630e8 addressed comments 2022-06-23 14:01:22 -07:00
Nicholas Ward
2d7f2b47c2 fmt 2022-06-23 14:01:22 -07:00
Nicholas Ward
a2c14077d2 fixes 2022-06-23 14:01:22 -07:00
Nicholas Ward
a860eb7727 fixes 2022-06-23 14:01:22 -07:00
Nicholas Ward
9f22cc72c3 allow 'unused' functions 2022-06-23 14:01:22 -07:00
Nicholas Ward
d2eb3b141b addressed comments 2022-06-23 14:01:22 -07:00
Nicholas Ward
08be9811cd timestamp fixes 2022-06-23 14:01:18 -07:00
Nicholas Ward
dace10a291 removed structs 2022-06-23 14:00:59 -07:00
Nicholas Ward
6884b1aedb addressed comment 2022-06-23 14:00:59 -07:00
Nicholas Ward
3898ccd041 okay you win, clippy 2022-06-23 14:00:59 -07:00
Nicholas Ward
0514cd9646 addressed comments 2022-06-23 14:00:59 -07:00
Nicholas Ward
939e63189b rename 2022-06-23 14:00:59 -07:00
Nicholas Ward
5707baee23 addressed comments 2022-06-23 14:00:56 -07:00
Nicholas Ward
105852589f removed accidentally added files 2022-06-23 14:00:48 -07:00
Nicholas Ward
5707732b75 fix 2022-06-23 14:00:48 -07:00
Nicholas Ward
398e75de4e fix 2022-06-23 14:00:48 -07:00
Nicholas Ward
bf58c20329 updates to registers, new cross-table lookups 2022-06-23 14:00:48 -07:00
Nicholas Ward
8155e90d16 fixes 2022-06-23 14:00:48 -07:00
Nicholas Ward
7ba0652c01 all_stark 2022-06-23 14:00:44 -07:00
Nicholas Ward
affcd65716 fmt 2022-06-23 14:00:01 -07:00
Nicholas Ward
cceb471fd8 uncommenting 2022-06-23 14:00:01 -07:00
Nicholas Ward
ef3f023666 transpose fix 2022-06-23 14:00:01 -07:00
Nicholas Ward
59f3a763f0 transition constraints, and debugging 2022-06-23 14:00:01 -07:00
Nicholas Ward
03112f898a updated all_stark framework to include memory stark (doesn't pass yet) 2022-06-23 13:59:57 -07:00
Nicholas Ward
31be2c8d49 clippy and fix 2022-06-23 13:59:06 -07:00
Nicholas Ward
0ad54233de fmt 2022-06-23 13:59:06 -07:00
Nicholas Ward
fcf216012c memory row generation 2022-06-23 13:59:06 -07:00
Nicholas Ward
7ed2aa6315 cleanup 2022-06-23 13:59:06 -07:00
Nicholas Ward
91dacf2e38 tests 2022-06-23 13:59:06 -07:00
Nicholas Ward
40a0a2526b fmt 2022-06-23 13:59:06 -07:00
Nicholas Ward
eabb10a34c lookup argument for range check 2022-06-23 13:59:06 -07:00
Nicholas Ward
32d10a2f69 redoing columns 2022-06-23 13:59:06 -07:00
Nicholas Ward
24398e2f18 memory 2022-06-23 13:59:06 -07:00
Nicholas Ward
7c2cfebdee memory 2022-06-23 13:59:06 -07:00
Jacqueline Nabaglo
3aaab765dd
define columns for CTL closer to the constraints (#573) 2022-06-21 10:28:44 -07:00
Daniel Lubarov
2e818172f0
Parse and assemble kernel functions (#567)
* Parse and assemble kernel functions

Written in "EVM++" assembly. Later on we will add some priviledged opcodes (in unused opcode ordinals), making it an extension of EVM bytecode.

I don't think there's much of a standard for EVM assembly, but I loosely based the syntax on this [proposal](https://gist.github.com/axic/17ddbbce4738ccf4040d30cbb5de484e).

* PR feedback

* tweaks for consistency

* terminology tweaks

* Update evm/src/cpu/kernel/opcodes.rs

Co-authored-by: Jacqueline Nabaglo <jakub@mirprotocol.org>

* Update evm/src/cpu/kernel/opcodes.rs

Co-authored-by: Jacqueline Nabaglo <jakub@mirprotocol.org>

* Update evm/src/cpu/kernel/opcodes.rs

Co-authored-by: Jacqueline Nabaglo <jakub@mirprotocol.org>

Co-authored-by: Jacqueline Nabaglo <jakub@mirprotocol.org>
2022-06-20 20:32:29 -07:00
Daniel Lubarov
2797000377
Fix check_constraints to only look at subgroup points, vs coset points (#572) 2022-06-17 15:12:54 -07:00
Jacqueline Nabaglo
1cc000d3e1
Connect logic stark to CPU (#569)
* WIP: connect logic stark to CPU

* Tests passing
2022-06-17 11:57:14 -07:00
wborgeaud
043eb2de90
Merge pull request #570 from mir-protocol/fix_ctl_verify
Fix CTL verification
2022-06-16 02:32:09 +02:00
wborgeaud
b9265ccf0e Sanity check 2022-06-16 02:15:40 +02:00
wborgeaud
29f750ed51 Fix CTL verification 2022-06-16 02:06:43 +02:00
Jacqueline Nabaglo
7cbce7bf6d
Remove redundant constraints (#568) 2022-06-15 11:27:40 -07:00
wborgeaud
31435944f1
Merge pull request #564 from mir-protocol/ctl_linear_comb
Linear combinations as columns in CTL
2022-06-15 17:39:52 +02:00
wborgeaud
918201d0f9 Fix new lints 2022-06-15 17:23:04 +02:00
wborgeaud
0d8461d66d PR feedback 2022-06-15 17:01:30 +02:00
Jacqueline Nabaglo
1e44ee3681
EQ and ISZERO (#566) 2022-06-14 17:38:42 -07:00