Fix:SignBytes representation of empty string data field in the event-… #1016
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
In v0.2.11 -> v0.2.12 transition, algorithm for the string conversion of HexBytes for the data field of event-record was changed. It impacted the conversion in the case when the HexBytes represented the empty string.Due to this it was causing the sync issue. This PR includes changes which rectified that issue "
I would like to thank @svenski123 for reporting this issue and also putting his effort to research out the best solution for this.
#1004
Changes
Nodes audience
This PR change should be applied to all the nodes who are syncing from the scatch
Checklist