-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
Extract all data needed to re-execute and verify an L1Batch without accessing the DB and/or the object store. For testing purposes, the L1 batch is re-executed immediately for now. Eventually, this component will only extract the inputs and send them to another machine over a "to be defined" channel, e.g., save them to an object store. Co-authored-by: Thomas Knauth <[email protected]> Co-authored-by: Patrick Bęza <[email protected]> Signed-off-by: Harald Hoyer <[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.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -957,3 +957,6 @@ RECURSION_TIP_ARITY | |
empty_proof | ||
hyperchain | ||
storages | ||
vec | ||
zksync_merkle_tree | ||
TreeMetadata |
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,5 @@ | ||
DROP INDEX IF EXISTS idx_tee_verifier_input_producer_jobs_status_processing_attempts; | ||
|
||
DROP TABLE IF EXISTS tee_verifier_input_producer_jobs; | ||
|
||
DROP TYPE IF EXISTS tee_verifier_input_producer_job_status; |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
CREATE TYPE tee_verifier_input_producer_job_status AS ENUM ('Queued', 'ManuallySkipped', 'InProgress', 'Successful', 'Failed'); | ||
|
||
CREATE TABLE IF NOT EXISTS tee_verifier_input_producer_jobs | ||
( | ||
l1_batch_number BIGINT NOT NULL PRIMARY KEY, | ||
attempts SMALLINT NOT NULL DEFAULT 0, | ||
status tee_verifier_input_producer_job_status, | ||
picked_by TEXT, | ||
input_blob_url TEXT, | ||
error TEXT, | ||
created_at TIMESTAMP NOT NULL, | ||
updated_at TIMESTAMP NOT NULL, | ||
processing_started_at TIMESTAMP, | ||
time_taken TIME | ||
); | ||
|
||
CREATE INDEX IF NOT EXISTS idx_tee_verifier_input_producer_jobs_status_processing_attempts | ||
ON tee_verifier_input_producer_jobs (status, processing_started_at, attempts); |