Skip to content

Commit

Permalink
feat: check vkey in loop
Browse files Browse the repository at this point in the history
  • Loading branch information
ratankaliani committed Nov 21, 2024
1 parent f10aa38 commit b066deb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion script/bin/operator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,8 @@ impl SP1BlobstreamOperator {
}

async fn run(&self) -> Result<()> {
self.check_vkey().await?;

let fetcher = TendermintRPCClient::default();
let block_update_interval = get_block_update_interval();

Expand Down Expand Up @@ -312,7 +314,6 @@ async fn main() {
env_logger::init();

let operator = SP1BlobstreamOperator::new().await;
operator.check_vkey().await.unwrap();

info!("Starting SP1 Blobstream operator");
const LOOP_TIMEOUT_MINS: u64 = 20;
Expand Down

0 comments on commit b066deb

Please sign in to comment.