diff --git a/crates/artemis-core/src/types.rs b/crates/artemis-core/src/types.rs index a26118e..70de4b4 100644 --- a/crates/artemis-core/src/types.rs +++ b/crates/artemis-core/src/types.rs @@ -25,7 +25,9 @@ pub trait Collector: Send + Sync { pub trait Strategy: Send + Sync { /// Sync the initial state of the strategy if needed, usually by fetching /// onchain data. - async fn sync_state(&mut self) -> Result<()>; + async fn sync_state(&mut self) -> Result<()> { + Ok(()) + } /// Process an event, and return an action if needed. async fn process_event(&mut self, event: E) -> Vec;