-
Notifications
You must be signed in to change notification settings - Fork 65
apollo_gateway: create large storage writer trait #11361
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: einat/proof_manager/use_to_validate_in_batcher
Are you sure you want to change the base?
apollo_gateway: create large storage writer trait #11361
Conversation
noaov1
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@noaov1 reviewed 3 files and all commit messages.
Reviewable status:complete! all files reviewed, all discussions resolved (waiting on @einat-starkware).
noaov1
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@noaov1 made 3 comments.
Reviewable status: all files reviewed, 3 unresolved discussions (waiting on @einat-starkware).
crates/apollo_gateway/src/large_storage_writer.rs line 13 at r1 (raw file):
pub trait LargeStorageWriterTrait: Send + Sync { async fn set_proof(&self, facts_hash: Felt, proof: Proof) -> Result<(), LargeStorageError>; }
Suggestion:
pub trait ProofArchiveWriterTrait: Send + Sync {
async fn set_proof(&self, facts_hash: Felt, proof: Proof) -> Result<(), LargeStorageError>;
}crates/apollo_gateway/src/large_storage_writer.rs line 16 at r1 (raw file):
#[derive(Debug, Error)] pub enum LargeStorageError {
Suggestion:
pub enum ProofArchiveError {crates/apollo_gateway/src/large_storage_writer.rs line 23 at r1 (raw file):
#[derive(Clone, Default)] // TODO(Einat): Add GCS related fields. pub struct LargeStorageWriter;
Suggestion:
pub struct GcsProofArchiveWriter;4587f49 to
6dd2a16
Compare
c422d30 to
ec258b1
Compare
ec258b1 to
346af71
Compare
einat-starkware
left a comment
There was a problem hiding this 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 and resolved 2 discussions.
Reviewable status: 1 of 3 files reviewed, 1 unresolved discussion (waiting on @noaov1).
crates/apollo_gateway/src/large_storage_writer.rs line 16 at r1 (raw file):
#[derive(Debug, Error)] pub enum LargeStorageError {
Done.
crates/apollo_gateway/src/large_storage_writer.rs line 23 at r1 (raw file):
#[derive(Clone, Default)] // TODO(Einat): Add GCS related fields. pub struct LargeStorageWriter;
Renamed everywhere and also changed it to use proof facts instead of the hash
346af71 to
c5fa51b
Compare
6dd2a16 to
7a6de7a
Compare
c5fa51b to
6450316
Compare
7a6de7a to
28cb452
Compare
6450316 to
a4d6799
Compare
28cb452 to
1a3b7ed
Compare

No description provided.