Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't double hash: use the same hash in ExtrinsicDetails and ExtrinsicDetails #1917

Merged
merged 2 commits into from
Feb 3, 2025

Conversation

jsdw
Copy link
Collaborator

@jsdw jsdw commented Feb 3, 2025

We were using hash_of to hash the extrinsics when passing to ExtrinsicEvents, but hash_of will hash the entire thing provided, which ends up hashing the vec rather than the bytes in it.

Closes #1915.

@jsdw jsdw merged commit d924ece into master Feb 3, 2025
13 checks passed
@jsdw jsdw deleted the jsdw-wrong-hash-in-events branch February 3, 2025 17:47
@jsdw jsdw mentioned this pull request Feb 5, 2025
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.

Extrinsic hashes returned from extrinsic and from extrinsic events are not equal
3 participants