diff --git a/rust/kathy/src/main.rs b/rust/kathy/src/main.rs index ca12013e6..4e7262ef0 100644 --- a/rust/kathy/src/main.rs +++ b/rust/kathy/src/main.rs @@ -14,8 +14,8 @@ use optics_base::{agent::OpticsAgent, settings::log::Style}; use crate::{kathy::Kathy, settings::KathySettings as Settings}; async fn _main(settings: Settings) -> Result<()> { - let relayer = Kathy::from_settings(settings).await?; - relayer.run_all().await?; + let kathy = Kathy::from_settings(settings).await?; + kathy.run_all().await?; Ok(()) } diff --git a/rust/optics-base/bin/example.rs b/rust/optics-base/bin/example.rs index 0eb6bee07..dcd571458 100644 --- a/rust/optics-base/bin/example.rs +++ b/rust/optics-base/bin/example.rs @@ -40,7 +40,6 @@ fn setup() -> Result { #[allow(dead_code)] fn main() -> Result<()> { let _settings = setup()?; - dbg!(_settings); // tokio::runtime::Builder::new_current_thread() // .enable_all() // .build() diff --git a/rust/optics-core/src/lib.rs b/rust/optics-core/src/lib.rs index ca899f3a5..1841e1516 100644 --- a/rust/optics-core/src/lib.rs +++ b/rust/optics-core/src/lib.rs @@ -395,7 +395,6 @@ impl Decode for SignedUpdate { impl SignedUpdate { /// Recover the Ethereum address of the signer pub fn recover(&self) -> Result { - dbg!(self.update.prepended_hash()); Ok(self.signature.recover(self.update.prepended_hash())?) } @@ -457,7 +456,6 @@ pub struct SignedFailureNotification { impl SignedFailureNotification { /// Recover the Ethereum address of the signer pub fn recover(&self) -> Result { - dbg!(self.notification.prepended_hash()); Ok(self.signature.recover(self.notification.prepended_hash())?) } diff --git a/rust/processor/src/prover/mod.rs b/rust/processor/src/prover/mod.rs index 3cfea1a66..a3f6f623c 100644 --- a/rust/processor/src/prover/mod.rs +++ b/rust/processor/src/prover/mod.rs @@ -192,7 +192,6 @@ mod test { // assert the tree generates the proper proof for this leaf let proof = tree.prove(n).unwrap(); assert_eq!(proof, test_case.proofs[n]); - dbg!(&proof); // check that the tree can verify the proof for this leaf tree.verify(&proof).unwrap();