Skip to content

feat(node): support specify the path to a CKB binary#317

Merged
RetricSu merged 2 commits intodevelopfrom
feat/node-bin-path-option
Dec 2, 2025
Merged

feat(node): support specify the path to a CKB binary#317
RetricSu merged 2 commits intodevelopfrom
feat/node-bin-path-option

Conversation

@RetricSu
Copy link
Copy Markdown
Collaborator

No description provided.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

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 adds support for specifying a custom path to a CKB binary, allowing developers to use locally compiled CKB binaries instead of relying on pre-installed versions.

Key Changes:

  • Added binaryPath parameter to NodeProp interface and related functions to accept custom binary paths
  • Added --binary-path CLI option to the node command
  • Updated documentation with usage examples for the new feature

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 4 comments.

File Description
src/cmd/node.ts Added binaryPath parameter to NodeProp interface, startNode, and nodeDevnet functions; implemented logic to use custom binary path when provided
src/cli.ts Added --binary-path CLI option to the node command with description indicating it ignores version and network parameters
README.md Added documentation section explaining the new --binary-path option with usage examples; updated table of contents formatting

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@RetricSu RetricSu force-pushed the feat/node-bin-path-option branch from 96144c0 to cb29ad6 Compare December 2, 2025 01:55
@RetricSu RetricSu merged commit 41ed923 into develop Dec 2, 2025
1 check passed
@RetricSu RetricSu deleted the feat/node-bin-path-option branch December 2, 2025 01:57
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