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

Trouble Registering Events in Substrate Tutorial's Frontend Transaction: Need Assistance #281

Open
frozenmafia opened this issue May 1, 2024 · 2 comments

Comments

@frozenmafia
Copy link

I'm a beginner following the Substrate tutorial from here. After successfully compiling both the Substrate node and frontend, I've encountered an issue.

Problem:
When I open the frontend and attempt to make a transaction, it seemingly sends money but fails to register any events. Unlike other tutorials where transactions are instantaneous, I'm facing this discrepancy.

Screenshot:
Here's a visual representation of the problem: No event registered.

Error Message:
Upon clicking the submit button, I receive the following error in the console:

Uncaught (in promise) TypeError: u.tx[y][m] is not a function
    at M (TxButton.js:105:27)
    at async Object.onClick (TxButton.js:174:5)

Request:
I'm seeking guidance on identifying the root cause of this issue and resolving it. Any insights or suggestions on debugging steps or potential solutions would be greatly appreciated. Thank you in advance for your assistance!

@invent360
Copy link

invent360 commented May 5, 2024

rename transfer to transferAllowDeath in the transfer.js file.
Solution is here

@fzeeshan
Copy link
Contributor

fzeeshan commented May 7, 2024

use my repo it has the fix @frozenmafia

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

3 participants