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

Add ExtrinsicError #616

Closed
wants to merge 1 commit into from
Closed

Add ExtrinsicError #616

wants to merge 1 commit into from

Conversation

haerdib
Copy link
Contributor

@haerdib haerdib commented Jul 14, 2023

Not for merging. Only for showing the thoughts behind #617

event.check_if_failed()?;
if let Err(dispatch_error) = event.check_if_failed() {
report.events = Some(extrinsic_events);
let failed_extrinisc_error = FailedExtrinsicError { dispatch_error, report };
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We now return the full information instead of just the dispatch error.

@haerdib haerdib removed their assignment Jul 26, 2023
@haerdib haerdib self-assigned this Feb 7, 2024
@haerdib
Copy link
Contributor Author

haerdib commented Feb 19, 2024

replaced by #722

@haerdib haerdib closed this Feb 19, 2024
@haerdib haerdib deleted the bh/return-events-with-error branch February 19, 2024 10:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant