Skip to content

test(validator): add isolated Ephyra property suite - #915

Draft
MauroToscano wants to merge 2 commits into
mainfrom
codex/ephyra-validator-property-tests
Draft

MauroToscano wants to merge 2 commits into
mainfrom
codex/ephyra-validator-property-tests

Conversation

@MauroToscano

Copy link
Copy Markdown

Description / Motivation

Add an isolated Ephyra suite for validator slashing protection and fork-schedule checks. It tests signing safety, persistence, interchange handling, failed writes, schedule merging, and delayed beacon-node answers. No production code or existing tests change.

What Changed

  • Add testing/ephyra-validator/ with its own Cargo workspace and lockfile; Ephyra is pinned to =0.0.1.
  • Keep models and checks separate from Ephyra generators and shrinkers.
  • Add a macOS test-only injector for directory flush failures.
  • Record properties, coverage, results, and limitations in NOTES.md.

Tests

  • Isolated test suite: 20 passed.
  • Ephyra: 8 generators passed, 10,000 inputs each.
  • Validator library: 804 passed, 2 ignored.
  • EIP-3076 interchange vectors: all 38 passed.
  • Cargo formatting check: passed.

No validator-code bug was found. A real power loss was not simulated. The full workspace suite was not run.

This branch has not been deployed

No deployments
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.

1 participant