Skip to content

feat: add revenue_distributor tests, yield reentrancy fix, backend clean script, SEP-12 upload auth#685

Open
Damola09 wants to merge 2 commits into
ceejaylaboratory:mainfrom
Damola09:feature/issue-542-563-554-569-multi-fix
Open

feat: add revenue_distributor tests, yield reentrancy fix, backend clean script, SEP-12 upload auth#685
Damola09 wants to merge 2 commits into
ceejaylaboratory:mainfrom
Damola09:feature/issue-542-563-554-569-multi-fix

Conversation

@Damola09

Copy link
Copy Markdown
Contributor

Summary

Test plan

  • cargo test --manifest-path contracts/Cargo.toml — all Rust tests pass
  • npm run test:backend (from backend/) — SEP-12 controller tests pass including new confirmUpload cases
  • npm run clean (from backend/) — deletes journal files and logs//coverage/ dirs
  • cargo check --manifest-path contracts/Cargo.toml — yield contract compiles without errors

Assigned to: chidimj

Damola09 added 2 commits June 27, 2026 16:40
…laboratory#563 ceejaylaboratory#569 (closes ceejaylaboratory#542, closes ceejaylaboratory#554, closes ceejaylaboratory#563, closes ceejaylaboratory#569)

- feat(revenue-distributor): add unit tests for distribution weights,
  zero balance no-op, full gov share, zero gov share, invalid bps panics,
  and set_shares re-distribution (ceejaylaboratory#569)
- feat(yield-contract): apply CEI pattern to deposit_rewards and stake
  so state updates precede external token transfers; remove duplicate
  event publish syntax errors (ceejaylaboratory#563)
- feat(devops): add clean script to backend/package.json that deletes
  SQLite journal files and removes logs/coverage directories (ceejaylaboratory#542)
- feat(backend-sep12): add confirmUpload endpoint that verifies session
  account matches KycCustomer record account, returns 403 on mismatch (ceejaylaboratory#554)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant