Commit Graph

735 Commits

Author SHA1 Message Date
Matthew Liu
7900fff130 removed more unnecessary comments 2023-07-18 13:53:30 -07:00
Matthew Liu
282b38ac2d removed some unnecessary TODO 2023-07-18 13:52:33 -07:00
Matthew Liu
6efb216ffc removed unncessary comments from fhe_program_tests 2023-07-18 13:49:50 -07:00
Matthew Liu
5bc340849c removed changes to settings.json 2023-07-18 13:48:54 -07:00
Matthew Liu
cd4a529f4e addressed race conditions in run tests, now pass those tests with and without debugger feature 2023-07-18 12:38:20 -07:00
Matthew Liu
3d31f4a046 clippy fixes 2023-07-18 11:49:53 -07:00
Matthew Liu
6f628d39a1 fmt fixes 2023-07-18 11:48:15 -07:00
Matthew Liu
bb671603cb passes tests with debugger feature enabled and disabled 2023-07-18 11:47:53 -07:00
Matthew Liu
d73ae29146 fhe program tests now pass with debugger feature enabled, updated group counter when assigning ids to nodes 2023-07-18 11:37:49 -07:00
Matthew Liu
b00714b6ec updated fhe_program_tests to have metadata fields and group_id. need to fix construction of graph so that group ids are updated 2023-07-18 11:24:16 -07:00
Matthew Liu
f2d8f12227 rick fixes 2023-07-17 15:01:42 -07:00
Matthew Liu
c113eaf7d3 fixed async issues, now can support multiple sessions 2023-07-17 14:43:27 -07:00
Matthew Liu
4849b2682e get fhe node data impleented, still doesnt ocmpile. need to figure out how to handle sealdata stuff 2023-07-17 14:06:44 -07:00
Matthew Liu
757f9febb3 clippy fixes 2023-07-17 12:46:42 -07:00
Matthew Liu
71bb374add fmt fixes 2023-07-17 12:45:25 -07:00
Matthew Liu
4bf7043b77 added support for fhe program source code. in debug mode, run.rs tests wont compile because debug_fhe_program now asks for 7 arguments instead of 6 2023-07-17 12:24:56 -07:00
Matthew Liu
31c59c991d proc macro updates to be able to get source code of an fhe program with .source() 2023-07-17 12:05:32 -07:00
Matthew Liu
e5916cbde0 added support for cors so frontend can now grab data from backend. currently it only grabs a string that allows the frontend to construct a graph 2023-07-17 11:20:38 -07:00
Matthew Liu
322c51d8f7 server file 2023-07-17 04:54:52 -07:00
Matthew Liu
07ff417124 moved code from sessions.rs to server.rs 2023-07-17 04:25:24 -07:00
Matthew Liu
a4e2d1b5fb can now support dynamic paths but currently web server is not set up in a way that you can debug multiple programs 2023-07-17 03:56:51 -07:00
Matthew Liu
6cf313ada2 managed to get webserver up and running. remains to figure out how to get the graph data 2023-07-17 02:50:21 -07:00
Matthew Liu
f3df943daa fixed errors due to conditional compilation with debugger feature in fhe_program_tests 2023-07-17 01:04:37 -07:00
Matthew Liu
5f66f73602 fixed compilation errors based on conditional dependencies when debugger not enabled 2023-07-17 00:46:05 -07:00
Matthew Liu
0f87062b0d modified debug_fhe_program to not return anything 2023-07-17 00:35:19 -07:00
Matthew Liu
145295584b format 2023-07-16 23:06:17 -07:00
Matthew Liu
e492a2e450 modified visibility of sealsecretkey in privatekey struct to be public 2023-07-16 15:58:14 -07:00
Matthew Liu
cb46c4b85b fixed more compilation errors and enabled debugger feature in sunscreen_backend. next step: figure out secret vs privatekey and change debug_fhe_program accordingly 2023-07-16 02:05:27 -07:00
Matthew Liu
cc90bf3548 compilation errors in graph construction test, enabled debugger feature in sunscreen_fhe_program 2023-07-14 17:57:45 -07:00
Matthew Liu
21683f2e23 enabled debugger in zkp backend 2023-07-14 16:33:46 -07:00
Matthew Liu
644d044522 fixed some depenendcy issues to enable debugger feature across workspace, now going to fix compilation results/add support with debugger feature 2023-07-14 16:26:02 -07:00
Matthew Liu
75d59ce14d created start web server function 2023-07-14 15:21:35 -07:00
Matthew Liu
61333183e7 removed nodes file from debugger 2023-07-14 14:21:48 -07:00
Matthew Liu
2eba60472a fxied remaining compilation issues in run 2023-07-14 14:10:36 -07:00
Matthew Liu
bf41566474 added fhe-debugger files as modules 2023-07-14 13:34:24 -07:00
Matthew Liu
7e0cdc212d more compilation error fixes + moved fhe-debugger into debugger module 2023-07-14 13:33:17 -07:00
Matthew Liu
a0d6e9bce3 fixed compilation rrors in tests for run.rs 2023-07-14 11:26:42 -07:00
Matthew Liu
c153222731 implemented set_data, also added calls to set_data in run unchecked 2023-07-14 00:42:02 -07:00
Matthew Liu
0cb4a82498 rick's coimments/changes 2023-07-14 00:06:40 -07:00
Matthew Liu
9f1f6b0a08 moved sessions to runtime 2023-07-13 13:29:00 -07:00
Matthew Liu
4f3e9f435d format and clippy fix 2023-07-13 12:11:41 -07:00
Matthew Liu
8ff5b0e012 documentation, removed some unused dependencies 2023-07-13 12:07:47 -07:00
Matthew Liu
8e984794e6 documentation for sessions 2023-07-13 11:47:01 -07:00
Matthew Liu
de3338da8f sessions file + data structure: 2023-07-13 11:36:17 -07:00
Matthew Liu
95f734ac8b modified tests in validation.rs 2023-07-12 16:45:16 -07:00
Matthew Liu
930db4b619 format fixes 2023-07-12 15:07:33 -07:00
Matthew Liu
b9bd9cc0fe fixed some fhe program tests based on changes to compilationresult data structure 2023-07-12 15:06:21 -07:00
Matthew Liu
e4d22361a4 doc fixes 2023-07-12 14:19:23 -07:00
Matthew Liu
5b16f91057 clippy and format fixes 2023-07-12 14:15:15 -07:00
Matthew Liu
cc0e11a1ba updated measuredmodel call to run_program_unchecked with a secret key 2023-07-12 14:11:20 -07:00