Add $isStorageFallback on Codec interface (#5421)

* Add $isStorageFallback on Codec interface

* Rename in CHANGELOG

* Update specs with new naming

* Small formatting adjustments

* Abstract values

* Adjust initialU8a expectation

* Mark old interface as deprecated (& type to never)

* Adjust @deprecated comments

* Add deprecated interfaces to all
This commit is contained in:
Jaco
2023-01-18 21:58:06 +02:00
committed by GitHub
parent 263fce1e7d
commit 923f569d77
42 changed files with 261 additions and 156 deletions
@@ -17,7 +17,7 @@ export function subscribeFinalizedBlocks (instanceId: string, api: DeriveApi): (
return memo(instanceId, (): Observable<SignedBlockExtended> =>
api.derive.chain.subscribeFinalizedHeads().pipe(
switchMap((header) =>
api.derive.chain.getBlock(header.createdAtHash || header.hash)
api.derive.chain.getBlock(header.$createdAtHash || header.hash)
)
)
);