Skip to content

MAX_SETTLEMENT_DELAY_LEDGER enforced only in fee-based setters #578

Description

@therealjhay

Problemset_settlement_rule/set_default_rule enforce the delay cap, but the governance-sourced rule path (issue 24) bypasses it.

  1. Delay cap bypass.
  2. Divergent enforcement.
  3. Test gap.

Solution

  • Enforce the cap on the governance-derived rule conversion too.
  • Test.

Acceptance Criteria

  • Delay cap applies to all resolution paths.
  • cargo test --workspace passes.

Note for Contributors: Write a clear PR description. Show the cap test.

Metadata

Metadata

Assignees

Labels

GrantFox OSSIssue tracked in GrantFox OSSMaybe RewardedIssue may be eligible for a GrantFox rewardThird CampaignCampaign: Third Campaign

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions