Software Versions
OS: Linux
JVM: Oracle Corporation 1.8.0_161 amd64
Version: 4.8.1
Expected Behavior
After a transaction is executed and events are generated, external subscription systems should receive unique finalized event data that is consistent with the chain.
Actual Behavior
In a private network deployment, when the event service is using version 0, the event cache of the old fork chain is not cleared when a chain reorg occurs.
As a result, event data from both the forked chain and the new main chain are written into the database simultaneously. External subscribers may therefore receive duplicate or inconsistent event data.
Frequency
This issue may occur whenever a chain reorganization happens and contract event solidification (finalization) is enabled.
Software Versions
OS: Linux
JVM: Oracle Corporation 1.8.0_161 amd64
Version: 4.8.1
Expected Behavior
After a transaction is executed and events are generated, external subscription systems should receive unique finalized event data that is consistent with the chain.
Actual Behavior
In a private network deployment, when the event service is using version 0, the event cache of the old fork chain is not cleared when a chain reorg occurs.
As a result, event data from both the forked chain and the new main chain are written into the database simultaneously. External subscribers may therefore receive duplicate or inconsistent event data.
Frequency
This issue may occur whenever a chain reorganization happens and contract event solidification (finalization) is enabled.