Skip to content

Conversation

@TarikGul
Copy link
Member

@TarikGul TarikGul commented Nov 3, 2025

Add rcBlockHash to useRcBlock Response

Summary

Adds rcBlockHash field to all useRcBlock=true responses.

Changes

  • Updated AbstractController.getHashFromRcAt() to return rcBlockHash alongside existing rcBlockNumber
  • Updated all account, block, and pallet controllers to destructure and include rcBlockHash in enhanced responses
  • Updated guides: USE_RC_BLOCK_SPEC.md and ASSET_HUB_MIGRATION.md

Example Response

[{
  "at": { "hash": "0x...", "height": "1234567" },
  "free": "1000000000000",
  "rcBlockHash": "0xabcdef...",
  "rcBlockNumber": "20000000",
  "ahTimestamp": "1705123456789"
}]

@TarikGul TarikGul requested a review from a team as a code owner November 3, 2025 02:07
@TarikGul TarikGul merged commit 22873fb into master Nov 3, 2025
22 of 23 checks passed
@TarikGul TarikGul deleted the tg-rc-blockhash branch November 3, 2025 13:37
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.

4 participants