diff --git a/dist/esm/chainHead/chainHead.mjs b/dist/esm/chainHead/chainHead.mjs index 299d6849e6b8f9b97f97fc444e2fbf5e31ca49cc..a0508f9ef99f549207e024e16d2e13903a047189 100644 --- a/dist/esm/chainHead/chainHead.mjs +++ b/dist/esm/chainHead/chainHead.mjs @@ -175,7 +175,7 @@ const getChainHead$ = (chainHead) => { usingBlock ); const _body$ = withOptionalHash$(commonEnhancer(lazyFollower("body"), "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"), "storage"); const storage$ = withOptionalHash$( (hash, withCanonicalChain2, type, keyMapper, childTrie = null, mapper) => pinnedBlocks$.pipe( @@ -289,11 +289,11 @@ const getChainHead$ = (chainHead) => { metadata$, genesis$, 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), holdBlock, trackTx$, trackTxWithoutEvents$,