Skip to content

Conversation

@jimjbrettj
Copy link

@jimjbrettj jimjbrettj commented Dec 8, 2025

Description

Fixes several panics that occurred when forking real Asset Hub (westend) using:

cargo run -p anvil-polkadot -- --fork-url https://westend-asset-hub-rpc.polkadot.io

  • Uses the checkpoint block hash directly when creating the OnlineClient in fork mode, instead of trying to derive it from the genesis block number
  • Reads the DMQ MQC head from parachain storage (ParachainSystem::LastDmqMqcHead) to properly initialize the MockValidationDataInherentDataProvider, avoiding "DMQ head mismatch" errors during block production
  • Adds first integration test for forking from Westend Asset Hub and check the previous changes

@jimjbrettj jimjbrettj marked this pull request as ready for review December 8, 2025 22:07
@dimartiro dimartiro force-pushed the diego-fix-assethub-panics branch from 4ab0e8c to 6fbf929 Compare December 10, 2025 19:26
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.

3 participants