-
Notifications
You must be signed in to change notification settings - Fork 0
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
Add dispute structs #23
Conversation
caeb273
to
dadc2ea
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
dadc2ea
to
619850a
Compare
619850a
to
5aca0f6
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.
Nice!
Just a question:
"Verdicts v must be ordered by report hash. Offender signatures c and f must each be ordered by the validator’s Ed25519 key. There may be no duplicate report hashes within the extrinsic, nor amongst any past reported hashes"
Is it possible to enforce those constraints by using different data types for those fields inside the structs?
Not possible out of the box. We would have to create custom types for that. You think it's worth doing in this PR? |
No, it was just a thought 👍 |
This PR adds
ED
part of the extrinsic. This includesVerdicts, Culprits, Faults
as part of theDispute
.