Release
Release Name: 7.52.0
Spec Version: 52
Client Version: 7.0.0
Key Changes:
This release includes Ethy gadget Witness message pruning based on the finalized block number.
What can be expected with this change
- Redundant network gossip activity should be significantly reduced.
- Should provide fixes for the current peer drop issue.
- All the existing gossip Witness messages would be discarded due to the new format
- There is a chance of discarding witnesses before they can form the proof if goes out of the live window. But under normal conditions this should not happen. A separate mechanism to handle these scenarios will be introduced later.
Note - at post deployment, need to make sure at least 66% of the active validators are upgraded to the new image. otherwise could halt the proof formation due to not being able to reach consensus.
PRs included:
Client Changes:
- Yes
- No
Runtime Changes:
- Yes
- No
Storage Changes:
Changed:
Extrinsic Changes:
Added:
Changed:
Event Changes:
Added:
Error Messages:
Added:
Storage Migrations:
Added:
Removed:
Implementation details
- Add
block_number
toWitness
- Active validators now include finalized block number(that the proof request was made) in the Witness message
- Define
WINDOW_SIZE = 90
or the live window, proof needs to be generated within this window. approximately ~6mins. - Update
GossipValidator
to include a reference toBackend
- Any incoming Witness gossip messages that are outside the live window would be discarded.
- change
REBROADCAST_AFTER
to 3 mins, allowing a second rebroadcast within the live window - Increase
MAX_COMPLETE_EVENT_CACHE
to 500