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

Allow Opaque types #498

Closed
haerdib opened this issue Mar 30, 2023 · 0 comments · Fixed by #541
Closed

Allow Opaque types #498

haerdib opened this issue Mar 30, 2023 · 0 comments · Fixed by #541
Labels
F7-enhancement Enhances an already existing functionality Q5-involved Will take some time to fix this Z2-blocked

Comments

@haerdib
Copy link
Contributor

haerdib commented Mar 30, 2023

Probably connected to #406 . Don't solve this before that issue.

The problem: If one does not know the extrinsic types, substrate offers the OpaqueExtrsinic type, which deserializes correctly even though the "correct" Type isn't known (see https://github.com/integritee-network/integritee-node/blob/master/runtime/src/lib.rs#L108). However, currently it's not possible to make use of that because Runtime::xxx always takes the non opaque types.

@haerdib haerdib added the F7-enhancement Enhances an already existing functionality label Mar 30, 2023
@haerdib haerdib changed the title Allow OpaqueExtrinsic as types Allow Opaque types Mar 30, 2023
@haerdib haerdib added Z2-blocked Q5-involved Will take some time to fix this labels Mar 30, 2023
@echevrier echevrier linked a pull request Apr 26, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
F7-enhancement Enhances an already existing functionality Q5-involved Will take some time to fix this Z2-blocked
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant