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
@@ -40,7 +40,7 @@ where
RuntimeApi::new(self.client.clone(), block_ref.into())
}
/// Obtain a runtime API interface at the latest block hash.
/// Obtain a runtime API interface at the latest finalized block.
pub fn at_latest(
&self,
) -> impl Future<Output = Result<RuntimeApi<T, Client>, Error>> + Send + 'static {