-
Notifications
You must be signed in to change notification settings - Fork 49
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
[Draft] Slash malevolent validators #294
Merged
Merged
Commits on Aug 20, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 0a61802 - Browse repository at this point
Copy the full SHA 0a61802View commit details -
Configuration menu - View commit details
-
Copy full SHA for 192daa9 - Browse repository at this point
Copy the full SHA 192daa9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 666d047 - Browse repository at this point
Copy the full SHA 666d047View commit details -
Configuration menu - View commit details
-
Copy full SHA for a7834d6 - Browse repository at this point
Copy the full SHA a7834d6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3ecf234 - Browse repository at this point
Copy the full SHA 3ecf234View commit details -
Configuration menu - View commit details
-
Copy full SHA for 88f6629 - Browse repository at this point
Copy the full SHA 88f6629View commit details -
Configuration menu - View commit details
-
Copy full SHA for 206167a - Browse repository at this point
Copy the full SHA 206167aView commit details -
Configuration menu - View commit details
-
Copy full SHA for e6b79b0 - Browse repository at this point
Copy the full SHA e6b79b0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0c251e4 - Browse repository at this point
Copy the full SHA 0c251e4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 03bccef - Browse repository at this point
Copy the full SHA 03bccefView commit details -
Configuration menu - View commit details
-
Copy full SHA for a08c185 - Browse repository at this point
Copy the full SHA a08c185View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0cf7dc8 - Browse repository at this point
Copy the full SHA 0cf7dc8View commit details -
Configuration menu - View commit details
-
Copy full SHA for b6e1025 - Browse repository at this point
Copy the full SHA b6e1025View commit details -
Configuration menu - View commit details
-
Copy full SHA for db98b43 - Browse repository at this point
Copy the full SHA db98b43View commit details -
Configuration menu - View commit details
-
Copy full SHA for 10ed1c2 - Browse repository at this point
Copy the full SHA 10ed1c2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 167f08f - Browse repository at this point
Copy the full SHA 167f08fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2b908d1 - Browse repository at this point
Copy the full SHA 2b908d1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1adff6e - Browse repository at this point
Copy the full SHA 1adff6eView commit details -
Configuration menu - View commit details
-
Copy full SHA for f2f9851 - Browse repository at this point
Copy the full SHA f2f9851View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7e4e055 - Browse repository at this point
Copy the full SHA 7e4e055View commit details -
Resolve a DoS in SlashEvidence's read
Also moves Evidence from Vec<Message> to (Message, Option<Message>). That should meet all requirements while being a bit safer.
Configuration menu - View commit details
-
Copy full SHA for 99e763f - Browse repository at this point
Copy the full SHA 99e763fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6edae35 - Browse repository at this point
Copy the full SHA 6edae35View commit details -
One use of sort was inefficient, sorting unsigned || signed when unsigned was already properly sorted. Given how the unsigned TXs were given a nonce of 0, an unstable sort may swap places with an unsigned TX and a signed TX with a nonce of 0 (leading to a faulty block). The extra protection added here sorts signed, then concats.
Configuration menu - View commit details
-
Copy full SHA for baf871f - Browse repository at this point
Copy the full SHA baf871fView commit details -
Configuration menu - View commit details
-
Copy full SHA for fbfad30 - Browse repository at this point
Copy the full SHA fbfad30View commit details
Commits on Aug 21, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 05136ca - Browse repository at this point
Copy the full SHA 05136caView commit details -
empty_signature led to corrupted local state histories. Unfortunately, the API is only sane with a signature. We now use the actual signature, which risks creating a signature over a malicious message if we have ever have an invariant producing malicious messages. Prior, we only signed the message after the local machine confirmed it was okay per the local view of consensus. This is tolerated/preferred over a corrupt state history since production of such messages is already an invariant. TODOs are added to make handling of this theoretical invariant further robust.
Configuration menu - View commit details
-
Copy full SHA for a75eb11 - Browse repository at this point
Copy the full SHA a75eb11View commit details -
Remove async_sequential for tokio::test
There was no competition for resources forcing them to be run sequentially.
Configuration menu - View commit details
-
Copy full SHA for 97c95e1 - Browse repository at this point
Copy the full SHA 97c95e1View commit details -
Configuration menu - View commit details
-
Copy full SHA for ac13612 - Browse repository at this point
Copy the full SHA ac13612View commit details -
Configuration menu - View commit details
-
Copy full SHA for d098c2d - Browse repository at this point
Copy the full SHA d098c2dView commit details
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.