虽然我运行测试时遇到此错误。。
我正在尝试使用DAPPuniversity教程制作自己的加密货币,但是,我的代码不断抛出异常。
Contract: ValleyToken
√ initialize the contract with correct values (363ms)
√ sets the initial supply upon deployment (363ms)
1) transfers token ownership
> No events were emitted
2 passing (869ms)
1 failing
1) Contract: ValleyToken
transfers token ownership:
ReferenceError: Faicoin is not defined
at Context.<anonymous> (test\ValleyToken.js:47:5)
at process._tickCallback (internal/process/next_tick.js:68:7)
虽然我运行测试时遇到此错误。.我试图使用DAPPuniversity教程来制作自己的加密货币,但是,我的代码不断抛出异常。合约:ValleyToken√...
用测试替换此代码:)