Accept/Support Custom Header Hasher from Parachain #6992
Labels
I2-bug
The node fails to follow expected behavior.
I10-unconfirmed
Issue might be valid, but it's not yet known.
Is there an existing issue?
Experiencing problems? Have you tried our Stack Exchange first?
Description of bug
Some parachains use their own Hash type.
For instance, Hyperbridge defines a custom hash implementation (
keccak256
).I discovered this while trying to match a Hyperbridge block with the Polkadot event’s
parainclusion::CandidateIncluded.para_head
field. Unfortunately, all the hash values were mismatched, making it impossible to index the Hyperbridge block based on thepara_head
value.It seems that Polkadot assumes the use of
blake2_256
for generating hashes, which may not align with Hyperbridge’s implementation.Might relate to #5224?
Steps to reproduce
No response
The text was updated successfully, but these errors were encountered: