Skip to content

XCM: Graceful Deletion of Overweight Messages #488

Open
@gavofyork

Description

At present overweight messages stick around in state until/unless they are executed. Instead, eventual unprivileged deletion of overweight messages should be allowed in certain circumstances:

  • Overweight messages are tagged with block number at which they arrived.
  • We also keep a count of the total number of overweight messages in storage message_count.
  • We have a min_duration (= 100) and threshold = 1,000,000.
  • Any messages older than min_duration + threshold / message_count can be deleted by anyone.

Metadata

Assignees

No one assigned

    Labels

    I5-enhancementAn additional feature request.

    Type

    No type

    Projects

    • Status

      Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions