Skip to content

Commit

Permalink
remove is_blob_cleaned
Browse files Browse the repository at this point in the history
  • Loading branch information
Artemka374 committed Jul 22, 2024
1 parent ceb5b7a commit 1ecb318
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 4 deletions.
2 changes: 0 additions & 2 deletions core/lib/basic_types/src/prover_dal.rs
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,6 @@ pub struct ProverJobFriInfo {
pub created_at: NaiveDateTime,
pub updated_at: NaiveDateTime,
pub time_taken: Option<NaiveTime>,
pub is_blob_cleaned: Option<bool>,
pub depth: u32,
pub is_node_final_proof: bool,
pub proof_blob_url: Option<String>,
Expand Down Expand Up @@ -289,7 +288,6 @@ pub struct LeafWitnessGeneratorJobInfo {
pub updated_at: NaiveDateTime,
pub processing_started_at: Option<NaiveDateTime>,
pub time_taken: Option<NaiveTime>,
pub is_blob_cleaned: Option<bool>,
pub number_of_basic_circuits: Option<i32>,
pub protocol_version: Option<i32>,
pub picked_by: Option<String>,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
ALTER TABLE witness_inputs_fri ADD COLUMN IF NOT EXISTS merkle_tree_paths_blob_url TEXT;
ALTER TABLE witness_inputs_fri ADD COLUMN IF NOT EXISTS eip_4844_blobs TEXT;
ALTER TABLE witness_inputs_fri ADD COLUMN IF NOT EXISTS is_blob_cleaned BOOLEAN;
ALTER TABLE leaf_aggregation_witness_jobs_fri ADD COLUMN IF NOT EXISTS is_blob_cleaned BOOLEAN;
ALTER TABLE prover_jobs_fri ADD COLUMN IF NOT EXISTS is_blob_cleaned BOOLEAN;
ALTER TABLE prover_jobs_fri_archive ADD COLUMN IF NOT EXISTS is_blob_cleaned BOOLEAN;
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
ALTER TABLE witness_inputs_fri DROP COLUMN IF EXISTS merkle_tree_paths_blob_url;
ALTER TABLE witness_inputs_fri DROP COLUMN IF EXISTS eip_4844_blobs;
ALTER TABLE witness_inputs_fri DROP COLUMN IF EXISTS is_blob_cleaned;
ALTER TABLE leaf_aggregation_witness_jobs_fri DROP COLUMN IF EXISTS is_blob_cleaned;
ALTER TABLE prover_jobs_fri DROP COLUMN IF EXISTS is_blob_cleaned;
ALTER TABLE prover_jobs_fri_archive DROP COLUMN IF EXISTS is_blob_cleaned;
1 change: 0 additions & 1 deletion prover/crates/lib/prover_dal/src/fri_prover_dal.rs
Original file line number Diff line number Diff line change
Expand Up @@ -669,7 +669,6 @@ impl FriProverDal<'_, '_> {
created_at: row.created_at,
updated_at: row.updated_at,
time_taken: row.time_taken,
is_blob_cleaned: row.is_blob_cleaned,
depth: row.depth as u32,
is_node_final_proof: row.is_node_final_proof,
proof_blob_url: row.proof_blob_url.clone(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1501,7 +1501,6 @@ impl FriWitnessGeneratorDal<'_, '_> {
updated_at: row.updated_at,
processing_started_at: row.processing_started_at,
time_taken: row.time_taken,
is_blob_cleaned: row.is_blob_cleaned,
protocol_version: row.protocol_version,
picked_by: row.picked_by.clone(),
number_of_basic_circuits: row.number_of_basic_circuits,
Expand Down

0 comments on commit 1ecb318

Please sign in to comment.