Skip to content

fix(redis): extract virtual randomness hook for fuzz harnesses#312

Closed
0xCardiE wants to merge 1 commit into
masterfrom
fix/redistribution-fuzz-randomness-hook
Closed

fix(redis): extract virtual randomness hook for fuzz harnesses#312
0xCardiE wants to merge 1 commit into
masterfrom
fix/redistribution-fuzz-randomness-hook

Conversation

@0xCardiE
Copy link
Copy Markdown
Contributor

Summary

  • Make updateRandomness internal virtual and extract _nextSeedValue so test/fuzz wrappers can override post-reveal randomness without changing production semantics.

Test plan

  • Run existing Redistribution unit tests
  • Confirm production updateRandomness behavior is unchanged (same keccak256 seed update)
  • Verify fuzz harness subclasses can override _nextSeedValue when needed

Expose _nextSeedValue so test wrappers can pin post-reveal randomness
without changing production seed update semantics.
@0xCardiE
Copy link
Copy Markdown
Contributor Author

Not needed.

@0xCardiE 0xCardiE closed this May 22, 2026
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