We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Not sure where to put this issue. It's probably related to chain code.
When trying to dispute outcome on web application, extrinsic fails. This is what happens on front-end:
if (status.isInBlock) { events.forEach(async ({ event: { data, method } }) => { console.log('data', data.toHuman()[0]); console.log('method', method); if (method === "ExtrinsicFailed" && failCallback) { const { index, error } = data.toHuman()[0].Module;
Logging data.toHuman()[0] gives {Other: null}, there's no Module member and we get Cannot read property 'index' of undefined runtime exception.
data.toHuman()[0]
{Other: null}
Module
Cannot read property 'index' of undefined
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Not sure where to put this issue. It's probably related to chain code.
When trying to dispute outcome on web application, extrinsic fails. This is what happens on front-end:
Logging
data.toHuman()[0]
gives{Other: null}
, there's noModule
member and we getCannot read property 'index' of undefined
runtime exception.The text was updated successfully, but these errors were encountered: