Improve docs for at_latest (#2035)

Tell the user that these functions operate with the last finalized block.

Co-authored-by: James Wilson <james@jsdw.me>
This commit is contained in:
Bastian KöcherandJames Wilson authored and GitHub committed 2025-07-04 22:06:41 +01:00
1 parent e892802baf
commit 05c9eafe79
5 files changed
+5 -5

No files matched your search

+1 -1
View File
@@ -48,7 +48,7 @@ where
self.at_or_latest(Some(block_ref.into()))
}
/// Obtain events for the latest block.
/// Obtain events for the latest finalized block.
pub fn at_latest(&self) -> impl Future<Output = Result<Events<T>, Error>> + Send + 'static {
self.at_or_latest(None)
}