Skip to content

Commit

Permalink
Fix deadlock
Browse files Browse the repository at this point in the history
  • Loading branch information
kpp committed Aug 14, 2024
1 parent 633c376 commit 4c98290
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions crates/sovereign-sdk/adapters/mock-da/src/service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -150,8 +150,9 @@ impl MockDaService {

for blob in blobs {
use sov_rollup_interface::zk::Proof;
self.send_transaction(DaData::ZKProof(Proof::Full(blob)))
.await?;
let da_data = DaData::ZKProof(Proof::Full(blob));
let blob = borsh::to_vec(&da_data).unwrap();
self.add_blob(&blocks, blob, Default::default()).unwrap();
}

Ok(())
Expand Down

0 comments on commit 4c98290

Please sign in to comment.