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

test: timing integration tests #1158

Draft
wants to merge 4 commits into
base: test/slashing-integration-testing
Choose a base branch
from

Conversation

nadir-akhtar
Copy link
Collaborator

Motivation:

These tests cover scenarios that specifically validate correct behavior on the cusp of a delay completing.

Modifications:

This PR adds the following:

  • Performing a slash on the block before/after a partial/total withdrawal is no longer slashable
  • Performing a slash on the block after a partial/total withdrawal is no longer slashable

This PR will also add the following:

  • Performing a slash on the block before/after an operator fully deallocates
  • Performing a slash on the block before/after an operator completes deregistration from an operator set
  • Performing a slash on the block before/after an operator completes an allocation

Result:

These timing tests ensure that the correct behavior happens on either side of critical delays

@nadir-akhtar nadir-akhtar changed the base branch from dev to test/slashing-integration-testing February 24, 2025 20:22
@ypatil12 ypatil12 added 🗡️ Slashing Release Changes for the slashing release. 🧪 Test Test-related changes (unit, integration, etc.). labels Feb 25, 2025
@0xClandestine 0xClandestine force-pushed the nadir/timing-integration-tests branch from 1588107 to 40ce5d1 Compare February 25, 2025 18:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🗡️ Slashing Release Changes for the slashing release. 🧪 Test Test-related changes (unit, integration, etc.).
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants