Skip to content

Commit

Permalink
add balance in Celestia
Browse files Browse the repository at this point in the history
  • Loading branch information
dimazhornyk committed Jan 14, 2025
1 parent 63b2ba7 commit fee779a
Show file tree
Hide file tree
Showing 5 changed files with 1,244 additions and 1 deletion.
5 changes: 4 additions & 1 deletion core/node/da_clients/src/celestia/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,10 @@ impl DataAvailabilityClient for CelestiaClient {
}

async fn balance(&self) -> Result<u64, DAError> {
todo!()
self.client
.balance()
.await
.map_err(to_non_retriable_da_error)
}
}

Expand Down
Loading

0 comments on commit fee779a

Please sign in to comment.