1926 Commits

Author SHA1 Message Date
Robin Salen
f01098a783
Constrain keccak general 2023-08-01 11:16:45 -04:00
Hamish Ivey-Law
9e0719e6be
Better document constraints on addcy carries (#1139)
* Add missing constraints on addcy carries.

* Remove bit-checks; make documentation clearer.
2023-08-01 20:58:32 +10:00
Jacqueline Nabaglo
8c6e8d638a
Merge pull request #1158 from mir-protocol/jacqui/gas-check-spec
Gas handling brain dump
2023-07-31 17:20:29 -07:00
Jacqueline Nabaglo
c52ed29e08 Gas handling brain dump 2023-07-31 17:19:46 -07:00
Nicholas Ward
8432195517 update versions in cross-crate references 2023-07-31 16:34:27 -07:00
Nicholas Ward
3a55602909 update versions for crates.io updates 2023-07-31 16:31:22 -07:00
Nicholas Ward
5b8740a729
Merge pull request #1026 from topos-protocol/memory-ctl-verifier-bus
Fix the memory CTL and implement the verifier memory bus
2023-07-28 16:01:34 -07:00
Jacqueline Nabaglo
3b21b87d0a
Merge pull request #1151 from mir-protocol/jacqui/dead-memtable-cols
Cut 5 Columns From The Memory Table With This One Weird Trick!
2023-07-27 15:41:58 -07:00
Hamy Ratoanina
7a882d0a64
Clippy 2023-07-27 18:27:09 -04:00
Linda Guiga
6253a68ea5
Change public values into public inputs 2023-07-27 18:27:08 -04:00
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
dependabot[bot]
5d513207ef
Update itertools requirement from 0.10.3 to 0.11.0
Updates the requirements on [itertools](https://github.com/rust-itertools/itertools) to permit the latest version.
- [Changelog](https://github.com/rust-itertools/itertools/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-itertools/itertools/compare/v0.10.3...v0.11.0)

---
updated-dependencies:
- dependency-name: itertools
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-13 23:00:00 +00:00
Nicholas Ward
4400757f3f
Merge pull request #1128 from mir-protocol/dependabot/cargo/hex-literal-0.4.1
Update hex-literal requirement from 0.3.4 to 0.4.1
2023-07-13 15:59:07 -07:00
Nicholas Ward
dc1709155a
Merge pull request #1131 from mir-protocol/dependabot/cargo/criterion-0.5.1
Update criterion requirement from 0.4.0 to 0.5.1
2023-07-13 15:58:18 -07:00
Nicholas Ward
0f284ca6a7
Merge pull request #1130 from mir-protocol/dependabot/cargo/hashbrown-0.14.0
Update hashbrown requirement from 0.12.3 to 0.14.0
2023-07-13 15:57:56 -07:00
Nicholas Ward
63b8cebaac
Merge pull request #1124 from 0xmozak/matthias/remove_unused_deps
Remove unused dependency `blake2` from `evm` crate
2023-07-13 15:39:10 -07:00
dependabot[bot]
b0c5ddc070
Update criterion requirement from 0.4.0 to 0.5.1
Updates the requirements on [criterion](https://github.com/bheisler/criterion.rs) to permit the latest version.
- [Changelog](https://github.com/bheisler/criterion.rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/bheisler/criterion.rs/compare/0.4.0...0.5.1)

---
updated-dependencies:
- dependency-name: criterion
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-13 22:33:22 +00:00
dependabot[bot]
fc70f36c2e
Update hashbrown requirement from 0.12.3 to 0.14.0
Updates the requirements on [hashbrown](https://github.com/rust-lang/hashbrown) to permit the latest version.
- [Changelog](https://github.com/rust-lang/hashbrown/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/hashbrown/compare/v0.12.3...v0.14.0)

---
updated-dependencies:
- dependency-name: hashbrown
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-13 22:33:00 +00:00
dependabot[bot]
413f589e6c
Update hex-literal requirement from 0.3.4 to 0.4.1
Updates the requirements on [hex-literal](https://github.com/RustCrypto/utils) to permit the latest version.
- [Commits](https://github.com/RustCrypto/utils/compare/hex-literal-v0.3.4...hex-literal-v0.4.1)

---
updated-dependencies:
- dependency-name: hex-literal
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-13 22:32:41 +00:00
Linda Guiga
7437fe2b51
Fill modulus in cpu row for Fp254 operations. (#1122) 2023-07-14 06:53:06 +10:00
Matthias Goergens
4b0fc861b3 Remove unused dependency blake2 from evm crate 2023-07-13 12:18:09 +08: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
605ea47fd1 reset Cargo.toml 2023-06-21 13:04:54 -07: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