-
Notifications
You must be signed in to change notification settings - Fork 6
Shd/validate spdd #470
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
Shd/validate spdd #470
Conversation
| .map(|(p, e, s)| format!("{p}: eth {e} != comp {s}; ")) | ||
| .collect::<String>(); | ||
| error!( | ||
| "SPDD verificiation epoch {epoch} stake difference: {}", |
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.
Typo
| if !different.is_empty() { | ||
| let message = different | ||
| .iter() | ||
| .map(|(p, e, s)| format!("{p}: eth {e} != comp {s}; ")) |
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.
Could we have newlines in it? Hard to read otherwise
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.
Ok :)
sandtreader
left a comment
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.
This is great, thanks. Very minor comments on logging.
Description
Adds verification of SPDD, as compared with Haskell output
Related Issue(s)
Fixes #426How was this tested?
Checklist
Impact / Side effects