Skip to content

feat: implement issues #513 #514 #515 #516#598

Merged
hman38705 merged 2 commits intosolutions-plug:mainfrom
Markodiba:feat/issues-513-514-515-516
Apr 25, 2026
Merged

feat: implement issues #513 #514 #515 #516#598
hman38705 merged 2 commits intosolutions-plug:mainfrom
Markodiba:feat/issues-513-514-515-516

Conversation

@Markodiba
Copy link
Copy Markdown
Contributor

#513 - Dispute voting weight: document stake-proportional weight formula in voting.rs (snapshot ledger, fallback lock, manipulation prevention). Add disputes_weight_test.rs with weighted tally, majority threshold, vote revision, zero-weight rejection, and snapshot immutability tests.

#514 - Conditional market parent validation: enforce that a conditional market's deadline cannot exceed the parent's resolution_deadline. Add markets_conditional_test.rs covering all parent state scenarios.

#515 - Market tier access control: enforce creator reputation must meet or exceed the requested tier at market creation time. Add InsufficientReputation error code (148). Tests cover all tier/reputation combinations and the admin upgrade path.

#516 - Frontend API error handling: introduce ApiError class with status code, isClientError, isServerError, isNetworkError helpers. Wrap network failures with user-friendly message and status 0. Fix missing apiCache and CACHE_TTL imports. Add ApiError tests to client.test.ts.

Closes #513
Closes #514
Closes #515
Closes #516

Markodiba and others added 2 commits April 25, 2026 04:54
…s-plug#515 solutions-plug#516

solutions-plug#513 - Dispute voting weight: document stake-proportional weight formula
in voting.rs (snapshot ledger, fallback lock, manipulation prevention).
Add disputes_weight_test.rs with weighted tally, majority threshold,
vote revision, zero-weight rejection, and snapshot immutability tests.

solutions-plug#514 - Conditional market parent validation: enforce that a conditional
market's deadline cannot exceed the parent's resolution_deadline. Add
markets_conditional_test.rs covering all parent state scenarios.

solutions-plug#515 - Market tier access control: enforce creator reputation must meet
or exceed the requested tier at market creation time. Add
InsufficientReputation error code (148). Tests cover all tier/reputation
combinations and the admin upgrade path.

solutions-plug#516 - Frontend API error handling: introduce ApiError class with status
code, isClientError, isServerError, isNetworkError helpers. Wrap network
failures with user-friendly message and status 0. Fix missing apiCache
and CACHE_TTL imports. Add ApiError tests to client.test.ts.

Closes solutions-plug#513
Closes solutions-plug#514
Closes solutions-plug#515
Closes solutions-plug#516
@drips-wave
Copy link
Copy Markdown

drips-wave Bot commented Apr 25, 2026

@Markodiba Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@hman38705 hman38705 merged commit aab7f3d into solutions-plug:main Apr 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants