Skip to content

Add tests for payout mode immutability after market creation #252

@hman38705

Description

@hman38705

Area: contracts/predict-iq/src/modules/disputes.rs / market model

Problem: Comment says payout_mode should be immutable, but runtime behavior should be enforced by tests.

Testing gap: No test locking mode across resolve/dispute flows.

Acceptance tests: Verify resolve path cannot mutate payout mode unless explicitly allowed by spec.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions