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

Make EventDescriptor a wrapper #14007

Open lpetrovic05 opened 1 week ago

lpetrovic05 commented 1 week ago

The current class com.swirlds.platform.system.events.EventDescriptor should become EventDescriptorWrapper. Since the event descriptor information is now stored in the com.hedera.hapi.platform.event.EventDescriptor PBJ record, the legacy class should wrap the PBJ class and provide wrappings for Hash and NodeId. It also should not be self-serializable anymore.