16

大佬们求助前端与智能合约交互时报错Uncaught Error: Invalid number of arguments to...

 3 years ago
source link: https://learnblockchain.cn/question/2063
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client
大佬们求助前端与智能合约交互时报错Uncaught Error: Invalid number of arguments to Solidity function是怎么回事呐

5 大佬们求助前端与智能合约交互时报错Uncaught Error: Invalid number of arguments to Solidity function是怎么回事呐

回答问题即可获得 5 经验值,回答被采纳后即可获得 10 学分。

inpage.js:1 Uncaught Error: Invalid number of arguments to Solidity function
at Object.InvalidNumberOfSolidityArgs (inpage.js:1)
at u.validateArgs (inpage.js:1)
at u.toPayload (inpage.js:1)
at u.sendTransaction (inpage.js:1)
at setVal (index.html:231)
at HTMLButtonElement.onclick (index.html:38)
InvalidNumberOfSolidityArgs @ inpage.js:1
u.validateArgs @ inpage.js:1
u.toPayload @ inpage.js:1
u.sendTransaction @ inpage.js:1
setVal @ index.html:231
onclick @ index.html:38


Recommend

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK