Skip to content

feat(abstract-substrate): add ClaimRootWithHotkey method name, args, and schema - #9443

Closed
bitgo-ai-agent-dev[bot] wants to merge 1 commit into
masterfrom
ashutosh/SI-1171-claim-root-with-hotkey-pt1
Closed

feat(abstract-substrate): add ClaimRootWithHotkey method name, args, and schema#9443
bitgo-ai-agent-dev[bot] wants to merge 1 commit into
masterfrom
ashutosh/SI-1171-claim-root-with-hotkey-pt1

Conversation

@bitgo-ai-agent-dev

@bitgo-ai-agent-dev bitgo-ai-agent-dev Bot commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

What

  • Add ClaimRootWithHotkey: 'claimRootWithHotkey' to the MethodNames const object in abstract-substrate/src/lib/iface.ts
  • Add ClaimRootWithHotkeyArgs interface ({ hotkey: string }) to iface.ts and include it in the TxMethod.args union
  • Add ClaimRootWithHotkeyTransactionSchema (joi schema requiring a valid hotkey address) to abstract-substrate/src/lib/txnSchema.ts

Why

  • SI-1171 requires building a SubtensorModule.claimRootWithHotkey(hotkey) Substrate extrinsic from intent in sdk-coin-tao
  • These foundational types in abstract-substrate are shared with any other Substrate-based coin that may need the same extrinsic in the future
  • P0 blocker for the TAO Root Reborn claim feature; blocks SI-1172 ([WP] Route CLAIM_REWARDS request type for tao/ttao)

Test plan

  • Types reviewed — no runtime code; covered by downstream tests in pt2

Stack

This PR is part 1 of 2 in a stack. Review and merge in order:

  1. feat(abstract-substrate): add ClaimRootWithHotkey method name, args, and schema #9443 — abstract-substrate: types + schema (base: master) ← you are here
  2. feat(sdk-coin-tao): add ClaimRootWithHotkey extrinsic builder #9444 — sdk-coin-tao: ClaimRootBuilder, ClaimRootTransaction, tests, metadata (base: pt1)

Ticket: SI-1171

…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
@linear-code

linear-code Bot commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

SI-1171

@ralph-bitgo
ralph-bitgo Bot force-pushed the ashutosh/SI-1171-claim-root-with-hotkey-pt1 branch from c2af838 to a729868 Compare August 7, 2026 02:03
@bitgo-ai-agent-dev

Copy link
Copy Markdown
Contributor Author

Superseded by #9448 — all changes merged into a single PR as requested.

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.

1 participant