Skip to content

fix(oracle): preserve challenged proposal history#144

Draft
rndrntwrk wants to merge 1 commit into
mainfrom
security/duel-oracle-challenge-replay-guard
Draft

fix(oracle): preserve challenged proposal history#144
rndrntwrk wants to merge 1 commit into
mainfrom
security/duel-oracle-challenge-replay-guard

Conversation

@rndrntwrk

Copy link
Copy Markdown
Collaborator

Summary

  • preserves challenged DuelOutcomeOracle proposals during reproposal
  • rejects exact challenged proposal replay by keeping the original proposal id occupied
  • adds regression coverage for replay rejection and audit history preservation

Validation

  • forge test --match-path test/OracleFinality.t.sol --match-test 'test_reproposeRejectsSameChallengedProposalIdentity|test_reproposeDistinctEvidencePreservesChallengedProposal'
  • forge test --match-path test/OracleFinality.t.sol
  • forge test
  • forge build
  • git diff --check

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