2027 Commits

Author SHA1 Message Date
Hamy Ratoanina
59b73c84ee
Apply comments 2023-07-27 18:27:06 -04:00
Hamy Ratoanina
1590c1d0be
Fix indices in CTL functions 2023-07-27 18:27:05 -04:00
Hamy Ratoanina
f97deab8a7
Remove non-passing debug assert 2023-07-27 18:20:04 -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
Jacqueline Nabaglo
b3f00d4ab8
Merge pull request #1146 from topos-protocol/overlap-cpu-syscalls
Merge syscalls and exceptions constraints.
2023-07-27 15:18:00 -07:00
Jacqueline Nabaglo
831fe862ff Cut 5 Columns From The Memory Table With This One Weird Trick! 2023-07-27 15:04:10 -07:00
Nicholas Ward
bfa7ab369e
Merge pull request #1111 from topos-protocol/lookup_serial
Lookup serialization
2023-07-24 13:29:10 -07:00
Linda Guiga
16227f90b9
Merge syscall and exceptions constraints. 2023-07-24 15:40:48 +01:00
Hamish Ivey-Law
6a7728798b
Fix negative quotient issue (#1140)
* First draft.

* Separate out mulmod constraint poly from the rest.

* Offset quot limbs when doing SUB* operations.

* Refactor constr_poly calculation.

* Clippy.

* Constrain the hi part of quot to be 0 or 1 for SUB* ops.

* Simplify storage and handling of negative quotient limbs.

* Remove unnecessary constant; move another to main file.

* Move constant back; cast properly.
2023-07-21 20:59:27 +10:00
Robin Salen
7ba051f4c7
Fix failing byte constraint (#1135) 2023-07-18 02:45:07 +10:00
Nicholas Ward
152e395903
Merge pull request #1137 from topos-protocol/fix-kernel-panic
Change context used in `bignum_modmul`
2023-07-17 08:41:27 -07:00
Linda Guiga
1af1afcff4
Change current context in bignum_modmul 2023-07-17 10:17:52 +01:00
Robin Salen
f116c855aa
Fix risk of division by zero 2023-07-16 15:01:36 -04:00
Nicholas Ward
4893a86001
Merge pull request #1116 from topos-protocol/recursive_ranges
Remove need for matching start ranges
2023-07-14 09:32:24 -07:00
Robin Salen
544aff27b6
Also provide CommonCircuitData in serialization of gates and generators 2023-07-13 19:27:51 -04:00
Linda Guiga
7437fe2b51
Fill modulus in cpu row for Fp254 operations. (#1122) 2023-07-14 06:53:06 +10:00
Nicholas Ward
94f880b67b
Merge pull request #1104 from topos-protocol/serializer
Make serializer work with slices
2023-07-11 10:34:23 -07:00
Jacqueline Nabaglo
dca50adfac
Merge pull request #1119 from mir-protocol/jacqui/topos-protocol/stack_len_bounds_aux_error
Fix `generate_exception` (#1115 replacement)
2023-07-10 15:37:21 -04:00
Jacqueline Nabaglo
6b493d6faa Remove redundant case (error in kernel mode) 2023-07-08 16:52:26 -04:00
Jacqueline Nabaglo
1664ab4408
Merge pull request #1112 from topos-protocol/fix-generate-jump
Fix jump operation generation
2023-07-08 16:38:35 -04:00
Linda Guiga
5bff02a198
Fix generate_set_context 2023-07-07 15:37:47 +01:00
Robin Salen
0a59aa6e6f
Remove need for matching start ranges 2023-07-06 16:26:00 -04:00
Hamy Ratoanina
325cd2f7c1
Compute stack_len_bounds_aux correctly in generate_error 2023-07-06 16:24:45 -04:00
Linda Guiga
224064bf05
Fix jump operation generation 2023-07-06 13:57:41 -04:00
Robin Salen
d960bfe2a3
Make serializer work with slices instead of Vec 2023-06-24 18:32:02 -04:00
Nicholas Ward
897e2e99e7 fix 2023-06-21 12:32:39 -07:00
Nicholas Ward
54cf74ac2d addressed comments 2023-06-21 09:03:43 -07:00
Nicholas Ward
975e9a49fa fmt 2023-06-20 12:51:55 -07:00
Nicholas Ward
8eeca9be95 undo dummy change 2023-06-20 12:48:38 -07:00
Nicholas Ward
2fa43121d7 dummy change to get tests to rerun :P 2023-06-20 12:48:21 -07:00
Nicholas Ward
9bb6da049e fmt 2023-06-20 12:30:37 -07:00
Nicholas Ward
afd4bd0406 cleanup 2023-06-20 12:02:45 -07:00
Nicholas Ward
bc53ddc56f fix 2023-06-20 12:01:24 -07:00
Nicholas Ward
264192aa05 modexp uses current_general 2023-06-20 11:56:21 -07:00
Nicholas Ward
39d2237dee
Merge pull request #1101 from mir-protocol/blake_fix
Blake fix
2023-06-16 07:30:47 -07:00
wborgeaud
ef8ea64dda Minor 2023-06-16 09:35:00 +02:00
wborgeaud
7559bb2f5b Minor 2023-06-16 09:31:16 +02:00
wborgeaud
83ee5fd646 Minor 2023-06-16 09:30:01 +02:00
wborgeaud
c8ff80caa2 Fix blake2 fix 2023-06-16 09:23:53 +02:00
Nicholas Ward
7ca5676808 fix 2023-06-15 21:57:22 -07:00
Nicholas Ward
246eb8d80c blake fix 2023-06-15 21:51:09 -07:00
Jacqueline Nabaglo
23bc390a83
Merge pull request #1095 from mir-protocol/jacqui/push0-opcode
PUSH0
2023-06-14 22:06:18 -07:00
Jacqueline Nabaglo
3eb41edb69 William comments 2023-06-14 20:47:15 -07:00
wborgeaud
564864eac3
Remove parts of the copy-on-write logic (#1096)
* Remove parts of the copy-on-write logic

* Minor
2023-06-14 14:46:49 +02:00
Jacqueline Nabaglo
cedeff5219 PUSH0 2023-06-13 13:29:30 -07:00
Jacqueline Nabaglo
9cc353607e
Merge pull request #1082 from mir-protocol/jacqui/simplify-stack-bounds
Simplify stack bounds constraints
2023-06-13 10:59:33 -07:00
Jacqueline Nabaglo
8ded9e8455 Minor: William comment 2023-06-13 10:39:11 -07:00
wborgeaud
ec07255f01
Fix halt loop (#1094) 2023-06-13 10:42:37 +02:00
wborgeaud
01efa0130e
Fix account touch in calls (#1093) 2023-06-13 09:57:34 +02:00
wborgeaud
ba705703a5
Use current context for pairing memory (#1091) 2023-06-12 22:55:38 +02:00