Skip to content

Commit

Permalink
fix: aatif review
Browse files Browse the repository at this point in the history
  • Loading branch information
atanmarko committed Feb 12, 2025
1 parent 4396276 commit 4492d64
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion crates/aggchain-proof-builder/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ pub(crate) const HTTP_RPC_NODE_BACKOFF_MAX_RETRIES: u32 = 64;
#[derive(Serialize, Deserialize, Clone, Debug)]
#[serde(rename_all = "kebab-case")]
pub struct AggchainProofBuilderConfig {
/// Json rpc endpoint of the l1 node.
/// JSON-RPC endpoint of the l1 node.
#[serde(default = "default_l1_url")]
pub l1_rpc_endpoint: Url,

Expand Down
4 changes: 2 additions & 2 deletions crates/aggchain-proof-builder/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,10 @@ pub struct AggchainProofBuilderResponse {

#[derive(thiserror::Error, Debug)]
pub enum Error {
#[error("Alloy error: {0}")]
#[error(transparent)]
AlloyProviderError(anyhow::Error),

#[error("Alloy transport rpc error: {0:?}")]
#[error(transparent)]
AlloyRpcTransportError(#[from] RpcError<TransportErrorKind>),

#[error(transparent)]
Expand Down
2 changes: 1 addition & 1 deletion crates/aggchain-proof-service/src/service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ impl tower::Service<AggchainProofServiceRequest> for AggchainProofService {
// TODO Aggchain proof should be available here from the
// `aggchain_proof_builder_response`
let aggchain_proof = AggchainProof::default();
debug!("The proof is {:?}", aggchain_proof);
debug!(?aggchain_proof);

Ok(AggchainProofServiceResponse {
proof: AggchainProof::default(),
Expand Down

0 comments on commit 4492d64

Please sign in to comment.