You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Ensure that the extrins has been successful. If not, return an error.
for event in&extrinsic_events {
event.check_if_failed()?;
}
report.events = Some(extrinsic_events);
Ok(report)
}
We only return the dispatch error if the xt has failed. This only tells us why the extrinsic has failed, but not the xt_hash, nor the events for it. Even though it has been fetched previously.
So I'm proposing to return an Error that returns all the information: see #616
The text was updated successfully, but these errors were encountered:
We currently throw away all xt information if it has failed:
In function
substrate-api-client/src/api/rpc_api/author.rs
Lines 309 to 330 in 47d1173
We only return the dispatch error if the xt has failed. This only tells us why the extrinsic has failed, but not the xt_hash, nor the events for it. Even though it has been fetched previously.
So I'm proposing to return an Error that returns all the information: see #616
The text was updated successfully, but these errors were encountered: