Skip to content
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

Centralized Blobs #716

Closed
wants to merge 3 commits into from
Closed

Conversation

l-monninger
Copy link
Collaborator

Summary

  • RFCs: $\emptyset$.
  • Categories: protocol-units

#604 , but signed.

@@ -102,6 +101,7 @@ godfig = { path = "util/godfig" }
movement-tracing = { path = "util/tracing" }
syncup = { path = "protocol-units/syncing/syncup" }
syncador = { path = "util/syncador" }
bridge-grpc = { path = "protocol-units/bridge/grpc" }
Copy link
Collaborator

Choose a reason for hiding this comment

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

The old place was better grouped with the other protocol-units/bridge crates.

@@ -102,6 +101,7 @@ godfig = { path = "util/godfig" }
movement-tracing = { path = "util/tracing" }
syncup = { path = "protocol-units/syncing/syncup" }
Copy link
Collaborator

Choose a reason for hiding this comment

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

Then again, there's this one out of place as well.

}

mod block {
pub mod block {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Forgot about this one. It could be moved to a separate file as well, especially now that it's a public module (in its super module at least).

}

#[cfg(test)]
pub mod signers_serialization_test {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why is this module public?

use super::*;

#[test]
fn test_signing_key() -> Result<(), anyhow::Error> {
Copy link
Collaborator

Choose a reason for hiding this comment

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

This only tests the byte format of the signing key, why do we need the test for dependency functionality?

}
}

#[derive(Debug, Clone, Serialize, Deserialize)]
Copy link
Collaborator

Choose a reason for hiding this comment

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

How do Serialize and Deserialize represent the enum? Should we add some attributes there?

}

#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct InnerSignedBlobV1 {
Copy link
Collaborator

Choose a reason for hiding this comment

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

The Inner naming still pops up here.

}
}

pub mod celestia {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Could be in a separate file.

fn gc_mempool_transactions(
&self,
timestamp_threshold: u64,
) -> impl Future<Output = Result<u64, anyhow::Error>> + Send + '_;
) -> impl Future<Output = Result<(), anyhow::Error>> + Send + '_;
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why erase the logging we have just added in #709?

fn gc_mempool_transactions(
&self,
timestamp_threshold: u64,
) -> impl Future<Output = Result<u64, anyhow::Error>> + Send + '_;
) -> impl Future<Output = Result<(), anyhow::Error>> + Send + '_;
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why erase the logging we have just added in #709?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants