Skip to content

feat: cooldown between fee waiver proposals per address #471

Description

@shakurJJ

Summary

propose_fee_waiver can be called repeatedly with no cooldown, letting an address spam waiver proposals. This proposes a configurable cooldown between proposals from the same address.

Proposed Behaviour

  • Admin sets a cooldown (in ledgers) between successive propose_fee_waiver calls from the same proposer address.
  • A proposal submitted before the cooldown elapses since that address's last proposal is rejected with a clear error.
  • Default value preserves today's behaviour (no cooldown) unless explicitly configured.

Acceptance Criteria

  • Admin can set/get the fee waiver proposal cooldown
  • A proposal within the cooldown window is rejected
  • A proposal after the cooldown elapses succeeds
  • Tests cover both paths

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

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions