Commit Graph
1910 Commits
Author SHA1 Message Date
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
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
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