Skip to content

Add missing timelock config key and bounds constants #478

@hman38705

Description

@hman38705

Issue 033: Add missing timelock config key and bounds constants

Area: Contracts
Priority: High
Files: contracts/predict-iq/src/types.rs, contracts/predict-iq/src/modules/governance.rs

Problem

Governance references ConfigKey::TimelockDuration, TIMELOCK_MIN_SECONDS, and TIMELOCK_MAX_SECONDS but they are not defined. Contract fails to compile.

Acceptance Criteria

  • Missing enum variants and constants are added\n- Timelock setter enforces bounds\n- Tests validate boundary behavior\n- Constants are documented

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave program

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions