hashgraph / hedera-services

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

Change event hashing options #14783

Closed lpetrovic05 closed 3 weeks ago

lpetrovic05 commented 1 month ago

The current event hashing option event.migrateEventHashing is insufficient for all use cases. It needs to be expanded to cover the situation where an upgrade happens and the events before the upgrade are hashed by the new algorithm. It also must not require further config changes once is set. So a version number denoting the first version of the new hashing algorithm is the best solution.

This needs to be merged to release 53 then ported to develop.

lpetrovic05 commented 3 weeks ago

this is done an will not be ported to 54