From 7900fff130d0eef41f49ed67ae000c1912cd873e Mon Sep 17 00:00:00 2001 From: Matthew Liu Date: Tue, 18 Jul 2023 13:53:30 -0700 Subject: [PATCH] removed more unnecessary comments --- examples/debugger/src/main.rs | 3 --- sunscreen_runtime/src/run.rs | 2 -- sunscreen_runtime/src/runtime.rs | 4 +--- 3 files changed, 1 insertion(+), 8 deletions(-) diff --git a/examples/debugger/src/main.rs b/examples/debugger/src/main.rs index 22dca705e..04812ddb1 100644 --- a/examples/debugger/src/main.rs +++ b/examples/debugger/src/main.rs @@ -40,9 +40,6 @@ fn main() { ) .unwrap(); - // TODO: figure out how to set it up so that we can have multiple running at the same time - // maybe set up a server once at the start of the main method, then just have endpoints like - // /programs/{function name} to be able to see let args2: Vec = vec![a.clone().into(), c.into()]; runtime diff --git a/sunscreen_runtime/src/run.rs b/sunscreen_runtime/src/run.rs index 1e1678e20..2e8396bc0 100644 --- a/sunscreen_runtime/src/run.rs +++ b/sunscreen_runtime/src/run.rs @@ -180,8 +180,6 @@ pub unsafe fn run_program_unchecked( data.push(AtomicCell::new(None)); } - // TODO: maybe i can turn off the match statement? since the way i've been doing it, i've only been passing in - // something for debug_info if debugger is on #[cfg(feature = "debugger")] match debug_info { Some(ref v) => { diff --git a/sunscreen_runtime/src/runtime.rs b/sunscreen_runtime/src/runtime.rs index 09a2f2882..dc67adf00 100644 --- a/sunscreen_runtime/src/runtime.rs +++ b/sunscreen_runtime/src/runtime.rs @@ -421,9 +421,7 @@ where * Used for debugging. Calls `run_impl` with a secret key. */ - // TODO: maybe SecretKey needs to be changed to PrivateKey? - // probably should: can always access a SecretKey via &PrivateKey.0 - // don't think this should cause any security issues? + // TODO: change SecretKey to PrivateKey pub fn debug_fhe_program( &self, fhe_program: &CompiledFheProgram,