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

Generating hash of call data #185

Open
rajdeep7Singh opened this issue Jul 17, 2023 · 0 comments
Open

Generating hash of call data #185

rajdeep7Singh opened this issue Jul 17, 2023 · 0 comments
Assignees

Comments

@rajdeep7Singh
Copy link

rajdeep7Singh commented Jul 17, 2023

This issue is a request to get support for generating call hash with call data.

Context: Few calls in Multisig Pallet in substrate based chains expects call hash as argument and some expect call data. For ex multsig.approve_as_multi and multisig.as_multi. When indexed we have no way to relate those txns without generating a call hash with call data in whatever call that is missing.

If possible can we have it injected into calls so we don't have to do it in our squids?

Providing reference how js apps is achieving that: https://github.com/polkadot-js/apps/blob/master/packages/page-preimages/src/Preimages/Add/Partial.tsx#L45

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

No branches or pull requests

2 participants