New answers tagged

0 votes

Truffle: { Error: Invalid number of parameters for "undefined". Got 0 expected 1! at module.exports

The problem is this line const vicobj = await vic.new();. The function new() requires a parameter such as {from: accounts[0]} .

Top 50 recent answers are included