-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
## What ❔ Remove Core db connection from prover subsystems Create new component - BasicWitnessInputProducer, that will run VM in the background and produce necessary inputs for basic witness generation ## Why ❔ We want to separate accesses to DB in core/prover subsystems ## Checklist <!-- Check your PR fulfills the following items. --> <!-- For draft PRs check the boxes as you complete them. --> - [x] PR title corresponds to the body of PR (we generate changelog entries from PRs). - [x] Tests for the changes have been added / updated. - [x] Documentation comments have been added / updated. - [x] Code has been formatted via `zk fmt` and `zk lint`. - [x] Spellcheck has been run via `zk spellcheck`. --------- Co-authored-by: perekopskiy <[email protected]>
- Loading branch information
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
This file was deleted.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
ALTER TABLE proof_generation_details DROP COLUMN IF EXISTS vm_run_data_blob_url; | ||
DROP TABLE IF EXISTS vm_runner_bwip; |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
ALTER TABLE proof_generation_details | ||
ADD COLUMN IF NOT EXISTS vm_run_data_blob_url TEXT DEFAULT NULL; | ||
|
||
CREATE TABLE IF NOT EXISTS vm_runner_bwip | ||
( | ||
l1_batch_number BIGINT NOT NULL PRIMARY KEY, | ||
created_at TIMESTAMP NOT NULL, | ||
updated_at TIMESTAMP NOT NULL, | ||
time_taken TIME | ||
); |