hashgraph / hedera-services

Crypto, token, consensus, file, and smart contract services for the Hedera public ledger
Apache License 2.0
266 stars 119 forks source link

Get final decision between `EventPayload` and `OneOf<>` #14001

Open lpetrovic05 opened 1 week ago

lpetrovic05 commented 1 week ago

Atm, the platform exposes transactions(payloads) as a OneOf type to the apps. Due to the protobuf limitation where a repeated oneof is not possible, the payloads are actually gossiped with a wrapper called EventPayload. Discuss and figure out if the apps should consume EventPayload instead of a OneOf.