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

Multiple possible events within function #224

Closed
sander2 opened this issue Feb 2, 2021 · 2 comments
Closed

Multiple possible events within function #224

sander2 opened this issue Feb 2, 2021 · 2 comments

Comments

@sander2
Copy link
Contributor

sander2 commented Feb 2, 2021

I have a function which, depending on the code path, emits 0 or more events, possibly of different types. In my rpc call, I am not interested in these events, I just want to make sure that the call was successful. However, if one of the events fires, I get a TypeSizeUnavailable error. Is there a way to prevent this error from occurring without refactoring my parachain code?

@ascjones
Copy link
Contributor

This could be resolved via #227 by correctly registering all types for your runtime. Alternatively we could add an alternative to submit_and_watch_extrinsic which does not attempt to decode the events.

@ascjones
Copy link
Contributor

ascjones commented Nov 8, 2021

Closed by #294

@ascjones ascjones closed this as completed Nov 8, 2021
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