diff --git a/integrations/tendermint-ssync/src/runtime.ts b/integrations/tendermint-ssync/src/runtime.ts index ba08a25c..203d4e33 100644 --- a/integrations/tendermint-ssync/src/runtime.ts +++ b/integrations/tendermint-ssync/src/runtime.ts @@ -135,10 +135,7 @@ export default class TendermintSSync implements IRuntime { } async summarizeDataBundle(_: Validator, bundle: DataItem[]): Promise { - // TODO: maybe app hash or snapshot hash? - return `${bundle.at(-1)?.value?.snapshot?.height ?? '0'}/${ - bundle.at(-1)?.value?.chunkIndex - }`; + return bundle.at(-1)?.key ?? ''; } async nextKey(_: Validator, key: string): Promise {