Skip to content

HIP-1056 Importer fails to properly read non-transactional trailing statechanges in events #12697

@xin-hedera

Description

@xin-hedera

Description

There appears to be non-transactional trailing statechanges in events as well. An edge case is an event with nothing but such non-transactional statechanges at the end.

This has caused BlockStreamReader to throw an Missing block footer in block exception since such statechanges are treated as block-wide statechanges immediately preceding a block proof.

Steps to reproduce

Run importer to read block 66104759 in testnet

Additional context

No response

Hedera network

testnet

Version

v0.146.0-SNAPSHOT

Operating system

None

Metadata

Metadata

Assignees

Labels

bugType: Something isn't workingimporterArea: Importer

Type

Projects

Status

✅ Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions