feat(CCHAIN-1193): Malicious node -- produce equivocations#1517
Closed
sergio-mena wants to merge 1 commit intocirclefin:mainfrom
Closed
feat(CCHAIN-1193): Malicious node -- produce equivocations#1517sergio-mena wants to merge 1 commit intocirclefin:mainfrom
sergio-mena wants to merge 1 commit intocirclefin:mainfrom
Conversation
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
Contributor
Author
|
This was used to create a temporary malicious image to deploy on devnet. This has been done, so it's better for this code not to be merged to |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Closes: #1518
This PR introduces all kinds of equivocation. The behavior is hidden behind environment variable
TEST_ONLY_MALICIOUS_NODE. This should NEVER be set in production.The effect of this change is to produce all three types of equivocation in the network, where we can observe them in the logs, and RPC methods.
This PR will be reverted once the needed data has been produced on
devnetPR author checklist
Contribution eligibility
For all contributors
RELEASE_NOTES.mdif the change warrants itBREAKING_CHANGES.mdif the change warrants itFor external contributors