Skip to content

Conversation

@einat-starkware
Copy link
Contributor

No description provided.

Copy link
Contributor Author

einat-starkware commented Dec 21, 2025

@einat-starkware einat-starkware marked this pull request as ready for review December 21, 2025 14:48
@reviewable-StarkWare
Copy link

This change is Reviewable

Copy link
Collaborator

@noaov1 noaov1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@noaov1 reviewed 2 files and all commit messages, and made 1 comment.
Reviewable status: 2 of 3 files reviewed, 1 unresolved discussion (waiting on @einat-starkware).


crates/apollo_proof_manager/src/proof_manager.rs line 17 at r1 (raw file):

pub struct ProofManager {
    pub proof_storage: FsProofStorage,
    pub proof_manager_config: ProofManagerConfig,

Is it needed after creating the struct?

Code quote:

    pub proof_manager_config: ProofManagerConfig,

@einat-starkware einat-starkware changed the title apollo_proof_storage: create proof manager apollo_proof_manager: create proof manager Dec 22, 2025
@einat-starkware einat-starkware force-pushed the einat/proof_manager/proof_storage_test branch from fc523ad to d1c8766 Compare December 22, 2025 08:25
@einat-starkware einat-starkware force-pushed the einat/proof_manager/proof_manager branch 2 times, most recently from 0801697 to c33cbdd Compare December 22, 2025 09:27
@einat-starkware einat-starkware force-pushed the einat/proof_manager/proof_storage_test branch from d1c8766 to 53af9a7 Compare December 22, 2025 09:27
Copy link
Contributor Author

@einat-starkware einat-starkware left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@einat-starkware made 1 comment.
Reviewable status: 1 of 5 files reviewed, 1 unresolved discussion (waiting on @noaov1).


crates/apollo_proof_manager/src/proof_manager.rs line 17 at r1 (raw file):

Previously, noaov1 (Noa Oved) wrote…

Is it needed after creating the struct?

No, at least not currently, removed now :)

@einat-starkware einat-starkware force-pushed the einat/proof_manager/proof_manager branch from 4d076f5 to 13ec6f4 Compare December 25, 2025 10:28
@einat-starkware einat-starkware force-pushed the einat/proof_manager/proof_storage_test branch from cd36ce2 to 0b0cc5d Compare December 25, 2025 10:28
@einat-starkware einat-starkware force-pushed the einat/proof_manager/proof_storage_test branch from 3d69625 to ba460f3 Compare December 28, 2025 13:46
@einat-starkware einat-starkware force-pushed the einat/proof_manager/proof_manager branch from 2242925 to 5401815 Compare December 28, 2025 13:46
Copy link
Contributor Author

@einat-starkware einat-starkware left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@einat-starkware made 1 comment.
Reviewable status: 3 of 5 files reviewed, 1 unresolved discussion (waiting on @noaov1).


crates/apollo_proof_manager/src/proof_manager.rs line 62 at r3 (raw file):

Previously, noaov1 (Noa Oved) wrote…

Why is it needed?

Removed (I was following the pattern from other components but it is not necessary).

@graphite-app graphite-app bot changed the base branch from einat/proof_manager/proof_storage_test to graphite-base/10943 December 28, 2025 13:49
@einat-starkware einat-starkware force-pushed the einat/proof_manager/proof_manager branch from 5401815 to 7b3250f Compare December 28, 2025 14:26
@einat-starkware einat-starkware changed the base branch from graphite-base/10943 to main December 28, 2025 14:26
Copy link
Collaborator

@Itay-Tsabary-Starkware Itay-Tsabary-Starkware left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Itay-Tsabary-Starkware made 1 comment.
Reviewable status: 3 of 5 files reviewed, 2 unresolved discussions (waiting on @einat-starkware and @noaov1).


crates/apollo_proof_manager/src/proof_manager.rs line 32 at r5 (raw file):

        )])
    }
}

Please move this to a new crate: apollo_proof_manager_config 🙏

Code quote:

/// Configuration for the proof manager.
#[derive(Clone, Debug, Serialize, Deserialize, PartialEq, Validate)]
pub struct ProofManagerConfig {
    pub persistent_root: PathBuf,
}
impl Default for ProofManagerConfig {
    fn default() -> Self {
        Self { persistent_root: "/data/proofs".into() }
    }
}
impl SerializeConfig for ProofManagerConfig {
    fn dump(&self) -> BTreeMap<ParamPath, SerializedParam> {
        BTreeMap::from([ser_param(
            "persistent_root",
            &self.persistent_root,
            "Persistent root for proof storage.",
            ParamPrivacyInput::Public,
        )])
    }
}

Copy link
Collaborator

@Itay-Tsabary-Starkware Itay-Tsabary-Starkware left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Itay-Tsabary-Starkware made 1 comment.
Reviewable status: 3 of 5 files reviewed, 3 unresolved discussions (waiting on @einat-starkware and @noaov1).


crates/apollo_proof_manager/src/lib.rs line 5 at r5 (raw file):

pub use proof_manager::{ProofManager, ProofManagerConfig};
pub use proof_storage::ProofStorage;

Why re-export?

Code quote:

pub use proof_manager::{ProofManager, ProofManagerConfig};
pub use proof_storage::ProofStorage;

@einat-starkware einat-starkware force-pushed the einat/proof_manager/proof_manager branch 2 times, most recently from d961693 to 0e117cc Compare December 29, 2025 08:32
Copy link
Contributor Author

@einat-starkware einat-starkware left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@einat-starkware made 2 comments.
Reviewable status: 1 of 9 files reviewed, 3 unresolved discussions (waiting on @Itay-Tsabary-Starkware and @noaov1).


crates/apollo_proof_manager/src/lib.rs line 5 at r5 (raw file):

Previously, Itay-Tsabary-Starkware wrote…

Why re-export?

a mistake, removed now


crates/apollo_proof_manager/src/proof_manager.rs line 32 at r5 (raw file):

Previously, Itay-Tsabary-Starkware wrote…

Please move this to a new crate: apollo_proof_manager_config 🙏

Moved to new crate

Copy link
Collaborator

@noaov1 noaov1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:lgtm:

@noaov1 reviewed 8 files and all commit messages, made 1 comment, and resolved 1 discussion.
Reviewable status: all files reviewed, 2 unresolved discussions (waiting on @Itay-Tsabary-Starkware).

Copy link
Collaborator

@Itay-Tsabary-Starkware Itay-Tsabary-Starkware left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Itay-Tsabary-Starkware made 1 comment and resolved 2 discussions.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @einat-starkware).


crates/apollo_proof_manager_config/Cargo.toml line 7 at r7 (raw file):

repository.workspace = true
version.workspace = true

Please add a description field 🙏

Copy link
Collaborator

@Itay-Tsabary-Starkware Itay-Tsabary-Starkware left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Itay-Tsabary-Starkware made 1 comment.
Reviewable status: all files reviewed, 2 unresolved discussions (waiting on @einat-starkware).


crates/apollo_proof_manager_config/src/config.rs line 13 at r7 (raw file):

pub struct ProofManagerConfig {
    pub persistent_root: PathBuf,
}

Please add new-lines after struct / impl blocks 🙏

@einat-starkware einat-starkware force-pushed the einat/proof_manager/proof_manager branch from b17fef6 to 54bd1d9 Compare December 31, 2025 10:01
Copy link
Contributor Author

@einat-starkware einat-starkware left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@einat-starkware made 2 comments.
Reviewable status: 7 of 9 files reviewed, 2 unresolved discussions (waiting on @Itay-Tsabary-Starkware and @noaov1).


crates/apollo_proof_manager_config/Cargo.toml line 7 at r7 (raw file):

Previously, Itay-Tsabary-Starkware wrote…

Please add a description field 🙏

Done.


crates/apollo_proof_manager_config/src/config.rs line 13 at r7 (raw file):

Previously, Itay-Tsabary-Starkware wrote…

Please add new-lines after struct / impl blocks 🙏

Done.

Copy link
Collaborator

@Itay-Tsabary-Starkware Itay-Tsabary-Starkware left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:lgtm:

@Itay-Tsabary-Starkware reviewed 9 files and all commit messages, made 1 comment, and resolved 2 discussions.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @einat-starkware).

@einat-starkware einat-starkware added this pull request to the merge queue Dec 31, 2025
Merged via the queue into main with commit 250272f Dec 31, 2025
27 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Jan 3, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants