Skip to content

[did] Support did:bitcoin as controller#3717

Merged
jolestar merged 5 commits into
mainfrom
bitcoin_did_controller
Sep 25, 2025
Merged

[did] Support did:bitcoin as controller#3717
jolestar merged 5 commits into
mainfrom
bitcoin_did_controller

Conversation

@jolestar

@jolestar jolestar commented Sep 24, 2025

Copy link
Copy Markdown
Contributor
  1. Support did:bitcoin as controller
  2. part of [did] Security Issues #3642

@github-actions

github-actions Bot commented Sep 24, 2025

Copy link
Copy Markdown

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Scanned Files

None

Copilot AI 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.

Pull Request Overview

This PR extends DID support to include did:bitcoin controllers alongside the existing did:key controllers in the CADOP (Custodian-Assisted DID Onboarding Protocol) framework.

Key Changes:

  • Adds support for did:bitcoin controller validation in DID creation
  • Refactors existing CADOP functions to use a generic controller-based approach
  • Includes comprehensive test coverage for the new functionality

Reviewed Changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
frameworks/rooch-framework/sources/did.move Core implementation adding did:bitcoin controller support with validation logic and refactored CADOP functions
frameworks/rooch-framework/sources/tests/did_cadop_controller_test.move New test module covering both success and failure scenarios for did:bitcoin controllers
frameworks/rooch-framework/doc/did.md Updated documentation reflecting new functions and error constants
examples/verity_oracle_example/sources/example.move Minor fix updating module reference from coin_store to account_coin_store
examples/verity_oracle_example/Move.toml Added new test address for foreign module testing

custodian_service_vm_type,
custom_scope_strings,
)
}

Copilot AI Sep 24, 2025

Copy link

Choose a reason for hiding this comment

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

Extra whitespace after closing brace on line 729. Remove the trailing space for consistency.

Suggested change
}
}

Copilot uses AI. Check for mistakes.
@vercel

vercel Bot commented Sep 24, 2025

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
rooch-portal-v2.1 Ready Ready Preview Comment Sep 25, 2025 2:09am
test-portal Ready Ready Preview Comment Sep 25, 2025 2:09am
1 Skipped Deployment
Project Deployment Preview Comments Updated (UTC)
rooch Ignored Ignored Preview Sep 25, 2025 2:09am

@github-actions

github-actions Bot commented Sep 24, 2025

Copy link
Copy Markdown

Docker images for this PR are available:

  • ghcr.io/rooch-network/rooch:pr-3717
  • ghcr.io/rooch-network/rooch:pr-3717-2288202
  • ghcr.io/rooch-network/rooch:pr-3717_debug
  • ghcr.io/rooch-network/rooch:pr-3717-2288202_debug

Pull commands:

  • docker pull ghcr.io/rooch-network/rooch:pr-3717
  • docker pull ghcr.io/rooch-network/rooch:pr-3717-2288202
  • docker pull ghcr.io/rooch-network/rooch:pr-3717_debug
  • docker pull ghcr.io/rooch-network/rooch:pr-3717-2288202_debug

@jolestar jolestar merged commit 165f803 into main Sep 25, 2025
18 of 21 checks passed
@jolestar jolestar deleted the bitcoin_did_controller branch September 25, 2025 07:13
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.

2 participants