-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
x/evidence module implementation #5240
Conversation
Codecov Report
@@ Coverage Diff @@
## master #5240 +/- ##
=========================================
Coverage ? 54.61%
=========================================
Files ? 299
Lines ? 18177
Branches ? 0
=========================================
Hits ? 9928
Misses ? 7464
Partials ? 785 |
Co-Authored-By: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
Co-Authored-By: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
Co-Authored-By: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
Co-Authored-By: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
Co-Authored-By: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
Co-Authored-By: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
Co-Authored-By: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
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
…dk into bez/evidence-module-impl
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.
ACK, very well-documented, thanks.
I am, however, not totally sure how this will be used with IBC - in particular, some of the evidence that the IBC client needs to handle will be of equivocations or other malfeasance committed by validators who are not on this chain. Given that, if the evidence interface methods are assumed to refer to validators on this chain, that may not make sense - we might need to separate out the 'evidence validation' logic and 'evidence punishment' logic. Does that make sense?
@cwgoes it is true the Can you maybe illustrate by example so I have a better understanding of IBC's needs? |
It's more that the IBC module is designed to call into the evidence module when If you think that would work with the current structure though it's probably fine. |
The initial
x/evidence
module implementation per ADR 009 using the latest SDK best practices.What it does include:
What it does NOT include (to be accomplished in subsequent PRs):
Targeted PR against correct branch (see CONTRIBUTING.md)
Linked to github-issue with discussion and accepted design OR link to spec that describes this work.
Wrote tests
Updated relevant documentation (
docs/
)Added a relevant changelog entry to the
Unreleased
section inCHANGELOG.md
Re-reviewed
Files changed
in the github PR explorerFor Admin Use: