-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ETCM-174] Sorting of checkpoint signatures #738
[ETCM-174] Sorting of checkpoint signatures #738
Conversation
What if we sorted the sigs ourselves in |
that's right, will do the update |
waiting for #728 |
After margin [ETCM-141] scalafmt . This PR can be updated by git merge |
e3c7ca3
to
8a69185
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Only a really minor change and LGTM! Should we document this change on our checkpointing spec?
src/main/scala/io/iohk/ethereum/consensus/validators/BlockWithCheckpointHeaderValidator.scala
Show resolved
Hide resolved
I will update docs after merge |
8a69185
to
8ce96d7
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
.\\ //.
. \ \ / /.
.\ ,\ /` /,.-
-. \ /'/ / .
` - `-' \ -
'. /.\`
- .-
:`//.'
.`.'
.' BP
8ce96d7
to
c515106
Compare
Description
Sort checkpoint signatures lexicographically to prevent having the same checkpoint block with a different hash (different order of signatures).
Remember about changes on OBFT node side.
Important Changes Introduced