Nicholas Ward
b935605f69
fmt
2022-07-11 10:44:48 -07:00
Nicholas Ward
467f532024
addressed comments
2022-07-11 10:44:48 -07:00
Nicholas Ward
49c208ec9b
addressed comments
2022-07-11 10:44:48 -07:00
Nicholas Ward
888cfe4ca4
fix
2022-07-11 10:44:48 -07:00
Nicholas Ward
9ad2958f73
fix
2022-07-11 10:44:48 -07:00
Nicholas Ward
afc5a4dc4f
fixes
2022-07-11 10:44:48 -07:00
Nicholas Ward
6655ee68e4
restored timestamp column to CTL
2022-07-11 10:44:48 -07:00
Nicholas Ward
6b2b745291
removed debug prints
2022-07-11 10:44:48 -07:00
Nicholas Ward
3a6f2ef25e
clippy
2022-07-11 10:44:48 -07:00
Nicholas Ward
51498eb748
fmt
2022-07-11 10:44:48 -07:00
Nicholas Ward
58c2e7214a
another padding-row constraint fix
2022-07-11 10:44:48 -07:00
Nicholas Ward
77a7ace39c
updates to recursive constraints
2022-07-11 10:44:48 -07:00
Nicholas Ward
f3ef6c9bf3
fix: ignore padding rows in constraints
2022-07-11 10:44:48 -07:00
Nicholas Ward
83963c3a8f
permutation pairs
2022-07-11 10:44:48 -07:00
Nicholas Ward
b467a13d91
fix
2022-07-11 10:44:48 -07:00
Nicholas Ward
c3e7652763
updates
2022-07-11 10:44:48 -07:00
Nicholas Ward
181a132335
fixes
2022-07-11 10:44:48 -07:00
Nicholas Ward
a98f267ff0
initial change
2022-07-11 10:44:48 -07:00
Daniel Lubarov
8a2a035411
Merge branch 'main' into evm_generation
2022-07-11 09:58:38 -07:00
wborgeaud
5e27e7264d
unwrap_or_else -> unwrap_or
2022-07-11 14:56:27 +02:00
wborgeaud
50ebf39d37
Comment
2022-07-11 14:24:12 +02:00
wborgeaud
3ff67e38dc
Minor
2022-07-11 14:16:58 +02:00
wborgeaud
36c8aa34c1
Comments
2022-07-11 14:13:07 +02:00
wborgeaud
91fcf26289
Better CTL error
2022-07-11 11:07:16 +02:00
Daniel Lubarov
9902e8b713
Merge pull request #601 from therealyingtong/arithmetic_u32-canonicity
...
`U32ArithmeticGate`: constrain canonicity of output.
2022-07-10 20:25:35 -07:00
therealyingtong
5bf545c5b5
arithmetic_u32: Introduce canonicity check.
2022-07-09 09:35:52 -04:00
therealyingtong
2c48b117ed
arithmetic_u32: Introduce Self::routed_wires_per_op() method.
...
This removes the use of hard-coded 5 everywhere.
2022-07-09 09:35:52 -04:00
therealyingtong
fbffd60212
arithmetic_u32::tests: Add test_canonicity check.
...
This test should fail because its output is the non-canonical value
p = (u32::MAX, 1). However, since the U32ArithmeticGate currently
permits non-canonical outputs, this test passes.
2022-07-09 09:35:52 -04:00
therealyingtong
508d478872
arithmetic_u32::tests: Extract get_wires() from test_gate_constraint().
...
Use F::from_noncanonical_u64 for addend, so that we can reuse get_wires
in our canonicity check test.
2022-07-09 09:35:19 -04:00
Daniel Lubarov
58889e7649
Allow constants to be passed from Rust into our assembly ( #598 )
...
Roughly like environment variables. So we don't have to declare things like segment IDs twice.
2022-07-08 08:56:46 -07:00
wborgeaud
457ac11083
Merge pull request #596 from mir-protocol/evm_interpreter
...
EVM interpreter
2022-07-08 03:21:54 -05:00
wborgeaud
12ca084620
PR feedback
2022-07-08 09:58:52 +02:00
wborgeaud
bd5c9aa889
Merge pull request #597 from mir-protocol/ec_use_macro_params
...
Use macros with parameters in EC ops kernel functions
2022-07-07 13:40:23 -05:00
wborgeaud
a280e1c60a
Merge branch 'ec_use_macro_params' into evm_interpreter
2022-07-07 19:28:22 +02:00
wborgeaud
a3c2e9a295
More macros
2022-07-07 19:28:11 +02:00
wborgeaud
122188c817
Merge branch 'ec_use_macro_params' into evm_interpreter
2022-07-07 19:17:31 +02:00
wborgeaud
4316be96cd
Test exp kernel function
2022-07-07 19:15:39 +02:00
wborgeaud
7bf5118f69
Test exp kernel function
2022-07-07 18:46:20 +02:00
wborgeaud
78eb7843de
Merge remote-tracking branch 'origin/evm_interpreter' into evm_interpreter
2022-07-07 18:27:28 +02:00
wborgeaud
f8987b7e80
Minor
2022-07-07 18:27:15 +02:00
wborgeaud
267f4162dd
Minor
2022-07-07 18:20:24 +02:00
wborgeaud
9c4947e0f0
EC ops test
2022-07-07 18:06:24 +02:00
Daniel Lubarov
beb8a90773
Macros with arguments ( #595 )
...
* Macros with arguments
See `basic_macros.rs` for an example.
* rename
2022-07-07 08:59:53 -07:00
wborgeaud
3ec2d307e5
EVM interpreter
2022-07-07 16:53:06 +02:00
wborgeaud
b90be5164f
Merge pull request #594 from mir-protocol/elliptic_curve_asm
...
Elliptic curve assembly
2022-07-07 08:00:47 -05:00
wborgeaud
434615a03c
PR feedback + comments
2022-07-07 08:26:57 +02:00
wborgeaud
e2b1e51280
Minor
2022-07-06 09:40:11 +02:00
wborgeaud
9747343ac2
PR feedback
2022-07-06 09:25:41 +02:00
wborgeaud
5bae732ea0
Minor
2022-07-05 21:24:51 +02:00
wborgeaud
8ffd25c127
Add zero case for mul
2022-07-05 21:22:05 +02:00