diff --git a/integrations/tendermint/src/runtime.ts b/integrations/tendermint/src/runtime.ts index 2456f423..1248908f 100644 --- a/integrations/tendermint/src/runtime.ts +++ b/integrations/tendermint/src/runtime.ts @@ -124,6 +124,9 @@ export default class Tendermint implements IRuntime { ); } + // check if finalize_block_events are present if every event attribute + // has a mode and that every mode attribute is either of value + // "BeginBlock" or "EndBlock" if (item.value.block_results.finalize_block_events) { for (const event of item.value.block_results.finalize_block_events) { const modeAttribute = event.attributes.find(