Skip to content

feat: implement docs, tests, and CI coverage for assigned issues (#2,…#102

Merged
p3ris0n merged 1 commit into
BCPathway:mainfrom
EDOHWARES:feat/assigned-issues-batch
May 26, 2026
Merged

feat: implement docs, tests, and CI coverage for assigned issues (#2,…#102
p3ris0n merged 1 commit into
BCPathway:mainfrom
EDOHWARES:feat/assigned-issues-batch

Conversation

@EDOHWARES
Copy link
Copy Markdown
Contributor

Summary

This PR implements the following:

  • [Docs]: Add inline code examples to SDK README ([Docs]: Add inline code examples to SDK README #2)

    • Added clear, copy-pasteable TypeScript code examples for approve(), burn(), transferOwnership(), pause(), unpause(), getAllowance(), and getVersion() in sdk/README.md.
    • All examples follow the style of the existing mint() and transfer() snippets, including import, client setup, and invocation.
  • [Test] Test Pause/Unpause Edge Cases ([Test] Test Pause/Unpause Edge Cases #100)

    • Added Rust tests to ensure correct state transitions during paused states, including ownership transfers and balance queries while paused.
  • [Test] Add Negative Tests for Admin Functions ([Test] Add Negative Tests for Admin Functions #99)

    • Added #[should_panic] tests for unauthorized access attempts to admin-gated functions (e.g., mint, pause, transferOwnership).
  • [Test] Add Test Coverage Reporting (Tarpaulin) ([Test] Add Test Coverage Reporting (Tarpaulin) #98)

    • Updated CI workflow to include a cargo tarpaulin step for Rust test coverage reporting and upload the coverage report as an artifact.

All changes are grouped in a single branch. CI should pass and coverage metrics will now be available in the workflow

Closes #2
Closes #100
Closes #99
Closes #98

@drips-wave
Copy link
Copy Markdown

drips-wave Bot commented May 26, 2026

@EDOHWARES 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

@EDOHWARES
Copy link
Copy Markdown
Contributor Author

@p3ris0n, pls review

@p3ris0n
Copy link
Copy Markdown
Contributor

p3ris0n commented May 26, 2026

@EDOHWARES checks are failling

@p3ris0n p3ris0n merged commit 2332e7c into BCPathway:main May 26, 2026
0 of 2 checks passed
@King-Austin
Copy link
Copy Markdown

This is impressive @EDOHWARES .
Keep it up bro.
Integration and unit testing all passing on my end

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

3 participants