Get OnlineClientAtBlock working

This commit is contained in:
James Wilson
2025-12-01 17:11:06 +00:00
parent a3381207d2
commit 6616c69360
3 changed files with 173 additions and 46 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ impl<T: Config> OfflineClient<T> {
/// Pick the block height at which to operate. This references data from the
/// [`OfflineClient`] it's called on, and so cannot outlive it.
pub fn at(
pub fn at_block(
&self,
block_number: impl Into<u64>,
) -> Result<ClientAtBlock<OfflineClientAtBlock, T>, OfflineClientAtBlockError> {