Skip to content

feat(CCHAIN-1193): Malicious node -- produce equivocations#1517

Draft
sergio-mena wants to merge 1 commit intocirclefin:mainfrom
sergio-mena:CCHAIN-1193-malicious-node
Draft

feat(CCHAIN-1193): Malicious node -- produce equivocations#1517
sergio-mena wants to merge 1 commit intocirclefin:mainfrom
sergio-mena:CCHAIN-1193-malicious-node

Conversation

@sergio-mena
Copy link
Contributor

@sergio-mena sergio-mena commented Mar 2, 2026

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 devnet


PR author checklist

Contribution eligibility

  • I am a core contributor, OR I have been explicitly assigned to the linked issue
  • I have read CONTRIBUTING.md and my PR complies with all requirements
  • I understand that PRs not meeting these requirements will be closed without review

For all contributors

For external contributors

@github-actions
Copy link

github-actions bot commented Mar 2, 2026

Hi @sergio-mena,

Thank you for your interest in contributing to Malachite.

This PR has been automatically closed because it does not reference a GitHub issue. All PRs must reference an existing issue using the format Closes: #XXX.

To contribute properly:

  1. Find an existing issue you'd like to work on, or open a new issue describing your proposed change
  2. Comment on the issue requesting assignment and wait for maintainer approval
  3. Only submit a PR after you have been assigned to the issue

Please see our CONTRIBUTING.md for more details.

@github-actions github-actions bot added the need-triage This issue needs to be triaged label Mar 2, 2026
@github-actions github-actions bot closed this Mar 2, 2026
@sergio-mena sergio-mena reopened this Mar 2, 2026
@github-actions
Copy link

github-actions bot commented Mar 2, 2026

Hi @sergio-mena,

Thank you for your interest in contributing to Malachite.

This PR has been automatically closed because you are not assigned to issue #1518. We require contributors to be explicitly assigned to an issue before submitting a PR.

To contribute properly:

  1. Comment on issue Equivocating node #1518 requesting assignment
  2. Wait for maintainer approval
  3. Only submit a PR after you have been assigned

Please see our CONTRIBUTING.md for more details.

@github-actions github-actions bot closed this Mar 2, 2026
@sergio-mena sergio-mena reopened this Mar 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

need-triage This issue needs to be triaged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Equivocating node

1 participant