-
Notifications
You must be signed in to change notification settings - Fork 116
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
feat: implement slashing functionality on the provider chain (ADR-013) #1275
Merged
insumity
merged 31 commits into
feat/ics-misbehaviour-handling
from
insumity/adr-013-impl-on-feat
Sep 27, 2023
Merged
feat: implement slashing functionality on the provider chain (ADR-013) #1275
insumity
merged 31 commits into
feat/ics-misbehaviour-handling
from
insumity/adr-013-impl-on-feat
Sep 27, 2023
Commits on Sep 11, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 93a0db5 - Browse repository at this point
Copy the full SHA 93a0db5View commit details -
Configuration menu - View commit details
-
Copy full SHA for ea87bdc - Browse repository at this point
Copy the full SHA ea87bdcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 177e1db - Browse repository at this point
Copy the full SHA 177e1dbView commit details -
Configuration menu - View commit details
-
Copy full SHA for e1bdfff - Browse repository at this point
Copy the full SHA e1bdfffView commit details -
Configuration menu - View commit details
-
Copy full SHA for bbff2ee - Browse repository at this point
Copy the full SHA bbff2eeView commit details -
Configuration menu - View commit details
-
Copy full SHA for dfef410 - Browse repository at this point
Copy the full SHA dfef410View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8b49af1 - Browse repository at this point
Copy the full SHA 8b49af1View commit details -
Configuration menu - View commit details
-
Copy full SHA for bf89509 - Browse repository at this point
Copy the full SHA bf89509View commit details
Commits on Sep 12, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 868e0d2 - Browse repository at this point
Copy the full SHA 868e0d2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9ba3a3d - Browse repository at this point
Copy the full SHA 9ba3a3dView commit details
Commits on Sep 14, 2023
-
feat!: Cryptographic verification of equivocation (#1287)
* feat!: add ICS misbehaviour handling (#826) * define msg to submit misbehaviour to provider implement msg handling logic e2e test msg handling logic * wip: get byzantine validators in misbehavioiur handling * add tx handler * format HandleConsumerMisbehaviour * add tx handler * add debugging stuff * Add misbehaviour handler * create message for consumer double voting evidence * add DRAFT double vote handler * Add cli cmd for submit consumer double voting * Add double-vote handler * add last update * fix jailing * pass first jailing integration test * format tests * doc * save * update e2e tests' * fix typo and improve docs * remove unwanted tm evidence protofile * fix typos * update submit-consumer-misbehaviour cli description * check that header1 and header2 have the same TrustedValidators * feat: add e2e tests for ICS misbehaviour (#1118) * remove unwanted changes * fix hermes config with assigned key * revert unwanted changes * revert local setup * remove log file * typo * update doc * update ICS misbehaviour test * update ICS misbehaviour test * revert mixed commits * add doc * lint * update to handle only equivocations * improve doc * update doc * update E2E tests comment * optimize signatures check * doc * update e2e tests * linter * remove todo * Feat: avoid race condition in ICS misbehaviour handling (#1148) * remove unwanted changes * fix hermes config with assigned key * revert unwanted changes * revert local setup * remove log file * typo * update doc * update ICS misbehaviour test * update ICS misbehaviour test * revert mixed commits * update ICS misbehaviour test * update ICS misbehaviour test * Add test for MsgSubmitConsumerMisbehaviour parsing * fix linter * save progress * add CheckMisbehaviourAndUpdateState * update integration tests * typo * remove e2e tests from another PRs * cleaning' * Update x/ccv/provider/keeper/misbehaviour.go Co-authored-by: Anca Zamfir <[email protected]> * Update x/ccv/provider/keeper/misbehaviour.go Co-authored-by: Anca Zamfir <[email protected]> * update integration tests * save * save * nits * remove todo * lint * Update x/ccv/provider/keeper/misbehaviour.go --------- Co-authored-by: Anca Zamfir <[email protected]> Co-authored-by: Marius Poke <[email protected]> * Update x/ccv/provider/client/cli/tx.go Co-authored-by: Anca Zamfir <[email protected]> * Update x/ccv/provider/client/cli/tx.go Co-authored-by: Anca Zamfir <[email protected]> * add attributes to EventTypeSubmitConsumerMisbehaviour * Update x/ccv/provider/keeper/misbehaviour.go Co-authored-by: Anca Zamfir <[email protected]> * Update x/ccv/provider/keeper/misbehaviour.go Co-authored-by: Anca Zamfir <[email protected]> * apply review suggestions * fix docstring * Update x/ccv/provider/keeper/misbehaviour.go Co-authored-by: Anca Zamfir <[email protected]> * fix link * apply review suggestions * update docstring --------- Co-authored-by: Anca Zamfir <[email protected]> Co-authored-by: Marius Poke <[email protected]> * feat: improve ICS misbehaviour E2E testing coverage (#1225) * update e2e tests * update the chain halt assertion * refactor: address comments of ICS Misbehaviour PRs #826 and #1148 (#1223) * remove interface * improve comment * update godoc * address last comments * feat: add handler for consumer double voting (#1232) * create new endpoint for consumer double voting * add first draft handling logic * first iteration of double voting * draft first mem test * error handling * refactor * add unit test of double voting verification * remove evidence age checks * document * doc * protogen * reformat double voting handling * logger nit * nits * check evidence age duration * move verify double voting evidence to ut * fix nit * nits * fix e2e tests * improve double vote testing coverage * remove TODO * lint * add UT for JailAndTombstoneValidator * nits * nits * remove tombstoning and evidence age check * lint * typo * improve godoc * fix: tiny bug in `NewSubmitConsumerDoubleVotingCmd` (#1247) * fix double voting cli * fix bug double signing handler * godoc * nits * revert wrong push of lasts commits * fix: make `HandleConsumerDoubleVoting` works with provider pubkeys (#1254) * fix double voting cli * fix bug double signing handler * godoc * nits * lint * nit * fix: verify equivocation using validator pubkey in `SubmitConsumerDoubleVoting` msg (#1264) * verify dv evidence using malicious validator pubkey in infraction block header * nits * nits * refactor: update the E2E tests to work with Hermes relayer v1.6.0 (#1278) * save changes * fix hermes config * fist successful run * nit * nits * nits * doc and nits * lint * test: add E2E tests for double voting evidence handling (#1256) * fix double voting cli * add double-signing e2e test * refortmat e2e double voting test * godoc, revert unwanted changes * nit * verify dv evidence using malicious validator pubkey in infraction block header * save changes * fix hermes config * fist successful run * nit * nits * nits * doc and nits * lint * refactor * typo * change hermes docker image * nits * Update tests/e2e/steps.go Co-authored-by: Philip Offtermatt <[email protected]> * address PR comments * nits --------- Co-authored-by: Philip Offtermatt <[email protected]> * save * fix nits * update changelog and fix nits --------- Co-authored-by: Simon Noetzlin <[email protected]> Co-authored-by: Anca Zamfir <[email protected]> Co-authored-by: Philip Offtermatt <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b1a6f31 - Browse repository at this point
Copy the full SHA b1a6f31View commit details -
Configuration menu - View commit details
-
Copy full SHA for d92a4c8 - Browse repository at this point
Copy the full SHA d92a4c8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 72abcf4 - Browse repository at this point
Copy the full SHA 72abcf4View commit details -
Configuration menu - View commit details
-
Copy full SHA for b46ace4 - Browse repository at this point
Copy the full SHA b46ace4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 59d8192 - Browse repository at this point
Copy the full SHA 59d8192View commit details -
Configuration menu - View commit details
-
Copy full SHA for 31c090d - Browse repository at this point
Copy the full SHA 31c090dView commit details
Commits on Sep 22, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 79f8f18 - Browse repository at this point
Copy the full SHA 79f8f18View commit details -
Configuration menu - View commit details
-
Copy full SHA for ed35638 - Browse repository at this point
Copy the full SHA ed35638View commit details -
Configuration menu - View commit details
-
Copy full SHA for 62212c7 - Browse repository at this point
Copy the full SHA 62212c7View commit details -
Configuration menu - View commit details
-
Copy full SHA for e5b46dd - Browse repository at this point
Copy the full SHA e5b46ddView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4cb6283 - Browse repository at this point
Copy the full SHA 4cb6283View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6f15a61 - Browse repository at this point
Copy the full SHA 6f15a61View commit details -
Configuration menu - View commit details
-
Copy full SHA for 93c2cdb - Browse repository at this point
Copy the full SHA 93c2cdbView commit details
Commits on Sep 25, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 1d3ee78 - Browse repository at this point
Copy the full SHA 1d3ee78View commit details
Commits on Sep 26, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 5c053bb - Browse repository at this point
Copy the full SHA 5c053bbView commit details -
Configuration menu - View commit details
-
Copy full SHA for f8633b5 - Browse repository at this point
Copy the full SHA f8633b5View commit details -
Configuration menu - View commit details
-
Copy full SHA for f96f1bc - Browse repository at this point
Copy the full SHA f96f1bcView commit details -
Configuration menu - View commit details
-
Copy full SHA for d3dc0bc - Browse repository at this point
Copy the full SHA d3dc0bcView commit details
Commits on Sep 27, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 39bbcf5 - Browse repository at this point
Copy the full SHA 39bbcf5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 694dce7 - Browse repository at this point
Copy the full SHA 694dce7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 366e3b1 - Browse repository at this point
Copy the full SHA 366e3b1View 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.