Skip to content

propose_manager: emit a cancellation event when replacing a pending proposal #137

Description

@0xdevcollins

Source: docs/threat-model.md v1.0, Spoof.7 (planned hardening).

propose_manager (event_ops.rs:198) overwrites any existing PendingManager without emitting PendingManagerCancelled. An observer following events sees two ManagerProposed entries and no cancellation for the first, so the timeline is ambiguous.

  • Emit PendingManagerCancelled{event_id} before writing the replacement (or refuse while one is pending and require cancel_pending_manager first)
  • Test the event sequence

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions