feat(abstract-substrate): add ClaimRootWithHotkey method name, args, and schema - #9443
Closed
bitgo-ai-agent-dev[bot] wants to merge 1 commit into
Closed
feat(abstract-substrate): add ClaimRootWithHotkey method name, args, and schema#9443bitgo-ai-agent-dev[bot] wants to merge 1 commit into
bitgo-ai-agent-dev[bot] wants to merge 1 commit into
Conversation
…and schema
Add the foundation types needed to build and validate the
SubtensorModule.claimRootWithHotkey Substrate extrinsic for TAO
root network reward claiming (SI-1171).
What changed:
- MethodNames: add ClaimRootWithHotkey: 'claimRootWithHotkey' constant
- iface.ts: add ClaimRootWithHotkeyArgs interface { hotkey: string }
- iface.ts: include ClaimRootWithHotkeyArgs in TxMethod.args union
- txnSchema.ts: add ClaimRootWithHotkeyTransactionSchema requiring
a valid hotkey address
Ticket: SI-1171
Session-Id: ab70e181-1628-4e73-9662-8ef3fe0426ba
Task-Id: 091af7ce-ed42-4177-9ee0-2231917f41fa
Contributor
ralph-bitgo
Bot
force-pushed
the
ashutosh/SI-1171-claim-root-with-hotkey-pt1
branch
from
August 7, 2026 02:03
c2af838 to
a729868
Compare
3 tasks
Contributor
Author
|
Superseded by #9448 — all changes merged into a single PR as requested. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
ClaimRootWithHotkey: 'claimRootWithHotkey'to theMethodNamesconst object inabstract-substrate/src/lib/iface.tsClaimRootWithHotkeyArgsinterface ({ hotkey: string }) toiface.tsand include it in theTxMethod.argsunionClaimRootWithHotkeyTransactionSchema(joi schema requiring a valid hotkey address) toabstract-substrate/src/lib/txnSchema.tsWhy
SubtensorModule.claimRootWithHotkey(hotkey)Substrate extrinsic from intent insdk-coin-taoabstract-substrateare shared with any other Substrate-based coin that may need the same extrinsic in the futureCLAIM_REWARDSrequest type for tao/ttao)Test plan
Stack
This PR is part 1 of 2 in a stack. Review and merge in order:
master) ← you are hereTicket: SI-1171