Repository navigation
Fix contract pausing and transaction history pagination - #206
Merged
oluwaseyi1996-netizen merged 5 commits intoOct 20, 2026
Merged
oluwaseyi1996-netizen merged 5 commits into
oluwaseyi1996-netizen merged 5 commits into
Conversation
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
|
@petermuazu 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! 🚀 |
oluwaseyi1996-netizen
merged commit Oct 20, 2026
055d435
into
vatal-system:main
3 of 4 checks passed
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.
Closes #162
Closes #163
Closes #164
Closes #165
Summary
Add admin-controlled pause/unpause behavior to the escrow and dispute contracts, with guards on state-changing and fund-moving entry points. Add validated page/limit pagination and metadata to transaction history, and expose page navigation in the profile UI. Tighten deliverable upload validation. Align the reputation query with the generated Prisma schema so backend typechecking passes.
The
ProposalandDeliverablemodels and their migration were already present in the starting branch, so no duplicate Prisma models or migration were added. Prisma validation and generation confirm those models are available.Related issue
The four issue descriptions were provided without issue numbers.
Type of change
How was it tested?
source "$HOME/.cargo/env" && cd contracts && cargo fmt --all -- --check && cargo clippy --all-targets -- -D warnings && cargo test --workspace— passed (98 tests).cd backend && DATABASE_URL='postgresql://user:pass@localhost:5432/db' ./node_modules/.bin/prisma validate && DATABASE_URL='postgresql://user:pass@localhost:5432/db' ./node_modules/.bin/prisma generate— passed.cd backend && npx tsc --noEmit— passed.cd backend && npm test— passed (392 tests).cd backend && npx eslint src/routes/users.ts src/routes/reputation.ts src/lib/schemas.ts src/lib/reputation.ts src/lib/contractErrors.ts src/openapi.ts src/__tests__/usersRoutes.test.ts src/__tests__/contractErrors.test.ts src/__tests__/reputationRoutes.test.ts— passed.cd backend && npm run lint— failed on 39 existing repository-wide lint violations; the changed implementation files above pass targeted lint.cd frontend && npm test— passed (360 tests).cd frontend && npm run lint && npm run build— passed.Checklist
cd contracts && cargo fmt --all && cargo clippy --all-targets -- -D warnings && cargo testcd frontend && npm run lint && npx tsc --noEmit && npm run buildREADME.md/CONTRIBUTING.mdREADME.md/CONTRIBUTING.mdstill matchcontracts/*/src/lib.rs(signatures, preconditions, same function set in both)Wave complexity