Commit Graph

1494 Commits

Author SHA1 Message Date
Leo
40ff9db41a Merge pull request #1069 from powdr-labs/update-evm-test
update evm test
2024-02-19 22:53:14 +00:00
chriseth
c41f9f66f1 Merge pull request #1061 from powdr-labs/compute-first-row
On (N-1, 0) row pair, only execute identities with next reference
2024-02-19 10:48:51 +00:00
Leo
1485f50cf6 Merge pull request #1058 from powdr-labs/update_utils
Some more uses of cross_product
2024-02-19 10:48:09 +00:00
Georg Wiese
668d881057 On (N-1, 0) row pair, only execute identities with next reference 2024-02-19 10:27:50 +01:00
Leo Alt
47fbf91af1 update evm test 2024-02-18 11:31:43 +01:00
Leo
da8335d0a0 Merge pull request #1065 from powdr-labs/update_nightly
update rust nightly to 2024-02-01
2024-02-16 23:21:00 +00:00
Leandro Pacheco
869b63c8f1 update rust nightly version to 2024-02-01 2024-02-16 19:51:23 -03:00
Georg Wiese
340e059cec Merge pull request #1063 from powdr-labs/refactor-poseidon
Refactor PoseidonBN254
2024-02-16 14:01:00 +00:00
Georg Wiese
aa3955801c Refactor PoseidonBN254 2024-02-15 18:15:08 +01:00
Leo
c7f9904443 Merge pull request #1062 from powdr-labs/default-binary
Set default binary to `powdr`
2024-02-15 15:03:36 +00:00
Georg Wiese
eb2f59aab3 Set default binary to powdr 2024-02-15 15:27:35 +01:00
Lucas Clemente Vella
92179866f9 Merge pull request #1059 from powdr-labs/asm_pad_value
balign and p2align pad value
2024-02-15 14:21:35 +00:00
Leo
e0b29e95be Merge pull request #1057 from taikoxyz/pilo_versionning
Pilo versionning and checks
2024-02-15 13:20:54 +00:00
Champii1
0cf2b977dc Add versioning for the analyzed types and schema validation
Remove dangling function in  macro

Fix variable name in schema_update.rs

Read the version number at runtime instread of compile time

Fix version_number parsing and write new schema after it

Add schemars feature `preserve_order`

Change unwrap for expect in schema_update.rs

Moved schema binary in its own crate

Graceful error management in powdr-schema instead of panic

Better graceful error handling in the pipeline and the cli

Fix clippy

Put the magic number at the start of the serialized data

Revert magic at the start of the file

Moved the SerializedAnalyzed to the schemas crate

Changed serialized.rs to analyzed.rs

Changed the magic number to be the ASCII `powdr`
2024-02-15 13:48:16 +01:00
chriseth
9314b8ac0e Merge pull request #1044 from powdr-labs/instr_params
`instr` declaration parameter mapping
2024-02-15 08:08:28 +00:00
Leandro Pacheco
974c7d726b balign and p2align pad value 2024-02-14 17:43:30 -03:00
Leandro Pacheco
2e1a8571a7 instr param mapping
allow RHS of `instr` declarations to control the usage of write and assignment
registers.
2024-02-14 13:31:19 -03:00
chriseth
e644be4d39 Update utils. 2024-02-14 16:52:30 +01:00
chriseth
0c2cb3fd83 Merge pull request #1056 from powdr-labs/ff-better-error-message
Improve error message in `std::math::ff:inverse`
2024-02-14 13:57:16 +00:00
Georg Wiese
076f7b5129 Improve error message in std::math::ff:inverse 2024-02-14 13:12:46 +01:00
Leo
e8dd55c17b Merge pull request #1049 from taikoxyz/pipeline_serde
Serialize optimized PIL and load it for the prove phase
2024-02-13 21:59:17 +00:00
Leo
3216e2aec2 Merge pull request #1048 from powdr-labs/library-docs
docs about powdr as library
2024-02-13 20:25:06 +00:00
Champii1
0c6ac7d2c2 Add serialization for Analyzed<T> and pipeline resume
Fix pipeline name from file name with suffix

Variable naming

Replace `splitted` with `split`

Co-authored-by: Leo <leo@ethereum.org>

Fix clippy

Add test for serde of PIL

Changed the optimized PIL file extension to .pilo

Changed function names to reflect the operation on pil object
2024-02-13 20:41:40 +01:00
Leo Alt
4be3d9d2bc docs about powdr as library 2024-02-13 20:20:24 +01:00
Georg Wiese
393d26fe9e Merge pull request #1054 from powdr-labs/fix-halo2-verification
Fix Halo2 verification
2024-02-13 17:24:01 +00:00
Georg Wiese
4d5df90e4c Handle publics in gen_halo2_proof() 2024-02-13 17:57:31 +01:00
Georg Wiese
40a8504758 Bug fix in Halo2 verification algorithm 2024-02-13 16:34:58 +01:00
Leo
b8749c1eb0 Merge pull request #1035 from powdr-labs/backend-api-refactor
Refactor of backend API
2024-02-13 11:50:34 +00:00
Lucas Clemente Vella
390f3a191f New backend interface. 2024-02-13 11:24:47 +00:00
Georg Wiese
a140624cfb Merge pull request #1053 from powdr-labs/test-malicious-prover
Test that proving fails for unsatisfying witness
2024-02-13 11:21:04 +00:00
Georg Wiese
d37116372d Test that proving fails for unsatisfying witness 2024-02-13 11:56:18 +01:00
Lucas Clemente Vella
4fedb58bf3 Merge pull request #1052 from powdr-labs/build-cache
daily rust cache for PR-tests action
2024-02-12 19:35:36 +00:00
Leandro Pacheco
dcf45872fe daily rust cache for PR-tests action 2024-02-12 15:00:50 -03:00
Leo
04dd072870 Merge pull request #1047 from powdr-labs/enable-halo2-test
Enable Halo2 test for arithmetic machine
2024-02-12 14:15:40 +00:00
Leo
4333491941 Merge pull request #1043 from powdr-labs/powdr-crate-halo2
add halo2 to powdr crate by default
2024-02-12 11:54:40 +00:00
Georg Wiese
dd80b616b7 Enable Halo2 test for arithmetic machine 2024-02-12 12:48:56 +01:00
Leo
54c6d0d0d7 Merge pull request #1037 from powdr-labs/fix-halo2-soundness
Fix soundness bug in conversion to Halo2
2024-02-12 11:44:33 +00:00
Georg Wiese
d7a4f14a08 Merge pull request #1046 from powdr-labs/lean-halo2-tests
Halo2 tests: Only run Mock prover in PR tests
2024-02-12 11:00:37 +00:00
Georg Wiese
dd81fe014a Fix soundness bug in conversion to Halo2 2024-02-12 11:36:31 +01:00
Georg Wiese
427d393442 Halo2 tests: Only run Mock prover in PR tests 2024-02-12 11:27:51 +01:00
Leo
20ebc034bf Merge pull request #1041 from powdr-labs/continuations-dont-assume-early-pipeline-stage
Continuations: Don't assume the pipeline to be in an early stage
2024-02-09 17:32:47 +00:00
Leo Alt
5c34571574 add halo2 to powdr crate by default 2024-02-09 18:06:05 +01:00
Georg Wiese
b547ea5750 Continuations: Don't assume the pipeline to be in an early stage 2024-02-09 17:42:41 +01:00
chriseth
259f35d4ac Merge pull request #1031 from powdr-labs/split_bits
cross product utility function.
2024-02-09 15:31:21 +00:00
Lucas Clemente Vella
f9826a0520 Merge pull request #1038 from powdr-labs/buffered_file_io
Cleanup on file reads and writes.
2024-02-09 11:35:47 +00:00
Leo
1b06de0142 Merge pull request #1021 from powdr-labs/support_arrays_of_intermediates
Support arrays of intermediates
2024-02-09 11:33:28 +00:00
Lucas Clemente Vella
40950a9feb Cleanup on file reads and writes. 2024-02-09 11:04:08 +00:00
Leo
ec29946733 Merge pull request #1040 from powdr-labs/no-node-js-cache
Build job doesn't need nodejs.
2024-02-09 11:02:58 +00:00
Leo
1b5d730a29 Merge pull request #1030 from powdr-labs/upgrade-halo2
upgrade halo2
2024-02-09 09:11:41 +00:00
chriseth
b04439d405 cross_product utility function. 2024-02-09 09:42:38 +01:00