Skip to content

Feature/boe fix on shred - #157

Merged
rongquan1 merged 49 commits into
betafrom
feature/boe-fix-on-shred
Aug 3, 2026
Merged

Feature/boe fix on shred#157
rongquan1 merged 49 commits into
betafrom
feature/boe-fix-on-shred

Conversation

@manishdex25

@manishdex25 manishdex25 commented Jul 31, 2026

Copy link
Copy Markdown
Contributor

Summary

What is the background of this pull request?

Changes

  • What are the changes made in this pull request?
  • Change this and that, etc...

Issues

What are the related issues or stories?

Summary by CodeRabbit

  • Bug Fixes

    • Token verification now correctly treats tokens owned by the burn address as minted.
    • Burned tokens remain recognized as minted, including after rejection, discharge, or accepted return.
  • Documentation

    • Clarified obligation lifecycle, role responsibilities, return-to-issuer behavior, and “Taken Out of Circulation” status.
  • Chores

    • Updated package preparation to build the project before setup tasks run.

manishdex25 and others added 30 commits July 30, 2026 15:32
…est.ts

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
@coderabbitai

coderabbitai Bot commented Jul 31, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 6f2d3933-6387-4f26-bcc6-acccddc6e9e6

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🧹 Nitpick comments (1)
src/__tests__/verify/obligationRecordVerifier.utils.test.ts (1)

25-28: 📐 Maintainability & Code Quality | 🔵 Trivial | ⚡ Quick win

Rename the test to match the registry-only assertion.

The test no longer verifies an active title or escrow state. It verifies that a non-zero ownerOf result is minted.

Proposed test-name update
-  it('returns minted when owner is set (active title)', async () => {
+  it('returns minted when owner is set (non-zero owner)', async () => {
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@src/__tests__/verify/obligationRecordVerifier.utils.test.ts` around lines 25
- 28, Rename the test case around mockOwnerOf and the ownerOf assertion to
describe that a non-zero ownerOf result is minted, removing references to active
titles, escrow, or owner state.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Nitpick comments:
In `@src/__tests__/verify/obligationRecordVerifier.utils.test.ts`:
- Around line 25-28: Rename the test case around mockOwnerOf and the ownerOf
assertion to describe that a non-zero ownerOf result is minted, removing
references to active titles, escrow, or owner state.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: a266ca9b-7498-44df-9f9a-69f51f8d56b3

📥 Commits

Reviewing files that changed from the base of the PR and between 0f56031 and d4fad0b.

📒 Files selected for processing (2)
  • src/__tests__/verify/obligationRecordVerifier.utils.test.ts
  • src/verify/fragments/document-status/obligationRecords/utils.ts

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@package.json`:
- Line 24: Update the package.json prepare script so production installs without
devDependencies do not fail when tsup or husky are unavailable. Make the build
and Husky setup conditional or otherwise skip them in that environment, while
preserving their execution for development installs.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 0504f177-fa85-4a6f-b819-d24cd7f964fa

📥 Commits

Reviewing files that changed from the base of the PR and between d4fad0b and c9730e3.

📒 Files selected for processing (2)
  • README.md
  • package.json

Comment thread package.json Outdated
@sonarqubecloud

sonarqubecloud Bot commented Aug 3, 2026

Copy link
Copy Markdown

@manishdex25
manishdex25 requested a review from rongquan1 August 3, 2026 04:17
@manishdex25 manishdex25 self-assigned this Aug 3, 2026
@rongquan1
rongquan1 merged commit a635cfc into beta Aug 3, 2026
10 checks passed
@rongquan1
rongquan1 deleted the feature/boe-fix-on-shred branch August 3, 2026 05:57
nghaninn pushed a commit that referenced this pull request Aug 3, 2026
## [2.15.0-beta.4](v2.15.0-beta.3...v2.15.0-beta.4) (2026-08-03)

### Bug Fixes

* boe fix on shred ([#157](#157)) ([a635cfc](a635cfc))
@tradetrustimda

Copy link
Copy Markdown

🎉 This PR is included in version 2.15.0-beta.4 🎉

The release is available on:

Your semantic-release bot 📦🚀

nghaninn pushed a commit that referenced this pull request Aug 3, 2026
## [2.16.0-beta.1](v2.15.0...v2.16.0-beta.1) (2026-08-03)

### Features

* add EIP-7702 gasless functions with full test coverage ([e8d8b21](e8d8b21))
* **eip7702:** export contract ABIs via eip7702Abis from @trustvc/trustvc ([59531e8](59531e8))
* implement obligation registry functions and enhance document bu… ([#155](#155)) ([2a3cf11](2a3cf11))

### Bug Fixes

* add --legacy-peer-deps to npm ci in all workflows ([44fa8ef](44fa8ef))
* boe fix on shred ([#157](#157)) ([a635cfc](a635cfc))
* boe heap issue ([#156](#156)) ([b997db7](b997db7))

### Miscellaneous Chores

* **release:** 2.15.0-beta.1 [skip ci] ([726e6a0](726e6a0))
* **release:** 2.15.0-beta.2 [skip ci] ([bc3eba0](bc3eba0))
* **release:** 2.15.0-beta.3 [skip ci] ([0f56031](0f56031)), closes [#155](#155) [#156](#156)
* **release:** 2.15.0-beta.4 [skip ci] ([6c3668f](6c3668f)), closes [#157](#157)
* replace local eip7702 file ref with npm package @trustvc/eip7702@^1.0.0-beta.1 ([bc81fb5](bc81fb5))
@tradetrustimda

Copy link
Copy Markdown

🎉 This PR is included in version 2.16.0-beta.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants