added at_latest (#900)

* added at_latest

* change some documentation

* remove inline
This commit is contained in:
Tadeo Hepperle
2023-04-11 13:07:12 +02:00
committed by GitHub
parent a69b3e45e7
commit 3b9fd72b26
18 changed files with 83 additions and 55 deletions
@@ -20,7 +20,7 @@ async fn storage_account() -> Result<(), subxt::Error> {
let account_info = api
.storage()
.at(None)
.at_latest()
.await?
.fetch_or_default(&account_info_addr)
.await;