feat: implement issues #513 #514 #515 #516#598
Merged
hman38705 merged 2 commits intosolutions-plug:mainfrom Apr 25, 2026
Merged
feat: implement issues #513 #514 #515 #516#598hman38705 merged 2 commits intosolutions-plug:mainfrom
hman38705 merged 2 commits intosolutions-plug:mainfrom
Conversation
…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
|
@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! 🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
#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