diff --git a/dist/esm/chainHead/chainHead.mjs b/dist/esm/chainHead/chainHead.mjs index 43d1b02d7e3346d854971b92c102a61378c4e150..557ca7f05fe8effbfc3e448c7417f5e9ef715c04 100644 --- a/dist/esm/chainHead/chainHead.mjs +++ b/dist/esm/chainHead/chainHead.mjs @@ -154,7 +154,7 @@ const getChainHead$ = (chainHead) => { best$.pipe(map((b) => b.hash)) ); const _body$ = withOptionalHash$(commonEnhancer(lazyFollower("body"))); - const body$ = (hash) => upsertCachedStream(hash, "body", _body$(hash, true)); + const body$ = (hash, canonical) => upsertCachedStream(hash, "body", _body$(hash, canonical)); const _storage$ = commonEnhancer(lazyFollower("storage")); const storage$ = withOptionalHash$( (hash, withCanonicalChain2, type, keyMapper, childTrie = null, mapper) => pinnedBlocks$.pipe( @@ -243,11 +243,11 @@ const getChainHead$ = (chainHead) => { runtime$, metadata$, header$, - body$, - call$: withCanonicalChain(call$), - storage$: withCanonicalChain(storage$), + body$: withCanonicalChain(body$, false), + call$: withCanonicalChain(call$, false), + storage$: withCanonicalChain(storage$, false), storageQueries$, - eventsAt$: withCanonicalChain(eventsAt$), + eventsAt$: withCanonicalChain(eventsAt$, false), trackTx$, trackTxWithoutEvents$, validateTx$,