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
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
Jacqueline Nabaglo
49219a2b11
NOT stark ( #565 )
...
* NOT operation stark
* Daniel PR comment
2022-06-14 16:55:08 -07:00
wborgeaud
6a13ecf164
Remove enum and use Option for filter
2022-06-14 19:09:03 +02:00
wborgeaud
499d2d07bf
Minor
2022-06-14 16:30:34 +02:00
wborgeaud
d9b5d83383
Minor
2022-06-14 16:21:37 +02:00
wborgeaud
1dce18495a
Remove Keccak input limbs
2022-06-14 01:21:17 +02:00
wborgeaud
d626679c6c
Column enum
2022-06-14 00:53:31 +02:00
Jacqueline Nabaglo
732002691b
Logic stark ( #562 )
...
* Logic stark
* Refactor for style
2022-06-13 10:34:33 -07:00
wborgeaud
1356b980c6
Merge pull request #558 from mir-protocol/filtered_ctl
...
Filtered CTL
2022-06-13 19:21:06 +02:00
wborgeaud
e969f10b20
PR feedback
2022-06-13 18:54:12 +02:00
wborgeaud
bf375390b7
Keccak round flags constraints
2022-06-13 17:41:17 +02:00
wborgeaud
fdd6a7cad8
Wired CPU and Keccak
2022-06-10 21:02:56 +02:00
wborgeaud
039d4efa10
Merge branch 'main' into filtered_ctl
...
# Conflicts:
# evm/src/all_stark.rs
2022-06-10 20:11:00 +02:00
wborgeaud
8bd6bebdc7
INPUT_LIMBS -> NUM_INPUTS
2022-06-10 19:30:51 +02:00
wborgeaud
30abe19e42
Fix
2022-06-10 00:49:22 +02:00
wborgeaud
413a5a30eb
Merge branch 'main' into keccak_input_registers
2022-06-10 00:14:11 +02:00
wborgeaud
aa8d69d27a
Minor
2022-06-09 23:42:17 +02:00
wborgeaud
2f3a280b90
Circuit fix
2022-06-09 23:40:58 +02:00
wborgeaud
51f66d4dac
Fix constraint
2022-06-09 23:36:43 +02:00
wborgeaud
8af99cba5d
Progress
2022-06-09 22:42:48 +02:00
wborgeaud
1cc38bb032
Add Keccak input registers
2022-06-09 22:31:33 +02:00
wborgeaud
4e848c77db
Merge conflicts
2022-06-09 18:13:41 +02:00
wborgeaud
afda9db00a
Merge branch 'evm_keccak_stark' into filtered_ctl
...
# Conflicts:
# evm/src/all_stark.rs
# evm/src/cross_table_lookup.rs
2022-06-09 18:04:58 +02:00
wborgeaud
f36c012e9c
Checks
2022-06-07 23:37:35 +02:00
Nicholas Ward
85d84a130f
moved back haha
2022-06-07 14:20:51 -07:00
Nicholas Ward
9c6e650916
moved allow to local
2022-06-07 14:15:28 -07:00
wborgeaud
05d2c69eb0
Add constraints
2022-06-07 23:09:09 +02:00
wborgeaud
2ff738633b
Merge branch 'main' into filtered_ctl
2022-06-07 22:59:43 +02:00
Nicholas Ward
315d088204
ignore silly clippy warning
2022-06-07 13:58:49 -07:00
wborgeaud
47fc968b0a
Set default to an Option
2022-06-07 22:19:36 +02:00
Nicholas Ward
1ad8ec5f33
fix
2022-06-07 10:57:06 -07:00
Nicholas Ward
67167d8e03
use bit operations
2022-06-07 10:57:06 -07:00
Nicholas Ward
8b37d5d25a
fix
2022-06-07 10:57:06 -07:00
Nicholas Ward
3b9cb7a9cf
fmt
2022-06-07 10:57:06 -07:00
Nicholas Ward
cacc073e4e
fix
2022-06-07 10:57:06 -07:00