Skip to content
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

ci(e2e): support devnet chaos slashing #2489

Closed
wants to merge 1 commit into from
Closed

Conversation

corverroos
Copy link
Collaborator

@corverroos corverroos commented Nov 15, 2024

Support slash testing in e2e:

  • Enable it via halo_chaos = true in e2e manifest.
  • This results in --devnet-chaos-test=true flag in halo.
  • Which results in halo injecting deterministic double sign evidence once

The aim is to improve the edge-case testing when slashing occurs.

issue: none

// This is used in production to disable chaos testing.
var noopChaos = func(context.Context, *abci.RequestFinalizeBlock) {}

const chaosSlashMinHeight = 10
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd appreciate a comment on why we want to skip the first 10 rounds if it's a real chaos testing?

@corverroos
Copy link
Collaborator Author

closing in favour of cometbft InjectEvidence

@corverroos corverroos closed this Nov 15, 2024
@corverroos corverroos deleted the corver/chaosslash branch November 22, 2024 15:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants