-
Notifications
You must be signed in to change notification settings - Fork 300
feat(sdk-coin-tao): add moveStakeBuilder #6925
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Doddanna17
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please check the comments
d196a1b to
68ad0d3
Compare
There was a problem hiding this 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 moving stake between hotkeys in the TAO network by implementing a new moveStakeBuilder transaction builder.
- Adds
MoveStakeBuilderandMoveStakeTransactionclasses to handle move stake operations - Extends transaction factory to support move stake transaction type
- Adds comprehensive test coverage for the move stake functionality
Reviewed Changes
Copilot reviewed 10 out of 10 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| modules/sdk-coin-tao/test/unit/transactionBuilder/moveStakeBuilder.ts | Comprehensive test suite for MoveStakeBuilder functionality |
| modules/sdk-coin-tao/src/lib/transactionBuilderFactory.ts | Adds getMoveStakeBuilder method and factory routing |
| modules/sdk-coin-tao/src/lib/moveStakeTransaction.ts | Transaction class for move stake operations |
| modules/sdk-coin-tao/src/lib/moveStakeBuilder.ts | Builder class for constructing move stake transactions |
| modules/sdk-coin-tao/src/lib/index.ts | Exports new move stake classes |
| modules/sdk-coin-tao/src/lib/iface.ts | Adds MoveStakeTxData interface |
| modules/sdk-coin-tao/src/lib/constants.ts | Defines TAO network constants |
| modules/abstract-substrate/src/lib/utils.ts | Adds isMoveStake utility method |
| modules/abstract-substrate/src/lib/txnSchema.ts | Adds validation schema for move stake transactions |
| modules/abstract-substrate/src/lib/iface.ts | Adds move stake interfaces and method names |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
modules/sdk-coin-tao/test/unit/transactionBuilder/moveStakeBuilder.ts
Outdated
Show resolved
Hide resolved
2453ff6 to
470f805
Compare
ba89e1b
Ticket: SC-3017